@okam/stack-ui 1.32.3 → 1.32.5

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 (331) hide show
  1. package/components/fields/Checkbox/index.d.ts +6 -0
  2. package/components/fields/CheckboxGroup/components/CheckboxGroupItem/index.d.ts +6 -0
  3. package/components/fields/Select/Select.d.ts +4 -1
  4. package/components/fields/Select/Select.interface.d.ts +1 -0
  5. package/components/fields/TextArea/index.d.ts +4 -1
  6. package/components/fields/TextInputField/index.d.ts +1 -1
  7. package/components/fields/TextInputField/interface.d.ts +1 -2
  8. package/index.d.ts +4 -2
  9. package/index.js +1 -1
  10. package/index.mjs +153 -151
  11. package/index124.js +1 -1
  12. package/index124.mjs +1 -1
  13. package/index125.js +1 -1
  14. package/index125.mjs +1 -1
  15. package/index139.js +1 -1
  16. package/index139.mjs +2 -2
  17. package/index140.js +1 -1
  18. package/index140.mjs +23 -23
  19. package/index141.js +1 -1
  20. package/index141.mjs +3 -3
  21. package/index146.js +1 -1
  22. package/index146.mjs +1 -1
  23. package/index150.js +1 -1
  24. package/index150.mjs +1 -1
  25. package/index151.js +1 -1
  26. package/index151.mjs +1 -1
  27. package/index153.js +1 -1
  28. package/index153.mjs +1 -1
  29. package/index154.js +1 -1
  30. package/index154.mjs +1 -1
  31. package/index155.js +1 -1
  32. package/index155.mjs +1 -1
  33. package/index156.js +1 -1
  34. package/index156.mjs +2 -2
  35. package/index158.js +1 -1
  36. package/index158.mjs +2 -2
  37. package/index159.js +1 -1
  38. package/index159.mjs +8 -8
  39. package/index16.js +1 -1
  40. package/index16.mjs +144 -67
  41. package/index17.js +1 -1
  42. package/index17.mjs +95 -26
  43. package/index173.js +1 -1
  44. package/index173.mjs +1 -1
  45. package/index175.js +1 -1
  46. package/index175.mjs +1 -1
  47. package/index176.js +1 -1
  48. package/index176.mjs +1 -1
  49. package/index177.js +1 -1
  50. package/index177.mjs +1 -1
  51. package/index178.js +1 -1
  52. package/index178.mjs +4 -4
  53. package/index179.js +1 -1
  54. package/index179.mjs +1 -1
  55. package/index198.js +1 -1
  56. package/index198.mjs +201 -70
  57. package/index199.js +1 -1
  58. package/index199.mjs +60 -91
  59. package/index20.js +1 -1
  60. package/index20.mjs +105 -31
  61. package/index200.js +1 -1
  62. package/index200.mjs +139 -151
  63. package/index201.js +1 -1
  64. package/index201.mjs +125 -72
  65. package/index202.js +1 -1
  66. package/index202.mjs +220 -38
  67. package/index203.js +1 -1
  68. package/index203.mjs +190 -5
  69. package/index204.js +1 -1
  70. package/index204.mjs +68 -60
  71. package/index205.js +1 -1
  72. package/index205.mjs +273 -53
  73. package/index206.js +1 -1
  74. package/index206.mjs +86 -191
  75. package/index207.js +1 -1
  76. package/index207.mjs +180 -56
  77. package/index208.js +1 -1
  78. package/index208.mjs +75 -134
  79. package/index209.js +1 -1
  80. package/index209.mjs +52 -118
  81. package/index21.js +1 -1
  82. package/index21.mjs +132 -59
  83. package/index210.js +1 -1
  84. package/index210.mjs +116 -214
  85. package/index211.js +1 -1
  86. package/index211.mjs +107 -181
  87. package/index212.js +1 -1
  88. package/index212.mjs +114 -61
  89. package/index213.js +1 -1
  90. package/index213.mjs +65 -272
  91. package/index214.js +1 -1
  92. package/index214.mjs +105 -93
  93. package/index215.js +1 -1
  94. package/index215.mjs +47 -183
  95. package/index216.js +1 -1
  96. package/index216.mjs +86 -77
  97. package/index217.js +1 -1
  98. package/index217.mjs +65 -53
  99. package/index218.js +1 -1
  100. package/index218.mjs +52 -122
  101. package/index219.js +1 -1
  102. package/index219.mjs +94 -111
  103. package/index22.js +1 -1
  104. package/index22.mjs +109 -102
  105. package/index220.js +5 -1
  106. package/index220.mjs +75 -117
  107. package/index221.js +1 -1
  108. package/index221.mjs +2016 -63
  109. package/index222.js +1 -1
  110. package/index222.mjs +54 -105
  111. package/index223.js +1 -1
  112. package/index223.mjs +186 -50
  113. package/index224.js +1 -1
  114. package/index224.mjs +68 -89
  115. package/index225.js +1 -1
  116. package/index225.mjs +93 -68
  117. package/index226.js +1 -1
  118. package/index226.mjs +151 -52
  119. package/index227.js +1 -1
  120. package/index227.mjs +72 -100
  121. package/index228.js +1 -5
  122. package/index228.mjs +40 -78
  123. package/index229.js +1 -1
  124. package/index229.mjs +5 -2025
  125. package/index230.js +1 -1
  126. package/index230.mjs +61 -59
  127. package/index231.js +1 -1
  128. package/index231.mjs +58 -187
  129. package/index266.js +1 -1
  130. package/index266.mjs +34 -34
  131. package/index270.js +1 -1
  132. package/index270.mjs +24 -48
  133. package/index271.js +1 -1
  134. package/index271.mjs +47 -9
  135. package/index272.js +1 -1
  136. package/index272.mjs +6 -16
  137. package/index273.js +1 -1
  138. package/index273.mjs +6 -16
  139. package/index274.js +1 -1
  140. package/index274.mjs +15 -16
  141. package/index275.js +1 -1
  142. package/index275.mjs +25 -16
  143. package/index276.js +1 -1
  144. package/index276.mjs +29 -16
  145. package/index277.js +1 -1
  146. package/index277.mjs +32 -16
  147. package/index278.js +1 -1
  148. package/index278.mjs +10 -16
  149. package/index279.js +1 -1
  150. package/index279.mjs +29 -16
  151. package/index280.js +1 -1
  152. package/index280.mjs +10 -16
  153. package/index281.js +1 -1
  154. package/index281.mjs +6 -16
  155. package/index282.js +1 -1
  156. package/index282.mjs +8 -16
  157. package/index283.js +1 -1
  158. package/index283.mjs +14 -16
  159. package/index284.js +1 -1
  160. package/index284.mjs +9 -16
  161. package/index285.js +1 -1
  162. package/index285.mjs +130 -15
  163. package/index286.js +1 -1
  164. package/index286.mjs +191 -16
  165. package/index287.js +1 -1
  166. package/index287.mjs +10 -16
  167. package/index288.js +1 -1
  168. package/index288.mjs +4 -16
  169. package/index289.js +1 -1
  170. package/index289.mjs +37 -16
  171. package/index290.js +1 -1
  172. package/index290.mjs +6 -16
  173. package/index291.js +1 -1
  174. package/index291.mjs +30 -16
  175. package/index292.js +1 -1
  176. package/index292.mjs +7 -16
  177. package/index293.js +1 -1
  178. package/index293.mjs +49 -16
  179. package/index294.js +1 -1
  180. package/index294.mjs +15 -15
  181. package/index295.js +1 -1
  182. package/index295.mjs +15 -15
  183. package/index296.js +1 -1
  184. package/index296.mjs +12 -12
  185. package/index297.js +1 -1
  186. package/index297.mjs +15 -15
  187. package/index298.js +1 -1
  188. package/index298.mjs +12 -12
  189. package/index299.js +1 -1
  190. package/index299.mjs +15 -15
  191. package/index300.js +1 -1
  192. package/index300.mjs +15 -15
  193. package/index301.js +1 -1
  194. package/index301.mjs +12 -12
  195. package/index302.js +1 -1
  196. package/index302.mjs +12 -12
  197. package/index303.js +1 -1
  198. package/index303.mjs +15 -15
  199. package/index304.js +1 -1
  200. package/index304.mjs +15 -15
  201. package/index305.js +1 -1
  202. package/index305.mjs +15 -15
  203. package/index306.js +1 -1
  204. package/index306.mjs +15 -130
  205. package/index307.js +1 -1
  206. package/index307.mjs +16 -191
  207. package/index308.js +1 -1
  208. package/index308.mjs +16 -10
  209. package/index309.js +1 -1
  210. package/index309.mjs +16 -4
  211. package/index310.js +1 -1
  212. package/index310.mjs +16 -37
  213. package/index311.js +1 -1
  214. package/index311.mjs +16 -6
  215. package/index312.js +1 -1
  216. package/index312.mjs +16 -30
  217. package/index313.js +1 -1
  218. package/index313.mjs +16 -7
  219. package/index314.js +1 -1
  220. package/index314.mjs +16 -25
  221. package/index315.js +1 -1
  222. package/index315.mjs +16 -48
  223. package/index316.js +1 -1
  224. package/index316.mjs +16 -6
  225. package/index317.js +1 -1
  226. package/index317.mjs +16 -6
  227. package/index318.js +1 -1
  228. package/index318.mjs +16 -15
  229. package/index319.js +1 -1
  230. package/index319.mjs +16 -25
  231. package/index320.js +1 -1
  232. package/index320.mjs +16 -29
  233. package/index321.js +1 -1
  234. package/index321.mjs +16 -32
  235. package/index322.js +1 -1
  236. package/index322.mjs +16 -29
  237. package/index323.js +1 -1
  238. package/index323.mjs +16 -10
  239. package/index324.js +1 -1
  240. package/index324.mjs +16 -6
  241. package/index325.js +1 -1
  242. package/index325.mjs +16 -8
  243. package/index326.js +1 -1
  244. package/index326.mjs +16 -14
  245. package/index327.js +1 -1
  246. package/index327.mjs +16 -9
  247. package/index328.js +1 -1
  248. package/index328.mjs +1 -1
  249. package/index332.js +1 -1
  250. package/index332.mjs +2 -2
  251. package/index333.js +1 -1
  252. package/index333.mjs +1 -1
  253. package/index339.js +1 -1
  254. package/index339.mjs +1 -1
  255. package/index340.js +1 -1
  256. package/index340.mjs +2 -2
  257. package/index345.js +1 -1
  258. package/index345.mjs +5 -117
  259. package/index346.js +1 -1
  260. package/index346.mjs +117 -71
  261. package/index347.js +1 -1
  262. package/index347.mjs +71 -7
  263. package/index348.js +1 -1
  264. package/index348.mjs +7 -7
  265. package/index349.js +1 -1
  266. package/index349.mjs +7 -7
  267. package/index350.js +1 -1
  268. package/index350.mjs +7 -7
  269. package/index351.js +1 -1
  270. package/index351.mjs +4 -4
  271. package/index352.js +1 -1
  272. package/index352.mjs +7 -7
  273. package/index353.js +1 -1
  274. package/index353.mjs +7 -7
  275. package/index354.js +1 -1
  276. package/index354.mjs +4 -4
  277. package/index355.js +1 -1
  278. package/index355.mjs +4 -4
  279. package/index356.js +1 -1
  280. package/index356.mjs +4 -4
  281. package/index357.js +1 -1
  282. package/index357.mjs +4 -4
  283. package/index358.js +1 -1
  284. package/index358.mjs +7 -7
  285. package/index359.js +1 -1
  286. package/index359.mjs +7 -7
  287. package/index360.js +1 -1
  288. package/index360.mjs +7 -7
  289. package/index361.js +1 -1
  290. package/index361.mjs +4 -4
  291. package/index362.js +1 -1
  292. package/index362.mjs +7 -7
  293. package/index363.js +1 -1
  294. package/index363.mjs +7 -7
  295. package/index364.js +1 -1
  296. package/index364.mjs +7 -7
  297. package/index365.js +1 -1
  298. package/index365.mjs +7 -7
  299. package/index366.js +1 -1
  300. package/index366.mjs +7 -7
  301. package/index367.js +1 -1
  302. package/index367.mjs +4 -4
  303. package/index368.js +1 -1
  304. package/index368.mjs +7 -7
  305. package/index369.js +1 -1
  306. package/index369.mjs +7 -7
  307. package/index370.js +1 -1
  308. package/index370.mjs +3 -3
  309. package/index371.js +1 -1
  310. package/index371.mjs +4 -4
  311. package/index372.js +1 -1
  312. package/index372.mjs +7 -7
  313. package/index373.js +1 -1
  314. package/index373.mjs +7 -7
  315. package/index374.js +1 -1
  316. package/index374.mjs +7 -7
  317. package/index375.js +1 -1
  318. package/index375.mjs +4 -4
  319. package/index376.js +1 -1
  320. package/index376.mjs +7 -7
  321. package/index377.js +1 -1
  322. package/index377.mjs +4 -4
  323. package/index378.js +1 -1
  324. package/index378.mjs +4 -4
  325. package/index379.js +1 -1
  326. package/index379.mjs +7 -7
  327. package/index380.js +1 -1
  328. package/index380.mjs +4 -4
  329. package/index381.js +1 -1
  330. package/index381.mjs +8 -6
  331. package/package.json +1 -1
