@rpcbase/ui 0.160.0 → 0.161.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 (630) hide show
  1. package/dist/components/{DayPicker → DayPickerField}/index.d.ts +2 -0
  2. package/dist/components/DayPickerField/index.d.ts.map +1 -0
  3. package/dist/components/HourPickerField/index.d.ts +36 -0
  4. package/dist/components/HourPickerField/index.d.ts.map +1 -0
  5. package/dist/components/index.d.ts +2 -2
  6. package/dist/components/index.d.ts.map +1 -1
  7. package/dist/index.js +7 -7
  8. package/dist/index100.js +6 -109
  9. package/dist/index100.js.map +1 -1
  10. package/dist/index101.js +4 -24
  11. package/dist/index101.js.map +1 -1
  12. package/dist/index102.js +7 -8
  13. package/dist/index102.js.map +1 -1
  14. package/dist/index103.js +5 -4
  15. package/dist/index103.js.map +1 -1
  16. package/dist/index104.js +4 -5
  17. package/dist/index104.js.map +1 -1
  18. package/dist/index105.js +5 -4
  19. package/dist/index105.js.map +1 -1
  20. package/dist/index106.js +4 -466
  21. package/dist/index106.js.map +1 -1
  22. package/dist/index107.js +8 -185
  23. package/dist/index107.js.map +1 -1
  24. package/dist/index108.js +5 -107
  25. package/dist/index108.js.map +1 -1
  26. package/dist/index109.js +4 -262
  27. package/dist/index109.js.map +1 -1
  28. package/dist/index11.js +318 -275
  29. package/dist/index11.js.map +1 -1
  30. package/dist/index110.js +4 -9
  31. package/dist/index110.js.map +1 -1
  32. package/dist/index111.js +6 -42
  33. package/dist/index111.js.map +1 -1
  34. package/dist/index112.js +145 -4
  35. package/dist/index112.js.map +1 -1
  36. package/dist/index113.js +40 -52
  37. package/dist/index113.js.map +1 -1
  38. package/dist/index114.js +4 -4
  39. package/dist/index114.js.map +1 -1
  40. package/dist/index115.js +7 -4
  41. package/dist/index115.js.map +1 -1
  42. package/dist/index116.js +13 -15
  43. package/dist/index116.js.map +1 -1
  44. package/dist/index117.js +13 -5
  45. package/dist/index117.js.map +1 -1
  46. package/dist/index118.js +7 -7
  47. package/dist/index118.js.map +1 -1
  48. package/dist/index119.js +31 -16
  49. package/dist/index119.js.map +1 -1
  50. package/dist/index120.js +10 -4
  51. package/dist/index120.js.map +1 -1
  52. package/dist/index121.js +10 -4
  53. package/dist/index121.js.map +1 -1
  54. package/dist/index122.js +8 -5
  55. package/dist/index122.js.map +1 -1
  56. package/dist/index123.js +13 -5
  57. package/dist/index123.js.map +1 -1
  58. package/dist/index124.js +101 -4
  59. package/dist/index124.js.map +1 -1
  60. package/dist/index125.js +20 -5
  61. package/dist/index125.js.map +1 -1
  62. package/dist/index126.js +53 -6
  63. package/dist/index126.js.map +1 -1
  64. package/dist/index127.js +71 -23
  65. package/dist/index127.js.map +1 -1
  66. package/dist/index128.js +9 -6
  67. package/dist/index128.js.map +1 -1
  68. package/dist/index129.js +20 -4
  69. package/dist/index129.js.map +1 -1
  70. package/dist/index130.js +16 -6
  71. package/dist/index130.js.map +1 -1
  72. package/dist/index131.js +23 -5
  73. package/dist/index131.js.map +1 -1
  74. package/dist/index132.js +6 -4
  75. package/dist/index132.js.map +1 -1
  76. package/dist/index133.js +5 -5
  77. package/dist/index133.js.map +1 -1
  78. package/dist/index134.js +23 -4
  79. package/dist/index134.js.map +1 -1
  80. package/dist/index135.js +35 -9
  81. package/dist/index135.js.map +1 -1
  82. package/dist/index136.js +16 -6
  83. package/dist/index136.js.map +1 -1
  84. package/dist/index137.js +6 -4
  85. package/dist/index137.js.map +1 -1
  86. package/dist/index138.js +4 -4
  87. package/dist/index138.js.map +1 -1
  88. package/dist/index139.js +4 -6
  89. package/dist/index139.js.map +1 -1
  90. package/dist/index140.js +4 -145
  91. package/dist/index140.js.map +1 -1
  92. package/dist/index141.js +4 -39
  93. package/dist/index141.js.map +1 -1
  94. package/dist/index142.js +3 -4
  95. package/dist/index142.js.map +1 -1
  96. package/dist/index143.js +6 -7
  97. package/dist/index143.js.map +1 -1
  98. package/dist/index144.js +24 -14
  99. package/dist/index144.js.map +1 -1
  100. package/dist/index145.js +7 -13
  101. package/dist/index145.js.map +1 -1
  102. package/dist/index146.js +6 -7
  103. package/dist/index146.js.map +1 -1
  104. package/dist/index147.js +5 -31
  105. package/dist/index147.js.map +1 -1
  106. package/dist/index148.js +3 -10
  107. package/dist/index148.js.map +1 -1
  108. package/dist/index149.js +3 -10
  109. package/dist/index149.js.map +1 -1
  110. package/dist/index150.js +4 -8
  111. package/dist/index150.js.map +1 -1
  112. package/dist/index151.js +3 -13
  113. package/dist/index151.js.map +1 -1
  114. package/dist/index152.js +4 -101
  115. package/dist/index152.js.map +1 -1
  116. package/dist/index153.js +4 -20
  117. package/dist/index153.js.map +1 -1
  118. package/dist/index154.js +3 -53
  119. package/dist/index154.js.map +1 -1
  120. package/dist/index155.js +3 -72
  121. package/dist/index155.js.map +1 -1
  122. package/dist/index156.js +3 -9
  123. package/dist/index156.js.map +1 -1
  124. package/dist/index157.js +33 -20
  125. package/dist/index157.js.map +1 -1
  126. package/dist/index158.js +248 -15
  127. package/dist/index158.js.map +1 -1
  128. package/dist/index159.js +114 -23
  129. package/dist/index159.js.map +1 -1
  130. package/dist/index160.js +219 -6
  131. package/dist/index160.js.map +1 -1
  132. package/dist/index161.js +66 -5
  133. package/dist/index161.js.map +1 -1
  134. package/dist/index162.js +20 -23
  135. package/dist/index162.js.map +1 -1
  136. package/dist/index163.js +207 -32
  137. package/dist/index163.js.map +1 -1
  138. package/dist/index164.js +320 -16
  139. package/dist/index164.js.map +1 -1
  140. package/dist/index165.js +130 -6
  141. package/dist/index165.js.map +1 -1
  142. package/dist/index166.js +20 -4
  143. package/dist/index166.js.map +1 -1
  144. package/dist/index167.js +75 -4
  145. package/dist/index167.js.map +1 -1
  146. package/dist/index168.js +18 -4
  147. package/dist/index168.js.map +1 -1
  148. package/dist/index169.js +101 -4
  149. package/dist/index169.js.map +1 -1
  150. package/dist/index170.js +5 -4
  151. package/dist/index170.js.map +1 -1
  152. package/dist/index171.js +14 -6
  153. package/dist/index171.js.map +1 -1
  154. package/dist/index172.js +2 -24
  155. package/dist/index172.js.map +1 -1
  156. package/dist/index173.js +7 -7
  157. package/dist/index173.js.map +1 -1
  158. package/dist/index174.js +326 -6
  159. package/dist/index174.js.map +1 -1
  160. package/dist/index175.js +49 -5
  161. package/dist/index175.js.map +1 -1
  162. package/dist/index176.js +46 -3
  163. package/dist/index176.js.map +1 -1
  164. package/dist/index177.js +46 -3
  165. package/dist/index177.js.map +1 -1
  166. package/dist/index178.js +205 -4
  167. package/dist/index178.js.map +1 -1
  168. package/dist/index179.js +22 -4
  169. package/dist/index179.js.map +1 -1
  170. package/dist/index18.js +361 -332
  171. package/dist/index18.js.map +1 -1
  172. package/dist/index180.js +24 -4
  173. package/dist/index180.js.map +1 -1
  174. package/dist/index181.js +399 -3
  175. package/dist/index181.js.map +1 -1
  176. package/dist/index182.js +605 -3
  177. package/dist/index182.js.map +1 -1
  178. package/dist/index183.js +5 -3
  179. package/dist/index183.js.map +1 -1
  180. package/dist/index184.js +68 -3
  181. package/dist/index184.js.map +1 -1
  182. package/dist/index185.js +2 -34
  183. package/dist/index185.js.map +1 -1
  184. package/dist/index186.js +357 -243
  185. package/dist/index186.js.map +1 -1
  186. package/dist/index187.js +255 -108
  187. package/dist/index187.js.map +1 -1
  188. package/dist/index188.js +55 -214
  189. package/dist/index188.js.map +1 -1
  190. package/dist/index189.js +42 -62
  191. package/dist/index189.js.map +1 -1
  192. package/dist/index190.js +170 -21
  193. package/dist/index190.js.map +1 -1
  194. package/dist/index191.js +107 -207
  195. package/dist/index191.js.map +1 -1
  196. package/dist/index192.js +24 -319
  197. package/dist/index192.js.map +1 -1
  198. package/dist/index193.js +8 -131
  199. package/dist/index193.js.map +1 -1
  200. package/dist/index194.js +4 -20
  201. package/dist/index194.js.map +1 -1
  202. package/dist/index195.js +5 -75
  203. package/dist/index195.js.map +1 -1
  204. package/dist/index196.js +4 -18
  205. package/dist/index196.js.map +1 -1
  206. package/dist/index197.js +456 -91
  207. package/dist/index197.js.map +1 -1
  208. package/dist/index198.js +186 -5
  209. package/dist/index198.js.map +1 -1
  210. package/dist/index199.js +107 -14
  211. package/dist/index199.js.map +1 -1
  212. package/dist/index200.js +263 -2
  213. package/dist/index200.js.map +1 -1
  214. package/dist/index201.js +9 -7
  215. package/dist/index201.js.map +1 -1
  216. package/dist/index202.js +41 -325
  217. package/dist/index202.js.map +1 -1
  218. package/dist/index203.js +4 -49
  219. package/dist/index203.js.map +1 -1
  220. package/dist/index204.js +2 -25
  221. package/dist/index204.js.map +1 -1
  222. package/dist/index205.js +68 -29
  223. package/dist/index205.js.map +1 -1
  224. package/dist/index206.js +85 -5
  225. package/dist/index206.js.map +1 -1
  226. package/dist/index207.js +46 -3
  227. package/dist/index207.js.map +1 -1
  228. package/dist/index208.js +8 -2
  229. package/dist/index208.js.map +1 -1
  230. package/dist/index209.js +4 -67
  231. package/dist/index209.js.map +1 -1
  232. package/dist/index210.js +48 -81
  233. package/dist/index210.js.map +1 -1
  234. package/dist/index211.js +14 -44
  235. package/dist/index211.js.map +1 -1
  236. package/dist/index212.js +5 -7
  237. package/dist/index212.js.map +1 -1
  238. package/dist/index213.js +5 -4
  239. package/dist/index213.js.map +1 -1
  240. package/dist/index214.js +58 -51
  241. package/dist/index214.js.map +1 -1
  242. package/dist/index215.js +63 -64
  243. package/dist/index215.js.map +1 -1
  244. package/dist/index216.js +6 -180
  245. package/dist/index216.js.map +1 -1
  246. package/dist/index217.js +4 -46
  247. package/dist/index217.js.map +1 -1
  248. package/dist/index218.js +7 -13
  249. package/dist/index218.js.map +1 -1
  250. package/dist/index219.js +17 -154
  251. package/dist/index219.js.map +1 -1
  252. package/dist/index220.js +5 -30
  253. package/dist/index220.js.map +1 -1
  254. package/dist/index221.js +5 -9
  255. package/dist/index221.js.map +1 -1
  256. package/dist/index222.js +13 -47
  257. package/dist/index222.js.map +1 -1
  258. package/dist/index223.js +10 -11
  259. package/dist/index223.js.map +1 -1
  260. package/dist/index224.js +14 -44
  261. package/dist/index224.js.map +1 -1
  262. package/dist/index225.js +14 -95
  263. package/dist/index225.js.map +1 -1
  264. package/dist/index226.js +5 -86
  265. package/dist/index226.js.map +1 -1
  266. package/dist/index227.js +6 -105
  267. package/dist/index227.js.map +1 -1
  268. package/dist/index228.js +7 -52
  269. package/dist/index228.js.map +1 -1
  270. package/dist/index229.js +6 -11
  271. package/dist/index229.js.map +1 -1
  272. package/dist/index23.js +1 -1
  273. package/dist/index230.js +9 -37
  274. package/dist/index230.js.map +1 -1
  275. package/dist/index231.js +5 -8
  276. package/dist/index231.js.map +1 -1
  277. package/dist/index232.js +5 -116
  278. package/dist/index232.js.map +1 -1
  279. package/dist/index233.js +9 -17
  280. package/dist/index233.js.map +1 -1
  281. package/dist/index234.js +5 -15
  282. package/dist/index234.js.map +1 -1
  283. package/dist/index235.js +5 -3
  284. package/dist/index235.js.map +1 -1
  285. package/dist/index236.js +4 -36
  286. package/dist/index236.js.map +1 -1
  287. package/dist/index237.js +11 -20
  288. package/dist/index237.js.map +1 -1
  289. package/dist/index238.js +10 -9
  290. package/dist/index238.js.map +1 -1
  291. package/dist/index239.js +10 -8
  292. package/dist/index239.js.map +1 -1
  293. package/dist/index240.js +11 -58
  294. package/dist/index240.js.map +1 -1
  295. package/dist/index241.js +11 -8
  296. package/dist/index241.js.map +1 -1
  297. package/dist/index242.js +10 -66
  298. package/dist/index242.js.map +1 -1
  299. package/dist/index243.js +7 -19
  300. package/dist/index243.js.map +1 -1
  301. package/dist/index244.js +6 -16
  302. package/dist/index244.js.map +1 -1
  303. package/dist/index245.js +5 -5
  304. package/dist/index245.js.map +1 -1
  305. package/dist/index246.js +6 -5
  306. package/dist/index246.js.map +1 -1
  307. package/dist/index247.js +7 -6
  308. package/dist/index247.js.map +1 -1
  309. package/dist/index248.js +6 -4
  310. package/dist/index248.js.map +1 -1
  311. package/dist/index249.js +55 -7
  312. package/dist/index249.js.map +1 -1
  313. package/dist/index250.js +8 -17
  314. package/dist/index250.js.map +1 -1
  315. package/dist/index251.js +19 -5
  316. package/dist/index251.js.map +1 -1
  317. package/dist/index252.js +23 -5
  318. package/dist/index252.js.map +1 -1
  319. package/dist/index253.js +16 -13
  320. package/dist/index253.js.map +1 -1
  321. package/dist/index254.js +7 -10
  322. package/dist/index254.js.map +1 -1
  323. package/dist/index255.js +10 -14
  324. package/dist/index255.js.map +1 -1
  325. package/dist/index256.js +10 -14
  326. package/dist/index256.js.map +1 -1
  327. package/dist/index257.js +21 -5
  328. package/dist/index257.js.map +1 -1
  329. package/dist/index258.js +10 -6
  330. package/dist/index258.js.map +1 -1
  331. package/dist/index259.js +9 -7
  332. package/dist/index259.js.map +1 -1
  333. package/dist/index260.js +9 -6
  334. package/dist/index260.js.map +1 -1
  335. package/dist/index261.js +4 -9
  336. package/dist/index261.js.map +1 -1
  337. package/dist/index262.js +5 -5
  338. package/dist/index262.js.map +1 -1
  339. package/dist/index263.js +16 -5
  340. package/dist/index263.js.map +1 -1
  341. package/dist/index264.js +9 -9
  342. package/dist/index264.js.map +1 -1
  343. package/dist/index265.js +18 -5
  344. package/dist/index265.js.map +1 -1
  345. package/dist/index266.js +15 -5
  346. package/dist/index266.js.map +1 -1
  347. package/dist/index267.js +12 -4
  348. package/dist/index267.js.map +1 -1
  349. package/dist/index268.js +29 -11
  350. package/dist/index268.js.map +1 -1
  351. package/dist/index269.js +12 -10
  352. package/dist/index269.js.map +1 -1
  353. package/dist/index270.js +25 -10
  354. package/dist/index270.js.map +1 -1
  355. package/dist/index271.js +5 -11
  356. package/dist/index271.js.map +1 -1
  357. package/dist/index272.js +64 -11
  358. package/dist/index272.js.map +1 -1
  359. package/dist/index273.js +48 -10
  360. package/dist/index273.js.map +1 -1
  361. package/dist/index274.js +39 -7
  362. package/dist/index274.js.map +1 -1
  363. package/dist/index275.js +100 -6
  364. package/dist/index275.js.map +1 -1
  365. package/dist/index276.js +97 -5
  366. package/dist/index276.js.map +1 -1
  367. package/dist/index277.js +99 -6
  368. package/dist/index277.js.map +1 -1
  369. package/dist/index278.js +3 -7
  370. package/dist/index278.js.map +1 -1
  371. package/dist/index279.js +24 -6
  372. package/dist/index279.js.map +1 -1
  373. package/dist/index280.js +29 -56
  374. package/dist/index280.js.map +1 -1
  375. package/dist/index281.js +5 -20
  376. package/dist/index281.js.map +1 -1
  377. package/dist/index282.js +65 -26
  378. package/dist/index282.js.map +1 -1
  379. package/dist/index283.js +178 -14
  380. package/dist/index283.js.map +1 -1
  381. package/dist/index284.js +44 -21
  382. package/dist/index284.js.map +1 -1
  383. package/dist/index285.js +2 -17
  384. package/dist/index285.js.map +1 -1
  385. package/dist/index286.js +2 -8
  386. package/dist/index286.js.map +1 -1
  387. package/dist/index287.js +13 -10
  388. package/dist/index287.js.map +1 -1
  389. package/dist/index288.js +153 -9
  390. package/dist/index288.js.map +1 -1
  391. package/dist/index289.js +29 -20
  392. package/dist/index289.js.map +1 -1
  393. package/dist/index29.js +3 -3
  394. package/dist/index290.js +9 -10
  395. package/dist/index290.js.map +1 -1
  396. package/dist/index291.js +47 -9
  397. package/dist/index291.js.map +1 -1
  398. package/dist/index292.js +11 -9
  399. package/dist/index292.js.map +1 -1
  400. package/dist/index293.js +44 -4
  401. package/dist/index293.js.map +1 -1
  402. package/dist/index294.js +95 -5
  403. package/dist/index294.js.map +1 -1
  404. package/dist/index295.js +85 -15
  405. package/dist/index295.js.map +1 -1
  406. package/dist/index296.js +105 -9
  407. package/dist/index296.js.map +1 -1
  408. package/dist/index297.js +52 -18
  409. package/dist/index297.js.map +1 -1
  410. package/dist/index298.js +11 -15
  411. package/dist/index298.js.map +1 -1
  412. package/dist/index299.js +37 -12
  413. package/dist/index299.js.map +1 -1
  414. package/dist/index30.js +14 -14
  415. package/dist/index300.js +8 -29
  416. package/dist/index300.js.map +1 -1
  417. package/dist/index301.js +115 -11
  418. package/dist/index301.js.map +1 -1
  419. package/dist/index302.js +17 -25
  420. package/dist/index302.js.map +1 -1
  421. package/dist/index303.js +15 -5
  422. package/dist/index303.js.map +1 -1
  423. package/dist/index304.js +3 -64
  424. package/dist/index304.js.map +1 -1
  425. package/dist/index305.js +35 -47
  426. package/dist/index305.js.map +1 -1
  427. package/dist/index306.js +20 -39
  428. package/dist/index306.js.map +1 -1
  429. package/dist/index307.js +9 -100
  430. package/dist/index307.js.map +1 -1
  431. package/dist/index308.js +8 -97
  432. package/dist/index308.js.map +1 -1
  433. package/dist/index309.js +19 -99
  434. package/dist/index309.js.map +1 -1
  435. package/dist/index31.js +3 -3
  436. package/dist/index310.js +29 -2
  437. package/dist/index310.js.map +1 -1
  438. package/dist/index311.js +17 -2
  439. package/dist/index311.js.map +1 -1
  440. package/dist/index312.js +5 -5
  441. package/dist/index312.js.map +1 -1
  442. package/dist/index313.js +19 -3
  443. package/dist/index313.js.map +1 -1
  444. package/dist/index314.js +12 -23
  445. package/dist/index314.js.map +1 -1
  446. package/dist/index315.js +5 -113
  447. package/dist/index315.js.map +1 -1
  448. package/dist/index316.js +3 -16
  449. package/dist/index316.js.map +1 -1
  450. package/dist/index317.js +21 -522
  451. package/dist/index317.js.map +1 -1
  452. package/dist/index318.js +112 -127
  453. package/dist/index318.js.map +1 -1
  454. package/dist/index319.js +15 -133
  455. package/dist/index319.js.map +1 -1
  456. package/dist/index32.js +2 -2
  457. package/dist/index320.js +523 -19
  458. package/dist/index320.js.map +1 -1
  459. package/dist/index321.js +127 -4
  460. package/dist/index321.js.map +1 -1
  461. package/dist/index322.js +133 -18
  462. package/dist/index322.js.map +1 -1
  463. package/dist/index323.js +20 -12
  464. package/dist/index323.js.map +1 -1
  465. package/dist/index324.js +5 -64
  466. package/dist/index324.js.map +1 -1
  467. package/dist/index325.js +6 -69
  468. package/dist/index325.js.map +1 -1
  469. package/dist/index326.js +4 -9
  470. package/dist/index326.js.map +1 -1
  471. package/dist/index327.js +16 -14
  472. package/dist/index327.js.map +1 -1
  473. package/dist/index328.js +8 -65
  474. package/dist/index328.js.map +1 -1
  475. package/dist/index329.js +5 -5
  476. package/dist/index329.js.map +1 -1
  477. package/dist/index33.js +1 -1
  478. package/dist/index330.js +4 -5
  479. package/dist/index330.js.map +1 -1
  480. package/dist/index331.js +546 -4
  481. package/dist/index331.js.map +1 -1
  482. package/dist/index332.js +47 -16
  483. package/dist/index332.js.map +1 -1
  484. package/dist/index333.js +17 -8
  485. package/dist/index333.js.map +1 -1
  486. package/dist/index334.js +6 -5
  487. package/dist/index334.js.map +1 -1
  488. package/dist/index335.js +8 -4
  489. package/dist/index335.js.map +1 -1
  490. package/dist/index336.js +7 -545
  491. package/dist/index336.js.map +1 -1
  492. package/dist/index337.js +9 -47
  493. package/dist/index337.js.map +1 -1
  494. package/dist/index338.js +12 -17
  495. package/dist/index338.js.map +1 -1
  496. package/dist/index339.js +9 -6
  497. package/dist/index339.js.map +1 -1
  498. package/dist/index34.js +1 -1
  499. package/dist/index340.js +13 -8
  500. package/dist/index340.js.map +1 -1
  501. package/dist/index341.js +69 -8
  502. package/dist/index341.js.map +1 -1
  503. package/dist/index342.js +9 -9
  504. package/dist/index342.js.map +1 -1
  505. package/dist/index343.js +14 -13
  506. package/dist/index343.js.map +1 -1
  507. package/dist/index344.js +66 -10
  508. package/dist/index344.js.map +1 -1
  509. package/dist/index345.js +64 -13
  510. package/dist/index345.js.map +1 -1
  511. package/dist/index346.js +4 -3
  512. package/dist/index346.js.map +1 -1
  513. package/dist/index347.js +56 -23
  514. package/dist/index347.js.map +1 -1
  515. package/dist/index348.js +68 -5
  516. package/dist/index348.js.map +1 -1
  517. package/dist/index349.js +30 -55
  518. package/dist/index349.js.map +1 -1
  519. package/dist/index35.js +1 -1
  520. package/dist/index350.js +9 -68
  521. package/dist/index350.js.map +1 -1
  522. package/dist/index351.js +148 -26
  523. package/dist/index351.js.map +1 -1
  524. package/dist/index352.js +108 -9
  525. package/dist/index352.js.map +1 -1
  526. package/dist/index353.js +4 -153
  527. package/dist/index353.js.map +1 -1
  528. package/dist/index354.js +23 -108
  529. package/dist/index354.js.map +1 -1
  530. package/dist/index355.js +15 -12
  531. package/dist/index355.js.map +1 -1
  532. package/dist/index356.js +26 -25
  533. package/dist/index356.js.map +1 -1
  534. package/dist/index357.js +13 -5
  535. package/dist/index357.js.map +1 -1
  536. package/dist/index358.js +6 -22
  537. package/dist/index358.js.map +1 -1
  538. package/dist/index359.js +22 -15
  539. package/dist/index359.js.map +1 -1
  540. package/dist/index36.js +1 -1
  541. package/dist/index360.js +12 -28
  542. package/dist/index360.js.map +1 -1
  543. package/dist/index361.js +27 -12
  544. package/dist/index361.js.map +1 -1
  545. package/dist/index362.js +5 -7
  546. package/dist/index362.js.map +1 -1
  547. package/dist/index39.js +2 -2
  548. package/dist/index40.js +24 -24
  549. package/dist/index42.js +1 -1
  550. package/dist/index50.js +2 -2
  551. package/dist/index51.js +18 -18
  552. package/dist/index57.js +205 -4
  553. package/dist/index57.js.map +1 -1
  554. package/dist/index59.js +33 -47
  555. package/dist/index59.js.map +1 -1
  556. package/dist/index61.js +7 -50
  557. package/dist/index61.js.map +1 -1
  558. package/dist/index62.js +11 -7
  559. package/dist/index62.js.map +1 -1
  560. package/dist/index63.js +3 -14
  561. package/dist/index63.js.map +1 -1
  562. package/dist/index64.js +43 -129
  563. package/dist/index64.js.map +1 -1
  564. package/dist/index65.js +50 -10
  565. package/dist/index65.js.map +1 -1
  566. package/dist/index66.js +7 -216
  567. package/dist/index66.js.map +1 -1
  568. package/dist/index67.js +15 -13
  569. package/dist/index67.js.map +1 -1
  570. package/dist/index68.js +132 -32
  571. package/dist/index68.js.map +1 -1
  572. package/dist/index69.js +10 -46
  573. package/dist/index69.js.map +1 -1
  574. package/dist/index70.js +216 -7
  575. package/dist/index70.js.map +1 -1
  576. package/dist/index71.js +12 -49
  577. package/dist/index71.js.map +1 -1
  578. package/dist/index72.js +47 -4
  579. package/dist/index72.js.map +1 -1
  580. package/dist/index73.js +49 -5
  581. package/dist/index73.js.map +1 -1
  582. package/dist/index74.js +4 -28
  583. package/dist/index74.js.map +1 -1
  584. package/dist/index75.js +6 -50
  585. package/dist/index75.js.map +1 -1
  586. package/dist/index76.js +28 -9
  587. package/dist/index76.js.map +1 -1
  588. package/dist/index77.js +48 -203
  589. package/dist/index77.js.map +1 -1
  590. package/dist/index78.js +9 -54
  591. package/dist/index78.js.map +1 -1
  592. package/dist/index79.js +1 -1
  593. package/dist/index80.js +2 -2
  594. package/dist/index81.js +2 -2
  595. package/dist/index82.js +53 -11
  596. package/dist/index82.js.map +1 -1
  597. package/dist/index85.js +52 -47
  598. package/dist/index85.js.map +1 -1
  599. package/dist/index86.js +4 -205
  600. package/dist/index86.js.map +1 -1
  601. package/dist/index87.js +5 -22
  602. package/dist/index87.js.map +1 -1
  603. package/dist/index88.js +15 -24
  604. package/dist/index88.js.map +1 -1
  605. package/dist/index89.js +5 -399
  606. package/dist/index89.js.map +1 -1
  607. package/dist/index90.js +7 -46
  608. package/dist/index90.js.map +1 -1
  609. package/dist/index91.js +15 -604
  610. package/dist/index91.js.map +1 -1
  611. package/dist/index92.js +4 -5
  612. package/dist/index92.js.map +1 -1
  613. package/dist/index93.js +4 -68
  614. package/dist/index93.js.map +1 -1
  615. package/dist/index94.js +6 -2
  616. package/dist/index94.js.map +1 -1
  617. package/dist/index95.js +5 -363
  618. package/dist/index95.js.map +1 -1
  619. package/dist/index96.js +4 -261
  620. package/dist/index96.js.map +1 -1
  621. package/dist/index97.js +4 -60
  622. package/dist/index97.js.map +1 -1
  623. package/dist/index98.js +6 -46
  624. package/dist/index98.js.map +1 -1
  625. package/dist/index99.js +24 -169
  626. package/dist/index99.js.map +1 -1
  627. package/package.json +1 -1
  628. package/dist/components/DayPicker/index.d.ts.map +0 -1
  629. package/dist/components/HoursPicker/index.d.ts +0 -35
  630. package/dist/components/HoursPicker/index.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index308.js","sources":["../../../node_modules/imask/esm/masked/pattern/cursor.js"],"sourcesContent":["import { DIRECTION } from '../../core/utils.js';\n\nclass PatternCursor {\n constructor(masked, pos) {\n this.masked = masked;\n this._log = [];\n const {\n offset,\n index\n } = masked._mapPosToBlock(pos) || (pos < 0 ?\n // first\n {\n index: 0,\n offset: 0\n } :\n // last\n {\n index: this.masked._blocks.length,\n offset: 0\n });\n this.offset = offset;\n this.index = index;\n this.ok = false;\n }\n get block() {\n return this.masked._blocks[this.index];\n }\n get pos() {\n return this.masked._blockStartPos(this.index) + this.offset;\n }\n get state() {\n return {\n index: this.index,\n offset: this.offset,\n ok: this.ok\n };\n }\n set state(s) {\n Object.assign(this, s);\n }\n pushState() {\n this._log.push(this.state);\n }\n popState() {\n const s = this._log.pop();\n if (s) this.state = s;\n return s;\n }\n bindBlock() {\n if (this.block) return;\n if (this.index < 0) {\n this.index = 0;\n this.offset = 0;\n }\n if (this.index >= this.masked._blocks.length) {\n this.index = this.masked._blocks.length - 1;\n this.offset = this.block.displayValue.length; // TODO this is stupid type error, `block` depends on index that was changed above\n }\n }\n _pushLeft(fn) {\n this.pushState();\n for (this.bindBlock(); 0 <= this.index; --this.index, this.offset = ((_this$block = this.block) == null ? void 0 : _this$block.displayValue.length) || 0) {\n var _this$block;\n if (fn()) return this.ok = true;\n }\n return this.ok = false;\n }\n _pushRight(fn) {\n this.pushState();\n for (this.bindBlock(); this.index < this.masked._blocks.length; ++this.index, this.offset = 0) {\n if (fn()) return this.ok = true;\n }\n return this.ok = false;\n }\n pushLeftBeforeFilled() {\n return this._pushLeft(() => {\n if (this.block.isFixed || !this.block.value) return;\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.FORCE_LEFT);\n if (this.offset !== 0) return true;\n });\n }\n pushLeftBeforeInput() {\n // cases:\n // filled input: 00|\n // optional empty input: 00[]|\n // nested block: XX<[]>|\n return this._pushLeft(() => {\n if (this.block.isFixed) return;\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.LEFT);\n return true;\n });\n }\n pushLeftBeforeRequired() {\n return this._pushLeft(() => {\n if (this.block.isFixed || this.block.isOptional && !this.block.value) return;\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.LEFT);\n return true;\n });\n }\n pushRightBeforeFilled() {\n return this._pushRight(() => {\n if (this.block.isFixed || !this.block.value) return;\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.FORCE_RIGHT);\n if (this.offset !== this.block.value.length) return true;\n });\n }\n pushRightBeforeInput() {\n return this._pushRight(() => {\n if (this.block.isFixed) return;\n\n // const o = this.offset;\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.NONE);\n // HACK cases like (STILL DOES NOT WORK FOR NESTED)\n // aa|X\n // aa<X|[]>X_ - this will not work\n // if (o && o === this.offset && this.block instanceof PatternInputDefinition) continue;\n return true;\n });\n }\n pushRightBeforeRequired() {\n return this._pushRight(() => {\n if (this.block.isFixed || this.block.isOptional && !this.block.value) return;\n\n // TODO check |[*]XX_\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.NONE);\n return true;\n });\n }\n}\n\nexport { PatternCursor as default };\n"],"names":["PatternCursor","masked","pos","offset","index","s","fn","_this$block","DIRECTION"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index308.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js"],"sourcesContent":["import { VALID_DIGITS } from '../../constants.js';\n\n// The RFC 3966 format for extensions.\nvar RFC3966_EXTN_PREFIX = ';ext=';\n\n/**\r\n * Helper method for constructing regular expressions for parsing. Creates\r\n * an expression that captures up to max_length digits.\r\n * @return {string} RegEx pattern to capture extension digits.\r\n */\nvar getExtensionDigitsPattern = function getExtensionDigitsPattern(maxLength) {\n return \"([\".concat(VALID_DIGITS, \"]{1,\").concat(maxLength, \"})\");\n};\n\n/**\r\n * Helper initialiser method to create the regular-expression pattern to match\r\n * extensions.\r\n * Copy-pasted from Google's `libphonenumber`:\r\n * https://github.com/google/libphonenumber/blob/55b2646ec9393f4d3d6661b9c82ef9e258e8b829/javascript/i18n/phonenumbers/phonenumberutil.js#L759-L766\r\n * @return {string} RegEx pattern to capture extensions.\r\n */\nexport default function createExtensionPattern(purpose) {\n // We cap the maximum length of an extension based on the ambiguity of the way\n // the extension is prefixed. As per ITU, the officially allowed length for\n // extensions is actually 40, but we don't support this since we haven't seen real\n // examples and this introduces many false interpretations as the extension labels\n // are not standardized.\n /** @type {string} */\n var extLimitAfterExplicitLabel = '20';\n /** @type {string} */\n var extLimitAfterLikelyLabel = '15';\n /** @type {string} */\n var extLimitAfterAmbiguousChar = '9';\n /** @type {string} */\n var extLimitWhenNotSure = '6';\n\n /** @type {string} */\n var possibleSeparatorsBetweenNumberAndExtLabel = \"[ \\xA0\\\\t,]*\";\n // Optional full stop (.) or colon, followed by zero or more spaces/tabs/commas.\n /** @type {string} */\n var possibleCharsAfterExtLabel = \"[:\\\\.\\uFF0E]?[ \\xA0\\\\t,-]*\";\n /** @type {string} */\n var optionalExtnSuffix = \"#?\";\n\n // Here the extension is called out in more explicit way, i.e mentioning it obvious\n // patterns like \"ext.\".\n /** @type {string} */\n var explicitExtLabels = \"(?:e?xt(?:ensi(?:o\\u0301?|\\xF3))?n?|\\uFF45?\\uFF58\\uFF54\\uFF4E?|\\u0434\\u043E\\u0431|anexo)\";\n // One-character symbols that can be used to indicate an extension, and less\n // commonly used or more ambiguous extension labels.\n /** @type {string} */\n var ambiguousExtLabels = \"(?:[x\\uFF58#\\uFF03~\\uFF5E]|int|\\uFF49\\uFF4E\\uFF54)\";\n // When extension is not separated clearly.\n /** @type {string} */\n var ambiguousSeparator = \"[- ]+\";\n // This is the same as possibleSeparatorsBetweenNumberAndExtLabel, but not matching\n // comma as extension label may have it.\n /** @type {string} */\n var possibleSeparatorsNumberExtLabelNoComma = \"[ \\xA0\\\\t]*\";\n // \",,\" is commonly used for auto dialling the extension when connected. First\n // comma is matched through possibleSeparatorsBetweenNumberAndExtLabel, so we do\n // not repeat it here. Semi-colon works in Iphone and Android also to pop up a\n // button with the extension number following.\n /** @type {string} */\n var autoDiallingAndExtLabelsFound = \"(?:,{2}|;)\";\n\n /** @type {string} */\n var rfcExtn = RFC3966_EXTN_PREFIX + getExtensionDigitsPattern(extLimitAfterExplicitLabel);\n /** @type {string} */\n var explicitExtn = possibleSeparatorsBetweenNumberAndExtLabel + explicitExtLabels + possibleCharsAfterExtLabel + getExtensionDigitsPattern(extLimitAfterExplicitLabel) + optionalExtnSuffix;\n /** @type {string} */\n var ambiguousExtn = possibleSeparatorsBetweenNumberAndExtLabel + ambiguousExtLabels + possibleCharsAfterExtLabel + getExtensionDigitsPattern(extLimitAfterAmbiguousChar) + optionalExtnSuffix;\n /** @type {string} */\n var americanStyleExtnWithSuffix = ambiguousSeparator + getExtensionDigitsPattern(extLimitWhenNotSure) + \"#\";\n\n /** @type {string} */\n var autoDiallingExtn = possibleSeparatorsNumberExtLabelNoComma + autoDiallingAndExtLabelsFound + possibleCharsAfterExtLabel + getExtensionDigitsPattern(extLimitAfterLikelyLabel) + optionalExtnSuffix;\n /** @type {string} */\n var onlyCommasExtn = possibleSeparatorsNumberExtLabelNoComma + \"(?:,)+\" + possibleCharsAfterExtLabel + getExtensionDigitsPattern(extLimitAfterAmbiguousChar) + optionalExtnSuffix;\n\n // The first regular expression covers RFC 3966 format, where the extension is added\n // using \";ext=\". The second more generic where extension is mentioned with explicit\n // labels like \"ext:\". In both the above cases we allow more numbers in extension than\n // any other extension labels. The third one captures when single character extension\n // labels or less commonly used labels are used. In such cases we capture fewer\n // extension digits in order to reduce the chance of falsely interpreting two\n // numbers beside each other as a number + extension. The fourth one covers the\n // special case of American numbers where the extension is written with a hash\n // at the end, such as \"- 503#\". The fifth one is exclusively for extension\n // autodialling formats which are used when dialling and in this case we accept longer\n // extensions. The last one is more liberal on the number of commas that acts as\n // extension labels, so we have a strict cap on the number of digits in such extensions.\n return rfcExtn + \"|\" + explicitExtn + \"|\" + ambiguousExtn + \"|\" + americanStyleExtnWithSuffix + \"|\" + autoDiallingExtn + \"|\" + onlyCommasExtn;\n}\n//# sourceMappingURL=createExtensionPattern.js.map"],"names":["RFC3966_EXTN_PREFIX","getExtensionDigitsPattern","maxLength","VALID_DIGITS","createExtensionPattern","purpose","extLimitAfterExplicitLabel","extLimitAfterLikelyLabel","extLimitAfterAmbiguousChar","extLimitWhenNotSure","possibleSeparatorsBetweenNumberAndExtLabel","possibleCharsAfterExtLabel","optionalExtnSuffix","explicitExtLabels","ambiguousExtLabels","ambiguousSeparator","possibleSeparatorsNumberExtLabelNoComma","autoDiallingAndExtLabelsFound","rfcExtn","explicitExtn","ambiguousExtn","americanStyleExtnWithSuffix","autoDiallingExtn","onlyCommasExtn"],"mappings":";AAGA,IAAIA,IAAsB,SAOtBC,IAA4B,SAAmCC,GAAW;AAC5E,SAAO,KAAK,OAAOC,GAAc,MAAM,EAAE,OAAOD,GAAW,IAAI;AACjE;AASe,SAASE,EAAuBC,GAAS;AAOtD,MAAIC,IAA6B,MAE7BC,IAA2B,MAE3BC,IAA6B,KAE7BC,IAAsB,KAGtBC,IAA6C,aAG7CC,IAA6B,sBAE7BC,IAAqB,MAKrBC,IAAoB,iDAIpBC,IAAqB,wBAGrBC,IAAqB,SAIrBC,IAA0C,YAM1CC,IAAgC,cAGhCC,IAAUlB,IAAsBC,EAA0BK,CAA0B,GAEpFa,IAAeT,IAA6CG,IAAoBF,IAA6BV,EAA0BK,CAA0B,IAAIM,GAErKQ,IAAgBV,IAA6CI,IAAqBH,IAA6BV,EAA0BO,CAA0B,IAAII,GAEvKS,IAA8BN,IAAqBd,EAA0BQ,CAAmB,IAAI,KAGpGa,IAAmBN,IAA0CC,IAAgCN,IAA6BV,EAA0BM,CAAwB,IAAIK,GAEhLW,IAAiBP,IAA0C,WAAWL,IAA6BV,EAA0BO,CAA0B,IAAII;AAc/J,SAAOM,IAAU,MAAMC,IAAe,MAAMC,IAAgB,MAAMC,IAA8B,MAAMC,IAAmB,MAAMC;AACjI;","x_google_ignoreList":[0]}
package/dist/index309.js CHANGED
@@ -1,103 +1,23 @@
1
- import n from "./index185.js";
2
- import { DIRECTION as a, isString as l } from "./index304.js";
3
- import u from "./index306.js";
4
- class c {
5
- /** */
6
- /** */
7
- /** */
8
- /** */
9
- /** */
10
- /** */
11
- constructor(e) {
12
- Object.assign(this, e), this._value = "", this.isFixed = !0;
13
- }
14
- get value() {
15
- return this._value;
16
- }
17
- get unmaskedValue() {
18
- return this.isUnmasking ? this.value : "";
19
- }
20
- get rawInputValue() {
21
- return this._isRawInput ? this.value : "";
22
- }
23
- get displayValue() {
24
- return this.value;
25
- }
26
- reset() {
27
- this._isRawInput = !1, this._value = "";
28
- }
29
- remove(e, t) {
30
- return e === void 0 && (e = 0), t === void 0 && (t = this._value.length), this._value = this._value.slice(0, e) + this._value.slice(t), this._value || (this._isRawInput = !1), new n();
31
- }
32
- nearestInputPos(e, t) {
33
- t === void 0 && (t = a.NONE);
34
- const i = 0, s = this._value.length;
35
- switch (t) {
36
- case a.LEFT:
37
- case a.FORCE_LEFT:
38
- return i;
39
- case a.NONE:
40
- case a.RIGHT:
41
- case a.FORCE_RIGHT:
42
- default:
43
- return s;
44
- }
45
- }
46
- totalInputPositions(e, t) {
47
- return e === void 0 && (e = 0), t === void 0 && (t = this._value.length), this._isRawInput ? t - e : 0;
48
- }
49
- extractInput(e, t, i) {
50
- return e === void 0 && (e = 0), t === void 0 && (t = this._value.length), i === void 0 && (i = {}), i.raw && this._isRawInput && this._value.slice(e, t) || "";
51
- }
52
- get isComplete() {
53
- return !0;
54
- }
55
- get isFilled() {
56
- return !!this._value;
57
- }
58
- _appendChar(e, t) {
59
- if (t === void 0 && (t = {}), this.isFilled) return new n();
60
- const i = this.eager === !0 || this.eager === "append", r = this.char === e && (this.isUnmasking || t.input || t.raw) && (!t.raw || !i) && !t.tail, h = new n({
61
- inserted: this.char,
62
- rawInserted: r ? this.char : ""
63
- });
64
- return this._value = this.char, this._isRawInput = r && (t.raw || t.input), h;
65
- }
66
- _appendEager() {
67
- return this._appendChar(this.char, {
68
- tail: !0
69
- });
70
- }
71
- _appendPlaceholder() {
72
- const e = new n();
73
- return this.isFilled || (this._value = e.inserted = this.char), e;
74
- }
75
- extractTail() {
76
- return new u("");
77
- }
78
- appendTail(e) {
79
- return l(e) && (e = new u(String(e))), e.appendTo(this);
80
- }
81
- append(e, t, i) {
82
- const s = this._appendChar(e[0], t);
83
- return i != null && (s.tailShift += this.appendTail(i).tailShift), s;
84
- }
85
- doCommit() {
86
- }
87
- get state() {
88
- return {
89
- _value: this._value,
90
- _rawInputValue: this.rawInputValue
91
- };
92
- }
93
- set state(e) {
94
- this._value = e._value, this._isRawInput = !!e._rawInputValue;
95
- }
96
- pad(e) {
97
- return this._appendPlaceholder();
98
- }
1
+ import c, { getCountryCallingCode as b } from "./index197.js";
2
+ import g from "./index304.js";
3
+ import C from "./index305.js";
4
+ import h from "./index287.js";
5
+ function P(i, r, l, N, n) {
6
+ var e = r || l ? b(r || l, n) : N;
7
+ if (i.indexOf(e) === 0) {
8
+ n = new c(n), n.selectNumberingPlan(r || l, e);
9
+ var o = i.slice(e.length), f = C(o, r, n), m = f.nationalNumber, u = C(i, r, n), t = u.nationalNumber;
10
+ if (!g(t, n.nationalNumberPattern()) && g(m, n.nationalNumberPattern()) || h(t, r, n) === "TOO_LONG")
11
+ return {
12
+ countryCallingCode: e,
13
+ number: o
14
+ };
15
+ }
16
+ return {
17
+ number: i
18
+ };
99
19
  }
100
20
  export {
101
- c as default
21
+ P as default
102
22
  };
103
23
  //# sourceMappingURL=index309.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index309.js","sources":["../../../node_modules/imask/esm/masked/pattern/fixed-definition.js"],"sourcesContent":["import ChangeDetails from '../../core/change-details.js';\nimport { DIRECTION, isString } from '../../core/utils.js';\nimport ContinuousTailDetails from '../../core/continuous-tail-details.js';\nimport '../../core/holder.js';\n\nclass PatternFixedDefinition {\n /** */\n\n /** */\n\n /** */\n\n /** */\n\n /** */\n\n /** */\n\n constructor(opts) {\n Object.assign(this, opts);\n this._value = '';\n this.isFixed = true;\n }\n get value() {\n return this._value;\n }\n get unmaskedValue() {\n return this.isUnmasking ? this.value : '';\n }\n get rawInputValue() {\n return this._isRawInput ? this.value : '';\n }\n get displayValue() {\n return this.value;\n }\n reset() {\n this._isRawInput = false;\n this._value = '';\n }\n remove(fromPos, toPos) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this._value.length;\n }\n this._value = this._value.slice(0, fromPos) + this._value.slice(toPos);\n if (!this._value) this._isRawInput = false;\n return new ChangeDetails();\n }\n nearestInputPos(cursorPos, direction) {\n if (direction === void 0) {\n direction = DIRECTION.NONE;\n }\n const minPos = 0;\n const maxPos = this._value.length;\n switch (direction) {\n case DIRECTION.LEFT:\n case DIRECTION.FORCE_LEFT:\n return minPos;\n case DIRECTION.NONE:\n case DIRECTION.RIGHT:\n case DIRECTION.FORCE_RIGHT:\n default:\n return maxPos;\n }\n }\n totalInputPositions(fromPos, toPos) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this._value.length;\n }\n return this._isRawInput ? toPos - fromPos : 0;\n }\n extractInput(fromPos, toPos, flags) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this._value.length;\n }\n if (flags === void 0) {\n flags = {};\n }\n return flags.raw && this._isRawInput && this._value.slice(fromPos, toPos) || '';\n }\n get isComplete() {\n return true;\n }\n get isFilled() {\n return Boolean(this._value);\n }\n _appendChar(ch, flags) {\n if (flags === void 0) {\n flags = {};\n }\n if (this.isFilled) return new ChangeDetails();\n const appendEager = this.eager === true || this.eager === 'append';\n const appended = this.char === ch;\n const isResolved = appended && (this.isUnmasking || flags.input || flags.raw) && (!flags.raw || !appendEager) && !flags.tail;\n const details = new ChangeDetails({\n inserted: this.char,\n rawInserted: isResolved ? this.char : ''\n });\n this._value = this.char;\n this._isRawInput = isResolved && (flags.raw || flags.input);\n return details;\n }\n _appendEager() {\n return this._appendChar(this.char, {\n tail: true\n });\n }\n _appendPlaceholder() {\n const details = new ChangeDetails();\n if (this.isFilled) return details;\n this._value = details.inserted = this.char;\n return details;\n }\n extractTail() {\n return new ContinuousTailDetails('');\n }\n appendTail(tail) {\n if (isString(tail)) tail = new ContinuousTailDetails(String(tail));\n return tail.appendTo(this);\n }\n append(str, flags, tail) {\n const details = this._appendChar(str[0], flags);\n if (tail != null) {\n details.tailShift += this.appendTail(tail).tailShift;\n }\n return details;\n }\n doCommit() {}\n get state() {\n return {\n _value: this._value,\n _rawInputValue: this.rawInputValue\n };\n }\n set state(state) {\n this._value = state._value;\n this._isRawInput = Boolean(state._rawInputValue);\n }\n pad(flags) {\n return this._appendPlaceholder();\n }\n}\n\nexport { PatternFixedDefinition as default };\n"],"names":["PatternFixedDefinition","opts","fromPos","toPos","ChangeDetails","cursorPos","direction","DIRECTION","minPos","maxPos","flags","ch","appendEager","isResolved","details","ContinuousTailDetails","tail","isString","str","state"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index309.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js"],"sourcesContent":["import Metadata from '../metadata.js';\nimport matchesEntirely from './matchesEntirely.js';\nimport extractNationalNumber from './extractNationalNumber.js';\nimport checkNumberLength from './checkNumberLength.js';\nimport getCountryCallingCode from '../getCountryCallingCode.js';\n\n/**\r\n * Sometimes some people incorrectly input international phone numbers\r\n * without the leading `+`. This function corrects such input.\r\n * @param {string} number Phone number digits.\r\n * @param {string} [country] — Exact country of the phone number.\r\n * @param {string} [defaultCountry]\r\n * @param {string} [defaultCallingCode]\r\n * @param {object} metadata\r\n * @return {object} `{ countryCallingCode: string?, number: string }`.\r\n */\nexport default function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number, country, defaultCountry, defaultCallingCode, metadata) {\n var countryCallingCode = country || defaultCountry ? getCountryCallingCode(country || defaultCountry, metadata) : defaultCallingCode;\n if (number.indexOf(countryCallingCode) === 0) {\n metadata = new Metadata(metadata);\n metadata.selectNumberingPlan(country || defaultCountry, countryCallingCode);\n var possibleShorterNumber = number.slice(countryCallingCode.length);\n var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber, country, metadata),\n possibleShorterNationalNumber = _extractNationalNumbe.nationalNumber;\n var _extractNationalNumbe2 = extractNationalNumber(number, country, metadata),\n nationalNumber = _extractNationalNumbe2.nationalNumber;\n\n // If the number was not valid before but is valid now,\n // or if it was too long before, we consider the number\n // with the country calling code stripped to be a better result\n // and keep that instead.\n // For example, in Germany (+49), `49` is a valid area code,\n // so if a number starts with `49`, it could be both a valid\n // national German number or an international number without\n // a leading `+`.\n if (!matchesEntirely(nationalNumber, metadata.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata.nationalNumberPattern()) || checkNumberLength(nationalNumber, country, metadata) === 'TOO_LONG') {\n return {\n countryCallingCode: countryCallingCode,\n number: possibleShorterNumber\n };\n }\n }\n return {\n number: number\n };\n}\n//# sourceMappingURL=extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js.map"],"names":["extractCountryCallingCodeFromInternationalNumberWithoutPlusSign","number","country","defaultCountry","defaultCallingCode","metadata","countryCallingCode","getCountryCallingCode","Metadata","possibleShorterNumber","_extractNationalNumbe","extractNationalNumber","possibleShorterNationalNumber","_extractNationalNumbe2","nationalNumber","matchesEntirely","checkNumberLength"],"mappings":";;;;AAgBe,SAASA,EAAgEC,GAAQC,GAASC,GAAgBC,GAAoBC,GAAU;AACrJ,MAAIC,IAAqBJ,KAAWC,IAAiBI,EAAsBL,KAAWC,GAAgBE,CAAQ,IAAID;AAClH,MAAIH,EAAO,QAAQK,CAAkB,MAAM,GAAG;AAC5C,IAAAD,IAAW,IAAIG,EAASH,CAAQ,GAChCA,EAAS,oBAAoBH,KAAWC,GAAgBG,CAAkB;AAC1E,QAAIG,IAAwBR,EAAO,MAAMK,EAAmB,MAAM,GAC9DI,IAAwBC,EAAsBF,GAAuBP,GAASG,CAAQ,GACxFO,IAAgCF,EAAsB,gBACpDG,IAAyBF,EAAsBV,GAAQC,GAASG,CAAQ,GAC1ES,IAAiBD,EAAuB;AAU1C,QAAI,CAACE,EAAgBD,GAAgBT,EAAS,sBAAqB,CAAE,KAAKU,EAAgBH,GAA+BP,EAAS,sBAAqB,CAAE,KAAKW,EAAkBF,GAAgBZ,GAASG,CAAQ,MAAM;AACrN,aAAO;AAAA,QACL,oBAAoBC;AAAA,QACpB,QAAQG;AAAA,MAChB;AAAA,EAEE;AACA,SAAO;AAAA,IACL,QAAQR;AAAA,EACZ;AACA;","x_google_ignoreList":[0]}
package/dist/index31.js CHANGED
@@ -1,10 +1,10 @@
1
- import { DIRECTION as r } from "./index304.js";
2
- import h from "./index305.js";
1
+ import { DIRECTION as r } from "./index272.js";
2
+ import h from "./index273.js";
3
3
  import u, { maskedClass as l } from "./index32.js";
4
4
  import d from "./index33.js";
5
5
  import p from "./index34.js";
6
6
  import _ from "./index36.js";
7
- import o from "./index184.js";
7
+ import o from "./index156.js";
8
8
  import m from "./index37.js";
9
9
  import "./index35.js";
10
10
  class c {
package/dist/index310.js CHANGED
@@ -1,5 +1,32 @@
1
- var r = {};
1
+ function F(l, i) {
2
+ if (l && i.numberingPlan.nationalPrefixForParsing()) {
3
+ var g = new RegExp("^(?:" + i.numberingPlan.nationalPrefixForParsing() + ")"), n = g.exec(l);
4
+ if (n) {
5
+ var r, P, v = n.length - 1, e = v > 0 && n[v];
6
+ if (i.nationalPrefixTransformRule() && e)
7
+ r = l.replace(g, i.nationalPrefixTransformRule()), v > 1 && (P = n[1]);
8
+ else {
9
+ var o = n[0];
10
+ r = l.slice(o.length), e && (P = n[1]);
11
+ }
12
+ var f;
13
+ if (e) {
14
+ var s = l.indexOf(n[1]), a = l.slice(0, s);
15
+ a === i.numberingPlan.nationalPrefix() && (f = i.numberingPlan.nationalPrefix());
16
+ } else
17
+ f = n[0];
18
+ return {
19
+ nationalNumber: r,
20
+ nationalPrefix: f,
21
+ carrierCode: P
22
+ };
23
+ }
24
+ }
25
+ return {
26
+ nationalNumber: l
27
+ };
28
+ }
2
29
  export {
3
- r as __exports
30
+ F as default
4
31
  };
5
32
  //# sourceMappingURL=index310.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index310.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index310.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js"],"sourcesContent":["/**\r\n * Strips any national prefix (such as 0, 1) present in a\r\n * (possibly incomplete) number provided.\r\n * \"Carrier codes\" are only used in Colombia and Brazil,\r\n * and only when dialing within those countries from a mobile phone to a fixed line number.\r\n * Sometimes it won't actually strip national prefix\r\n * and will instead prepend some digits to the `number`:\r\n * for example, when number `2345678` is passed with `VI` country selected,\r\n * it will return `{ number: \"3402345678\" }`, because `340` area code is prepended.\r\n * @param {string} number — National number digits.\r\n * @param {object} metadata — Metadata with country selected.\r\n * @return {object} `{ nationalNumber: string, nationalPrefix: string? carrierCode: string? }`. Even if a national prefix was extracted, it's not necessarily present in the returned object, so don't rely on its presence in the returned object in order to find out whether a national prefix has been extracted or not.\r\n */\nexport default function extractNationalNumberFromPossiblyIncompleteNumber(number, metadata) {\n if (number && metadata.numberingPlan.nationalPrefixForParsing()) {\n // See METADATA.md for the description of\n // `national_prefix_for_parsing` and `national_prefix_transform_rule`.\n // Attempt to parse the first digits as a national prefix.\n var prefixPattern = new RegExp('^(?:' + metadata.numberingPlan.nationalPrefixForParsing() + ')');\n var prefixMatch = prefixPattern.exec(number);\n if (prefixMatch) {\n var nationalNumber;\n var carrierCode;\n // https://gitlab.com/catamphetamine/libphonenumber-js/-/blob/master/METADATA.md#national_prefix_for_parsing--national_prefix_transform_rule\n // If a `national_prefix_for_parsing` has any \"capturing groups\"\n // then it means that the national (significant) number is equal to\n // those \"capturing groups\" transformed via `national_prefix_transform_rule`,\n // and nothing could be said about the actual national prefix:\n // what is it and was it even there.\n // If a `national_prefix_for_parsing` doesn't have any \"capturing groups\",\n // then everything it matches is a national prefix.\n // To determine whether `national_prefix_for_parsing` matched any\n // \"capturing groups\", the value of the result of calling `.exec()`\n // is looked at, and if it has non-undefined values where there're\n // \"capturing groups\" in the regular expression, then it means\n // that \"capturing groups\" have been matched.\n // It's not possible to tell whether there'll be any \"capturing gropus\"\n // before the matching process, because a `national_prefix_for_parsing`\n // could exhibit both behaviors.\n var capturedGroupsCount = prefixMatch.length - 1;\n var hasCapturedGroups = capturedGroupsCount > 0 && prefixMatch[capturedGroupsCount];\n if (metadata.nationalPrefixTransformRule() && hasCapturedGroups) {\n nationalNumber = number.replace(prefixPattern, metadata.nationalPrefixTransformRule());\n // If there's more than one captured group,\n // then carrier code is the second one.\n if (capturedGroupsCount > 1) {\n carrierCode = prefixMatch[1];\n }\n }\n // If there're no \"capturing groups\",\n // or if there're \"capturing groups\" but no\n // `national_prefix_transform_rule`,\n // then just strip the national prefix from the number,\n // and possibly a carrier code.\n // Seems like there could be more.\n else {\n // `prefixBeforeNationalNumber` is the whole substring matched by\n // the `national_prefix_for_parsing` regular expression.\n // There seem to be no guarantees that it's just a national prefix.\n // For example, if there's a carrier code, it's gonna be a\n // part of `prefixBeforeNationalNumber` too.\n var prefixBeforeNationalNumber = prefixMatch[0];\n nationalNumber = number.slice(prefixBeforeNationalNumber.length);\n // If there's at least one captured group,\n // then carrier code is the first one.\n if (hasCapturedGroups) {\n carrierCode = prefixMatch[1];\n }\n }\n // Tries to guess whether a national prefix was present in the input.\n // This is not something copy-pasted from Google's library:\n // they don't seem to have an equivalent for that.\n // So this isn't an \"officially approved\" way of doing something like that.\n // But since there seems no other existing method, this library uses it.\n var nationalPrefix;\n if (hasCapturedGroups) {\n var possiblePositionOfTheFirstCapturedGroup = number.indexOf(prefixMatch[1]);\n var possibleNationalPrefix = number.slice(0, possiblePositionOfTheFirstCapturedGroup);\n // Example: an Argentinian (AR) phone number `0111523456789`.\n // `prefixMatch[0]` is `01115`, and `$1` is `11`,\n // and the rest of the phone number is `23456789`.\n // The national number is transformed via `9$1` to `91123456789`.\n // National prefix `0` is detected being present at the start.\n // if (possibleNationalPrefix.indexOf(metadata.numberingPlan.nationalPrefix()) === 0) {\n if (possibleNationalPrefix === metadata.numberingPlan.nationalPrefix()) {\n nationalPrefix = metadata.numberingPlan.nationalPrefix();\n }\n } else {\n nationalPrefix = prefixMatch[0];\n }\n return {\n nationalNumber: nationalNumber,\n nationalPrefix: nationalPrefix,\n carrierCode: carrierCode\n };\n }\n }\n return {\n nationalNumber: number\n };\n}\n//# sourceMappingURL=extractNationalNumberFromPossiblyIncompleteNumber.js.map"],"names":["extractNationalNumberFromPossiblyIncompleteNumber","number","metadata","prefixPattern","prefixMatch","nationalNumber","carrierCode","capturedGroupsCount","hasCapturedGroups","prefixBeforeNationalNumber","nationalPrefix","possiblePositionOfTheFirstCapturedGroup","possibleNationalPrefix"],"mappings":"AAae,SAASA,EAAkDC,GAAQC,GAAU;AAC1F,MAAID,KAAUC,EAAS,cAAc,yBAAwB,GAAI;AAI/D,QAAIC,IAAgB,IAAI,OAAO,SAASD,EAAS,cAAc,yBAAwB,IAAK,GAAG,GAC3FE,IAAcD,EAAc,KAAKF,CAAM;AAC3C,QAAIG,GAAa;AACf,UAAIC,GACAC,GAiBAC,IAAsBH,EAAY,SAAS,GAC3CI,IAAoBD,IAAsB,KAAKH,EAAYG,CAAmB;AAClF,UAAIL,EAAS,4BAA2B,KAAMM;AAC5C,QAAAH,IAAiBJ,EAAO,QAAQE,GAAeD,EAAS,4BAA2B,CAAE,GAGjFK,IAAsB,MACxBD,IAAcF,EAAY,CAAC;AAAA,WAS1B;AAMH,YAAIK,IAA6BL,EAAY,CAAC;AAC9C,QAAAC,IAAiBJ,EAAO,MAAMQ,EAA2B,MAAM,GAG3DD,MACFF,IAAcF,EAAY,CAAC;AAAA,MAE/B;AAMA,UAAIM;AACJ,UAAIF,GAAmB;AACrB,YAAIG,IAA0CV,EAAO,QAAQG,EAAY,CAAC,CAAC,GACvEQ,IAAyBX,EAAO,MAAM,GAAGU,CAAuC;AAOpF,QAAIC,MAA2BV,EAAS,cAAc,eAAc,MAClEQ,IAAiBR,EAAS,cAAc,eAAc;AAAA,MAE1D;AACE,QAAAQ,IAAiBN,EAAY,CAAC;AAEhC,aAAO;AAAA,QACL,gBAAgBC;AAAA,QAChB,gBAAgBK;AAAA,QAChB,aAAaJ;AAAA,MACrB;AAAA,IACI;AAAA,EACF;AACA,SAAO;AAAA,IACL,gBAAgBL;AAAA,EACpB;AACA;","x_google_ignoreList":[0]}
package/dist/index311.js CHANGED
@@ -1,5 +1,20 @@
1
- var e = {};
1
+ import I from "./index197.js";
2
+ import { VALID_DIGITS as l } from "./index193.js";
3
+ var c = new RegExp("([" + l + "])");
4
+ function D(t, r, f, n) {
5
+ if (r) {
6
+ var a = new I(n);
7
+ a.selectNumberingPlan(r, f);
8
+ var i = new RegExp(a.IDDPrefix());
9
+ if (t.search(i) === 0) {
10
+ t = t.slice(t.match(i)[0].length);
11
+ var e = t.match(c);
12
+ if (!(e && e[1] != null && e[1].length > 0 && e[1] === "0"))
13
+ return t;
14
+ }
15
+ }
16
+ }
2
17
  export {
3
- e as __exports
18
+ D as default
4
19
  };
5
20
  //# sourceMappingURL=index311.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index311.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index311.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js"],"sourcesContent":["import Metadata from '../metadata.js';\nimport { VALID_DIGITS } from '../constants.js';\nvar CAPTURING_DIGIT_PATTERN = new RegExp('([' + VALID_DIGITS + '])');\nexport default function stripIddPrefix(number, country, callingCode, metadata) {\n if (!country) {\n return;\n }\n // Check if the number is IDD-prefixed.\n var countryMetadata = new Metadata(metadata);\n countryMetadata.selectNumberingPlan(country, callingCode);\n var IDDPrefixPattern = new RegExp(countryMetadata.IDDPrefix());\n if (number.search(IDDPrefixPattern) !== 0) {\n return;\n }\n // Strip IDD prefix.\n number = number.slice(number.match(IDDPrefixPattern)[0].length);\n // If there're any digits after an IDD prefix,\n // then those digits are a country calling code.\n // Since no country code starts with a `0`,\n // the code below validates that the next digit (if present) is not `0`.\n var matchedGroups = number.match(CAPTURING_DIGIT_PATTERN);\n if (matchedGroups && matchedGroups[1] != null && matchedGroups[1].length > 0) {\n if (matchedGroups[1] === '0') {\n return;\n }\n }\n return number;\n}\n//# sourceMappingURL=stripIddPrefix.js.map"],"names":["CAPTURING_DIGIT_PATTERN","VALID_DIGITS","stripIddPrefix","number","country","callingCode","metadata","countryMetadata","Metadata","IDDPrefixPattern","matchedGroups"],"mappings":";;AAEA,IAAIA,IAA0B,IAAI,OAAO,OAAOC,IAAe,IAAI;AACpD,SAASC,EAAeC,GAAQC,GAASC,GAAaC,GAAU;AAC7E,MAAKF,GAIL;AAAA,QAAIG,IAAkB,IAAIC,EAASF,CAAQ;AAC3C,IAAAC,EAAgB,oBAAoBH,GAASC,CAAW;AACxD,QAAII,IAAmB,IAAI,OAAOF,EAAgB,UAAS,CAAE;AAC7D,QAAIJ,EAAO,OAAOM,CAAgB,MAAM,GAIxC;AAAA,MAAAN,IAASA,EAAO,MAAMA,EAAO,MAAMM,CAAgB,EAAE,CAAC,EAAE,MAAM;AAK9D,UAAIC,IAAgBP,EAAO,MAAMH,CAAuB;AACxD,UAAI,EAAAU,KAAiBA,EAAc,CAAC,KAAK,QAAQA,EAAc,CAAC,EAAE,SAAS,KACrEA,EAAc,CAAC,MAAM;AAI3B,eAAOP;AAAA;AAAA;AACT;","x_google_ignoreList":[0]}
package/dist/index312.js CHANGED
@@ -1,8 +1,8 @@
1
- var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
1
+ function r(s, t) {
2
+ const e = t.startOfMonth(s), n = e.getDay() > 0 ? e.getDay() : 7, a = t.addDays(s, -n + 1), o = t.addDays(a, 34);
3
+ return t.getMonth(s) === t.getMonth(o) ? 5 : 4;
4
+ }
2
5
  export {
3
- a as fullWidthClassName,
4
- l as noScrollbarsClassName,
5
- e as removedBarSizeVariable,
6
- r as zeroRightClassName
6
+ r as getBroadcastWeeksInMonth
7
7
  };
8
8
  //# sourceMappingURL=index312.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index312.js","sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"AAAU,IAACA,IAAqB,6BACrBC,IAAqB,2BACrBC,IAAwB,2BAKxBC,IAAyB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index312.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js"],"sourcesContent":["const FIVE_WEEKS = 5;\nconst FOUR_WEEKS = 4;\n/**\n * Returns the number of weeks to display in the broadcast calendar for a given\n * month.\n *\n * The broadcast calendar may have either 4 or 5 weeks in a month, depending on\n * the start and end dates of the broadcast weeks.\n *\n * @since 9.4.0\n * @param month The month for which to calculate the number of weeks.\n * @param dateLib The date library to use for date manipulation.\n * @returns The number of weeks in the broadcast calendar (4 or 5).\n */\nexport function getBroadcastWeeksInMonth(month, dateLib) {\n // Get the first day of the month\n const firstDayOfMonth = dateLib.startOfMonth(month);\n // Get the day of the week for the first day of the month (1-7, where 1 is Monday)\n const firstDayOfWeek = firstDayOfMonth.getDay() > 0 ? firstDayOfMonth.getDay() : 7;\n const broadcastStartDate = dateLib.addDays(month, -firstDayOfWeek + 1);\n const lastDateOfLastWeek = dateLib.addDays(broadcastStartDate, FIVE_WEEKS * 7 - 1);\n const numberOfWeeks = dateLib.getMonth(month) === dateLib.getMonth(lastDateOfLastWeek)\n ? FIVE_WEEKS\n : FOUR_WEEKS;\n return numberOfWeeks;\n}\n"],"names":["getBroadcastWeeksInMonth","month","dateLib","firstDayOfMonth","firstDayOfWeek","broadcastStartDate","lastDateOfLastWeek"],"mappings":"AAcO,SAASA,EAAyBC,GAAOC,GAAS;AAErD,QAAMC,IAAkBD,EAAQ,aAAaD,CAAK,GAE5CG,IAAiBD,EAAgB,OAAM,IAAK,IAAIA,EAAgB,OAAM,IAAK,GAC3EE,IAAqBH,EAAQ,QAAQD,GAAO,CAACG,IAAiB,CAAC,GAC/DE,IAAqBJ,EAAQ,QAAQG,GAAoB,EAAkB;AAIjF,SAHsBH,EAAQ,SAASD,CAAK,MAAMC,EAAQ,SAASI,CAAkB,IAC/E,IACA;AAEV;","x_google_ignoreList":[0]}
package/dist/index313.js CHANGED
@@ -1,6 +1,22 @@
1
- import { createSidecarMedium as e } from "./index324.js";
2
- var a = e();
1
+ import { formatDistance as o } from "./index348.js";
2
+ import { formatLong as t } from "./index349.js";
3
+ import { formatRelative as a } from "./index350.js";
4
+ import { localize as r } from "./index351.js";
5
+ import { match as e } from "./index352.js";
6
+ const s = {
7
+ code: "en-US",
8
+ formatDistance: o,
9
+ formatLong: t,
10
+ formatRelative: a,
11
+ localize: r,
12
+ match: e,
13
+ options: {
14
+ weekStartsOn: 0,
15
+ firstWeekContainsDate: 1
16
+ }
17
+ };
3
18
  export {
4
- a as effectCar
19
+ s as default,
20
+ s as enUS
5
21
  };
6
22
  //# sourceMappingURL=index313.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index313.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":";AACU,IAACA,IAAYC,EAAmB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index313.js","sources":["../../../node_modules/date-fns/locale/en-US.js"],"sourcesContent":["import { formatDistance } from \"./en-US/_lib/formatDistance.js\";\nimport { formatLong } from \"./en-US/_lib/formatLong.js\";\nimport { formatRelative } from \"./en-US/_lib/formatRelative.js\";\nimport { localize } from \"./en-US/_lib/localize.js\";\nimport { match } from \"./en-US/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)\n * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)\n */\nexport const enUS = {\n code: \"en-US\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0 /* Sunday */,\n firstWeekContainsDate: 1,\n },\n};\n\n// Fallback for modularized imports:\nexport default enUS;\n"],"names":["enUS","formatDistance","formatLong","formatRelative","localize","match"],"mappings":";;;;;AAcY,MAACA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,gBAAgBC;AAAA,EAChB,YAAYC;AAAA,EACZ,gBAAgBC;AAAA,EAChB,UAAUC;AAAA,EACV,OAAOC;AAAA,EACP,SAAS;AAAA,IACP,cAAc;AAAA,IACd,uBAAuB;AAAA,EAC3B;AACA;","x_google_ignoreList":[0]}
package/dist/index314.js CHANGED
@@ -1,27 +1,16 @@
1
- import * as f from "react";
2
- import { assignRef as o } from "./index346.js";
3
- import { useCallbackRef as l } from "./index347.js";
4
- var s = typeof window < "u" ? f.useLayoutEffect : f.useEffect, c = /* @__PURE__ */ new WeakMap();
5
- function v(e, m) {
6
- var t = l(null, function(n) {
7
- return e.forEach(function(u) {
8
- return o(u, n);
9
- });
10
- });
11
- return s(function() {
12
- var n = c.get(t);
13
- if (n) {
14
- var u = new Set(n), r = new Set(e), i = t.current;
15
- u.forEach(function(a) {
16
- r.has(a) || o(a, null);
17
- }), r.forEach(function(a) {
18
- u.has(a) || o(a, i);
19
- });
20
- }
21
- c.set(t, e);
22
- }, [e]), t;
1
+ function g(d, s, k, t, f, O, n) {
2
+ const { ISOWeek: o, broadcastCalendar: r } = O, { addDays: W, addMonths: c, addWeeks: l, addYears: u, endOfBroadcastWeek: b, endOfISOWeek: m, endOfWeek: y, max: F, min: I, startOfBroadcastWeek: h, startOfISOWeek: x, startOfWeek: B } = n;
3
+ let a = {
4
+ day: W,
5
+ week: l,
6
+ month: c,
7
+ year: u,
8
+ startOfWeek: (e) => r ? h(e, n) : o ? x(e) : B(e),
9
+ endOfWeek: (e) => r ? b(e) : o ? m(e) : y(e)
10
+ }[d](k, s === "after" ? 1 : -1);
11
+ return s === "before" && t ? a = F([t, a]) : s === "after" && f && (a = I([f, a])), a;
23
12
  }
24
13
  export {
25
- v as useMergeRefs
14
+ g as getFocusableDate
26
15
  };
27
16
  //# sourceMappingURL=index314.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index314.js","sources":["../../../node_modules/use-callback-ref/dist/es2015/useMergeRef.js"],"sourcesContent":["import * as React from 'react';\nimport { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar currentValues = new WeakMap();\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return <div ref={domRef}>...</div>\n * }\n */\nexport function useMergeRefs(refs, defaultValue) {\n var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {\n return refs.forEach(function (ref) { return assignRef(ref, newValue); });\n });\n // handle refs changes - added or removed\n useIsomorphicLayoutEffect(function () {\n var oldValue = currentValues.get(callbackRef);\n if (oldValue) {\n var prevRefs_1 = new Set(oldValue);\n var nextRefs_1 = new Set(refs);\n var current_1 = callbackRef.current;\n prevRefs_1.forEach(function (ref) {\n if (!nextRefs_1.has(ref)) {\n assignRef(ref, null);\n }\n });\n nextRefs_1.forEach(function (ref) {\n if (!prevRefs_1.has(ref)) {\n assignRef(ref, current_1);\n }\n });\n }\n currentValues.set(callbackRef, refs);\n }, [refs]);\n return callbackRef;\n}\n"],"names":["useIsomorphicLayoutEffect","React","currentValues","useMergeRefs","refs","defaultValue","callbackRef","useCallbackRef","newValue","ref","assignRef","oldValue","prevRefs_1","nextRefs_1","current_1"],"mappings":";;;AAGA,IAAIA,IAA4B,OAAO,SAAW,MAAcC,EAAM,kBAAkBA,EAAM,WAC1FC,IAAgB,oBAAI,QAAO;AAexB,SAASC,EAAaC,GAAMC,GAAc;AAC7C,MAAIC,IAAcC,EAA+B,MAAM,SAAUC,GAAU;AACvE,WAAOJ,EAAK,QAAQ,SAAUK,GAAK;AAAE,aAAOC,EAAUD,GAAKD,CAAQ;AAAA,IAAG,CAAC;AAAA,EAC3E,CAAC;AAED,SAAAR,EAA0B,WAAY;AAClC,QAAIW,IAAWT,EAAc,IAAII,CAAW;AAC5C,QAAIK,GAAU;AACV,UAAIC,IAAa,IAAI,IAAID,CAAQ,GAC7BE,IAAa,IAAI,IAAIT,CAAI,GACzBU,IAAYR,EAAY;AAC5B,MAAAM,EAAW,QAAQ,SAAUH,GAAK;AAC9B,QAAKI,EAAW,IAAIJ,CAAG,KACnBC,EAAUD,GAAK,IAAI;AAAA,MAE3B,CAAC,GACDI,EAAW,QAAQ,SAAUJ,GAAK;AAC9B,QAAKG,EAAW,IAAIH,CAAG,KACnBC,EAAUD,GAAKK,CAAS;AAAA,MAEhC,CAAC;AAAA,IACL;AACA,IAAAZ,EAAc,IAAII,GAAaF,CAAI;AAAA,EACvC,GAAG,CAACA,CAAI,CAAC,GACFE;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index314.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js"],"sourcesContent":["/**\n * Calculates the next date that should be focused in the calendar.\n *\n * This function determines the next focusable date based on the movement\n * direction, constraints, and calendar configuration.\n *\n * @param moveBy The unit of movement (e.g., \"day\", \"week\").\n * @param moveDir The direction of movement (\"before\" or \"after\").\n * @param refDate The reference date from which to calculate the next focusable\n * date.\n * @param navStart The earliest date the user can navigate to.\n * @param navEnd The latest date the user can navigate to.\n * @param props The DayPicker props, including calendar configuration options.\n * @param dateLib The date library to use for date manipulation.\n * @returns The next focusable date.\n */\nexport function getFocusableDate(moveBy, moveDir, refDate, navStart, navEnd, props, dateLib) {\n const { ISOWeek, broadcastCalendar } = props;\n const { addDays, addMonths, addWeeks, addYears, endOfBroadcastWeek, endOfISOWeek, endOfWeek, max, min, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const moveFns = {\n day: addDays,\n week: addWeeks,\n month: addMonths,\n year: addYears,\n startOfWeek: (date) => broadcastCalendar\n ? startOfBroadcastWeek(date, dateLib)\n : ISOWeek\n ? startOfISOWeek(date)\n : startOfWeek(date),\n endOfWeek: (date) => broadcastCalendar\n ? endOfBroadcastWeek(date)\n : ISOWeek\n ? endOfISOWeek(date)\n : endOfWeek(date),\n };\n let focusableDate = moveFns[moveBy](refDate, moveDir === \"after\" ? 1 : -1);\n if (moveDir === \"before\" && navStart) {\n focusableDate = max([navStart, focusableDate]);\n }\n else if (moveDir === \"after\" && navEnd) {\n focusableDate = min([navEnd, focusableDate]);\n }\n return focusableDate;\n}\n"],"names":["getFocusableDate","moveBy","moveDir","refDate","navStart","navEnd","props","dateLib","ISOWeek","broadcastCalendar","addDays","addMonths","addWeeks","addYears","endOfBroadcastWeek","endOfISOWeek","endOfWeek","max","min","startOfBroadcastWeek","startOfISOWeek","startOfWeek","focusableDate","date"],"mappings":"AAgBO,SAASA,EAAiBC,GAAQC,GAASC,GAASC,GAAUC,GAAQC,GAAOC,GAAS;AACzF,QAAM,EAAE,SAAAC,GAAS,mBAAAC,EAAiB,IAAKH,GACjC,EAAE,SAAAI,GAAS,WAAAC,GAAW,UAAAC,GAAU,UAAAC,GAAU,oBAAAC,GAAoB,cAAAC,GAAc,WAAAC,GAAW,KAAAC,GAAK,KAAAC,GAAK,sBAAAC,GAAsB,gBAAAC,GAAgB,aAAAC,EAAW,IAAMd;AAiB9J,MAAIe,IAhBY;AAAA,IACZ,KAAKZ;AAAA,IACL,MAAME;AAAA,IACN,OAAOD;AAAA,IACP,MAAME;AAAA,IACN,aAAa,CAACU,MAASd,IACjBU,EAAqBI,GAAMhB,CAAO,IAClCC,IACIY,EAAeG,CAAI,IACnBF,EAAYE,CAAI;AAAA,IAC1B,WAAW,CAACA,MAASd,IACfK,EAAmBS,CAAI,IACvBf,IACIO,EAAaQ,CAAI,IACjBP,EAAUO,CAAI;AAAA,EAChC,EACgCtB,CAAM,EAAEE,GAASD,MAAY,UAAU,IAAI,EAAE;AACzE,SAAIA,MAAY,YAAYE,IACxBkB,IAAgBL,EAAI,CAACb,GAAUkB,CAAa,CAAC,IAExCpB,MAAY,WAAWG,MAC5BiB,IAAgBJ,EAAI,CAACb,GAAQiB,CAAa,CAAC,IAExCA;AACX;","x_google_ignoreList":[0]}
package/dist/index315.js CHANGED
@@ -1,116 +1,8 @@
1
- import { __spreadArray as N } from "./index204.js";
2
- import * as n from "react";
3
- import { RemoveScrollBar as W } from "./index325.js";
4
- import { styleSingleton as F } from "./index326.js";
5
- import { nonPassive as s } from "./index327.js";
6
- import { locationCouldBeScrolled as B, handleScroll as K } from "./index328.js";
7
- var k = function(e) {
8
- return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
9
- }, M = function(e) {
10
- return [e.deltaX, e.deltaY];
11
- }, X = function(e) {
12
- return e && "current" in e ? e.current : e;
13
- }, O = function(e, c) {
14
- return e[0] === c[0] && e[1] === c[1];
15
- }, Q = function(e) {
16
- return `
17
- .block-interactivity-`.concat(e, ` {pointer-events: none;}
18
- .allow-interactivity-`).concat(e, ` {pointer-events: all;}
19
- `);
20
- }, Z = 0, f = [];
21
- function J(e) {
22
- var c = n.useRef([]), R = n.useRef([0, 0]), m = n.useRef(), h = n.useState(Z++)[0], g = n.useState(F)[0], S = n.useRef(e);
23
- n.useEffect(function() {
24
- S.current = e;
25
- }, [e]), n.useEffect(function() {
26
- if (e.inert) {
27
- document.body.classList.add("block-interactivity-".concat(h));
28
- var t = N([e.lockRef.current], (e.shards || []).map(X), !0).filter(Boolean);
29
- return t.forEach(function(r) {
30
- return r.classList.add("allow-interactivity-".concat(h));
31
- }), function() {
32
- document.body.classList.remove("block-interactivity-".concat(h)), t.forEach(function(r) {
33
- return r.classList.remove("allow-interactivity-".concat(h));
34
- });
35
- };
36
- }
37
- }, [e.inert, e.lockRef.current, e.shards]);
38
- var C = n.useCallback(function(t, r) {
39
- if ("touches" in t && t.touches.length === 2 || t.type === "wheel" && t.ctrlKey)
40
- return !S.current.allowPinchZoom;
41
- var l = k(t), u = R.current, o = "deltaX" in t ? t.deltaX : u[0] - l[0], i = "deltaY" in t ? t.deltaY : u[1] - l[1], a, v = t.target, d = Math.abs(o) > Math.abs(i) ? "h" : "v";
42
- if ("touches" in t && d === "h" && v.type === "range")
43
- return !1;
44
- var P = window.getSelection(), E = P && P.anchorNode, I = E ? E === v || E.contains(v) : !1;
45
- if (I)
46
- return !1;
47
- var b = B(d, v);
48
- if (!b)
49
- return !0;
50
- if (b ? a = d : (a = d === "v" ? "h" : "v", b = B(d, v)), !b)
51
- return !1;
52
- if (!m.current && "changedTouches" in t && (o || i) && (m.current = a), !a)
53
- return !0;
54
- var Y = m.current || a;
55
- return K(Y, r, t, Y === "h" ? o : i);
56
- }, []), y = n.useCallback(function(t) {
57
- var r = t;
58
- if (!(!f.length || f[f.length - 1] !== g)) {
59
- var l = "deltaY" in r ? M(r) : k(r), u = c.current.filter(function(a) {
60
- return a.name === r.type && (a.target === r.target || r.target === a.shadowParent) && O(a.delta, l);
61
- })[0];
62
- if (u && u.should) {
63
- r.cancelable && r.preventDefault();
64
- return;
65
- }
66
- if (!u) {
67
- var o = (S.current.shards || []).map(X).filter(Boolean).filter(function(a) {
68
- return a.contains(r.target);
69
- }), i = o.length > 0 ? C(r, o[0]) : !S.current.noIsolation;
70
- i && r.cancelable && r.preventDefault();
71
- }
72
- }
73
- }, []), w = n.useCallback(function(t, r, l, u) {
74
- var o = { name: t, delta: r, target: l, should: u, shadowParent: _(l) };
75
- c.current.push(o), setTimeout(function() {
76
- c.current = c.current.filter(function(i) {
77
- return i !== o;
78
- });
79
- }, 1);
80
- }, []), L = n.useCallback(function(t) {
81
- R.current = k(t), m.current = void 0;
82
- }, []), T = n.useCallback(function(t) {
83
- w(t.type, M(t), t.target, C(t, e.lockRef.current));
84
- }, []), D = n.useCallback(function(t) {
85
- w(t.type, k(t), t.target, C(t, e.lockRef.current));
86
- }, []);
87
- n.useEffect(function() {
88
- return f.push(g), e.setCallbacks({
89
- onScrollCapture: T,
90
- onWheelCapture: T,
91
- onTouchMoveCapture: D
92
- }), document.addEventListener("wheel", y, s), document.addEventListener("touchmove", y, s), document.addEventListener("touchstart", L, s), function() {
93
- f = f.filter(function(t) {
94
- return t !== g;
95
- }), document.removeEventListener("wheel", y, s), document.removeEventListener("touchmove", y, s), document.removeEventListener("touchstart", L, s);
96
- };
97
- }, []);
98
- var x = e.removeScrollBar, A = e.inert;
99
- return n.createElement(
100
- n.Fragment,
101
- null,
102
- A ? n.createElement(g, { styles: Q(h) }) : null,
103
- x ? n.createElement(W, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
104
- );
105
- }
106
- function _(e) {
107
- for (var c = null; e !== null; )
108
- e instanceof ShadowRoot && (c = e.host, e = e.host), e = e.parentNode;
109
- return c;
110
- }
1
+ var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
111
2
  export {
112
- J as RemoveScrollSideCar,
113
- M as getDeltaXY,
114
- k as getTouchXY
3
+ a as fullWidthClassName,
4
+ l as noScrollbarsClassName,
5
+ e as removedBarSizeVariable,
6
+ r as zeroRightClassName
115
7
  };
116
8
  //# sourceMappingURL=index315.js.map