@rpcbase/ui 0.213.0 → 0.214.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (361) hide show
  1. package/dist/index108.js +36 -36
  2. package/dist/index120.js +6 -6
  3. package/dist/index123.js +10 -10
  4. package/dist/index125.js +2 -2
  5. package/dist/index126.js +3 -3
  6. package/dist/index127.js +1 -1
  7. package/dist/index129.js +2 -2
  8. package/dist/index131.js +1 -1
  9. package/dist/index152.js +46 -5
  10. package/dist/index152.js.map +1 -1
  11. package/dist/index153.js +40 -62
  12. package/dist/index153.js.map +1 -1
  13. package/dist/index154.js +230 -2
  14. package/dist/index154.js.map +1 -1
  15. package/dist/index155.js +22 -364
  16. package/dist/index155.js.map +1 -1
  17. package/dist/index156.js +23 -260
  18. package/dist/index156.js.map +1 -1
  19. package/dist/index157.js +391 -51
  20. package/dist/index157.js.map +1 -1
  21. package/dist/index158.js +5 -46
  22. package/dist/index158.js.map +1 -1
  23. package/dist/index159.js +56 -157
  24. package/dist/index159.js.map +1 -1
  25. package/dist/index16.js +1 -1
  26. package/dist/index160.js +2 -110
  27. package/dist/index160.js.map +1 -1
  28. package/dist/index161.js +363 -24
  29. package/dist/index161.js.map +1 -1
  30. package/dist/index162.js +262 -8
  31. package/dist/index162.js.map +1 -1
  32. package/dist/index163.js +60 -4
  33. package/dist/index163.js.map +1 -1
  34. package/dist/index164.js +46 -5
  35. package/dist/index164.js.map +1 -1
  36. package/dist/index165.js +169 -4
  37. package/dist/index165.js.map +1 -1
  38. package/dist/index166.js +102 -459
  39. package/dist/index166.js.map +1 -1
  40. package/dist/index167.js +24 -185
  41. package/dist/index167.js.map +1 -1
  42. package/dist/index168.js +8 -108
  43. package/dist/index168.js.map +1 -1
  44. package/dist/index169.js +4 -262
  45. package/dist/index169.js.map +1 -1
  46. package/dist/index170.js +5 -9
  47. package/dist/index170.js.map +1 -1
  48. package/dist/index171.js +4 -42
  49. package/dist/index171.js.map +1 -1
  50. package/dist/index172.js +466 -4
  51. package/dist/index172.js.map +1 -1
  52. package/dist/index173.js +177 -597
  53. package/dist/index173.js.map +1 -1
  54. package/dist/index174.js +103 -42
  55. package/dist/index174.js.map +1 -1
  56. package/dist/index175.js +253 -220
  57. package/dist/index175.js.map +1 -1
  58. package/dist/index176.js +10 -22
  59. package/dist/index176.js.map +1 -1
  60. package/dist/index177.js +42 -24
  61. package/dist/index177.js.map +1 -1
  62. package/dist/index178.js +4 -400
  63. package/dist/index178.js.map +1 -1
  64. package/dist/index179.js +67 -58
  65. package/dist/index179.js.map +1 -1
  66. package/dist/index180.js +180 -8
  67. package/dist/index180.js.map +1 -1
  68. package/dist/index181.js +42 -62
  69. package/dist/index181.js.map +1 -1
  70. package/dist/index182.js +57 -18
  71. package/dist/index182.js.map +1 -1
  72. package/dist/index183.js +8 -16
  73. package/dist/index183.js.map +1 -1
  74. package/dist/index184.js +65 -4
  75. package/dist/index184.js.map +1 -1
  76. package/dist/index185.js +18 -4
  77. package/dist/index185.js.map +1 -1
  78. package/dist/index186.js +16 -6
  79. package/dist/index186.js.map +1 -1
  80. package/dist/index187.js +5 -4
  81. package/dist/index187.js.map +1 -1
  82. package/dist/index188.js +5 -6
  83. package/dist/index188.js.map +1 -1
  84. package/dist/index189.js +6 -16
  85. package/dist/index189.js.map +1 -1
  86. package/dist/index190.js +4 -4
  87. package/dist/index190.js.map +1 -1
  88. package/dist/index191.js +6 -4
  89. package/dist/index191.js.map +1 -1
  90. package/dist/index192.js +16 -12
  91. package/dist/index192.js.map +1 -1
  92. package/dist/index193.js +4 -9
  93. package/dist/index193.js.map +1 -1
  94. package/dist/index194.js +4 -13
  95. package/dist/index194.js.map +1 -1
  96. package/dist/index195.js +12 -13
  97. package/dist/index195.js.map +1 -1
  98. package/dist/index196.js +9 -4
  99. package/dist/index196.js.map +1 -1
  100. package/dist/index197.js +13 -5
  101. package/dist/index197.js.map +1 -1
  102. package/dist/index198.js +13 -6
  103. package/dist/index198.js.map +1 -1
  104. package/dist/index199.js +4 -5
  105. package/dist/index199.js.map +1 -1
  106. package/dist/index200.js +5 -54
  107. package/dist/index200.js.map +1 -1
  108. package/dist/index201.js +6 -8
  109. package/dist/index201.js.map +1 -1
  110. package/dist/index202.js +4 -3
  111. package/dist/index202.js.map +1 -1
  112. package/dist/index203.js +54 -4
  113. package/dist/index203.js.map +1 -1
  114. package/dist/index204.js +6 -6
  115. package/dist/index204.js.map +1 -1
  116. package/dist/index205.js +4 -4
  117. package/dist/index205.js.map +1 -1
  118. package/dist/index206.js +4 -4
  119. package/dist/index206.js.map +1 -1
  120. package/dist/index207.js +8 -3
  121. package/dist/index207.js.map +1 -1
  122. package/dist/index208.js +4 -10
  123. package/dist/index208.js.map +1 -1
  124. package/dist/index209.js +4 -9
  125. package/dist/index209.js.map +1 -1
  126. package/dist/index210.js +3 -9
  127. package/dist/index210.js.map +1 -1
  128. package/dist/index211.js +10 -10
  129. package/dist/index211.js.map +1 -1
  130. package/dist/index212.js +9 -10
  131. package/dist/index212.js.map +1 -1
  132. package/dist/index213.js +9 -9
  133. package/dist/index213.js.map +1 -1
  134. package/dist/index214.js +10 -6
  135. package/dist/index214.js.map +1 -1
  136. package/dist/index215.js +10 -5
  137. package/dist/index215.js.map +1 -1
  138. package/dist/index216.js +9 -4
  139. package/dist/index216.js.map +1 -1
  140. package/dist/index217.js +6 -5
  141. package/dist/index217.js.map +1 -1
  142. package/dist/index218.js +5 -6
  143. package/dist/index218.js.map +1 -1
  144. package/dist/index219.js +4 -5
  145. package/dist/index219.js.map +1 -1
  146. package/dist/index220.js +5 -16
  147. package/dist/index220.js.map +1 -1
  148. package/dist/index221.js +6 -7
  149. package/dist/index221.js.map +1 -1
  150. package/dist/index222.js +5 -10
  151. package/dist/index222.js.map +1 -1
  152. package/dist/index223.js +15 -9
  153. package/dist/index223.js.map +1 -1
  154. package/dist/index224.js +7 -21
  155. package/dist/index224.js.map +1 -1
  156. package/dist/index225.js +10 -10
  157. package/dist/index225.js.map +1 -1
  158. package/dist/index226.js +10 -9
  159. package/dist/index226.js.map +1 -1
  160. package/dist/index227.js +21 -9
  161. package/dist/index227.js.map +1 -1
  162. package/dist/index228.js +10 -4
  163. package/dist/index228.js.map +1 -1
  164. package/dist/index229.js +9 -5
  165. package/dist/index229.js.map +1 -1
  166. package/dist/index230.js +9 -16
  167. package/dist/index230.js.map +1 -1
  168. package/dist/index231.js +4 -9
  169. package/dist/index231.js.map +1 -1
  170. package/dist/index232.js +5 -18
  171. package/dist/index232.js.map +1 -1
  172. package/dist/index233.js +16 -15
  173. package/dist/index233.js.map +1 -1
  174. package/dist/index234.js +9 -12
  175. package/dist/index234.js.map +1 -1
  176. package/dist/index235.js +18 -29
  177. package/dist/index235.js.map +1 -1
  178. package/dist/index236.js +15 -12
  179. package/dist/index236.js.map +1 -1
  180. package/dist/index237.js +12 -25
  181. package/dist/index237.js.map +1 -1
  182. package/dist/index238.js +29 -5
  183. package/dist/index238.js.map +1 -1
  184. package/dist/index239.js +12 -13
  185. package/dist/index239.js.map +1 -1
  186. package/dist/index240.js +23 -152
  187. package/dist/index240.js.map +1 -1
  188. package/dist/index241.js +5 -30
  189. package/dist/index241.js.map +1 -1
  190. package/dist/index242.js +24 -9
  191. package/dist/index242.js.map +1 -1
  192. package/dist/index243.js +29 -49
  193. package/dist/index243.js.map +1 -1
  194. package/dist/index244.js +5 -12
  195. package/dist/index244.js.map +1 -1
  196. package/dist/index245.js +13 -44
  197. package/dist/index245.js.map +1 -1
  198. package/dist/index246.js +145 -86
  199. package/dist/index246.js.map +1 -1
  200. package/dist/index247.js +27 -83
  201. package/dist/index247.js.map +1 -1
  202. package/dist/index248.js +9 -105
  203. package/dist/index248.js.map +1 -1
  204. package/dist/index249.js +41 -45
  205. package/dist/index249.js.map +1 -1
  206. package/dist/index250.js +11 -11
  207. package/dist/index250.js.map +1 -1
  208. package/dist/index251.js +42 -35
  209. package/dist/index251.js.map +1 -1
  210. package/dist/index252.js +95 -8
  211. package/dist/index252.js.map +1 -1
  212. package/dist/index253.js +86 -3
  213. package/dist/index253.js.map +1 -1
  214. package/dist/index254.js +105 -9
  215. package/dist/index254.js.map +1 -1
  216. package/dist/index255.js +46 -110
  217. package/dist/index255.js.map +1 -1
  218. package/dist/index256.js +11 -17
  219. package/dist/index256.js.map +1 -1
  220. package/dist/index257.js +35 -13
  221. package/dist/index257.js.map +1 -1
  222. package/dist/index258.js +8 -36
  223. package/dist/index258.js.map +1 -1
  224. package/dist/index259.js +115 -19
  225. package/dist/index259.js.map +1 -1
  226. package/dist/index260.js +17 -8
  227. package/dist/index260.js.map +1 -1
  228. package/dist/index261.js +12 -16
  229. package/dist/index261.js.map +1 -1
  230. package/dist/index262.js +3 -28
  231. package/dist/index262.js.map +1 -1
  232. package/dist/index263.js +35 -15
  233. package/dist/index263.js.map +1 -1
  234. package/dist/index264.js +20 -67
  235. package/dist/index264.js.map +1 -1
  236. package/dist/index265.js +9 -180
  237. package/dist/index265.js.map +1 -1
  238. package/dist/index266.js +8 -46
  239. package/dist/index266.js.map +1 -1
  240. package/dist/index267.js +19 -24
  241. package/dist/index267.js.map +1 -1
  242. package/dist/index268.js +29 -29
  243. package/dist/index268.js.map +1 -1
  244. package/dist/index269.js +17 -5
  245. package/dist/index269.js.map +1 -1
  246. package/dist/index271.js +5 -5
  247. package/dist/index273.js +5 -21
  248. package/dist/index273.js.map +1 -1
  249. package/dist/index274.js +3 -5
  250. package/dist/index274.js.map +1 -1
  251. package/dist/index275.js +24 -3
  252. package/dist/index275.js.map +1 -1
  253. package/dist/index276.js +111 -22
  254. package/dist/index276.js.map +1 -1
  255. package/dist/index277.js +14 -111
  256. package/dist/index277.js.map +1 -1
  257. package/dist/index278.js +528 -14
  258. package/dist/index278.js.map +1 -1
  259. package/dist/index279.js +111 -515
  260. package/dist/index279.js.map +1 -1
  261. package/dist/index280.js +117 -109
  262. package/dist/index280.js.map +1 -1
  263. package/dist/index281.js +20 -133
  264. package/dist/index281.js.map +1 -1
  265. package/dist/index289.js +4 -4
  266. package/dist/index292.js +1 -1
  267. package/dist/index293.js +2 -2
  268. package/dist/index295.js +1 -1
  269. package/dist/index296.js +1 -1
  270. package/dist/index297.js +1 -1
  271. package/dist/index298.js +1 -1
  272. package/dist/index299.js +1 -1
  273. package/dist/index300.js +1 -1
  274. package/dist/index304.js +68 -5
  275. package/dist/index304.js.map +1 -1
  276. package/dist/index305.js +30 -55
  277. package/dist/index305.js.map +1 -1
  278. package/dist/index306.js +9 -68
  279. package/dist/index306.js.map +1 -1
  280. package/dist/index307.js +148 -26
  281. package/dist/index307.js.map +1 -1
  282. package/dist/index308.js +108 -9
  283. package/dist/index308.js.map +1 -1
  284. package/dist/index309.js +5 -153
  285. package/dist/index309.js.map +1 -1
  286. package/dist/index31.js +5 -5
  287. package/dist/index310.js +54 -106
  288. package/dist/index310.js.map +1 -1
  289. package/dist/index36.js +1 -1
  290. package/dist/index37.js +2 -2
  291. package/dist/index40.js +2 -2
  292. package/dist/index41.js +20 -20
  293. package/dist/index45.js +1 -1
  294. package/dist/index46.js +1 -1
  295. package/dist/index49.js +1 -1
  296. package/dist/index50.js +1 -1
  297. package/dist/index51.js +205 -7
  298. package/dist/index51.js.map +1 -1
  299. package/dist/index52.js +2 -34
  300. package/dist/index52.js.map +1 -1
  301. package/dist/index53.js +2 -27
  302. package/dist/index53.js.map +1 -1
  303. package/dist/index54.js +6 -7
  304. package/dist/index54.js.map +1 -1
  305. package/dist/index55.js +33 -11
  306. package/dist/index55.js.map +1 -1
  307. package/dist/index56.js +27 -2
  308. package/dist/index56.js.map +1 -1
  309. package/dist/index57.js +8 -2
  310. package/dist/index57.js.map +1 -1
  311. package/dist/index58.js +12 -205
  312. package/dist/index58.js.map +1 -1
  313. package/dist/index59.js +3 -5
  314. package/dist/index59.js.map +1 -1
  315. package/dist/index60.js +47 -7
  316. package/dist/index60.js.map +1 -1
  317. package/dist/index61.js +50 -5
  318. package/dist/index61.js.map +1 -1
  319. package/dist/index62.js +8 -2
  320. package/dist/index62.js.map +1 -1
  321. package/dist/index63.js +15 -2
  322. package/dist/index63.js.map +1 -1
  323. package/dist/index64.js +133 -3
  324. package/dist/index64.js.map +1 -1
  325. package/dist/index65.js +10 -47
  326. package/dist/index65.js.map +1 -1
  327. package/dist/index66.js +214 -48
  328. package/dist/index66.js.map +1 -1
  329. package/dist/index67.js +13 -8
  330. package/dist/index67.js.map +1 -1
  331. package/dist/index68.js +45 -13
  332. package/dist/index68.js.map +1 -1
  333. package/dist/index69.js +47 -131
  334. package/dist/index69.js.map +1 -1
  335. package/dist/index70.js +4 -11
  336. package/dist/index70.js.map +1 -1
  337. package/dist/index71.js +5 -216
  338. package/dist/index71.js.map +1 -1
  339. package/dist/index72.js +28 -13
  340. package/dist/index72.js.map +1 -1
  341. package/dist/index73.js +49 -46
  342. package/dist/index73.js.map +1 -1
  343. package/dist/index74.js +9 -50
  344. package/dist/index74.js.map +1 -1
  345. package/dist/index75.js +2 -4
  346. package/dist/index75.js.map +1 -1
  347. package/dist/index76.js +2 -6
  348. package/dist/index76.js.map +1 -1
  349. package/dist/index77.js +6 -28
  350. package/dist/index77.js.map +1 -1
  351. package/dist/index78.js +8 -50
  352. package/dist/index78.js.map +1 -1
  353. package/dist/index79.js +6 -9
  354. package/dist/index79.js.map +1 -1
  355. package/dist/index80.js +599 -40
  356. package/dist/index80.js.map +1 -1
  357. package/package.json +1 -1
  358. package/dist/helpers/isMobileDevice.test.d.ts +0 -2
  359. package/dist/helpers/isMobileDevice.test.d.ts.map +0 -1
  360. package/dist/helpers/useScrollPagination.test.d.ts +0 -2
  361. package/dist/helpers/useScrollPagination.test.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index281.js","sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';\n}\nfunction isTableElement(element) {\n return /^(table|td|th)$/.test(getNodeName(element));\n}\nfunction isTopLayer(element) {\n try {\n if (element.matches(':popover-open')) {\n return true;\n }\n } catch (_e) {\n // no-op\n }\n try {\n return element.matches(':modal');\n } catch (_e) {\n return false;\n }\n}\nconst willChangeRe = /transform|translate|scale|rotate|perspective|filter/;\nconst containRe = /paint|layout|strict|content/;\nconst isNotNone = value => !!value && value !== 'none';\nlet isWebKitValue;\nfunction isContainingBlock(elementOrCss) {\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (isWebKitValue == null) {\n isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');\n }\n return isWebKitValue;\n}\nfunction isLastTraversableNode(node) {\n return /^(html|body|#document)$/.test(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n } else {\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n }\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isTopLayer","willChangeRe","containRe","isNotNone","isWebKitValue","isContainingBlock","elementOrCss","css","isWebKit","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index281.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js"],"sourcesContent":["// When phone numbers are written in `RFC3966` format — `\"tel:+12133734253\"` —\n// they can have their \"calling code\" part written separately in a `phone-context` parameter.\n// Example: `\"tel:12133734253;phone-context=+1\"`.\n// This function parses the full phone number from the local number and the `phone-context`\n// when the `phone-context` contains a `+` sign.\n\nimport { VALID_DIGITS\n// PLUS_CHARS\n} from '../constants.js';\nexport var PLUS_SIGN = '+';\nvar RFC3966_VISUAL_SEPARATOR_ = '[\\\\-\\\\.\\\\(\\\\)]?';\nvar RFC3966_PHONE_DIGIT_ = '(' + '[' + VALID_DIGITS + ']' + '|' + RFC3966_VISUAL_SEPARATOR_ + ')';\nvar RFC3966_GLOBAL_NUMBER_DIGITS_ = '^' + '\\\\' + PLUS_SIGN + RFC3966_PHONE_DIGIT_ + '*' + '[' + VALID_DIGITS + ']' + RFC3966_PHONE_DIGIT_ + '*' + '$';\n\n/**\r\n * Regular expression of valid global-number-digits for the phone-context\r\n * parameter, following the syntax defined in RFC3966.\r\n */\nvar RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_ = new RegExp(RFC3966_GLOBAL_NUMBER_DIGITS_, 'g');\n\n// In this port of Google's library, we don't accept alpha characters in phone numbers.\n// const ALPHANUM_ = VALID_ALPHA_ + VALID_DIGITS\nvar ALPHANUM_ = VALID_DIGITS;\nvar RFC3966_DOMAINLABEL_ = '[' + ALPHANUM_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar VALID_ALPHA_ = 'a-zA-Z';\nvar RFC3966_TOPLABEL_ = '[' + VALID_ALPHA_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar RFC3966_DOMAINNAME_ = '^(' + RFC3966_DOMAINLABEL_ + '\\\\.)*' + RFC3966_TOPLABEL_ + '\\\\.?$';\n\n/**\r\n * Regular expression of valid domainname for the phone-context parameter,\r\n * following the syntax defined in RFC3966.\r\n */\nvar RFC3966_DOMAINNAME_PATTERN_ = new RegExp(RFC3966_DOMAINNAME_, 'g');\nexport var RFC3966_PREFIX_ = 'tel:';\nexport var RFC3966_PHONE_CONTEXT_ = ';phone-context=';\nexport var RFC3966_ISDN_SUBADDRESS_ = ';isub=';\n\n/**\r\n * Extracts the value of the phone-context parameter of `numberToExtractFrom`,\r\n * following the syntax defined in RFC3966.\r\n *\r\n * @param {string} numberToExtractFrom\r\n * @return {string|null} the extracted string (possibly empty), or `null` if no phone-context parameter is found.\r\n */\nexport default function extractPhoneContext(numberToExtractFrom) {\n var indexOfPhoneContext = numberToExtractFrom.indexOf(RFC3966_PHONE_CONTEXT_);\n // If no phone-context parameter is present\n if (indexOfPhoneContext < 0) {\n return null;\n }\n var phoneContextStart = indexOfPhoneContext + RFC3966_PHONE_CONTEXT_.length;\n // If phone-context parameter is empty\n if (phoneContextStart >= numberToExtractFrom.length) {\n return '';\n }\n var phoneContextEnd = numberToExtractFrom.indexOf(';', phoneContextStart);\n // If phone-context is not the last parameter\n if (phoneContextEnd >= 0) {\n return numberToExtractFrom.substring(phoneContextStart, phoneContextEnd);\n } else {\n return numberToExtractFrom.substring(phoneContextStart);\n }\n}\n\n/**\r\n * Returns whether the value of phoneContext follows the syntax defined in RFC3966.\r\n *\r\n * @param {string|null} phoneContext\r\n * @return {boolean}\r\n */\nexport function isPhoneContextValid(phoneContext) {\n if (phoneContext === null) {\n return true;\n }\n if (phoneContext.length === 0) {\n return false;\n }\n\n // Does phone-context value match pattern of global-number-digits or domainname.\n return RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.test(phoneContext) || RFC3966_DOMAINNAME_PATTERN_.test(phoneContext);\n}\n//# sourceMappingURL=extractPhoneContext.js.map"],"names":["PLUS_SIGN","RFC3966_VISUAL_SEPARATOR_","RFC3966_PHONE_DIGIT_","VALID_DIGITS","RFC3966_GLOBAL_NUMBER_DIGITS_","RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_","ALPHANUM_","RFC3966_DOMAINLABEL_","VALID_ALPHA_","RFC3966_TOPLABEL_","RFC3966_DOMAINNAME_","RFC3966_DOMAINNAME_PATTERN_","RFC3966_PREFIX_","RFC3966_PHONE_CONTEXT_","RFC3966_ISDN_SUBADDRESS_","extractPhoneContext","numberToExtractFrom","indexOfPhoneContext","phoneContextStart","phoneContextEnd","isPhoneContextValid","phoneContext"],"mappings":";AASU,IAACA,IAAY,KACnBC,IAA4B,mBAC5BC,IAAuB,OAAYC,IAAe,OAAYF,IAA4B,KAC1FG,IAAgC,QAAaJ,IAAYE,IAAuB,OAAYC,IAAe,MAAMD,IAAuB,MAMxIG,IAAwC,IAAI,OAAOD,GAA+B,GAAG,GAIrFE,IAAYH,GACZI,IAAuB,MAAMD,IAAY,eAAeA,IAAY,OACpEE,IAAe,UACfC,IAAoB,MAAMD,IAAe,eAAeF,IAAY,OACpEI,IAAsB,OAAOH,IAAuB,UAAUE,IAAoB,SAMlFE,IAA8B,IAAI,OAAOD,GAAqB,GAAG,GAC1DE,IAAkB,QAClBC,IAAyB,mBACzBC,IAA2B;AASvB,SAASC,EAAoBC,GAAqB;AAC/D,MAAIC,IAAsBD,EAAoB,QAAQH,CAAsB;AAE5E,MAAII,IAAsB;AACxB,WAAO;AAET,MAAIC,IAAoBD,IAAsBJ,EAAuB;AAErE,MAAIK,KAAqBF,EAAoB;AAC3C,WAAO;AAET,MAAIG,IAAkBH,EAAoB,QAAQ,KAAKE,CAAiB;AAExE,SAAIC,KAAmB,IACdH,EAAoB,UAAUE,GAAmBC,CAAe,IAEhEH,EAAoB,UAAUE,CAAiB;AAE1D;AAQO,SAASE,EAAoBC,GAAc;AAChD,SAAIA,MAAiB,OACZ,KAELA,EAAa,WAAW,IACnB,KAIFhB,EAAsC,KAAKgB,CAAY,KAAKV,EAA4B,KAAKU,CAAY;AAClH;","x_google_ignoreList":[0]}
package/dist/index289.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { getDayOfYear as m } from "./index293.js";
2
- import { getISOWeek as g } from "./index201.js";
2
+ import { getISOWeek as g } from "./index204.js";
3
3
  import { getISOWeekYear as w } from "./index296.js";
4
- import { getWeek as b } from "./index204.js";
4
+ import { getWeek as b } from "./index207.js";
5
5
  import { getWeekYear as x } from "./index298.js";
6
- import { addLeadingZeros as i } from "./index304.js";
7
- import { lightFormatters as u } from "./index305.js";
6
+ import { addLeadingZeros as i } from "./index309.js";
7
+ import { lightFormatters as u } from "./index310.js";
8
8
  const s = {
9
9
  midnight: "midnight",
10
10
  noon: "noon",
package/dist/index292.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isDate as r } from "./index207.js";
1
+ import { isDate as r } from "./index210.js";
2
2
  import { toDate as i } from "./index283.js";
3
3
  function e(o) {
4
4
  return !(!r(o) && typeof o != "number" || isNaN(+i(o)));
package/dist/index293.js CHANGED
@@ -1,5 +1,5 @@
1
- import { differenceInCalendarDays as a } from "./index192.js";
2
- import { startOfYear as e } from "./index219.js";
1
+ import { differenceInCalendarDays as a } from "./index195.js";
2
+ import { startOfYear as e } from "./index222.js";
3
3
  import { toDate as o } from "./index283.js";
4
4
  function s(t, f) {
5
5
  const r = o(t, f?.in);
package/dist/index295.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { constructFrom as f } from "./index282.js";
2
2
  import { getISOWeekYear as s } from "./index296.js";
3
- import { startOfISOWeek as a } from "./index216.js";
3
+ import { startOfISOWeek as a } from "./index219.js";
4
4
  function O(t, e) {
5
5
  const o = s(t, e), r = f(t, 0);
6
6
  return r.setFullYear(o, 0, 4), r.setHours(0, 0, 0, 0), a(r);
package/dist/index296.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { constructFrom as s } from "./index282.js";
2
- import { startOfISOWeek as a } from "./index216.js";
2
+ import { startOfISOWeek as a } from "./index219.js";
3
3
  import { toDate as m } from "./index283.js";
4
4
  function Y(f, n) {
5
5
  const e = m(f, n?.in), t = e.getFullYear(), r = s(e, 0);
package/dist/index297.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { getDefaultOptions as n } from "./index288.js";
2
2
  import { constructFrom as i } from "./index282.js";
3
3
  import { getWeekYear as f } from "./index298.js";
4
- import { startOfWeek as c } from "./index218.js";
4
+ import { startOfWeek as c } from "./index221.js";
5
5
  function D(r, t) {
6
6
  const o = n(), s = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, a = f(r, t), e = i(t?.in || r, 0);
7
7
  return e.setFullYear(a, 0, s), e.setHours(0, 0, 0, 0), c(e, t);
package/dist/index298.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { getDefaultOptions as k } from "./index288.js";
2
2
  import { constructFrom as f } from "./index282.js";
3
- import { startOfWeek as l } from "./index218.js";
3
+ import { startOfWeek as l } from "./index221.js";
4
4
  import { toDate as m } from "./index283.js";
5
5
  function C(r, e) {
6
6
  const s = m(r, e?.in), t = s.getFullYear(), o = k(), i = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, a = f(e?.in || r, 0);
package/dist/index299.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __assign as d } from "./index267.js";
1
+ import { __assign as d } from "./index242.js";
2
2
  function l(r) {
3
3
  return r;
4
4
  }
package/dist/index300.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as d from "react";
2
2
  import { styleSingleton as f } from "./index301.js";
3
- import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./index274.js";
3
+ import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./index273.js";
4
4
  import { getGapWidth as m } from "./index317.js";
5
5
  var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
6
6
  var r = n.left, i = n.top, s = n.right, c = n.gap;
package/dist/index304.js CHANGED
@@ -1,8 +1,71 @@
1
- function r(t, n) {
2
- const o = t < 0 ? "-" : "", a = Math.abs(t).toString().padStart(n, "0");
3
- return o + a;
4
- }
1
+ const a = {
2
+ lessThanXSeconds: {
3
+ one: "less than a second",
4
+ other: "less than {{count}} seconds"
5
+ },
6
+ xSeconds: {
7
+ one: "1 second",
8
+ other: "{{count}} seconds"
9
+ },
10
+ halfAMinute: "half a minute",
11
+ lessThanXMinutes: {
12
+ one: "less than a minute",
13
+ other: "less than {{count}} minutes"
14
+ },
15
+ xMinutes: {
16
+ one: "1 minute",
17
+ other: "{{count}} minutes"
18
+ },
19
+ aboutXHours: {
20
+ one: "about 1 hour",
21
+ other: "about {{count}} hours"
22
+ },
23
+ xHours: {
24
+ one: "1 hour",
25
+ other: "{{count}} hours"
26
+ },
27
+ xDays: {
28
+ one: "1 day",
29
+ other: "{{count}} days"
30
+ },
31
+ aboutXWeeks: {
32
+ one: "about 1 week",
33
+ other: "about {{count}} weeks"
34
+ },
35
+ xWeeks: {
36
+ one: "1 week",
37
+ other: "{{count}} weeks"
38
+ },
39
+ aboutXMonths: {
40
+ one: "about 1 month",
41
+ other: "about {{count}} months"
42
+ },
43
+ xMonths: {
44
+ one: "1 month",
45
+ other: "{{count}} months"
46
+ },
47
+ aboutXYears: {
48
+ one: "about 1 year",
49
+ other: "about {{count}} years"
50
+ },
51
+ xYears: {
52
+ one: "1 year",
53
+ other: "{{count}} years"
54
+ },
55
+ overXYears: {
56
+ one: "over 1 year",
57
+ other: "over {{count}} years"
58
+ },
59
+ almostXYears: {
60
+ one: "almost 1 year",
61
+ other: "almost {{count}} years"
62
+ }
63
+ }, r = (s, n, t) => {
64
+ let e;
65
+ const o = a[s];
66
+ return typeof o == "string" ? e = o : n === 1 ? e = o.one : e = o.other.replace("{{count}}", n.toString()), t?.addSuffix ? t.comparison && t.comparison > 0 ? "in " + e : e + " ago" : e;
67
+ };
5
68
  export {
6
- r as addLeadingZeros
69
+ r as formatDistance
7
70
  };
8
71
  //# sourceMappingURL=index304.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index304.js","sources":["../../../node_modules/date-fns/_lib/addLeadingZeros.js"],"sourcesContent":["export function addLeadingZeros(number, targetLength) {\n const sign = number < 0 ? \"-\" : \"\";\n const output = Math.abs(number).toString().padStart(targetLength, \"0\");\n return sign + output;\n}\n"],"names":["addLeadingZeros","number","targetLength","sign","output"],"mappings":"AAAO,SAASA,EAAgBC,GAAQC,GAAc;AACpD,QAAMC,IAAOF,IAAS,IAAI,MAAM,IAC1BG,IAAS,KAAK,IAAIH,CAAM,EAAE,WAAW,SAASC,GAAc,GAAG;AACrE,SAAOC,IAAOC;AAChB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index304.js","sources":["../../../node_modules/date-fns/locale/en-US/_lib/formatDistance.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"less than a second\",\n other: \"less than {{count}} seconds\",\n },\n\n xSeconds: {\n one: \"1 second\",\n other: \"{{count}} seconds\",\n },\n\n halfAMinute: \"half a minute\",\n\n lessThanXMinutes: {\n one: \"less than a minute\",\n other: \"less than {{count}} minutes\",\n },\n\n xMinutes: {\n one: \"1 minute\",\n other: \"{{count}} minutes\",\n },\n\n aboutXHours: {\n one: \"about 1 hour\",\n other: \"about {{count}} hours\",\n },\n\n xHours: {\n one: \"1 hour\",\n other: \"{{count}} hours\",\n },\n\n xDays: {\n one: \"1 day\",\n other: \"{{count}} days\",\n },\n\n aboutXWeeks: {\n one: \"about 1 week\",\n other: \"about {{count}} weeks\",\n },\n\n xWeeks: {\n one: \"1 week\",\n other: \"{{count}} weeks\",\n },\n\n aboutXMonths: {\n one: \"about 1 month\",\n other: \"about {{count}} months\",\n },\n\n xMonths: {\n one: \"1 month\",\n other: \"{{count}} months\",\n },\n\n aboutXYears: {\n one: \"about 1 year\",\n other: \"about {{count}} years\",\n },\n\n xYears: {\n one: \"1 year\",\n other: \"{{count}} years\",\n },\n\n overXYears: {\n one: \"over 1 year\",\n other: \"over {{count}} years\",\n },\n\n almostXYears: {\n one: \"almost 1 year\",\n other: \"almost {{count}} years\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n let result;\n\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", count.toString());\n }\n\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"in \" + result;\n } else {\n return result + \" ago\";\n }\n }\n\n return result;\n};\n"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue"],"mappings":"AAAA,MAAMA,IAAuB;AAAA,EAC3B,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,UAAU;AAAA,IACR,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,EAEb,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,UAAU;AAAA,IACR,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,OAAO;AAAA,IACL,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,cAAc;AAAA,IACZ,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,SAAS;AAAA,IACP,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,YAAY;AAAA,IACV,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,cAAc;AAAA,IACZ,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AACA,GAEaC,IAAiB,CAACC,GAAOC,GAAOC,MAAY;AACvD,MAAIC;AAEJ,QAAMC,IAAaN,EAAqBE,CAAK;AAS7C,SARI,OAAOI,KAAe,WACxBD,IAASC,IACAH,MAAU,IACnBE,IAASC,EAAW,MAEpBD,IAASC,EAAW,MAAM,QAAQ,aAAaH,EAAM,UAAU,GAG7DC,GAAS,YACPA,EAAQ,cAAcA,EAAQ,aAAa,IACtC,QAAQC,IAERA,IAAS,SAIbA;AACT;","x_google_ignoreList":[0]}
package/dist/index305.js CHANGED
@@ -1,59 +1,34 @@
1
- import { addLeadingZeros as n } from "./index304.js";
2
- const g = {
3
- // Year
4
- y(e, t) {
5
- const r = e.getFullYear(), a = r > 0 ? r : 1 - r;
6
- return n(t === "yy" ? a % 100 : a, t.length);
7
- },
8
- // Month
9
- M(e, t) {
10
- const r = e.getMonth();
11
- return t === "M" ? String(r + 1) : n(r + 1, 2);
12
- },
13
- // Day of the month
14
- d(e, t) {
15
- return n(e.getDate(), t.length);
16
- },
17
- // AM or PM
18
- a(e, t) {
19
- const r = e.getHours() / 12 >= 1 ? "pm" : "am";
20
- switch (t) {
21
- case "a":
22
- case "aa":
23
- return r.toUpperCase();
24
- case "aaa":
25
- return r;
26
- case "aaaaa":
27
- return r[0];
28
- default:
29
- return r === "am" ? "a.m." : "p.m.";
30
- }
31
- },
32
- // Hour [1-12]
33
- h(e, t) {
34
- return n(e.getHours() % 12 || 12, t.length);
35
- },
36
- // Hour [0-23]
37
- H(e, t) {
38
- return n(e.getHours(), t.length);
39
- },
40
- // Minute
41
- m(e, t) {
42
- return n(e.getMinutes(), t.length);
43
- },
44
- // Second
45
- s(e, t) {
46
- return n(e.getSeconds(), t.length);
47
- },
48
- // Fraction of second
49
- S(e, t) {
50
- const r = t.length, a = e.getMilliseconds(), s = Math.trunc(
51
- a * Math.pow(10, r - 3)
52
- );
53
- return n(s, t.length);
54
- }
1
+ import { buildFormatLongFn as t } from "./index316.js";
2
+ const m = {
3
+ full: "EEEE, MMMM do, y",
4
+ long: "MMMM do, y",
5
+ medium: "MMM d, y",
6
+ short: "MM/dd/yyyy"
7
+ }, a = {
8
+ full: "h:mm:ss a zzzz",
9
+ long: "h:mm:ss a z",
10
+ medium: "h:mm:ss a",
11
+ short: "h:mm a"
12
+ }, o = {
13
+ full: "{{date}} 'at' {{time}}",
14
+ long: "{{date}} 'at' {{time}}",
15
+ medium: "{{date}}, {{time}}",
16
+ short: "{{date}}, {{time}}"
17
+ }, e = {
18
+ date: t({
19
+ formats: m,
20
+ defaultWidth: "full"
21
+ }),
22
+ time: t({
23
+ formats: a,
24
+ defaultWidth: "full"
25
+ }),
26
+ dateTime: t({
27
+ formats: o,
28
+ defaultWidth: "full"
29
+ })
55
30
  };
56
31
  export {
57
- g as lightFormatters
32
+ e as formatLong
58
33
  };
59
34
  //# sourceMappingURL=index305.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index305.js","sources":["../../../node_modules/date-fns/_lib/format/lightFormatters.js"],"sourcesContent":["import { addLeadingZeros } from \"../addLeadingZeros.js\";\n\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | |\n * | d | Day of month | D | |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | m | Minute | M | Month |\n * | s | Second | S | Fraction of second |\n * | y | Year (abs) | Y | |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n */\n\nexport const lightFormatters = {\n // Year\n y(date, token) {\n // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens\n // | Year | y | yy | yyy | yyyy | yyyyy |\n // |----------|-------|----|-------|-------|-------|\n // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n\n const signedYear = date.getFullYear();\n // Returns 1 for 1 BC (which is year 0 in JavaScript)\n const year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === \"yy\" ? year % 100 : year, token.length);\n },\n\n // Month\n M(date, token) {\n const month = date.getMonth();\n return token === \"M\" ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n\n // Day of the month\n d(date, token) {\n return addLeadingZeros(date.getDate(), token.length);\n },\n\n // AM or PM\n a(date, token) {\n const dayPeriodEnumValue = date.getHours() / 12 >= 1 ? \"pm\" : \"am\";\n\n switch (token) {\n case \"a\":\n case \"aa\":\n return dayPeriodEnumValue.toUpperCase();\n case \"aaa\":\n return dayPeriodEnumValue;\n case \"aaaaa\":\n return dayPeriodEnumValue[0];\n case \"aaaa\":\n default:\n return dayPeriodEnumValue === \"am\" ? \"a.m.\" : \"p.m.\";\n }\n },\n\n // Hour [1-12]\n h(date, token) {\n return addLeadingZeros(date.getHours() % 12 || 12, token.length);\n },\n\n // Hour [0-23]\n H(date, token) {\n return addLeadingZeros(date.getHours(), token.length);\n },\n\n // Minute\n m(date, token) {\n return addLeadingZeros(date.getMinutes(), token.length);\n },\n\n // Second\n s(date, token) {\n return addLeadingZeros(date.getSeconds(), token.length);\n },\n\n // Fraction of second\n S(date, token) {\n const numberOfDigits = token.length;\n const milliseconds = date.getMilliseconds();\n const fractionalSeconds = Math.trunc(\n milliseconds * Math.pow(10, numberOfDigits - 3),\n );\n return addLeadingZeros(fractionalSeconds, token.length);\n },\n};\n"],"names":["lightFormatters","date","token","signedYear","year","addLeadingZeros","month","dayPeriodEnumValue","numberOfDigits","milliseconds","fractionalSeconds"],"mappings":";AAeY,MAACA,IAAkB;AAAA;AAAA,EAE7B,EAAEC,GAAMC,GAAO;AAUb,UAAMC,IAAaF,EAAK,YAAW,GAE7BG,IAAOD,IAAa,IAAIA,IAAa,IAAIA;AAC/C,WAAOE,EAAgBH,MAAU,OAAOE,IAAO,MAAMA,GAAMF,EAAM,MAAM;AAAA,EACzE;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,UAAMI,IAAQL,EAAK,SAAQ;AAC3B,WAAOC,MAAU,MAAM,OAAOI,IAAQ,CAAC,IAAID,EAAgBC,IAAQ,GAAG,CAAC;AAAA,EACzE;AAAA;AAAA,EAGA,EAAEL,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,QAAO,GAAIC,EAAM,MAAM;AAAA,EACrD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,UAAMK,IAAqBN,EAAK,SAAQ,IAAK,MAAM,IAAI,OAAO;AAE9D,YAAQC,GAAK;AAAA,MACX,KAAK;AAAA,MACL,KAAK;AACH,eAAOK,EAAmB,YAAW;AAAA,MACvC,KAAK;AACH,eAAOA;AAAA,MACT,KAAK;AACH,eAAOA,EAAmB,CAAC;AAAA,MAE7B;AACE,eAAOA,MAAuB,OAAO,SAAS;AAAA,IACtD;AAAA,EACE;AAAA;AAAA,EAGA,EAAEN,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,SAAQ,IAAK,MAAM,IAAIC,EAAM,MAAM;AAAA,EACjE;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,SAAQ,GAAIC,EAAM,MAAM;AAAA,EACtD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,WAAU,GAAIC,EAAM,MAAM;AAAA,EACxD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,WAAU,GAAIC,EAAM,MAAM;AAAA,EACxD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,UAAMM,IAAiBN,EAAM,QACvBO,IAAeR,EAAK,gBAAe,GACnCS,IAAoB,KAAK;AAAA,MAC7BD,IAAe,KAAK,IAAI,IAAID,IAAiB,CAAC;AAAA,IACpD;AACI,WAAOH,EAAgBK,GAAmBR,EAAM,MAAM;AAAA,EACxD;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index305.js","sources":["../../../node_modules/date-fns/locale/en-US/_lib/formatLong.js"],"sourcesContent":["import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"EEEE, MMMM do, y\",\n long: \"MMMM do, y\",\n medium: \"MMM d, y\",\n short: \"MM/dd/yyyy\",\n};\n\nconst timeFormats = {\n full: \"h:mm:ss a zzzz\",\n long: \"h:mm:ss a z\",\n medium: \"h:mm:ss a\",\n short: \"h:mm a\",\n};\n\nconst dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\",\n};\n\nexport const formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\",\n }),\n\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\",\n }),\n\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\",\n }),\n};\n"],"names":["dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn"],"mappings":";AAEA,MAAMA,IAAc;AAAA,EAClB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AACT,GAEMC,IAAc;AAAA,EAClB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AACT,GAEMC,IAAkB;AAAA,EACtB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AACT,GAEaC,IAAa;AAAA,EACxB,MAAMC,EAAkB;AAAA,IACtB,SAASJ;AAAA,IACT,cAAc;AAAA,EAClB,CAAG;AAAA,EAED,MAAMI,EAAkB;AAAA,IACtB,SAASH;AAAA,IACT,cAAc;AAAA,EAClB,CAAG;AAAA,EAED,UAAUG,EAAkB;AAAA,IAC1B,SAASF;AAAA,IACT,cAAc;AAAA,EAClB,CAAG;AACH;","x_google_ignoreList":[0]}
package/dist/index306.js CHANGED
@@ -1,71 +1,12 @@
1
- const a = {
2
- lessThanXSeconds: {
3
- one: "less than a second",
4
- other: "less than {{count}} seconds"
5
- },
6
- xSeconds: {
7
- one: "1 second",
8
- other: "{{count}} seconds"
9
- },
10
- halfAMinute: "half a minute",
11
- lessThanXMinutes: {
12
- one: "less than a minute",
13
- other: "less than {{count}} minutes"
14
- },
15
- xMinutes: {
16
- one: "1 minute",
17
- other: "{{count}} minutes"
18
- },
19
- aboutXHours: {
20
- one: "about 1 hour",
21
- other: "about {{count}} hours"
22
- },
23
- xHours: {
24
- one: "1 hour",
25
- other: "{{count}} hours"
26
- },
27
- xDays: {
28
- one: "1 day",
29
- other: "{{count}} days"
30
- },
31
- aboutXWeeks: {
32
- one: "about 1 week",
33
- other: "about {{count}} weeks"
34
- },
35
- xWeeks: {
36
- one: "1 week",
37
- other: "{{count}} weeks"
38
- },
39
- aboutXMonths: {
40
- one: "about 1 month",
41
- other: "about {{count}} months"
42
- },
43
- xMonths: {
44
- one: "1 month",
45
- other: "{{count}} months"
46
- },
47
- aboutXYears: {
48
- one: "about 1 year",
49
- other: "about {{count}} years"
50
- },
51
- xYears: {
52
- one: "1 year",
53
- other: "{{count}} years"
54
- },
55
- overXYears: {
56
- one: "over 1 year",
57
- other: "over {{count}} years"
58
- },
59
- almostXYears: {
60
- one: "almost 1 year",
61
- other: "almost {{count}} years"
62
- }
63
- }, r = (s, n, t) => {
64
- let e;
65
- const o = a[s];
66
- return typeof o == "string" ? e = o : n === 1 ? e = o.one : e = o.other.replace("{{count}}", n.toString()), t?.addSuffix ? t.comparison && t.comparison > 0 ? "in " + e : e + " ago" : e;
67
- };
1
+ const t = {
2
+ lastWeek: "'last' eeee 'at' p",
3
+ yesterday: "'yesterday at' p",
4
+ today: "'today at' p",
5
+ tomorrow: "'tomorrow at' p",
6
+ nextWeek: "eeee 'at' p",
7
+ other: "P"
8
+ }, s = (e, a, o, r) => t[e];
68
9
  export {
69
- r as formatDistance
10
+ s as formatRelative
70
11
  };
71
12
  //# sourceMappingURL=index306.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index306.js","sources":["../../../node_modules/date-fns/locale/en-US/_lib/formatDistance.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"less than a second\",\n other: \"less than {{count}} seconds\",\n },\n\n xSeconds: {\n one: \"1 second\",\n other: \"{{count}} seconds\",\n },\n\n halfAMinute: \"half a minute\",\n\n lessThanXMinutes: {\n one: \"less than a minute\",\n other: \"less than {{count}} minutes\",\n },\n\n xMinutes: {\n one: \"1 minute\",\n other: \"{{count}} minutes\",\n },\n\n aboutXHours: {\n one: \"about 1 hour\",\n other: \"about {{count}} hours\",\n },\n\n xHours: {\n one: \"1 hour\",\n other: \"{{count}} hours\",\n },\n\n xDays: {\n one: \"1 day\",\n other: \"{{count}} days\",\n },\n\n aboutXWeeks: {\n one: \"about 1 week\",\n other: \"about {{count}} weeks\",\n },\n\n xWeeks: {\n one: \"1 week\",\n other: \"{{count}} weeks\",\n },\n\n aboutXMonths: {\n one: \"about 1 month\",\n other: \"about {{count}} months\",\n },\n\n xMonths: {\n one: \"1 month\",\n other: \"{{count}} months\",\n },\n\n aboutXYears: {\n one: \"about 1 year\",\n other: \"about {{count}} years\",\n },\n\n xYears: {\n one: \"1 year\",\n other: \"{{count}} years\",\n },\n\n overXYears: {\n one: \"over 1 year\",\n other: \"over {{count}} years\",\n },\n\n almostXYears: {\n one: \"almost 1 year\",\n other: \"almost {{count}} years\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n let result;\n\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", count.toString());\n }\n\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"in \" + result;\n } else {\n return result + \" ago\";\n }\n }\n\n return result;\n};\n"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue"],"mappings":"AAAA,MAAMA,IAAuB;AAAA,EAC3B,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,UAAU;AAAA,IACR,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,EAEb,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,UAAU;AAAA,IACR,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,OAAO;AAAA,IACL,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,cAAc;AAAA,IACZ,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,SAAS;AAAA,IACP,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,IACX,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,QAAQ;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,YAAY;AAAA,IACV,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,cAAc;AAAA,IACZ,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AACA,GAEaC,IAAiB,CAACC,GAAOC,GAAOC,MAAY;AACvD,MAAIC;AAEJ,QAAMC,IAAaN,EAAqBE,CAAK;AAS7C,SARI,OAAOI,KAAe,WACxBD,IAASC,IACAH,MAAU,IACnBE,IAASC,EAAW,MAEpBD,IAASC,EAAW,MAAM,QAAQ,aAAaH,EAAM,UAAU,GAG7DC,GAAS,YACPA,EAAQ,cAAcA,EAAQ,aAAa,IACtC,QAAQC,IAERA,IAAS,SAIbA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index306.js","sources":["../../../node_modules/date-fns/locale/en-US/_lib/formatRelative.js"],"sourcesContent":["const formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: \"P\",\n};\n\nexport const formatRelative = (token, _date, _baseDate, _options) =>\n formatRelativeLocale[token];\n"],"names":["formatRelativeLocale","formatRelative","token","_date","_baseDate","_options"],"mappings":"AAAA,MAAMA,IAAuB;AAAA,EAC3B,UAAU;AAAA,EACV,WAAW;AAAA,EACX,OAAO;AAAA,EACP,UAAU;AAAA,EACV,UAAU;AAAA,EACV,OAAO;AACT,GAEaC,IAAiB,CAACC,GAAOC,GAAOC,GAAWC,MACtDL,EAAqBE,CAAK;","x_google_ignoreList":[0]}
package/dist/index307.js CHANGED
@@ -1,34 +1,156 @@
1
- import { buildFormatLongFn as t } from "./index316.js";
2
- const m = {
3
- full: "EEEE, MMMM do, y",
4
- long: "MMMM do, y",
5
- medium: "MMM d, y",
6
- short: "MM/dd/yyyy"
7
- }, a = {
8
- full: "h:mm:ss a zzzz",
9
- long: "h:mm:ss a z",
10
- medium: "h:mm:ss a",
11
- short: "h:mm a"
1
+ import { buildLocalizeFn as e } from "./index313.js";
2
+ const a = {
3
+ narrow: ["B", "A"],
4
+ abbreviated: ["BC", "AD"],
5
+ wide: ["Before Christ", "Anno Domini"]
6
+ }, r = {
7
+ narrow: ["1", "2", "3", "4"],
8
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
9
+ wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
12
10
  }, o = {
13
- full: "{{date}} 'at' {{time}}",
14
- long: "{{date}} 'at' {{time}}",
15
- medium: "{{date}}, {{time}}",
16
- short: "{{date}}, {{time}}"
17
- }, e = {
18
- date: t({
19
- formats: m,
20
- defaultWidth: "full"
11
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
12
+ abbreviated: [
13
+ "Jan",
14
+ "Feb",
15
+ "Mar",
16
+ "Apr",
17
+ "May",
18
+ "Jun",
19
+ "Jul",
20
+ "Aug",
21
+ "Sep",
22
+ "Oct",
23
+ "Nov",
24
+ "Dec"
25
+ ],
26
+ wide: [
27
+ "January",
28
+ "February",
29
+ "March",
30
+ "April",
31
+ "May",
32
+ "June",
33
+ "July",
34
+ "August",
35
+ "September",
36
+ "October",
37
+ "November",
38
+ "December"
39
+ ]
40
+ }, d = {
41
+ narrow: ["S", "M", "T", "W", "T", "F", "S"],
42
+ short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
43
+ abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
44
+ wide: [
45
+ "Sunday",
46
+ "Monday",
47
+ "Tuesday",
48
+ "Wednesday",
49
+ "Thursday",
50
+ "Friday",
51
+ "Saturday"
52
+ ]
53
+ }, m = {
54
+ narrow: {
55
+ am: "a",
56
+ pm: "p",
57
+ midnight: "mi",
58
+ noon: "n",
59
+ morning: "morning",
60
+ afternoon: "afternoon",
61
+ evening: "evening",
62
+ night: "night"
63
+ },
64
+ abbreviated: {
65
+ am: "AM",
66
+ pm: "PM",
67
+ midnight: "midnight",
68
+ noon: "noon",
69
+ morning: "morning",
70
+ afternoon: "afternoon",
71
+ evening: "evening",
72
+ night: "night"
73
+ },
74
+ wide: {
75
+ am: "a.m.",
76
+ pm: "p.m.",
77
+ midnight: "midnight",
78
+ noon: "noon",
79
+ morning: "morning",
80
+ afternoon: "afternoon",
81
+ evening: "evening",
82
+ night: "night"
83
+ }
84
+ }, g = {
85
+ narrow: {
86
+ am: "a",
87
+ pm: "p",
88
+ midnight: "mi",
89
+ noon: "n",
90
+ morning: "in the morning",
91
+ afternoon: "in the afternoon",
92
+ evening: "in the evening",
93
+ night: "at night"
94
+ },
95
+ abbreviated: {
96
+ am: "AM",
97
+ pm: "PM",
98
+ midnight: "midnight",
99
+ noon: "noon",
100
+ morning: "in the morning",
101
+ afternoon: "in the afternoon",
102
+ evening: "in the evening",
103
+ night: "at night"
104
+ },
105
+ wide: {
106
+ am: "a.m.",
107
+ pm: "p.m.",
108
+ midnight: "midnight",
109
+ noon: "noon",
110
+ morning: "in the morning",
111
+ afternoon: "in the afternoon",
112
+ evening: "in the evening",
113
+ night: "at night"
114
+ }
115
+ }, u = (i, h) => {
116
+ const n = Number(i), t = n % 100;
117
+ if (t > 20 || t < 10)
118
+ switch (t % 10) {
119
+ case 1:
120
+ return n + "st";
121
+ case 2:
122
+ return n + "nd";
123
+ case 3:
124
+ return n + "rd";
125
+ }
126
+ return n + "th";
127
+ }, l = {
128
+ ordinalNumber: u,
129
+ era: e({
130
+ values: a,
131
+ defaultWidth: "wide"
21
132
  }),
22
- time: t({
23
- formats: a,
24
- defaultWidth: "full"
133
+ quarter: e({
134
+ values: r,
135
+ defaultWidth: "wide",
136
+ argumentCallback: (i) => i - 1
25
137
  }),
26
- dateTime: t({
27
- formats: o,
28
- defaultWidth: "full"
138
+ month: e({
139
+ values: o,
140
+ defaultWidth: "wide"
141
+ }),
142
+ day: e({
143
+ values: d,
144
+ defaultWidth: "wide"
145
+ }),
146
+ dayPeriod: e({
147
+ values: m,
148
+ defaultWidth: "wide",
149
+ formattingValues: g,
150
+ defaultFormattingWidth: "wide"
29
151
  })
30
152
  };
31
153
  export {
32
- e as formatLong
154
+ l as localize
33
155
  };
34
156
  //# sourceMappingURL=index307.js.map