package/index326.mjs CHANGED
@@ -1,16 +1,18 @@
1
- import { useLayoutEffect as f } from "./index172.mjs";
2
- import { useRef as o, useCallback as a } from "react";
3
- function s(r) {
4
- const t = o(null);
5
- return f(() => {
6
- t.current = r;
7
- }, [
8
- r
9
- ]), a((...c) => {
10
- const e = t.current;
11
- return e == null ? void 0 : e(...c);
12
- }, []);
13
- }
1
+ var e = {};
2
+ e = {
3
+ dateRange: (u) => `${u.startDate} 至 ${u.endDate}`,
4
+ dateSelected: (u) => `已选择 ${u.date}`,
5
+ finishRangeSelectionPrompt: "单击以完成选择日期范围",
6
+ maximumDate: "最后一个可用日期",
7
+ minimumDate: "第一个可用日期",
8
+ next: "下一页",
9
+ previous: "上一页",
10
+ selectedDateDescription: (u) => `选定的日期:${u.date}`,
11
+ selectedRangeDescription: (u) => `选定的范围:${u.dateRange}`,
12
+ startRangeSelectionPrompt: "单击以开始选择日期范围",
13
+ todayDate: (u) => `今天,即 ${u.date}`,
14
+ todayDateSelected: (u) => `已选择今天,即 ${u.date}`
15
+ };
14
16
  export {
15
- s as useEffectEvent
17
+ e as default
16
18
  };
