@rpcbase/ui 0.167.0 → 0.168.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/index100.js +52 -320
  2. package/dist/index100.js.map +1 -1
  3. package/dist/index101.js +4 -130
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index102.js +4 -20
  6. package/dist/index102.js.map +1 -1
  7. package/dist/index103.js +15 -75
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js +5 -18
  10. package/dist/index104.js.map +1 -1
  11. package/dist/index105.js +7 -101
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index106.js +17 -5
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index107.js +4 -14
  16. package/dist/index107.js.map +1 -1
  17. package/dist/index108.js +5 -2
  18. package/dist/index108.js.map +1 -1
  19. package/dist/index109.js +5 -7
  20. package/dist/index109.js.map +1 -1
  21. package/dist/index11.js +3 -2
  22. package/dist/index11.js.map +1 -1
  23. package/dist/index110.js +5 -326
  24. package/dist/index110.js.map +1 -1
  25. package/dist/index111.js +4 -49
  26. package/dist/index111.js.map +1 -1
  27. package/dist/index112.js +5 -52
  28. package/dist/index112.js.map +1 -1
  29. package/dist/index113.js +5 -3
  30. package/dist/index113.js.map +1 -1
  31. package/dist/index114.js +24 -4
  32. package/dist/index114.js.map +1 -1
  33. package/dist/index115.js +6 -15
  34. package/dist/index115.js.map +1 -1
  35. package/dist/index116.js +3 -4
  36. package/dist/index116.js.map +1 -1
  37. package/dist/index117.js +5 -6
  38. package/dist/index117.js.map +1 -1
  39. package/dist/index118.js +5 -16
  40. package/dist/index118.js.map +1 -1
  41. package/dist/index119.js +3 -3
  42. package/dist/index119.js.map +1 -1
  43. package/dist/index120.js +5 -4
  44. package/dist/index120.js.map +1 -1
  45. package/dist/index121.js +3 -4
  46. package/dist/index121.js.map +1 -1
  47. package/dist/index122.js +8 -5
  48. package/dist/index122.js.map +1 -1
  49. package/dist/index123.js +5 -4
  50. package/dist/index123.js.map +1 -1
  51. package/dist/index124.js +4 -4
  52. package/dist/index124.js.map +1 -1
  53. package/dist/index125.js +4 -6
  54. package/dist/index125.js.map +1 -1
  55. package/dist/index126.js +6 -24
  56. package/dist/index126.js.map +1 -1
  57. package/dist/index127.js +145 -6
  58. package/dist/index127.js.map +1 -1
  59. package/dist/index128.js +39 -4
  60. package/dist/index128.js.map +1 -1
  61. package/dist/index129.js +4 -6
  62. package/dist/index129.js.map +1 -1
  63. package/dist/index130.js +7 -5
  64. package/dist/index130.js.map +1 -1
  65. package/dist/index131.js +13 -4
  66. package/dist/index131.js.map +1 -1
  67. package/dist/index132.js +13 -5
  68. package/dist/index132.js.map +1 -1
  69. package/dist/index133.js +7 -4
  70. package/dist/index133.js.map +1 -1
  71. package/dist/index134.js +31 -8
  72. package/dist/index134.js.map +1 -1
  73. package/dist/index135.js +10 -5
  74. package/dist/index135.js.map +1 -1
  75. package/dist/index136.js +10 -4
  76. package/dist/index136.js.map +1 -1
  77. package/dist/index137.js +8 -4
  78. package/dist/index137.js.map +1 -1
  79. package/dist/index138.js +13 -6
  80. package/dist/index138.js.map +1 -1
  81. package/dist/index139.js +101 -145
  82. package/dist/index139.js.map +1 -1
  83. package/dist/index140.js +20 -40
  84. package/dist/index140.js.map +1 -1
  85. package/dist/index141.js +53 -4
  86. package/dist/index141.js.map +1 -1
  87. package/dist/index142.js +70 -5
  88. package/dist/index142.js.map +1 -1
  89. package/dist/index143.js +9 -13
  90. package/dist/index143.js.map +1 -1
  91. package/dist/index144.js +20 -13
  92. package/dist/index144.js.map +1 -1
  93. package/dist/index145.js +16 -7
  94. package/dist/index145.js.map +1 -1
  95. package/dist/index146.js +22 -30
  96. package/dist/index146.js.map +1 -1
  97. package/dist/index147.js +6 -10
  98. package/dist/index147.js.map +1 -1
  99. package/dist/index148.js +5 -10
  100. package/dist/index148.js.map +1 -1
  101. package/dist/index149.js +23 -8
  102. package/dist/index149.js.map +1 -1
  103. package/dist/index150.js +35 -14
  104. package/dist/index150.js.map +1 -1
  105. package/dist/index151.js +16 -102
  106. package/dist/index151.js.map +1 -1
  107. package/dist/index152.js +7 -20
  108. package/dist/index152.js.map +1 -1
  109. package/dist/index153.js +4 -53
  110. package/dist/index153.js.map +1 -1
  111. package/dist/index154.js +4 -72
  112. package/dist/index154.js.map +1 -1
  113. package/dist/index155.js +4 -9
  114. package/dist/index155.js.map +1 -1
  115. package/dist/index156.js +4 -20
  116. package/dist/index156.js.map +1 -1
  117. package/dist/index157.js +3 -16
  118. package/dist/index157.js.map +1 -1
  119. package/dist/index158.js +6 -23
  120. package/dist/index158.js.map +1 -1
  121. package/dist/index159.js +24 -7
  122. package/dist/index159.js.map +1 -1
  123. package/dist/index160.js +7 -5
  124. package/dist/index160.js.map +1 -1
  125. package/dist/index161.js +6 -23
  126. package/dist/index161.js.map +1 -1
  127. package/dist/index162.js +6 -35
  128. package/dist/index162.js.map +1 -1
  129. package/dist/index163.js +4 -16
  130. package/dist/index163.js.map +1 -1
  131. package/dist/index164.js +3 -6
  132. package/dist/index164.js.map +1 -1
  133. package/dist/index165.js +4 -4
  134. package/dist/index165.js.map +1 -1
  135. package/dist/index166.js +3 -4
  136. package/dist/index166.js.map +1 -1
  137. package/dist/index167.js +4 -4
  138. package/dist/index167.js.map +1 -1
  139. package/dist/index168.js +3 -4
  140. package/dist/index168.js.map +1 -1
  141. package/dist/index169.js +3 -3
  142. package/dist/index169.js.map +1 -1
  143. package/dist/index170.js +3 -6
  144. package/dist/index170.js.map +1 -1
  145. package/dist/index171.js +47 -24
  146. package/dist/index171.js.map +1 -1
  147. package/dist/index172.js +46 -7
  148. package/dist/index172.js.map +1 -1
  149. package/dist/index173.js +205 -6
  150. package/dist/index173.js.map +1 -1
  151. package/dist/index174.js +22 -6
  152. package/dist/index174.js.map +1 -1
  153. package/dist/index175.js +24 -3
  154. package/dist/index175.js.map +1 -1
  155. package/dist/index176.js +399 -3
  156. package/dist/index176.js.map +1 -1
  157. package/dist/index177.js +5 -4
  158. package/dist/index177.js.map +1 -1
  159. package/dist/index178.js +68 -3
  160. package/dist/index178.js.map +1 -1
  161. package/dist/index179.js +2 -5
  162. package/dist/index179.js.map +1 -1
  163. package/dist/index18.js +1 -0
  164. package/dist/index18.js.map +1 -1
  165. package/dist/index180.js +363 -3
  166. package/dist/index180.js.map +1 -1
  167. package/dist/index181.js +261 -3
  168. package/dist/index181.js.map +1 -1
  169. package/dist/index182.js +60 -3
  170. package/dist/index182.js.map +1 -1
  171. package/dist/index183.js +46 -3
  172. package/dist/index183.js.map +1 -1
  173. package/dist/index184.js +170 -2
  174. package/dist/index184.js.map +1 -1
  175. package/dist/index185.js +107 -65
  176. package/dist/index185.js.map +1 -1
  177. package/dist/index186.js +24 -84
  178. package/dist/index186.js.map +1 -1
  179. package/dist/index187.js +8 -47
  180. package/dist/index187.js.map +1 -1
  181. package/dist/index188.js +4 -7
  182. package/dist/index188.js.map +1 -1
  183. package/dist/index189.js +5 -4
  184. package/dist/index189.js.map +1 -1
  185. package/dist/index190.js +4 -51
  186. package/dist/index190.js.map +1 -1
  187. package/dist/index191.js +465 -23
  188. package/dist/index191.js.map +1 -1
  189. package/dist/index192.js +185 -28
  190. package/dist/index192.js.map +1 -1
  191. package/dist/index193.js +108 -5
  192. package/dist/index193.js.map +1 -1
  193. package/dist/index194.js +262 -5
  194. package/dist/index194.js.map +1 -1
  195. package/dist/index195.js +8 -67
  196. package/dist/index195.js.map +1 -1
  197. package/dist/index196.js +43 -2
  198. package/dist/index196.js.map +1 -1
  199. package/dist/index197.js +4 -363
  200. package/dist/index197.js.map +1 -1
  201. package/dist/index198.js +64 -258
  202. package/dist/index198.js.map +1 -1
  203. package/dist/index199.js +176 -56
  204. package/dist/index199.js.map +1 -1
  205. package/dist/index200.js +42 -42
  206. package/dist/index200.js.map +1 -1
  207. package/dist/index201.js +57 -162
  208. package/dist/index201.js.map +1 -1
  209. package/dist/index202.js +45 -106
  210. package/dist/index202.js.map +1 -1
  211. package/dist/index203.js +39 -24
  212. package/dist/index203.js.map +1 -1
  213. package/dist/index204.js +101 -8
  214. package/dist/index204.js.map +1 -1
  215. package/dist/index205.js +97 -4
  216. package/dist/index205.js.map +1 -1
  217. package/dist/index206.js +99 -5
  218. package/dist/index206.js.map +1 -1
  219. package/dist/index207.js +58 -4
  220. package/dist/index207.js.map +1 -1
  221. package/dist/index208.js +8 -466
  222. package/dist/index208.js.map +1 -1
  223. package/dist/index209.js +59 -178
  224. package/dist/index209.js.map +1 -1
  225. package/dist/index210.js +17 -105
  226. package/dist/index210.js.map +1 -1
  227. package/dist/index211.js +14 -260
  228. package/dist/index211.js.map +1 -1
  229. package/dist/index212.js +5 -9
  230. package/dist/index212.js.map +1 -1
  231. package/dist/index213.js +4 -41
  232. package/dist/index213.js.map +1 -1
  233. package/dist/index214.js +6 -4
  234. package/dist/index214.js.map +1 -1
  235. package/dist/index215.js +4 -64
  236. package/dist/index215.js.map +1 -1
  237. package/dist/index216.js +7 -48
  238. package/dist/index216.js.map +1 -1
  239. package/dist/index217.js +17 -67
  240. package/dist/index217.js.map +1 -1
  241. package/dist/index218.js +5 -180
  242. package/dist/index218.js.map +1 -1
  243. package/dist/index219.js +5 -46
  244. package/dist/index219.js.map +1 -1
  245. package/dist/index220.js +13 -39
  246. package/dist/index220.js.map +1 -1
  247. package/dist/index221.js +10 -100
  248. package/dist/index221.js.map +1 -1
  249. package/dist/index222.js +14 -97
  250. package/dist/index222.js.map +1 -1
  251. package/dist/index223.js +14 -99
  252. package/dist/index223.js.map +1 -1
  253. package/dist/index224.js +5 -58
  254. package/dist/index224.js.map +1 -1
  255. package/dist/index225.js +6 -8
  256. package/dist/index225.js.map +1 -1
  257. package/dist/index226.js +7 -66
  258. package/dist/index226.js.map +1 -1
  259. package/dist/index227.js +6 -19
  260. package/dist/index227.js.map +1 -1
  261. package/dist/index228.js +9 -16
  262. package/dist/index228.js.map +1 -1
  263. package/dist/index229.js +5 -5
  264. package/dist/index229.js.map +1 -1
  265. package/dist/index230.js +5 -5
  266. package/dist/index230.js.map +1 -1
  267. package/dist/index231.js +9 -6
  268. package/dist/index231.js.map +1 -1
  269. package/dist/index232.js +5 -4
  270. package/dist/index232.js.map +1 -1
  271. package/dist/index233.js +5 -7
  272. package/dist/index233.js.map +1 -1
  273. package/dist/index234.js +4 -17
  274. package/dist/index234.js.map +1 -1
  275. package/dist/index235.js +11 -5
  276. package/dist/index235.js.map +1 -1
  277. package/dist/index236.js +10 -5
  278. package/dist/index236.js.map +1 -1
  279. package/dist/index237.js +10 -13
  280. package/dist/index237.js.map +1 -1
  281. package/dist/index238.js +11 -10
  282. package/dist/index238.js.map +1 -1
  283. package/dist/index239.js +10 -13
  284. package/dist/index239.js.map +1 -1
  285. package/dist/index240.js +10 -14
  286. package/dist/index240.js.map +1 -1
  287. package/dist/index241.js +7 -5
  288. package/dist/index241.js.map +1 -1
  289. package/dist/index242.js +6 -6
  290. package/dist/index242.js.map +1 -1
  291. package/dist/index243.js +5 -7
  292. package/dist/index243.js.map +1 -1
  293. package/dist/index244.js +6 -6
  294. package/dist/index244.js.map +1 -1
  295. package/dist/index245.js +7 -9
  296. package/dist/index245.js.map +1 -1
  297. package/dist/index246.js +6 -5
  298. package/dist/index246.js.map +1 -1
  299. package/dist/index247.js +55 -5
  300. package/dist/index247.js.map +1 -1
  301. package/dist/index248.js +23 -9
  302. package/dist/index248.js.map +1 -1
  303. package/dist/index249.js +16 -5
  304. package/dist/index249.js.map +1 -1
  305. package/dist/index250.js +7 -5
  306. package/dist/index250.js.map +1 -1
  307. package/dist/index251.js +10 -4
  308. package/dist/index251.js.map +1 -1
  309. package/dist/index252.js +10 -11
  310. package/dist/index252.js.map +1 -1
  311. package/dist/index253.js +21 -10
  312. package/dist/index253.js.map +1 -1
  313. package/dist/index254.js +10 -10
  314. package/dist/index254.js.map +1 -1
  315. package/dist/index255.js +9 -11
  316. package/dist/index255.js.map +1 -1
  317. package/dist/index256.js +9 -11
  318. package/dist/index256.js.map +1 -1
  319. package/dist/index257.js +4 -10
  320. package/dist/index257.js.map +1 -1
  321. package/dist/index258.js +5 -7
  322. package/dist/index258.js.map +1 -1
  323. package/dist/index259.js +16 -6
  324. package/dist/index259.js.map +1 -1
  325. package/dist/index260.js +9 -5
  326. package/dist/index260.js.map +1 -1
  327. package/dist/index261.js +18 -6
  328. package/dist/index261.js.map +1 -1
  329. package/dist/index262.js +15 -7
  330. package/dist/index262.js.map +1 -1
  331. package/dist/index263.js +12 -6
  332. package/dist/index263.js.map +1 -1
  333. package/dist/index264.js +29 -55
  334. package/dist/index264.js.map +1 -1
  335. package/dist/index265.js +12 -23
  336. package/dist/index265.js.map +1 -1
  337. package/dist/index266.js +23 -14
  338. package/dist/index266.js.map +1 -1
  339. package/dist/index267.js +5 -7
  340. package/dist/index267.js.map +1 -1
  341. package/dist/index268.js +23 -9
  342. package/dist/index268.js.map +1 -1
  343. package/dist/index269.js +29 -11
  344. package/dist/index269.js.map +1 -1
  345. package/dist/index270.js +5 -22
  346. package/dist/index270.js.map +1 -1
  347. package/dist/index271.js +13 -10
  348. package/dist/index271.js.map +1 -1
  349. package/dist/index272.js +154 -9
  350. package/dist/index272.js.map +1 -1
  351. package/dist/index273.js +30 -9
  352. package/dist/index273.js.map +1 -1
  353. package/dist/index274.js +9 -4
  354. package/dist/index274.js.map +1 -1
  355. package/dist/index275.js +47 -5
  356. package/dist/index275.js.map +1 -1
  357. package/dist/index276.js +10 -15
  358. package/dist/index276.js.map +1 -1
  359. package/dist/index277.js +44 -9
  360. package/dist/index277.js.map +1 -1
  361. package/dist/index278.js +95 -18
  362. package/dist/index278.js.map +1 -1
  363. package/dist/index279.js +86 -15
  364. package/dist/index279.js.map +1 -1
  365. package/dist/index280.js +103 -10
  366. package/dist/index280.js.map +1 -1
  367. package/dist/index281.js +51 -28
  368. package/dist/index281.js.map +1 -1
  369. package/dist/index282.js +10 -11
  370. package/dist/index282.js.map +1 -1
  371. package/dist/index283.js +36 -24
  372. package/dist/index283.js.map +1 -1
  373. package/dist/index284.js +8 -5
  374. package/dist/index284.js.map +1 -1
  375. package/dist/index285.js +117 -2
  376. package/dist/index285.js.map +1 -1
  377. package/dist/index286.js +18 -2
  378. package/dist/index286.js.map +1 -1
  379. package/dist/index287.js +16 -5
  380. package/dist/index287.js.map +1 -1
  381. package/dist/index288.js +4 -3
  382. package/dist/index288.js.map +1 -1
  383. package/dist/index289.js +36 -23
  384. package/dist/index289.js.map +1 -1
  385. package/dist/index29.js +3 -3
  386. package/dist/index290.js +20 -112
  387. package/dist/index290.js.map +1 -1
  388. package/dist/index291.js +9 -15
  389. package/dist/index291.js.map +1 -1
  390. package/dist/index292.js +7 -523
  391. package/dist/index292.js.map +1 -1
  392. package/dist/index293.js +16 -124
  393. package/dist/index293.js.map +1 -1
  394. package/dist/index294.js +25 -130
  395. package/dist/index294.js.map +1 -1
  396. package/dist/index295.js +16 -13
  397. package/dist/index295.js.map +1 -1
  398. package/dist/index296.js +4 -154
  399. package/dist/index296.js.map +1 -1
  400. package/dist/index297.js +18 -30
  401. package/dist/index297.js.map +1 -1
  402. package/dist/index298.js +12 -9
  403. package/dist/index298.js.map +1 -1
  404. package/dist/index299.js +5 -48
  405. package/dist/index299.js.map +1 -1
  406. package/dist/index30.js +14 -14
  407. package/dist/index300.js +3 -12
  408. package/dist/index300.js.map +1 -1
  409. package/dist/index301.js +22 -43
  410. package/dist/index301.js.map +1 -1
  411. package/dist/index302.js +109 -92
  412. package/dist/index302.js.map +1 -1
  413. package/dist/index303.js +15 -86
  414. package/dist/index303.js.map +1 -1
  415. package/dist/index304.js +513 -94
  416. package/dist/index304.js.map +1 -1
  417. package/dist/index305.js +125 -50
  418. package/dist/index305.js.map +1 -1
  419. package/dist/index306.js +132 -10
  420. package/dist/index306.js.map +1 -1
  421. package/dist/index307.js +19 -36
  422. package/dist/index307.js.map +1 -1
  423. package/dist/index308.js +5 -8
  424. package/dist/index308.js.map +1 -1
  425. package/dist/index309.js +5 -3
  426. package/dist/index309.js.map +1 -1
  427. package/dist/index31.js +3 -3
  428. package/dist/index310.js +4 -10
  429. package/dist/index310.js.map +1 -1
  430. package/dist/index311.js +15 -116
  431. package/dist/index311.js.map +1 -1
  432. package/dist/index312.js +8 -17
  433. package/dist/index312.js.map +1 -1
  434. package/dist/index313.js +5 -15
  435. package/dist/index313.js.map +1 -1
  436. package/dist/index314.js +4 -36
  437. package/dist/index314.js.map +1 -1
  438. package/dist/index315.js +544 -19
  439. package/dist/index315.js.map +1 -1
  440. package/dist/index316.js +46 -8
  441. package/dist/index316.js.map +1 -1
  442. package/dist/index317.js +17 -19
  443. package/dist/index317.js.map +1 -1
  444. package/dist/index318.js +6 -28
  445. package/dist/index318.js.map +1 -1
  446. package/dist/index319.js +8 -16
  447. package/dist/index319.js.map +1 -1
  448. package/dist/index32.js +2 -2
  449. package/dist/index320.js +7 -4
  450. package/dist/index320.js.map +1 -1
  451. package/dist/index321.js +9 -19
  452. package/dist/index321.js.map +1 -1
  453. package/dist/index322.js +12 -12
  454. package/dist/index322.js.map +1 -1
  455. package/dist/index323.js +10 -69
  456. package/dist/index323.js.map +1 -1
  457. package/dist/index324.js +14 -9
  458. package/dist/index324.js.map +1 -1
  459. package/dist/index325.js +64 -13
  460. package/dist/index325.js.map +1 -1
  461. package/dist/index326.js +68 -65
  462. package/dist/index326.js.map +1 -1
  463. package/dist/index327.js +8 -64
  464. package/dist/index327.js.map +1 -1
  465. package/dist/index328.js +14 -21
  466. package/dist/index328.js.map +1 -1
  467. package/dist/index329.js +66 -6
  468. package/dist/index329.js.map +1 -1
  469. package/dist/index33.js +1 -1
  470. package/dist/index330.js +4 -5
  471. package/dist/index330.js.map +1 -1
  472. package/dist/index331.js +56 -4
  473. package/dist/index331.js.map +1 -1
  474. package/dist/index332.js +68 -16
  475. package/dist/index332.js.map +1 -1
  476. package/dist/index333.js +31 -9
  477. package/dist/index333.js.map +1 -1
  478. package/dist/index334.js +9 -6
  479. package/dist/index334.js.map +1 -1
  480. package/dist/index335.js +153 -5
  481. package/dist/index335.js.map +1 -1
  482. package/dist/index336.js +106 -544
  483. package/dist/index336.js.map +1 -1
  484. package/dist/index337.js +4 -47
  485. package/dist/index337.js.map +1 -1
  486. package/dist/index338.js +22 -17
  487. package/dist/index338.js.map +1 -1
  488. package/dist/index339.js +15 -6
  489. package/dist/index339.js.map +1 -1
  490. package/dist/index34.js +1 -1
  491. package/dist/index340.js +28 -8
  492. package/dist/index340.js.map +1 -1
  493. package/dist/index341.js +12 -7
  494. package/dist/index341.js.map +1 -1
  495. package/dist/index342.js +6 -8
  496. package/dist/index342.js.map +1 -1
  497. package/dist/index343.js +13 -13
  498. package/dist/index343.js.map +1 -1
  499. package/dist/index344.js +27 -9
  500. package/dist/index344.js.map +1 -1
  501. package/dist/index345.js +5 -14
  502. package/dist/index345.js.map +1 -1
  503. package/dist/index346.js +23 -4
  504. package/dist/index346.js.map +1 -1
  505. package/dist/index35.js +1 -1
  506. package/dist/index36.js +1 -1
  507. package/dist/index38.js +10 -9
  508. package/dist/index38.js.map +1 -1
  509. package/dist/index39.js +2 -2
  510. package/dist/index40.js +24 -24
  511. package/dist/index42.js +1 -1
  512. package/dist/index46.js +1 -1
  513. package/dist/index47.js +2 -2
  514. package/dist/index50.js +2 -2
  515. package/dist/index51.js +18 -18
  516. package/dist/index55.js +1 -1
  517. package/dist/index56.js +1 -1
  518. package/dist/index57.js +5 -5
  519. package/dist/index58.js +53 -3
  520. package/dist/index58.js.map +1 -1
  521. package/dist/index60.js +33 -47
  522. package/dist/index60.js.map +1 -1
  523. package/dist/index62.js +7 -50
  524. package/dist/index62.js.map +1 -1
  525. package/dist/index63.js +11 -7
  526. package/dist/index63.js.map +1 -1
  527. package/dist/index64.js +3 -14
  528. package/dist/index64.js.map +1 -1
  529. package/dist/index65.js +43 -129
  530. package/dist/index65.js.map +1 -1
  531. package/dist/index66.js +50 -10
  532. package/dist/index66.js.map +1 -1
  533. package/dist/index67.js +7 -216
  534. package/dist/index67.js.map +1 -1
  535. package/dist/index68.js +15 -13
  536. package/dist/index68.js.map +1 -1
  537. package/dist/index69.js +132 -32
  538. package/dist/index69.js.map +1 -1
  539. package/dist/index70.js +10 -46
  540. package/dist/index70.js.map +1 -1
  541. package/dist/index71.js +216 -7
  542. package/dist/index71.js.map +1 -1
  543. package/dist/index72.js +12 -49
  544. package/dist/index72.js.map +1 -1
  545. package/dist/index73.js +47 -4
  546. package/dist/index73.js.map +1 -1
  547. package/dist/index74.js +49 -5
  548. package/dist/index74.js.map +1 -1
  549. package/dist/index75.js +4 -28
  550. package/dist/index75.js.map +1 -1
  551. package/dist/index76.js +6 -50
  552. package/dist/index76.js.map +1 -1
  553. package/dist/index77.js +28 -9
  554. package/dist/index77.js.map +1 -1
  555. package/dist/index78.js +50 -12
  556. package/dist/index78.js.map +1 -1
  557. package/dist/index79.js +9 -2
  558. package/dist/index79.js.map +1 -1
  559. package/dist/index80.js +2 -2
  560. package/dist/index81.js +2 -54
  561. package/dist/index81.js.map +1 -1
  562. package/dist/index82.js +5 -46
  563. package/dist/index82.js.map +1 -1
  564. package/dist/index83.js +7 -205
  565. package/dist/index83.js.map +1 -1
  566. package/dist/index84.js +6 -22
  567. package/dist/index84.js.map +1 -1
  568. package/dist/index85.js +605 -24
  569. package/dist/index85.js.map +1 -1
  570. package/dist/index86.js +3 -399
  571. package/dist/index86.js.map +1 -1
  572. package/dist/index87.js +32 -45
  573. package/dist/index87.js.map +1 -1
  574. package/dist/index88.js +249 -5
  575. package/dist/index88.js.map +1 -1
  576. package/dist/index89.js +114 -7
  577. package/dist/index89.js.map +1 -1
  578. package/dist/index90.js +219 -5
  579. package/dist/index90.js.map +1 -1
  580. package/dist/index91.js +60 -599
  581. package/dist/index91.js.map +1 -1
  582. package/dist/index92.js +20 -3
  583. package/dist/index92.js.map +1 -1
  584. package/dist/index93.js +208 -32
  585. package/dist/index93.js.map +1 -1
  586. package/dist/index94.js +279 -209
  587. package/dist/index94.js.map +1 -1
  588. package/dist/index95.js +115 -99
  589. package/dist/index95.js.map +1 -1
  590. package/dist/index96.js +20 -219
  591. package/dist/index96.js.map +1 -1
  592. package/dist/index97.js +60 -51
  593. package/dist/index97.js.map +1 -1
  594. package/dist/index98.js +11 -13
  595. package/dist/index98.js.map +1 -1
  596. package/dist/index99.js +89 -197
  597. package/dist/index99.js.map +1 -1
  598. package/package.json +1 -1
  599. package/dist/index347.js +0 -26
  600. package/dist/index347.js.map +0 -1
  601. package/dist/index348.js +0 -8
  602. package/dist/index348.js.map +0 -1
  603. package/dist/index349.js +0 -59
  604. package/dist/index349.js.map +0 -1
  605. package/dist/index350.js +0 -71
  606. package/dist/index350.js.map +0 -1
  607. package/dist/index351.js +0 -34
  608. package/dist/index351.js.map +0 -1
  609. package/dist/index352.js +0 -12
  610. package/dist/index352.js.map +0 -1
  611. package/dist/index353.js +0 -156
  612. package/dist/index353.js.map +0 -1
  613. package/dist/index354.js +0 -111
  614. package/dist/index354.js.map +0 -1
  615. package/dist/index355.js +0 -26
  616. package/dist/index355.js.map +0 -1
  617. package/dist/index356.js +0 -16
  618. package/dist/index356.js.map +0 -1
  619. package/dist/index357.js +0 -31
  620. package/dist/index357.js.map +0 -1
  621. package/dist/index358.js +0 -8
  622. package/dist/index358.js.map +0 -1
  623. package/dist/index359.js +0 -19
  624. package/dist/index359.js.map +0 -1
  625. package/dist/index360.js +0 -32
  626. package/dist/index360.js.map +0 -1
  627. package/dist/index361.js +0 -16
  628. package/dist/index361.js.map +0 -1
  629. package/dist/index362.js +0 -10
  630. package/dist/index362.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index86.js","sources":["../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, arrow as arrow$1, autoPlacement as autoPlacement$1, detectOverflow as detectOverflow$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle as getComputedStyle$1, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle$1(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle$1(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll) {\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle$1(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Safety check: ensure the scrollbar space is reasonable in case this\n// calculation is affected by unusual styles.\n// Most scrollbars leave 15-18px of space.\nconst SCROLLBAR_MAX = 25;\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n const windowScrollbarX = getWindowScrollBarX(html);\n // <html> `overflow: hidden` + `scrollbar-gutter: stable` reduces the\n // visual width of the <html> but this is not considered in the size\n // of `html.clientWidth`.\n if (windowScrollbarX <= 0) {\n const doc = html.ownerDocument;\n const body = doc.body;\n const bodyStyles = getComputedStyle(body);\n const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;\n const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);\n if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {\n width -= clippingStableScrollbarWidth;\n }\n } else if (windowScrollbarX <= SCROLLBAR_MAX) {\n // If the <body> scrollbar is on the left, the width needs to be extended\n // by the scrollbar amount so there isn't extra space on the right.\n width += windowScrollbarX;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nconst absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle$1(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle$1(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n function setLeftRTLScrollbarOffset() {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n setLeftRTLScrollbarOffset();\n }\n }\n if (isFixed && !isOffsetParentAnElement && documentElement) {\n setLeftRTLScrollbarOffset();\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle$1(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle$1(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (_e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n"],"names":["getCssDimensions","element","css","getComputedStyle$1","width","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","unwrapElement","isElement","getScale","domElement","createCoords","rect","$","x","y","noOffsets","getVisualOffsets","win","getWindow","isWebKit","shouldAddVisualOffsets","isFixed","floatingOffsetParent","getBoundingClientRect","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","offsetWin","currentWin","currentIFrame","getFrameElement","iframeScale","iframeRect","left","top","rectToClientRect","getWindowScrollBarX","leftScroll","getNodeScroll","getDocumentElement","getHTMLOffset","documentElement","scroll","htmlRect","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","elements","strategy","topLayer","isTopLayer","offsets","isOffsetParentAnElement","getNodeName","isOverflowElement","offsetRect","htmlOffset","getClientRects","getDocumentRect","html","body","max","SCROLLBAR_MAX","getViewportRect","visualViewport","visualViewportBased","windowScrollbarX","doc","bodyStyles","bodyMarginInline","clippingStableScrollbarWidth","absoluteOrFixed","getInnerBoundingClientRect","getClientRectFromClippingAncestor","clippingAncestor","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","getClippingElementAncestors","cache","cachedResult","result","getOverflowAncestors","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","isContainingBlock","ancestor","getClippingRect","boundary","rootBoundary","clippingAncestors","firstClippingAncestor","clippingRect","accRect","min","getDimensions","getRectRelativeToOffsetParent","setLeftRTLScrollbarOffset","isStaticPositioned","getTrueOffsetParent","polyfill","rawOffsetParent","getOffsetParent","svgOffsetParent","isTableElement","getContainingBlock","getElementRects","data","getOffsetParentFn","getDimensionsFn","floatingDimensions","isRTL","platform","rectsAreEqual","a","b","observeMove","onMove","io","timeoutId","root","cleanup","_io","refresh","skip","threshold","elementRectForRootMargin","insetTop","floor","insetRight","insetBottom","insetLeft","options","isFirstUpdate","handleObserve","entries","ratio","autoUpdate","reference","floating","update","ancestorScroll","ancestorResize","elementResize","layoutShift","animationFrame","referenceEl","ancestors","cleanupIo","reobserveFrame","resizeObserver","firstEntry","_resizeObserver","frameId","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","offset","offset$1","shift","shift$1","flip","flip$1","size","size$1","hide","hide$1","arrow","arrow$1","limitShift","limitShift$1","computePosition","mergedOptions","platformWithCache","computePosition$1"],"mappings":";;;AAKA,SAASA,EAAiBC,GAAS;AACjC,QAAMC,IAAMC,EAAmBF,CAAO;AAGtC,MAAIG,IAAQ,WAAWF,EAAI,KAAK,KAAK,GACjCG,IAAS,WAAWH,EAAI,MAAM,KAAK;AACvC,QAAMI,IAAYC,EAAcN,CAAO,GACjCO,IAAcF,IAAYL,EAAQ,cAAcG,GAChDK,IAAeH,IAAYL,EAAQ,eAAeI,GAClDK,IAAiBC,EAAMP,CAAK,MAAMI,KAAeG,EAAMN,CAAM,MAAMI;AACzE,SAAIC,MACFN,IAAQI,GACRH,IAASI,IAEJ;AAAA,IACL,OAAAL;AAAA,IACA,QAAAC;AAAA,IACA,GAAGK;AAAA,EACP;AACA;AAEA,SAASE,EAAcX,GAAS;AAC9B,SAAQY,EAAUZ,CAAO,IAA6BA,IAAzBA,EAAQ;AACvC;AAEA,SAASa,EAASb,GAAS;AACzB,QAAMc,IAAaH,EAAcX,CAAO;AACxC,MAAI,CAACM,EAAcQ,CAAU;AAC3B,WAAOC,EAAa,CAAC;AAEvB,QAAMC,IAAOF,EAAW,sBAAqB,GACvC;AAAA,IACJ,OAAAX;AAAA,IACA,QAAAC;AAAA,IACA,GAAAa;AAAA,EACJ,IAAMlB,EAAiBe,CAAU;AAC/B,MAAII,KAAKD,IAAIP,EAAMM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RC,KAAaC,IAMbC,KAAkB,CAAClC,GAAWC,GAAUP,MAAY;AAIxD,QAAMzD,IAAQ,oBAAI,IAAG,GACfkG,IAAgB;AAAA,IACpB,UAAA7D;AAAA,IACA,GAAGoB;AAAA,EACP,GACQ0C,IAAoB;AAAA,IACxB,GAAGD,EAAc;AAAA,IACjB,IAAIlG;AAAA,EACR;AACE,SAAOoG,GAAkBrC,GAAWC,GAAU;AAAA,IAC5C,GAAGkC;AAAA,IACH,UAAUC;AAAA,EACd,CAAG;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index86.js","sources":["../../../node_modules/imask/esm/core/holder.js"],"sourcesContent":["/** Applies mask on element */\nfunction IMask(el, opts) {\n // currently available only for input-like elements\n return new IMask.InputMask(el, opts);\n}\n\nexport { IMask as default };\n"],"names":["IMask","el","opts"],"mappings":"AACA,SAASA,EAAMC,GAAIC,GAAM;AAEvB,SAAO,IAAIF,EAAM,UAAUC,GAAIC,CAAI;AACrC;","x_google_ignoreList":[0]}
package/dist/index87.js CHANGED
@@ -1,50 +1,37 @@
1
- import * as l from "react";
2
- import { composeRefs as m } from "./index61.js";
3
- import { j as u } from "./index28.js";
4
- // @__NO_SIDE_EFFECTS__
5
- function x(e) {
6
- const r = /* @__PURE__ */ y(e), t = l.forwardRef((o, n) => {
7
- const { children: i, ...c } = o, s = l.Children.toArray(i), a = s.find(g);
8
- if (a) {
9
- const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
10
- return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
11
- }
12
- return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: i });
13
- });
14
- return t.displayName = `${e}.Slot`, t;
15
- }
16
- // @__NO_SIDE_EFFECTS__
17
- function y(e) {
18
- const r = l.forwardRef((t, o) => {
19
- const { children: n, ...i } = t;
20
- if (l.isValidElement(n)) {
21
- const c = R(n), s = C(i, n.props);
22
- return n.type !== l.Fragment && (s.ref = o ? m(o, c) : c), l.cloneElement(n, s);
23
- }
24
- return l.Children.count(n) > 1 ? l.Children.only(null) : null;
25
- });
26
- return r.displayName = `${e}.SlotClone`, r;
27
- }
28
- var E = /* @__PURE__ */ Symbol("radix.slottable");
29
- function g(e) {
30
- return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
31
- }
32
- function C(e, r) {
33
- const t = { ...r };
34
- for (const o in r) {
35
- const n = e[o], i = r[o];
36
- /^on[A-Z]/.test(o) ? n && i ? t[o] = (...s) => {
37
- const a = i(...s);
38
- return n(...s), a;
39
- } : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...i } : o === "className" && (t[o] = [n, i].filter(Boolean).join(" "));
1
+ import i from "./index86.js";
2
+ class s {
3
+ /** Inserted symbols */
4
+ /** Additional offset if any changes occurred before tail */
5
+ /** Raw inserted is used by dynamic mask */
6
+ /** Can skip chars */
7
+ static normalize(t) {
8
+ return Array.isArray(t) ? t : [t, new s()];
9
+ }
10
+ constructor(t) {
11
+ Object.assign(this, {
12
+ inserted: "",
13
+ rawInserted: "",
14
+ tailShift: 0,
15
+ skip: !1
16
+ }, t);
17
+ }
18
+ /** Aggregate changes */
19
+ aggregate(t) {
20
+ return this.inserted += t.inserted, this.rawInserted += t.rawInserted, this.tailShift += t.tailShift, this.skip = this.skip || t.skip, this;
21
+ }
22
+ /** Total offset considering all changes */
23
+ get offset() {
24
+ return this.tailShift + this.inserted.length;
25
+ }
26
+ get consumed() {
27
+ return !!this.rawInserted || this.skip;
28
+ }
29
+ equals(t) {
30
+ return this.inserted === t.inserted && this.tailShift === t.tailShift && this.rawInserted === t.rawInserted && this.skip === t.skip;
40
31
  }
41
- return { ...e, ...t };
42
- }
43
- function R(e) {
44
- let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
45
- return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
46
32
  }
33
+ i.ChangeDetails = s;
47
34
  export {
48
- x as createSlot
35
+ s as default
49
36
  };
50
37
  //# sourceMappingURL=index87.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index87.js","sources":["../../../node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","mayWarn"],"mappings":";;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,QAAMC,IAA4B,gBAAAC,EAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACtD,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,QAAID,GAAW;AACb,YAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,aAAuBC,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,IACpL;AACA,WAAuBE,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAAC,GAAU;AAAA,EACrF,CAAC;AACD,SAAAJ,EAAM,cAAc,GAAGH,CAAS,SACzBG;AACT;AAAA;AAGA,SAASD,EAAgBF,GAAW;AAClC,QAAMC,IAAYG,EAAM,WAAW,CAACC,GAAOC,MAAiB;AAC1D,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH;AACnC,QAAID,EAAM,eAAeG,CAAQ,GAAG;AAClC,YAAMS,IAAcC,EAAcV,CAAQ,GACpCW,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A,EAAO;AAC7D,SAAIC,IACKF,EAAQ,OAEjBC,IAAS,OAAO,yBAAyBD,GAAS,KAAK,GAAG,KAC1DE,IAAUD,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDC,IACKF,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index87.js","sources":["../../../node_modules/imask/esm/core/change-details.js"],"sourcesContent":["import IMask from './holder.js';\n\n/** Provides details of changing model value */\nclass ChangeDetails {\n /** Inserted symbols */\n\n /** Additional offset if any changes occurred before tail */\n\n /** Raw inserted is used by dynamic mask */\n\n /** Can skip chars */\n\n static normalize(prep) {\n return Array.isArray(prep) ? prep : [prep, new ChangeDetails()];\n }\n constructor(details) {\n Object.assign(this, {\n inserted: '',\n rawInserted: '',\n tailShift: 0,\n skip: false\n }, details);\n }\n\n /** Aggregate changes */\n aggregate(details) {\n this.inserted += details.inserted;\n this.rawInserted += details.rawInserted;\n this.tailShift += details.tailShift;\n this.skip = this.skip || details.skip;\n return this;\n }\n\n /** Total offset considering all changes */\n get offset() {\n return this.tailShift + this.inserted.length;\n }\n get consumed() {\n return Boolean(this.rawInserted) || this.skip;\n }\n equals(details) {\n return this.inserted === details.inserted && this.tailShift === details.tailShift && this.rawInserted === details.rawInserted && this.skip === details.skip;\n }\n}\nIMask.ChangeDetails = ChangeDetails;\n\nexport { ChangeDetails as default };\n"],"names":["ChangeDetails","prep","details","IMask"],"mappings":";AAGA,MAAMA,EAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EASlB,OAAO,UAAUC,GAAM;AACrB,WAAO,MAAM,QAAQA,CAAI,IAAIA,IAAO,CAACA,GAAM,IAAID,GAAe;AAAA,EAChE;AAAA,EACA,YAAYE,GAAS;AACnB,WAAO,OAAO,MAAM;AAAA,MAClB,UAAU;AAAA,MACV,aAAa;AAAA,MACb,WAAW;AAAA,MACX,MAAM;AAAA,IACZ,GAAOA,CAAO;AAAA,EACZ;AAAA;AAAA,EAGA,UAAUA,GAAS;AACjB,gBAAK,YAAYA,EAAQ,UACzB,KAAK,eAAeA,EAAQ,aAC5B,KAAK,aAAaA,EAAQ,WAC1B,KAAK,OAAO,KAAK,QAAQA,EAAQ,MAC1B;AAAA,EACT;AAAA;AAAA,EAGA,IAAI,SAAS;AACX,WAAO,KAAK,YAAY,KAAK,SAAS;AAAA,EACxC;AAAA,EACA,IAAI,WAAW;AACb,WAAO,EAAQ,KAAK,eAAgB,KAAK;AAAA,EAC3C;AAAA,EACA,OAAOA,GAAS;AACd,WAAO,KAAK,aAAaA,EAAQ,YAAY,KAAK,cAAcA,EAAQ,aAAa,KAAK,gBAAgBA,EAAQ,eAAe,KAAK,SAASA,EAAQ;AAAA,EACzJ;AACF;AACAC,EAAM,gBAAgBH;","x_google_ignoreList":[0]}
package/dist/index88.js CHANGED
@@ -1,9 +1,253 @@
1
- import { getCountries as E } from "./index206.js";
2
- const n = ["IM", "GG", "JE"], o = new Set(n), e = E().filter((t) => !o.has(t));
3
- function s() {
4
- return e;
1
+ import h from "./index87.js";
2
+ import f from "./index203.js";
3
+ import { isString as v, DIRECTION as o, objectIncludes as V, forceDirection as I } from "./index201.js";
4
+ import _ from "./index86.js";
5
+ class p {
6
+ /** */
7
+ /** */
8
+ /** Transforms value before mask processing */
9
+ /** Transforms each char before mask processing */
10
+ /** Validates if value is acceptable */
11
+ /** Does additional processing at the end of editing */
12
+ /** Format typed value to string */
13
+ /** Parse string to get typed value */
14
+ /** Enable characters overwriting */
15
+ /** */
16
+ /** */
17
+ /** */
18
+ /** */
19
+ constructor(t) {
20
+ this._value = "", this._update({
21
+ ...p.DEFAULTS,
22
+ ...t
23
+ }), this._initialized = !0;
24
+ }
25
+ /** Sets and applies new options */
26
+ updateOptions(t) {
27
+ this.optionsIsChanged(t) && this.withValueRefresh(this._update.bind(this, t));
28
+ }
29
+ /** Sets new options */
30
+ _update(t) {
31
+ Object.assign(this, t);
32
+ }
33
+ /** Mask state */
34
+ get state() {
35
+ return {
36
+ _value: this.value,
37
+ _rawInputValue: this.rawInputValue
38
+ };
39
+ }
40
+ set state(t) {
41
+ this._value = t._value;
42
+ }
43
+ /** Resets value */
44
+ reset() {
45
+ this._value = "";
46
+ }
47
+ get value() {
48
+ return this._value;
49
+ }
50
+ set value(t) {
51
+ this.resolve(t, {
52
+ input: !0
53
+ });
54
+ }
55
+ /** Resolve new value */
56
+ resolve(t, e) {
57
+ e === void 0 && (e = {
58
+ input: !0
59
+ }), this.reset(), this.append(t, e, ""), this.doCommit();
60
+ }
61
+ get unmaskedValue() {
62
+ return this.value;
63
+ }
64
+ set unmaskedValue(t) {
65
+ this.resolve(t, {});
66
+ }
67
+ get typedValue() {
68
+ return this.parse ? this.parse(this.value, this) : this.unmaskedValue;
69
+ }
70
+ set typedValue(t) {
71
+ this.format ? this.value = this.format(t, this) : this.unmaskedValue = String(t);
72
+ }
73
+ /** Value that includes raw user input */
74
+ get rawInputValue() {
75
+ return this.extractInput(0, this.displayValue.length, {
76
+ raw: !0
77
+ });
78
+ }
79
+ set rawInputValue(t) {
80
+ this.resolve(t, {
81
+ raw: !0
82
+ });
83
+ }
84
+ get displayValue() {
85
+ return this.value;
86
+ }
87
+ get isComplete() {
88
+ return !0;
89
+ }
90
+ get isFilled() {
91
+ return this.isComplete;
92
+ }
93
+ /** Finds nearest input position in direction */
94
+ nearestInputPos(t, e) {
95
+ return t;
96
+ }
97
+ totalInputPositions(t, e) {
98
+ return t === void 0 && (t = 0), e === void 0 && (e = this.displayValue.length), Math.min(this.displayValue.length, e - t);
99
+ }
100
+ /** Extracts value in range considering flags */
101
+ extractInput(t, e, i) {
102
+ return t === void 0 && (t = 0), e === void 0 && (e = this.displayValue.length), this.displayValue.slice(t, e);
103
+ }
104
+ /** Extracts tail in range */
105
+ extractTail(t, e) {
106
+ return t === void 0 && (t = 0), e === void 0 && (e = this.displayValue.length), new f(this.extractInput(t, e), t);
107
+ }
108
+ /** Appends tail */
109
+ appendTail(t) {
110
+ return v(t) && (t = new f(String(t))), t.appendTo(this);
111
+ }
112
+ /** Appends char */
113
+ _appendCharRaw(t, e) {
114
+ return t ? (this._value += t, new h({
115
+ inserted: t,
116
+ rawInserted: t
117
+ })) : new h();
118
+ }
119
+ /** Appends char */
120
+ _appendChar(t, e, i) {
121
+ e === void 0 && (e = {});
122
+ const s = this.state;
123
+ let a;
124
+ if ([t, a] = this.doPrepareChar(t, e), t && (a = a.aggregate(this._appendCharRaw(t, e)), !a.rawInserted && this.autofix === "pad")) {
125
+ const n = this.state;
126
+ this.state = s;
127
+ let r = this.pad(e);
128
+ const l = this._appendCharRaw(t, e);
129
+ r = r.aggregate(l), l.rawInserted || r.equals(a) ? a = r : this.state = n;
130
+ }
131
+ if (a.inserted) {
132
+ let n, r = this.doValidate(e) !== !1;
133
+ if (r && i != null) {
134
+ const l = this.state;
135
+ if (this.overwrite === !0) {
136
+ n = i.state;
137
+ for (let d = 0; d < a.rawInserted.length; ++d)
138
+ i.unshift(this.displayValue.length - a.tailShift);
139
+ }
140
+ let u = this.appendTail(i);
141
+ if (r = u.rawInserted.length === i.toString().length, !(r && u.inserted) && this.overwrite === "shift") {
142
+ this.state = l, n = i.state;
143
+ for (let d = 0; d < a.rawInserted.length; ++d)
144
+ i.shift();
145
+ u = this.appendTail(i), r = u.rawInserted.length === i.toString().length;
146
+ }
147
+ r && u.inserted && (this.state = l);
148
+ }
149
+ r || (a = new h(), this.state = s, i && n && (i.state = n));
150
+ }
151
+ return a;
152
+ }
153
+ /** Appends optional placeholder at the end */
154
+ _appendPlaceholder() {
155
+ return new h();
156
+ }
157
+ /** Appends optional eager placeholder at the end */
158
+ _appendEager() {
159
+ return new h();
160
+ }
161
+ /** Appends symbols considering flags */
162
+ append(t, e, i) {
163
+ if (!v(t)) throw new Error("value should be string");
164
+ const s = v(i) ? new f(String(i)) : i;
165
+ e != null && e.tail && (e._beforeTailState = this.state);
166
+ let a;
167
+ [t, a] = this.doPrepare(t, e);
168
+ for (let n = 0; n < t.length; ++n) {
169
+ const r = this._appendChar(t[n], e, s);
170
+ if (!r.rawInserted && !this.doSkipInvalid(t[n], e, s)) break;
171
+ a.aggregate(r);
172
+ }
173
+ return (this.eager === !0 || this.eager === "append") && e != null && e.input && t && a.aggregate(this._appendEager()), s != null && (a.tailShift += this.appendTail(s).tailShift), a;
174
+ }
175
+ remove(t, e) {
176
+ return t === void 0 && (t = 0), e === void 0 && (e = this.displayValue.length), this._value = this.displayValue.slice(0, t) + this.displayValue.slice(e), new h();
177
+ }
178
+ /** Calls function and reapplies current value */
179
+ withValueRefresh(t) {
180
+ if (this._refreshing || !this._initialized) return t();
181
+ this._refreshing = !0;
182
+ const e = this.rawInputValue, i = this.value, s = t();
183
+ return this.rawInputValue = e, this.value && this.value !== i && i.indexOf(this.value) === 0 && (this.append(i.slice(this.displayValue.length), {}, ""), this.doCommit()), delete this._refreshing, s;
184
+ }
185
+ runIsolated(t) {
186
+ if (this._isolated || !this._initialized) return t(this);
187
+ this._isolated = !0;
188
+ const e = this.state, i = t(this);
189
+ return this.state = e, delete this._isolated, i;
190
+ }
191
+ doSkipInvalid(t, e, i) {
192
+ return !!this.skipInvalid;
193
+ }
194
+ /** Prepares string before mask processing */
195
+ doPrepare(t, e) {
196
+ return e === void 0 && (e = {}), h.normalize(this.prepare ? this.prepare(t, this, e) : t);
197
+ }
198
+ /** Prepares each char before mask processing */
199
+ doPrepareChar(t, e) {
200
+ return e === void 0 && (e = {}), h.normalize(this.prepareChar ? this.prepareChar(t, this, e) : t);
201
+ }
202
+ /** Validates if value is acceptable */
203
+ doValidate(t) {
204
+ return (!this.validate || this.validate(this.value, this, t)) && (!this.parent || this.parent.doValidate(t));
205
+ }
206
+ /** Does additional processing at the end of editing */
207
+ doCommit() {
208
+ this.commit && this.commit(this.value, this);
209
+ }
210
+ splice(t, e, i, s, a) {
211
+ i === void 0 && (i = ""), s === void 0 && (s = o.NONE), a === void 0 && (a = {
212
+ input: !0
213
+ });
214
+ const n = t + e, r = this.extractTail(n), l = this.eager === !0 || this.eager === "remove";
215
+ let u;
216
+ l && (s = I(s), u = this.extractInput(0, n, {
217
+ raw: !0
218
+ }));
219
+ let d = t;
220
+ const g = new h();
221
+ if (s !== o.NONE && (d = this.nearestInputPos(t, e > 1 && t !== 0 && !l ? o.NONE : s), g.tailShift = d - t), g.aggregate(this.remove(d)), l && s !== o.NONE && u === this.rawInputValue)
222
+ if (s === o.FORCE_LEFT) {
223
+ let w;
224
+ for (; u === this.rawInputValue && (w = this.displayValue.length); )
225
+ g.aggregate(new h({
226
+ tailShift: -1
227
+ })).aggregate(this.remove(w - 1));
228
+ } else s === o.FORCE_RIGHT && r.unshift();
229
+ return g.aggregate(this.append(i, a, r));
230
+ }
231
+ maskEquals(t) {
232
+ return this.mask === t;
233
+ }
234
+ optionsIsChanged(t) {
235
+ return !V(this, t);
236
+ }
237
+ typedValueEquals(t) {
238
+ const e = this.typedValue;
239
+ return t === e || p.EMPTY_VALUES.includes(t) && p.EMPTY_VALUES.includes(e) || (this.format ? this.format(t, this) === this.format(this.typedValue, this) : !1);
240
+ }
241
+ pad(t) {
242
+ return new h();
243
+ }
5
244
  }
245
+ p.DEFAULTS = {
246
+ skipInvalid: !0
247
+ };
248
+ p.EMPTY_VALUES = [void 0, null, ""];
249
+ _.Masked = p;
6
250
  export {
7
- s as getCountryList
251
+ p as default
8
252
  };
9
253
  //# sourceMappingURL=index88.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index88.js","sources":["../src/components/PhoneNumberInput/countries.ts"],"sourcesContent":["import { getCountries } from \"libphonenumber-js\"\nimport type { CountryCode } from \"libphonenumber-js\"\n\n\nconst EXCLUDED_COUNTRIES: CountryCode[] = [\"IM\", \"GG\", \"JE\"]\nconst EXCLUDED_SET = new Set(EXCLUDED_COUNTRIES)\n\nconst FILTERED_COUNTRIES = getCountries().filter((code) => !EXCLUDED_SET.has(code))\n\nexport function getCountryList(): CountryCode[] {\n return FILTERED_COUNTRIES\n}\n"],"names":["EXCLUDED_COUNTRIES","EXCLUDED_SET","FILTERED_COUNTRIES","getCountries","code","getCountryList"],"mappings":";AAIA,MAAMA,IAAoC,CAAC,MAAM,MAAM,IAAI,GACrDC,IAAe,IAAI,IAAID,CAAkB,GAEzCE,IAAqBC,EAAA,EAAe,OAAO,CAACC,MAAS,CAACH,EAAa,IAAIG,CAAI,CAAC;AAE3E,SAASC,IAAgC;AAC9C,SAAOH;AACT;"}
1
+ {"version":3,"file":"index88.js","sources":["../../../node_modules/imask/esm/masked/base.js"],"sourcesContent":["import ChangeDetails from '../core/change-details.js';\nimport ContinuousTailDetails from '../core/continuous-tail-details.js';\nimport { isString, DIRECTION, objectIncludes, forceDirection } from '../core/utils.js';\nimport IMask from '../core/holder.js';\n\n/** Append flags */\n\n/** Extract flags */\n\n// see https://github.com/microsoft/TypeScript/issues/6223\n\n/** Provides common masking stuff */\nclass Masked {\n /** */\n\n /** */\n\n /** Transforms value before mask processing */\n\n /** Transforms each char before mask processing */\n\n /** Validates if value is acceptable */\n\n /** Does additional processing at the end of editing */\n\n /** Format typed value to string */\n\n /** Parse string to get typed value */\n\n /** Enable characters overwriting */\n\n /** */\n\n /** */\n\n /** */\n\n /** */\n\n constructor(opts) {\n this._value = '';\n this._update({\n ...Masked.DEFAULTS,\n ...opts\n });\n this._initialized = true;\n }\n\n /** Sets and applies new options */\n updateOptions(opts) {\n if (!this.optionsIsChanged(opts)) return;\n this.withValueRefresh(this._update.bind(this, opts));\n }\n\n /** Sets new options */\n _update(opts) {\n Object.assign(this, opts);\n }\n\n /** Mask state */\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 }\n\n /** Resets value */\n reset() {\n this._value = '';\n }\n get value() {\n return this._value;\n }\n set value(value) {\n this.resolve(value, {\n input: true\n });\n }\n\n /** Resolve new value */\n resolve(value, flags) {\n if (flags === void 0) {\n flags = {\n input: true\n };\n }\n this.reset();\n this.append(value, flags, '');\n this.doCommit();\n }\n get unmaskedValue() {\n return this.value;\n }\n set unmaskedValue(value) {\n this.resolve(value, {});\n }\n get typedValue() {\n return this.parse ? this.parse(this.value, this) : this.unmaskedValue;\n }\n set typedValue(value) {\n if (this.format) {\n this.value = this.format(value, this);\n } else {\n this.unmaskedValue = String(value);\n }\n }\n\n /** Value that includes raw user input */\n get rawInputValue() {\n return this.extractInput(0, this.displayValue.length, {\n raw: true\n });\n }\n set rawInputValue(value) {\n this.resolve(value, {\n raw: true\n });\n }\n get displayValue() {\n return this.value;\n }\n get isComplete() {\n return true;\n }\n get isFilled() {\n return this.isComplete;\n }\n\n /** Finds nearest input position in direction */\n nearestInputPos(cursorPos, direction) {\n return cursorPos;\n }\n totalInputPositions(fromPos, toPos) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this.displayValue.length;\n }\n return Math.min(this.displayValue.length, toPos - fromPos);\n }\n\n /** Extracts value in range considering flags */\n extractInput(fromPos, toPos, flags) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this.displayValue.length;\n }\n return this.displayValue.slice(fromPos, toPos);\n }\n\n /** Extracts tail in range */\n extractTail(fromPos, toPos) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this.displayValue.length;\n }\n return new ContinuousTailDetails(this.extractInput(fromPos, toPos), fromPos);\n }\n\n /** Appends tail */\n appendTail(tail) {\n if (isString(tail)) tail = new ContinuousTailDetails(String(tail));\n return tail.appendTo(this);\n }\n\n /** Appends char */\n _appendCharRaw(ch, flags) {\n if (!ch) return new ChangeDetails();\n this._value += ch;\n return new ChangeDetails({\n inserted: ch,\n rawInserted: ch\n });\n }\n\n /** Appends char */\n _appendChar(ch, flags, checkTail) {\n if (flags === void 0) {\n flags = {};\n }\n const consistentState = this.state;\n let details;\n [ch, details] = this.doPrepareChar(ch, flags);\n if (ch) {\n details = details.aggregate(this._appendCharRaw(ch, flags));\n\n // TODO handle `skip`?\n\n // try `autofix` lookahead\n if (!details.rawInserted && this.autofix === 'pad') {\n const noFixState = this.state;\n this.state = consistentState;\n let fixDetails = this.pad(flags);\n const chDetails = this._appendCharRaw(ch, flags);\n fixDetails = fixDetails.aggregate(chDetails);\n\n // if fix was applied or\n // if details are equal use skip restoring state optimization\n if (chDetails.rawInserted || fixDetails.equals(details)) {\n details = fixDetails;\n } else {\n this.state = noFixState;\n }\n }\n }\n if (details.inserted) {\n let consistentTail;\n let appended = this.doValidate(flags) !== false;\n if (appended && checkTail != null) {\n // validation ok, check tail\n const beforeTailState = this.state;\n if (this.overwrite === true) {\n consistentTail = checkTail.state;\n for (let i = 0; i < details.rawInserted.length; ++i) {\n checkTail.unshift(this.displayValue.length - details.tailShift);\n }\n }\n let tailDetails = this.appendTail(checkTail);\n appended = tailDetails.rawInserted.length === checkTail.toString().length;\n\n // not ok, try shift\n if (!(appended && tailDetails.inserted) && this.overwrite === 'shift') {\n this.state = beforeTailState;\n consistentTail = checkTail.state;\n for (let i = 0; i < details.rawInserted.length; ++i) {\n checkTail.shift();\n }\n tailDetails = this.appendTail(checkTail);\n appended = tailDetails.rawInserted.length === checkTail.toString().length;\n }\n\n // if ok, rollback state after tail\n if (appended && tailDetails.inserted) this.state = beforeTailState;\n }\n\n // revert all if something went wrong\n if (!appended) {\n details = new ChangeDetails();\n this.state = consistentState;\n if (checkTail && consistentTail) checkTail.state = consistentTail;\n }\n }\n return details;\n }\n\n /** Appends optional placeholder at the end */\n _appendPlaceholder() {\n return new ChangeDetails();\n }\n\n /** Appends optional eager placeholder at the end */\n _appendEager() {\n return new ChangeDetails();\n }\n\n /** Appends symbols considering flags */\n append(str, flags, tail) {\n if (!isString(str)) throw new Error('value should be string');\n const checkTail = isString(tail) ? new ContinuousTailDetails(String(tail)) : tail;\n if (flags != null && flags.tail) flags._beforeTailState = this.state;\n let details;\n [str, details] = this.doPrepare(str, flags);\n for (let ci = 0; ci < str.length; ++ci) {\n const d = this._appendChar(str[ci], flags, checkTail);\n if (!d.rawInserted && !this.doSkipInvalid(str[ci], flags, checkTail)) break;\n details.aggregate(d);\n }\n if ((this.eager === true || this.eager === 'append') && flags != null && flags.input && str) {\n details.aggregate(this._appendEager());\n }\n\n // append tail but aggregate only tailShift\n if (checkTail != null) {\n details.tailShift += this.appendTail(checkTail).tailShift;\n // TODO it's a good idea to clear state after appending ends\n // but it causes bugs when one append calls another (when dynamic dispatch set rawInputValue)\n // this._resetBeforeTailState();\n }\n return details;\n }\n remove(fromPos, toPos) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this.displayValue.length;\n }\n this._value = this.displayValue.slice(0, fromPos) + this.displayValue.slice(toPos);\n return new ChangeDetails();\n }\n\n /** Calls function and reapplies current value */\n withValueRefresh(fn) {\n if (this._refreshing || !this._initialized) return fn();\n this._refreshing = true;\n const rawInput = this.rawInputValue;\n const value = this.value;\n const ret = fn();\n this.rawInputValue = rawInput;\n // append lost trailing chars at the end\n if (this.value && this.value !== value && value.indexOf(this.value) === 0) {\n this.append(value.slice(this.displayValue.length), {}, '');\n this.doCommit();\n }\n delete this._refreshing;\n return ret;\n }\n runIsolated(fn) {\n if (this._isolated || !this._initialized) return fn(this);\n this._isolated = true;\n const state = this.state;\n const ret = fn(this);\n this.state = state;\n delete this._isolated;\n return ret;\n }\n doSkipInvalid(ch, flags, checkTail) {\n return Boolean(this.skipInvalid);\n }\n\n /** Prepares string before mask processing */\n doPrepare(str, flags) {\n if (flags === void 0) {\n flags = {};\n }\n return ChangeDetails.normalize(this.prepare ? this.prepare(str, this, flags) : str);\n }\n\n /** Prepares each char before mask processing */\n doPrepareChar(str, flags) {\n if (flags === void 0) {\n flags = {};\n }\n return ChangeDetails.normalize(this.prepareChar ? this.prepareChar(str, this, flags) : str);\n }\n\n /** Validates if value is acceptable */\n doValidate(flags) {\n return (!this.validate || this.validate(this.value, this, flags)) && (!this.parent || this.parent.doValidate(flags));\n }\n\n /** Does additional processing at the end of editing */\n doCommit() {\n if (this.commit) this.commit(this.value, this);\n }\n splice(start, deleteCount, inserted, removeDirection, flags) {\n if (inserted === void 0) {\n inserted = '';\n }\n if (removeDirection === void 0) {\n removeDirection = DIRECTION.NONE;\n }\n if (flags === void 0) {\n flags = {\n input: true\n };\n }\n const tailPos = start + deleteCount;\n const tail = this.extractTail(tailPos);\n const eagerRemove = this.eager === true || this.eager === 'remove';\n let oldRawValue;\n if (eagerRemove) {\n removeDirection = forceDirection(removeDirection);\n oldRawValue = this.extractInput(0, tailPos, {\n raw: true\n });\n }\n let startChangePos = start;\n const details = new ChangeDetails();\n\n // if it is just deletion without insertion\n if (removeDirection !== DIRECTION.NONE) {\n startChangePos = this.nearestInputPos(start, deleteCount > 1 && start !== 0 && !eagerRemove ? DIRECTION.NONE : removeDirection);\n\n // adjust tailShift if start was aligned\n details.tailShift = startChangePos - start;\n }\n details.aggregate(this.remove(startChangePos));\n if (eagerRemove && removeDirection !== DIRECTION.NONE && oldRawValue === this.rawInputValue) {\n if (removeDirection === DIRECTION.FORCE_LEFT) {\n let valLength;\n while (oldRawValue === this.rawInputValue && (valLength = this.displayValue.length)) {\n details.aggregate(new ChangeDetails({\n tailShift: -1\n })).aggregate(this.remove(valLength - 1));\n }\n } else if (removeDirection === DIRECTION.FORCE_RIGHT) {\n tail.unshift();\n }\n }\n return details.aggregate(this.append(inserted, flags, tail));\n }\n maskEquals(mask) {\n return this.mask === mask;\n }\n optionsIsChanged(opts) {\n return !objectIncludes(this, opts);\n }\n typedValueEquals(value) {\n const tval = this.typedValue;\n return value === tval || Masked.EMPTY_VALUES.includes(value) && Masked.EMPTY_VALUES.includes(tval) || (this.format ? this.format(value, this) === this.format(this.typedValue, this) : false);\n }\n pad(flags) {\n return new ChangeDetails();\n }\n}\nMasked.DEFAULTS = {\n skipInvalid: true\n};\nMasked.EMPTY_VALUES = [undefined, null, ''];\nIMask.Masked = Masked;\n\nexport { Masked as default };\n"],"names":["Masked","opts","state","value","flags","cursorPos","direction","fromPos","toPos","ContinuousTailDetails","tail","isString","ch","ChangeDetails","checkTail","consistentState","details","noFixState","fixDetails","chDetails","consistentTail","appended","beforeTailState","i","tailDetails","str","ci","d","fn","rawInput","ret","start","deleteCount","inserted","removeDirection","DIRECTION","tailPos","eagerRemove","oldRawValue","forceDirection","startChangePos","valLength","mask","objectIncludes","tval","IMask"],"mappings":";;;;AAYA,MAAMA,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA2BX,YAAYC,GAAM;AAChB,SAAK,SAAS,IACd,KAAK,QAAQ;AAAA,MACX,GAAGD,EAAO;AAAA,MACV,GAAGC;AAAA,IACT,CAAK,GACD,KAAK,eAAe;AAAA,EACtB;AAAA;AAAA,EAGA,cAAcA,GAAM;AAClB,IAAK,KAAK,iBAAiBA,CAAI,KAC/B,KAAK,iBAAiB,KAAK,QAAQ,KAAK,MAAMA,CAAI,CAAC;AAAA,EACrD;AAAA;AAAA,EAGA,QAAQA,GAAM;AACZ,WAAO,OAAO,MAAMA,CAAI;AAAA,EAC1B;AAAA;AAAA,EAGA,IAAI,QAAQ;AACV,WAAO;AAAA,MACL,QAAQ,KAAK;AAAA,MACb,gBAAgB,KAAK;AAAA,IAC3B;AAAA,EACE;AAAA,EACA,IAAI,MAAMC,GAAO;AACf,SAAK,SAASA,EAAM;AAAA,EACtB;AAAA;AAAA,EAGA,QAAQ;AACN,SAAK,SAAS;AAAA,EAChB;AAAA,EACA,IAAI,QAAQ;AACV,WAAO,KAAK;AAAA,EACd;AAAA,EACA,IAAI,MAAMC,GAAO;AACf,SAAK,QAAQA,GAAO;AAAA,MAClB,OAAO;AAAA,IACb,CAAK;AAAA,EACH;AAAA;AAAA,EAGA,QAAQA,GAAOC,GAAO;AACpB,IAAIA,MAAU,WACZA,IAAQ;AAAA,MACN,OAAO;AAAA,IACf,IAEI,KAAK,MAAK,GACV,KAAK,OAAOD,GAAOC,GAAO,EAAE,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