package/index327.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index174.js");function t(r){return r.mozInputSource===0&&r.isTrusted?!0:i.isAndroid()&&r.pointerType?r.type==="click"&&r.buttons===1:r.detail===0&&!r.pointerType}function o(r){return!i.isAndroid()&&r.width===0&&r.height===0||r.width===1&&r.height===1&&r.pressure===0&&r.detail===0&&r.pointerType==="mouse"}exports.isVirtualClick=t;exports.isVirtualPointerEvent=o;
1
+ "use strict";exports.default={};exports.default={dateRange:u=>`${u.startDate} 至 ${u.endDate}`,dateSelected:u=>`已選取 ${u.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:u=>`選定的日期:${u.date}`,selectedRangeDescription:u=>`選定的範圍:${u.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:u=>`今天,${u.date}`,todayDateSelected:u=>`已選取今天,${u.date}`};module.exports=exports.default;
package/index327.mjs CHANGED
@@ -1,11 +1,18 @@
1
- import { isAndroid as i } from "./index174.mjs";
2
- function o(r) {
3
- return r.mozInputSource === 0 && r.isTrusted ? !0 : i() && r.pointerType ? r.type === "click" && r.buttons === 1 : r.detail === 0 && !r.pointerType;
4
- }
5
- function u(r) {
6
- return !i() && r.width === 0 && r.height === 0 || r.width === 1 && r.height === 1 && r.pressure === 0 && r.detail === 0 && r.pointerType === "mouse";
7
- }
1
+ var e = {};
2
+ e = {
3
+ dateRange: (u) => `${u.startDate} ${u.endDate}`,
4
+ dateSelected: (u) => `已選取 ${u.date}`,
5
+ finishRangeSelectionPrompt: "按一下以完成選取日期範圍",
6
+ maximumDate: "最後一個可用日期",
7
+ minimumDate: "第一個可用日期",
8
+ next: "下一頁",
9
+ previous: "上一頁",
10
+ selectedDateDescription: (u) => `選定的日期:${u.date}`,
11
+ selectedRangeDescription: (u) => `選定的範圍:${u.dateRange}`,
12
+ startRangeSelectionPrompt: "按一下以開始選取日期範圍",
13
+ todayDate: (u) => `今天,${u.date}`,
14
+ todayDateSelected: (u) => `已選取今天,${u.date}`
15
+ };
8
16
  export {
9
- o as isVirtualClick,
10
- u as isVirtualPointerEvent
17
+ e as default
11
18
  };
package/index328.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("./index329.js"),A=require("./index330.js"),f=require("react"),P=require("./index172.js"),j=require("./index322.js"),D=require("@react-aria/i18n");let e=typeof document<"u"?window.visualViewport:null;function G(n){let{direction:h}=D.useLocale(),{arrowSize:$=0,targetRef:v,overlayRef:i,scrollRef:s=i,placement:w="bottom",containerPadding:C=12,shouldFlip:H=!0,boundaryElement:R=typeof document<"u"?document.body:null,offset:S=0,crossOffset:B=0,shouldUpdatePosition:q=!0,isOpen:p=!0,onClose:m,maxHeight:O,arrowBoundaryOffset:T=0}=n,[t,k]=f.useState(null),F=[q,w,i.current,v.current,s.current,C,H,R,S,B,p,h,O,T,$],N=f.useRef(e==null?void 0:e.scale);f.useEffect(()=>{p&&(N.current=e==null?void 0:e.scale)},[p]);let u=f.useCallback(()=>{if(q===!1||!p||!i.current||!v.current||!R||(e==null?void 0:e.scale)!==N.current)return;let o=null;if(s.current&&s.current.contains(document.activeElement)){var a;let r=(a=document.activeElement)===null||a===void 0?void 0:a.getBoundingClientRect(),g=s.current.getBoundingClientRect();var d;if(o={type:"top",offset:((d=r==null?void 0:r.top)!==null&&d!==void 0?d:0)-g.top},o.offset>g.height/2){o.type="bottom";var x;o.offset=((x=r==null?void 0:r.bottom)!==null&&x!==void 0?x:0)-g.bottom}}let l=i.current;if(!O&&i.current){var z;l.style.top="0px",l.style.bottom="";var L;l.style.maxHeight=((L=(z=window.visualViewport)===null||z===void 0?void 0:z.height)!==null&&L!==void 0?L:window.innerHeight)+"px"}let c=M.calculatePosition({placement:K(w,h),overlayNode:i.current,targetNode:v.current,scrollNode:s.current||i.current,padding:C,shouldFlip:H,boundaryElement:R,offset:S,crossOffset:B,maxHeight:O,arrowSize:$,arrowBoundaryOffset:T});if(c.position){if(l.style.top="",l.style.bottom="",l.style.left="",l.style.right="",Object.keys(c.position).forEach(r=>l.style[r]=c.position[r]+"px"),l.style.maxHeight=c.maxHeight!=null?c.maxHeight+"px":"",o&&document.activeElement&&s.current){let r=document.activeElement.getBoundingClientRect(),g=s.current.getBoundingClientRect(),I=r[o.type]-g[o.type];s.current.scrollTop+=I-o.offset}k(c)}},F);P.useLayoutEffect(u,F),J(u),j.useResizeObserver({ref:i,onResize:u}),j.useResizeObserver({ref:v,onResize:u});let y=f.useRef(!1);P.useLayoutEffect(()=>{let o,a=()=>{y.current=!0,clearTimeout(o),o=setTimeout(()=>{y.current=!1},500),u()},d=()=>{y.current&&a()};return e==null||e.addEventListener("resize",a),e==null||e.addEventListener("scroll",d),()=>{e==null||e.removeEventListener("resize",a),e==null||e.removeEventListener("scroll",d)}},[u]);let U=f.useCallback(()=>{y.current||m==null||m()},[m,y]);A.useCloseOnScroll({triggerRef:v,isOpen:p,onClose:m&&U});var b,E;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...t==null?void 0:t.position,maxHeight:(b=t==null?void 0:t.maxHeight)!==null&&b!==void 0?b:"100vh"}},placement:(E=t==null?void 0:t.placement)!==null&&E!==void 0?E:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:t==null?void 0:t.arrowOffsetLeft,top:t==null?void 0:t.arrowOffsetTop}},updatePosition:u}}function J(n){P.useLayoutEffect(()=>(window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}),[n])}function K(n,h){return h==="rtl"?n.replace("start","right").replace("end","left"):n.replace("start","left").replace("end","right")}exports.useOverlayPosition=G;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("./index329.js"),A=require("./index330.js"),f=require("react"),P=require("./index172.js"),j=require("./index279.js"),D=require("@react-aria/i18n");let e=typeof document<"u"?window.visualViewport:null;function G(n){let{direction:h}=D.useLocale(),{arrowSize:$=0,targetRef:v,overlayRef:i,scrollRef:s=i,placement:w="bottom",containerPadding:C=12,shouldFlip:H=!0,boundaryElement:R=typeof document<"u"?document.body:null,offset:S=0,crossOffset:B=0,shouldUpdatePosition:q=!0,isOpen:p=!0,onClose:m,maxHeight:O,arrowBoundaryOffset:T=0}=n,[t,k]=f.useState(null),F=[q,w,i.current,v.current,s.current,C,H,R,S,B,p,h,O,T,$],N=f.useRef(e==null?void 0:e.scale);f.useEffect(()=>{p&&(N.current=e==null?void 0:e.scale)},[p]);let u=f.useCallback(()=>{if(q===!1||!p||!i.current||!v.current||!R||(e==null?void 0:e.scale)!==N.current)return;let o=null;if(s.current&&s.current.contains(document.activeElement)){var a;let r=(a=document.activeElement)===null||a===void 0?void 0:a.getBoundingClientRect(),g=s.current.getBoundingClientRect();var d;if(o={type:"top",offset:((d=r==null?void 0:r.top)!==null&&d!==void 0?d:0)-g.top},o.offset>g.height/2){o.type="bottom";var x;o.offset=((x=r==null?void 0:r.bottom)!==null&&x!==void 0?x:0)-g.bottom}}let l=i.current;if(!O&&i.current){var z;l.style.top="0px",l.style.bottom="";var L;l.style.maxHeight=((L=(z=window.visualViewport)===null||z===void 0?void 0:z.height)!==null&&L!==void 0?L:window.innerHeight)+"px"}let c=M.calculatePosition({placement:K(w,h),overlayNode:i.current,targetNode:v.current,scrollNode:s.current||i.current,padding:C,shouldFlip:H,boundaryElement:R,offset:S,crossOffset:B,maxHeight:O,arrowSize:$,arrowBoundaryOffset:T});if(c.position){if(l.style.top="",l.style.bottom="",l.style.left="",l.style.right="",Object.keys(c.position).forEach(r=>l.style[r]=c.position[r]+"px"),l.style.maxHeight=c.maxHeight!=null?c.maxHeight+"px":"",o&&document.activeElement&&s.current){let r=document.activeElement.getBoundingClientRect(),g=s.current.getBoundingClientRect(),I=r[o.type]-g[o.type];s.current.scrollTop+=I-o.offset}k(c)}},F);P.useLayoutEffect(u,F),J(u),j.useResizeObserver({ref:i,onResize:u}),j.useResizeObserver({ref:v,onResize:u});let y=f.useRef(!1);P.useLayoutEffect(()=>{let o,a=()=>{y.current=!0,clearTimeout(o),o=setTimeout(()=>{y.current=!1},500),u()},d=()=>{y.current&&a()};return e==null||e.addEventListener("resize",a),e==null||e.addEventListener("scroll",d),()=>{e==null||e.removeEventListener("resize",a),e==null||e.removeEventListener("scroll",d)}},[u]);let U=f.useCallback(()=>{y.current||m==null||m()},[m,y]);A.useCloseOnScroll({triggerRef:v,isOpen:p,onClose:m&&U});var b,E;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...t==null?void 0:t.position,maxHeight:(b=t==null?void 0:t.maxHeight)!==null&&b!==void 0?b:"100vh"}},placement:(E=t==null?void 0:t.placement)!==null&&E!==void 0?E:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:t==null?void 0:t.arrowOffsetLeft,top:t==null?void 0:t.arrowOffsetTop}},updatePosition:u}}function J(n){P.useLayoutEffect(()=>(window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}),[n])}function K(n,h){return h==="rtl"?n.replace("start","right").replace("end","left"):n.replace("start","left").replace("end","right")}exports.useOverlayPosition=G;
package/index328.mjs CHANGED
@@ -2,7 +2,7 @@ import { calculatePosition as D } from "./index329.mjs";
2
2
  import { useCloseOnScroll as G } from "./index330.mjs";
3
3
  import { useState as J, useRef as U, useEffect as K, useCallback as j } from "react";
4
4
  import { useLayoutEffect as z } from "./index172.mjs";
5
- import { useResizeObserver as k } from "./index322.mjs";
5
+ import { useResizeObserver as k } from "./index279.mjs";
6
6
  import { useLocale as M } from "@react-aria/i18n";
7
7
  let e = typeof document < "u" ? window.visualViewport : null;
8
8
  function te(n) {
package/index332.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index317.js"),v=require("./index326.js"),m=require("react");function g(r){let{ref:n,onInteractOutside:s,isDisabled:d,onInteractOutsideStart:l}=r,E=m.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),o=v.useEffectEvent(e=>{s&&f(e,n)&&(l&&l(e),E.current.isPointerDown=!0)}),c=v.useEffectEvent(e=>{s&&s(e)});m.useEffect(()=>{let e=E.current;if(d)return;const w=n.current,t=p.getOwnerDocument(w);if(typeof PointerEvent<"u"){let i=u=>{e.isPointerDown&&f(u,n)&&c(u),e.isPointerDown=!1};return t.addEventListener("pointerdown",o,!0),t.addEventListener("pointerup",i,!0),()=>{t.removeEventListener("pointerdown",o,!0),t.removeEventListener("pointerup",i,!0)}}else{let i=a=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&f(a,n)&&c(a),e.isPointerDown=!1},u=a=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&f(a,n)&&c(a),e.isPointerDown=!1};return t.addEventListener("mousedown",o,!0),t.addEventListener("mouseup",i,!0),t.addEventListener("touchstart",o,!0),t.addEventListener("touchend",u,!0),()=>{t.removeEventListener("mousedown",o,!0),t.removeEventListener("mouseup",i,!0),t.removeEventListener("touchstart",o,!0),t.removeEventListener("touchend",u,!0)}}},[n,d,o,c])}function f(r,n){if(r.button>0)return!1;if(r.target){const s=r.target.ownerDocument;if(!s||!s.documentElement.contains(r.target)||r.target.closest("[data-react-aria-top-layer]"))return!1}return n.current&&!n.current.contains(r.target)}exports.useInteractOutside=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index273.js"),v=require("./index283.js"),m=require("react");function g(r){let{ref:n,onInteractOutside:s,isDisabled:d,onInteractOutsideStart:l}=r,E=m.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),o=v.useEffectEvent(e=>{s&&f(e,n)&&(l&&l(e),E.current.isPointerDown=!0)}),c=v.useEffectEvent(e=>{s&&s(e)});m.useEffect(()=>{let e=E.current;if(d)return;const w=n.current,t=p.getOwnerDocument(w);if(typeof PointerEvent<"u"){let i=u=>{e.isPointerDown&&f(u,n)&&c(u),e.isPointerDown=!1};return t.addEventListener("pointerdown",o,!0),t.addEventListener("pointerup",i,!0),()=>{t.removeEventListener("pointerdown",o,!0),t.removeEventListener("pointerup",i,!0)}}else{let i=a=>{e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:e.isPointerDown&&f(a,n)&&c(a),e.isPointerDown=!1},u=a=>{e.ignoreEmulatedMouseEvents=!0,e.isPointerDown&&f(a,n)&&c(a),e.isPointerDown=!1};return t.addEventListener("mousedown",o,!0),t.addEventListener("mouseup",i,!0),t.addEventListener("touchstart",o,!0),t.addEventListener("touchend",u,!0),()=>{t.removeEventListener("mousedown",o,!0),t.removeEventListener("mouseup",i,!0),t.removeEventListener("touchstart",o,!0),t.removeEventListener("touchend",u,!0)}}},[n,d,o,c])}function f(r,n){if(r.button>0)return!1;if(r.target){const s=r.target.ownerDocument;if(!s||!s.documentElement.contains(r.target)||r.target.closest("[data-react-aria-top-layer]"))return!1}return n.current&&!n.current.contains(r.target)}exports.useInteractOutside=g;
package/index332.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { getOwnerDocument as p } from "./index317.mjs";
2
- import { useEffectEvent as E } from "./index326.mjs";
1
+ import { getOwnerDocument as p } from "./index273.mjs";
2
+ import { useEffectEvent as E } from "./index283.mjs";
3
3
  import { useRef as w, useEffect as D } from "react";
4
4
  function $(r) {
5
5
  let { ref: n, onInteractOutside: i, isDisabled: d, onInteractOutsideStart: l } = r, m = w({
package/index333.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index316.js"),y=require("./index172.js"),g=require("./index173.js"),S=require("./index174.js"),m=typeof document<"u"&&window.visualViewport,T=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let s=0,f;function b(e={}){let{isDisabled:t}=e;y.useLayoutEffect(()=>{if(!t)return s++,s===1&&(S.isIOS()?f=L():f=x()),()=>{s--,s===0&&f()}},[t])}function x(){return v.chain(l(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),l(document.documentElement,"overflow","hidden"))}function L(){let e,t,n=r=>{e=g.getScrollParent(r.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=l(e,"overscrollBehavior","contain"))},o=r=>{if(!e||e===document.documentElement||e===document.body){r.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&r.preventDefault()},u=r=>{let c=r.target;h(c)&&c!==document.activeElement&&(r.preventDefault(),p(),c.style.transform="translateY(-2000px)",c.focus(),requestAnimationFrame(()=>{c.style.transform=""})),t&&t()},a=r=>{let c=r.target;h(c)&&(p(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",m&&(m.height<window.innerHeight?requestAnimationFrame(()=>{w(c)}):m.addEventListener("resize",()=>w(c),{once:!0}))}))},i=null,p=()=>{if(i)return;let r=()=>{window.scrollTo(0,0)},c=window.pageXOffset,$=window.pageYOffset;i=v.chain(d(window,"scroll",r),l(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),l(document.documentElement,"overflow","hidden"),l(document.body,"marginTop",`-${$}px`),()=>{window.scrollTo(c,$)}),window.scrollTo(0,0)},E=v.chain(d(document,"touchstart",n,{passive:!1,capture:!0}),d(document,"touchmove",o,{passive:!1,capture:!0}),d(document,"touchend",u,{passive:!1,capture:!0}),d(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),E()}}function l(e,t,n){let o=e.style[t];return e.style[t]=n,()=>{e.style[t]=o}}function d(e,t,n,o){return e.addEventListener(t,n,o),()=>{e.removeEventListener(t,n,o)}}function w(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let o=g.getScrollParent(n);if(o!==document.documentElement&&o!==document.body&&o!==n){let u=o.getBoundingClientRect().top,a=n.getBoundingClientRect().top;a>u+n.clientHeight&&(o.scrollTop+=a-u)}n=o.parentElement}}function h(e){return e instanceof HTMLInputElement&&!T.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}exports.usePreventScroll=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index272.js"),y=require("./index172.js"),g=require("./index173.js"),S=require("./index174.js"),m=typeof document<"u"&&window.visualViewport,T=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let s=0,f;function b(e={}){let{isDisabled:t}=e;y.useLayoutEffect(()=>{if(!t)return s++,s===1&&(S.isIOS()?f=L():f=x()),()=>{s--,s===0&&f()}},[t])}function x(){return v.chain(l(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),l(document.documentElement,"overflow","hidden"))}function L(){let e,t,n=r=>{e=g.getScrollParent(r.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=l(e,"overscrollBehavior","contain"))},o=r=>{if(!e||e===document.documentElement||e===document.body){r.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&r.preventDefault()},u=r=>{let c=r.target;h(c)&&c!==document.activeElement&&(r.preventDefault(),p(),c.style.transform="translateY(-2000px)",c.focus(),requestAnimationFrame(()=>{c.style.transform=""})),t&&t()},a=r=>{let c=r.target;h(c)&&(p(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",m&&(m.height<window.innerHeight?requestAnimationFrame(()=>{w(c)}):m.addEventListener("resize",()=>w(c),{once:!0}))}))},i=null,p=()=>{if(i)return;let r=()=>{window.scrollTo(0,0)},c=window.pageXOffset,$=window.pageYOffset;i=v.chain(d(window,"scroll",r),l(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),l(document.documentElement,"overflow","hidden"),l(document.body,"marginTop",`-${$}px`),()=>{window.scrollTo(c,$)}),window.scrollTo(0,0)},E=v.chain(d(document,"touchstart",n,{passive:!1,capture:!0}),d(document,"touchmove",o,{passive:!1,capture:!0}),d(document,"touchend",u,{passive:!1,capture:!0}),d(document,"focus",a,!0));return()=>{t==null||t(),i==null||i(),E()}}function l(e,t,n){let o=e.style[t];return e.style[t]=n,()=>{e.style[t]=o}}function d(e,t,n,o){return e.addEventListener(t,n,o),()=>{e.removeEventListener(t,n,o)}}function w(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let o=g.getScrollParent(n);if(o!==document.documentElement&&o!==document.body&&o!==n){let u=o.getBoundingClientRect().top,a=n.getBoundingClientRect().top;a>u+n.clientHeight&&(o.scrollTop+=a-u)}n=o.parentElement}}function h(e){return e instanceof HTMLInputElement&&!T.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}exports.usePreventScroll=b;
package/index333.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { chain as $ } from "./index316.mjs";
1
+ import { chain as $ } from "./index272.mjs";
2
2
  import { useLayoutEffect as b } from "./index172.mjs";
3
3
  import { getScrollParent as E } from "./index173.mjs";
4
4
  import { isIOS as y } from "./index174.mjs";
package/index339.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),l=require("./index172.js"),d=require("./index326.js");class i{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,e){this.nativeEvent=e,this.target=e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget,this.bubbles=e.bubbles,this.cancelable=e.cancelable,this.defaultPrevented=e.defaultPrevented,this.eventPhase=e.eventPhase,this.isTrusted=e.isTrusted,this.timeStamp=e.timeStamp,this.type=t}}function b(u){let t=c.useRef({isFocused:!1,observer:null});l.useLayoutEffect(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let e=d.useEffectEvent(r=>{u==null||u(r)});return c.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let s=r.target,o=n=>{t.current.isFocused=!1,s.disabled&&e(new i("blur",n)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};s.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&s.disabled){var n;(n=t.current.observer)===null||n===void 0||n.disconnect();let a=s===document.activeElement?null:document.activeElement;s.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),s.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(s,{attributes:!0,attributeFilter:["disabled"]})}},[e])}exports.SyntheticFocusEvent=i;exports.useSyntheticBlurEvent=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),l=require("./index172.js"),d=require("./index283.js");class i{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,e){this.nativeEvent=e,this.target=e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget,this.bubbles=e.bubbles,this.cancelable=e.cancelable,this.defaultPrevented=e.defaultPrevented,this.eventPhase=e.eventPhase,this.isTrusted=e.isTrusted,this.timeStamp=e.timeStamp,this.type=t}}function b(u){let t=c.useRef({isFocused:!1,observer:null});l.useLayoutEffect(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let e=d.useEffectEvent(r=>{u==null||u(r)});return c.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let s=r.target,o=n=>{t.current.isFocused=!1,s.disabled&&e(new i("blur",n)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};s.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&s.disabled){var n;(n=t.current.observer)===null||n===void 0||n.disconnect();let a=s===document.activeElement?null:document.activeElement;s.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),s.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(s,{attributes:!0,attributeFilter:["disabled"]})}},[e])}exports.SyntheticFocusEvent=i;exports.useSyntheticBlurEvent=b;
package/index339.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useRef as o, useCallback as i } from "react";
2
2
  import { useLayoutEffect as l } from "./index172.mjs";
3
- import { useEffectEvent as d } from "./index326.mjs";
3
+ import { useEffectEvent as d } from "./index283.mjs";
4
4
  class f {
5
5
  isDefaultPrevented() {
6
6
  return this.nativeEvent.defaultPrevented;
package/index340.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index317.js"),c=require("./index320.js"),o=require("./index174.js");let n="default",s="",l=new WeakMap;function r(e){if(o.isIOS()){if(n==="default"){const t=i.getOwnerDocument(e);s=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}n="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(l.set(e,e.style.userSelect),e.style.userSelect="none")}function u(e){if(o.isIOS()){if(n!=="disabled")return;n="restoring",setTimeout(()=>{c.runAfterTransition(()=>{if(n==="restoring"){const t=i.getOwnerDocument(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=s||""),s="",n="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&l.has(e)){let t=l.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),l.delete(e)}}exports.disableTextSelection=r;exports.restoreTextSelection=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index273.js"),c=require("./index276.js"),o=require("./index174.js");let n="default",s="",l=new WeakMap;function r(e){if(o.isIOS()){if(n==="default"){const t=i.getOwnerDocument(e);s=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}n="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(l.set(e,e.style.userSelect),e.style.userSelect="none")}function u(e){if(o.isIOS()){if(n!=="disabled")return;n="restoring",setTimeout(()=>{c.runAfterTransition(()=>{if(n==="restoring"){const t=i.getOwnerDocument(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=s||""),s="",n="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&l.has(e)){let t=l.get(e);e.style.userSelect==="none"&&(e.style.userSelect=t),e.getAttribute("style")===""&&e.removeAttribute("style"),l.delete(e)}}exports.disableTextSelection=r;exports.restoreTextSelection=u;
package/index340.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { getOwnerDocument as c } from "./index317.mjs";
2
- import { runAfterTransition as i } from "./index320.mjs";
1
+ import { getOwnerDocument as c } from "./index273.mjs";
2
+ import { runAfterTransition as i } from "./index276.mjs";
3
3
  import { isIOS as o } from "./index174.mjs";
4
4
  let n = "default", l = "", s = /* @__PURE__ */ new WeakMap();
5
5
  function r(e) {
package/index345.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let u=new Map,f=!1;try{f=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let l=!1;try{l=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const c={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class p{format(t){let e="";if(!f&&this.options.signDisplay!=null?e=m(this.numberFormatter,this.options.signDisplay,t):e=this.numberFormatter.format(t),this.options.style==="unit"&&!l){var i;let{unit:a,unitDisplay:s="short",locale:n}=this.resolvedOptions();if(!a)return e;let o=(i=c[a])===null||i===void 0?void 0:i[s];e+=o[n]||o.default}return e}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,e){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,e);if(e<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(e)}`}formatRangeToParts(t,e){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,e);if(e<t)throw new RangeError("End date must be >= start date");let i=this.numberFormatter.formatToParts(t),a=this.numberFormatter.formatToParts(e);return[...i.map(s=>({...s,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(s=>({...s,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!f&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!l&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,e={}){this.numberFormatter=d(t,e),this.options=e}}function d(r,t={}){let{numberingSystem:e}=t;if(e&&r.includes("-nu-")&&(r.includes("-u-")||(r+="-u-"),r+=`-nu-${e}`),t.style==="unit"&&!l){var i;let{unit:n,unitDisplay:o="short"}=t;if(!n)throw new Error('unit option must be provided with style: "unit"');if(!(!((i=c[n])===null||i===void 0)&&i[o]))throw new Error(`Unsupported unit ${n} with unitDisplay = ${o}`);t={...t,style:"decimal"}}let a=r+(t?Object.entries(t).sort((n,o)=>n[0]<o[0]?-1:1).join():"");if(u.has(a))return u.get(a);let s=new Intl.NumberFormat(r,t);return u.set(a,s),s}function m(r,t,e){if(t==="auto")return r.format(e);if(t==="never")return r.format(Math.abs(e));{let i=!1;if(t==="always"?i=e>0||Object.is(e,0):t==="exceptZero"&&(Object.is(e,-0)||Object.is(e,0)?e=Math.abs(e):i=e>0),i){let a=r.format(-e),s=r.format(e),n=a.replace(s,"").replace(/\u200e|\u061C/,"");return[...n].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),a.replace(s,"!!!").replace(n,"+").replace("!!!",s)}else return r.format(e)}}exports.NumberFormatter=p;exports.numberFormatSignDisplayPolyfill=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=new WeakMap;function a(t,e,f){return t?(typeof e=="string"&&(e=e.replace(/\s+/g,"")),`${r.get(t)}-${f}-${e}`):""}exports.generateId=a;exports.tabsIds=r;
package/index345.mjs CHANGED
@@ -1,120 +1,8 @@
1
- let u = /* @__PURE__ */ new Map(), f = !1;
2
- try {
3
- f = new Intl.NumberFormat("de-DE", {
4
- signDisplay: "exceptZero"
5
- }).resolvedOptions().signDisplay === "exceptZero";
6
- } catch {
7
- }
8
- let l = !1;
9
- try {
10
- l = new Intl.NumberFormat("de-DE", {
11
- style: "unit",
12
- unit: "degree"
13
- }).resolvedOptions().style === "unit";
14
- } catch {
15
- }
16
- const c = {
17
- degree: {
18
- narrow: {
19
- default: "°",
20
- "ja-JP": " 度",
21
- "zh-TW": "度",
22
- "sl-SI": " °"
23
- }
24
- }
25
- };
26
- class d {
27
- /** Formats a number value as a string, according to the locale and options provided to the constructor. */
28
- format(t) {
29
- let e = "";
30
- if (!f && this.options.signDisplay != null ? e = m(this.numberFormatter, this.options.signDisplay, t) : e = this.numberFormatter.format(t), this.options.style === "unit" && !l) {
31
- var i;
32
- let { unit: a, unitDisplay: s = "short", locale: n } = this.resolvedOptions();
33
- if (!a) return e;
34
- let o = (i = c[a]) === null || i === void 0 ? void 0 : i[s];
35
- e += o[n] || o.default;
36
- }
37
- return e;
38
- }
39
- /** Formats a number to an array of parts such as separators, digits, punctuation, and more. */
40
- formatToParts(t) {
41
- return this.numberFormatter.formatToParts(t);
42
- }
43
- /** Formats a number range as a string. */
44
- formatRange(t, e) {
45
- if (typeof this.numberFormatter.formatRange == "function") return this.numberFormatter.formatRange(t, e);
46
- if (e < t) throw new RangeError("End date must be >= start date");
47
- return `${this.format(t)} – ${this.format(e)}`;
48
- }
49
- /** Formats a number range as an array of parts. */
50
- formatRangeToParts(t, e) {
51
- if (typeof this.numberFormatter.formatRangeToParts == "function") return this.numberFormatter.formatRangeToParts(t, e);
52
- if (e < t) throw new RangeError("End date must be >= start date");
53
- let i = this.numberFormatter.formatToParts(t), a = this.numberFormatter.formatToParts(e);
54
- return [
55
- ...i.map((s) => ({
56
- ...s,
57
- source: "startRange"
58
- })),
59
- {
60
- type: "literal",
61
- value: " – ",
62
- source: "shared"
63
- },
64
- ...a.map((s) => ({
65
- ...s,
66
- source: "endRange"
67
- }))
68
- ];
69
- }
70
- /** Returns the resolved formatting options based on the values passed to the constructor. */
71
- resolvedOptions() {
72
- let t = this.numberFormatter.resolvedOptions();
73
- return !f && this.options.signDisplay != null && (t = {
74
- ...t,
75
- signDisplay: this.options.signDisplay
76
- }), !l && this.options.style === "unit" && (t = {
77
- ...t,
78
- style: "unit",
79
- unit: this.options.unit,
80
- unitDisplay: this.options.unitDisplay
81
- }), t;
82
- }
83
- constructor(t, e = {}) {
84
- this.numberFormatter = p(t, e), this.options = e;
85
- }
86
- }
87
- function p(r, t = {}) {
88
- let { numberingSystem: e } = t;
89
- if (e && r.includes("-nu-") && (r.includes("-u-") || (r += "-u-"), r += `-nu-${e}`), t.style === "unit" && !l) {
90
- var i;
91
- let { unit: n, unitDisplay: o = "short" } = t;
92
- if (!n) throw new Error('unit option must be provided with style: "unit"');
93
- if (!(!((i = c[n]) === null || i === void 0) && i[o])) throw new Error(`Unsupported unit ${n} with unitDisplay = ${o}`);
94
- t = {
95
- ...t,
96
- style: "decimal"
97
- };
98
- }
99
- let a = r + (t ? Object.entries(t).sort((n, o) => n[0] < o[0] ? -1 : 1).join() : "");
100
- if (u.has(a)) return u.get(a);
101
- let s = new Intl.NumberFormat(r, t);
102
- return u.set(a, s), s;
103
- }
104
- function m(r, t, e) {
105
- if (t === "auto") return r.format(e);
106
- if (t === "never") return r.format(Math.abs(e));
107
- {
108
- let i = !1;
109
- if (t === "always" ? i = e > 0 || Object.is(e, 0) : t === "exceptZero" && (Object.is(e, -0) || Object.is(e, 0) ? e = Math.abs(e) : i = e > 0), i) {
110
- let a = r.format(-e), s = r.format(e), n = a.replace(s, "").replace(/\u200e|\u061C/, "");
111
- return [
112
- ...n
113
- ].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), a.replace(s, "!!!").replace(n, "+").replace("!!!", s);
114
- } else return r.format(e);
115
- }
1
+ const f = /* @__PURE__ */ new WeakMap();
2
+ function $(t, e, a) {
3
+ return t ? (typeof e == "string" && (e = e.replace(/\s+/g, "")), `${f.get(t)}-${a}-${e}`) : "";
116
4
  }
117
5
  export {
118
- d as NumberFormatter,
119
- m as numberFormatSignDisplayPolyfill
6
+ $ as generateId,
7
+ f as tabsIds
120
8
  };
package/index346.js CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index419.js"),r=require("./index420.js"),t=require("./index421.js"),s=require("./index422.js"),u=require("./index423.js"),n=require("./index424.js"),i=require("./index425.js"),o=require("./index426.js"),c=require("./index427.js"),q=require("./index428.js"),R=require("./index429.js"),l=require("./index430.js"),E=require("./index431.js"),S=require("./index432.js"),h=require("./index433.js"),L=require("./index434.js"),T=require("./index435.js"),a=require("./index436.js"),I=require("./index437.js"),P=require("./index438.js"),U=require("./index439.js"),d=require("./index440.js"),f=require("./index441.js"),p=require("./index442.js"),k=require("./index443.js"),K=require("./index444.js"),N=require("./index445.js"),b=require("./index446.js"),v=require("./index447.js"),z=require("./index448.js"),A=require("./index449.js"),B=require("./index450.js"),C=require("./index451.js"),D=require("./index452.js");exports.default={};exports.default={"ar-AE":e,"bg-BG":r,"cs-CZ":t,"da-DK":s,"de-DE":u,"el-GR":n,"en-US":i,"es-ES":o,"et-EE":c,"fi-FI":q,"fr-FR":R,"he-IL":l,"hr-HR":E,"hu-HU":S,"it-IT":h,"ja-JP":L,"ko-KR":T,"lt-LT":a,"lv-LV":I,"nb-NO":P,"nl-NL":U,"pl-PL":d,"pt-BR":f,"pt-PT":p,"ro-RO":k,"ru-RU":K,"sk-SK":N,"sl-SI":b,"sr-SP":v,"sv-SE":z,"tr-TR":A,"uk-UA":B,"zh-CN":C,"zh-TW":D};module.exports=exports.default;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let u=new Map,f=!1;try{f=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let l=!1;try{l=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const c={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class p{format(t){let e="";if(!f&&this.options.signDisplay!=null?e=m(this.numberFormatter,this.options.signDisplay,t):e=this.numberFormatter.format(t),this.options.style==="unit"&&!l){var i;let{unit:a,unitDisplay:s="short",locale:n}=this.resolvedOptions();if(!a)return e;let o=(i=c[a])===null||i===void 0?void 0:i[s];e+=o[n]||o.default}return e}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,e){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,e);if(e<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(e)}`}formatRangeToParts(t,e){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,e);if(e<t)throw new RangeError("End date must be >= start date");let i=this.numberFormatter.formatToParts(t),a=this.numberFormatter.formatToParts(e);return[...i.map(s=>({...s,source:"startRange"})),{type:"literal",value:"",source:"shared"},...a.map(s=>({...s,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!f&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!l&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,e={}){this.numberFormatter=d(t,e),this.options=e}}function d(r,t={}){let{numberingSystem:e}=t;if(e&&r.includes("-nu-")&&(r.includes("-u-")||(r+="-u-"),r+=`-nu-${e}`),t.style==="unit"&&!l){var i;let{unit:n,unitDisplay:o="short"}=t;if(!n)throw new Error('unit option must be provided with style: "unit"');if(!(!((i=c[n])===null||i===void 0)&&i[o]))throw new Error(`Unsupported unit ${n} with unitDisplay = ${o}`);t={...t,style:"decimal"}}let a=r+(t?Object.entries(t).sort((n,o)=>n[0]<o[0]?-1:1).join():"");if(u.has(a))return u.get(a);let s=new Intl.NumberFormat(r,t);return u.set(a,s),s}function m(r,t,e){if(t==="auto")return r.format(e);if(t==="never")return r.format(Math.abs(e));{let i=!1;if(t==="always"?i=e>0||Object.is(e,0):t==="exceptZero"&&(Object.is(e,-0)||Object.is(e,0)?e=Math.abs(e):i=e>0),i){let a=r.format(-e),s=r.format(e),n=a.replace(s,"").replace(/\u200e|\u061C/,"");return[...n].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),a.replace(s,"!!!").replace(n,"+").replace("!!!",s)}else return r.format(e)}}exports.NumberFormatter=p;exports.numberFormatSignDisplayPolyfill=m;
package/index346.mjs CHANGED
@@ -1,74 +1,120 @@
1
- import r from "./index419.mjs";
2
- import o from "./index420.mjs";
3
- import e from "./index421.mjs";
4
- import t from "./index422.mjs";
5
- import f from "./index423.mjs";
6
- import p from "./index424.mjs";
7
- import $ from "./index425.mjs";
8
- import m from "./index426.mjs";
9
- import c from "./index427.mjs";
10
- import b from "./index428.mjs";
11
- import s from "./index429.mjs";
12
- import a from "./index430.mjs";
13
- import i from "./index431.mjs";
14
- import x from "./index432.mjs";
15
- import d from "./index433.mjs";
16
- import R from "./index434.mjs";
17
- import l from "./index435.mjs";
18
- import E from "./index436.mjs";
19
- import S from "./index437.mjs";
20
- import h from "./index438.mjs";
21
- import L from "./index439.mjs";
22
- import T from "./index440.mjs";
23
- import u from "./index441.mjs";
24
- import I from "./index442.mjs";
25
- import P from "./index443.mjs";
26
- import U from "./index444.mjs";
27
- import k from "./index445.mjs";
28
- import n from "./index446.mjs";
29
- import v from "./index447.mjs";
30
- import K from "./index448.mjs";
31
- import N from "./index449.mjs";
32
- import z from "./index450.mjs";
33
- import A from "./index451.mjs";
34
- import B from "./index452.mjs";
35
- var C = {};
36
- C = {
37
- "ar-AE": r,
38
- "bg-BG": o,
39
- "cs-CZ": e,
40
- "da-DK": t,
41
- "de-DE": f,
42
- "el-GR": p,
43
- "en-US": $,
44
- "es-ES": m,
45
- "et-EE": c,
46
- "fi-FI": b,
47
- "fr-FR": s,
48
- "he-IL": a,
49
- "hr-HR": i,
50
- "hu-HU": x,
51
- "it-IT": d,
52
- "ja-JP": R,
53
- "ko-KR": l,
54
- "lt-LT": E,
55
- "lv-LV": S,
56
- "nb-NO": h,
57
- "nl-NL": L,
58
- "pl-PL": T,
59
- "pt-BR": u,
60
- "pt-PT": I,
61
- "ro-RO": P,
62
- "ru-RU": U,
63
- "sk-SK": k,
64
- "sl-SI": n,
65
- "sr-SP": v,
66
- "sv-SE": K,
67
- "tr-TR": N,
68
- "uk-UA": z,
69
- "zh-CN": A,
70
- "zh-TW": B
1
+ let u = /* @__PURE__ */ new Map(), f = !1;
2
+ try {
3
+ f = new Intl.NumberFormat("de-DE", {
4
+ signDisplay: "exceptZero"
5
+ }).resolvedOptions().signDisplay === "exceptZero";
6
+ } catch {
7
+ }
8
+ let l = !1;
9
+ try {
10
+ l = new Intl.NumberFormat("de-DE", {
11
+ style: "unit",
12
+ unit: "degree"
13
+ }).resolvedOptions().style === "unit";
14
+ } catch {
15
+ }
16
+ const c = {
17
+ degree: {
18
+ narrow: {
19
+ default: "°",
20
+ "ja-JP": " ",
21
+ "zh-TW": "",
22
+ "sl-SI": " °"
23
+ }
24
+ }
71
25
  };
26
+ class d {
27
+ /** Formats a number value as a string, according to the locale and options provided to the constructor. */
28
+ format(t) {
29
+ let e = "";
30
+ if (!f && this.options.signDisplay != null ? e = m(this.numberFormatter, this.options.signDisplay, t) : e = this.numberFormatter.format(t), this.options.style === "unit" && !l) {
31
+ var i;
32
+ let { unit: a, unitDisplay: s = "short", locale: n } = this.resolvedOptions();
33
+ if (!a) return e;
34
+ let o = (i = c[a]) === null || i === void 0 ? void 0 : i[s];
35
+ e += o[n] || o.default;
36
+ }
37
+ return e;
38
+ }
39
+ /** Formats a number to an array of parts such as separators, digits, punctuation, and more. */
40
+ formatToParts(t) {
41
+ return this.numberFormatter.formatToParts(t);
42
+ }
43
+ /** Formats a number range as a string. */
44
+ formatRange(t, e) {
45
+ if (typeof this.numberFormatter.formatRange == "function") return this.numberFormatter.formatRange(t, e);
46
+ if (e < t) throw new RangeError("End date must be >= start date");
47
+ return `${this.format(t)} – ${this.format(e)}`;
48
+ }
49
+ /** Formats a number range as an array of parts. */
50
+ formatRangeToParts(t, e) {
51
+ if (typeof this.numberFormatter.formatRangeToParts == "function") return this.numberFormatter.formatRangeToParts(t, e);
52
+ if (e < t) throw new RangeError("End date must be >= start date");
53
+ let i = this.numberFormatter.formatToParts(t), a = this.numberFormatter.formatToParts(e);
54
+ return [
55
+ ...i.map((s) => ({
56
+ ...s,
57
+ source: "startRange"
58
+ })),
59
+ {
60
+ type: "literal",
61
+ value: " – ",
62
+ source: "shared"
63
+ },
64
+ ...a.map((s) => ({
65
+ ...s,
66
+ source: "endRange"
67
+ }))
68
+ ];
69
+ }
70
+ /** Returns the resolved formatting options based on the values passed to the constructor. */
71
+ resolvedOptions() {
72
+ let t = this.numberFormatter.resolvedOptions();
73
+ return !f && this.options.signDisplay != null && (t = {
74
+ ...t,
75
+ signDisplay: this.options.signDisplay
76
+ }), !l && this.options.style === "unit" && (t = {
77
+ ...t,
78
+ style: "unit",
79
+ unit: this.options.unit,
80
+ unitDisplay: this.options.unitDisplay
81
+ }), t;
82
+ }
83
+ constructor(t, e = {}) {
84
+ this.numberFormatter = p(t, e), this.options = e;
85
+ }
86
+ }
87
+ function p(r, t = {}) {
88
+ let { numberingSystem: e } = t;
89
+ if (e && r.includes("-nu-") && (r.includes("-u-") || (r += "-u-"), r += `-nu-${e}`), t.style === "unit" && !l) {
90
+ var i;
91
+ let { unit: n, unitDisplay: o = "short" } = t;
92
+ if (!n) throw new Error('unit option must be provided with style: "unit"');
93
+ if (!(!((i = c[n]) === null || i === void 0) && i[o])) throw new Error(`Unsupported unit ${n} with unitDisplay = ${o}`);
94
+ t = {
95
+ ...t,
96
+ style: "decimal"
97
+ };
98
+ }
99
+ let a = r + (t ? Object.entries(t).sort((n, o) => n[0] < o[0] ? -1 : 1).join() : "");
100
+ if (u.has(a)) return u.get(a);
101
+ let s = new Intl.NumberFormat(r, t);
102
+ return u.set(a, s), s;
103
+ }
104
+ function m(r, t, e) {
105
+ if (t === "auto") return r.format(e);
106
+ if (t === "never") return r.format(Math.abs(e));
107
+ {
108
+ let i = !1;
109
+ if (t === "always" ? i = e > 0 || Object.is(e, 0) : t === "exceptZero" && (Object.is(e, -0) || Object.is(e, 0) ? e = Math.abs(e) : i = e > 0), i) {
110
+ let a = r.format(-e), s = r.format(e), n = a.replace(s, "").replace(/\u200e|\u061C/, "");
111
+ return [
112
+ ...n
113
+ ].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), a.replace(s, "!!!").replace(n, "+").replace("!!!", s);
114
+ } else return r.format(e);
115
+ }
116
+ }
72
117
  export {
73
- C as default
118
+ d as NumberFormatter,
119
+ m as numberFormatSignDisplayPolyfill
74
120
  };
package/index347.js CHANGED
@@ -1 +1 @@
1
- "use strict";exports.default={};exports.default={rangeOverflow:u=>`يجب أن تكون القيمة ${u.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:u=>`يجب أن تكون القيمة ${u.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};module.exports=exports.default;
1
+ "use strict";const e=require("./index419.js"),r=require("./index420.js"),t=require("./index421.js"),s=require("./index422.js"),u=require("./index423.js"),n=require("./index424.js"),i=require("./index425.js"),o=require("./index426.js"),c=require("./index427.js"),q=require("./index428.js"),R=require("./index429.js"),l=require("./index430.js"),E=require("./index431.js"),S=require("./index432.js"),h=require("./index433.js"),L=require("./index434.js"),T=require("./index435.js"),a=require("./index436.js"),I=require("./index437.js"),P=require("./index438.js"),U=require("./index439.js"),d=require("./index440.js"),f=require("./index441.js"),p=require("./index442.js"),k=require("./index443.js"),K=require("./index444.js"),N=require("./index445.js"),b=require("./index446.js"),v=require("./index447.js"),z=require("./index448.js"),A=require("./index449.js"),B=require("./index450.js"),C=require("./index451.js"),D=require("./index452.js");exports.default={};exports.default={"ar-AE":e,"bg-BG":r,"cs-CZ":t,"da-DK":s,"de-DE":u,"el-GR":n,"en-US":i,"es-ES":o,"et-EE":c,"fi-FI":q,"fr-FR":R,"he-IL":l,"hr-HR":E,"hu-HU":S,"it-IT":h,"ja-JP":L,"ko-KR":T,"lt-LT":a,"lv-LV":I,"nb-NO":P,"nl-NL":U,"pl-PL":d,"pt-BR":f,"pt-PT":p,"ro-RO":k,"ru-RU":K,"sk-SK":N,"sl-SI":b,"sr-SP":v,"sv-SE":z,"tr-TR":A,"uk-UA":B,"zh-CN":C,"zh-TW":D};module.exports=exports.default;
package/index347.mjs CHANGED
@@ -1,10 +1,74 @@
1
- var A = {};
2
- A = {
3
- rangeOverflow: (u) => `يجب أن تكون القيمة ${u.maxValue} أو قبل ذلك.`,
4
- rangeReversed: "تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",
5
- rangeUnderflow: (u) => `يجب أن تكون القيمة ${u.minValue} أو بعد ذلك.`,
6
- unavailableDate: "البيانات المحددة غير متاحة."
1
+ import r from "./index419.mjs";
2
+ import o from "./index420.mjs";
3
+ import e from "./index421.mjs";
4
+ import t from "./index422.mjs";
5
+ import f from "./index423.mjs";
6
+ import p from "./index424.mjs";
7
+ import $ from "./index425.mjs";
8
+ import m from "./index426.mjs";
9
+ import c from "./index427.mjs";
10
+ import b from "./index428.mjs";
11
+ import s from "./index429.mjs";
12
+ import a from "./index430.mjs";
13
+ import i from "./index431.mjs";
14
+ import x from "./index432.mjs";
15
+ import d from "./index433.mjs";
16
+ import R from "./index434.mjs";
17
+ import l from "./index435.mjs";
18
+ import E from "./index436.mjs";
19
+ import S from "./index437.mjs";
20
+ import h from "./index438.mjs";
21
+ import L from "./index439.mjs";
22
+ import T from "./index440.mjs";
23
+ import u from "./index441.mjs";
24
+ import I from "./index442.mjs";
25
+ import P from "./index443.mjs";
26
+ import U from "./index444.mjs";
27
+ import k from "./index445.mjs";
28
+ import n from "./index446.mjs";
29
+ import v from "./index447.mjs";
30
+ import K from "./index448.mjs";
31
+ import N from "./index449.mjs";
32
+ import z from "./index450.mjs";
33
+ import A from "./index451.mjs";
34
+ import B from "./index452.mjs";
35
+ var C = {};
36
+ C = {
37
+ "ar-AE": r,
38
+ "bg-BG": o,
39
+ "cs-CZ": e,
40
+ "da-DK": t,
41
+ "de-DE": f,
42
+ "el-GR": p,
43
+ "en-US": $,
44
+ "es-ES": m,
45
+ "et-EE": c,
46
+ "fi-FI": b,
47
+ "fr-FR": s,
48
+ "he-IL": a,
49
+ "hr-HR": i,
50
+ "hu-HU": x,
51
+ "it-IT": d,
52
+ "ja-JP": R,
53
+ "ko-KR": l,
54
+ "lt-LT": E,
55
+ "lv-LV": S,
56
+ "nb-NO": h,
57
+ "nl-NL": L,
58
+ "pl-PL": T,
59
+ "pt-BR": u,
60
+ "pt-PT": I,
61
+ "ro-RO": P,
62
+ "ru-RU": U,
63
+ "sk-SK": k,
64
+ "sl-SI": n,
65
+ "sr-SP": v,
66
+ "sv-SE": K,
67
+ "tr-TR": N,
68
+ "uk-UA": z,
69
+ "zh-CN": A,
70
+ "zh-TW": B
7
71
  };
8
72
  export {
9
- A as default
73
+ C as default
10
74
  };
package/index348.js CHANGED
@@ -1 +1 @@
1
- "use strict";exports.default={};exports.default={rangeOverflow:u=>`Стойността трябва да е ${u.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:u=>`Стойността трябва да е ${u.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};module.exports=exports.default;
1
+ "use strict";exports.default={};exports.default={rangeOverflow:u=>`يجب أن تكون القيمة ${u.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:u=>`يجب أن تكون القيمة ${u.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};module.exports=exports.default;