@vlrc-fe/components 1.0.7 → 1.0.8
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.
- package/dist/MultiSelect/type.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +64 -41
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +46 -80
- package/dist/index100.cjs +1 -1
- package/dist/index100.js +22 -60
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +1147 -43
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +30 -64
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +31 -147
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +93 -19
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +80 -25
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +9 -50
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +30 -156
- package/dist/index108.cjs +1 -1
- package/dist/index108.js +350 -14
- package/dist/index109.cjs +1 -1
- package/dist/index109.js +11 -0
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +55 -60
- package/dist/index110.cjs +1 -0
- package/dist/index110.js +430 -0
- package/dist/index111.cjs +1 -0
- package/dist/index111.js +36 -0
- package/dist/index112.cjs +1 -0
- package/dist/index112.js +28 -0
- package/dist/index113.cjs +1 -0
- package/dist/index113.js +14 -0
- package/dist/index114.cjs +1 -0
- package/dist/index114.js +156 -0
- package/dist/index115.cjs +1 -0
- package/dist/index115.js +19 -0
- package/dist/index116.cjs +1 -0
- package/dist/index116.js +67 -0
- package/dist/index117.cjs +1 -0
- package/dist/index117.js +118 -0
- package/dist/index118.cjs +1 -0
- package/dist/index118.js +36 -0
- package/dist/index119.cjs +1 -0
- package/dist/index119.js +13 -0
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +44 -121
- package/dist/index120.cjs +1 -0
- package/dist/index120.js +31 -0
- package/dist/index121.cjs +1 -0
- package/dist/index121.js +37 -0
- package/dist/index122.cjs +1 -0
- package/dist/index122.js +123 -0
- package/dist/index123.cjs +1 -0
- package/dist/index123.js +44 -0
- package/dist/index124.cjs +1 -0
- package/dist/index124.js +43 -0
- package/dist/index125.cjs +1 -0
- package/dist/index125.js +14 -0
- package/dist/index126.cjs +1 -0
- package/dist/index126.js +64 -0
- package/dist/index127.cjs +1 -0
- package/dist/index127.js +23 -0
- package/dist/index128.cjs +1 -0
- package/dist/index128.js +34 -0
- package/dist/index129.cjs +1 -0
- package/dist/index129.js +27 -0
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +30 -12
- package/dist/index130.cjs +1 -0
- package/dist/index130.js +26 -0
- package/dist/index131.cjs +1 -0
- package/dist/index131.js +157 -0
- package/dist/index132.cjs +1 -0
- package/dist/index132.js +34 -0
- package/dist/index133.cjs +1 -0
- package/dist/index133.js +46 -0
- package/dist/index134.cjs +1 -0
- package/dist/index134.js +142 -0
- package/dist/index135.cjs +1 -0
- package/dist/index135.js +125 -0
- package/dist/index136.cjs +1 -0
- package/dist/index136.js +26 -0
- package/dist/index137.cjs +1 -0
- package/dist/index137.js +88 -0
- package/dist/index138.cjs +1 -0
- package/dist/index138.js +221 -0
- package/dist/index139.cjs +1 -0
- package/dist/index139.js +166 -0
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +8 -12
- package/dist/index140.cjs +1 -0
- package/dist/index140.js +126 -0
- package/dist/index141.cjs +1 -0
- package/dist/index141.js +15 -0
- package/dist/index142.cjs +1 -0
- package/dist/index142.js +9 -0
- package/dist/index143.cjs +1 -0
- package/dist/index143.js +17 -0
- package/dist/index144.cjs +1 -0
- package/dist/index144.js +22 -0
- package/dist/index145.cjs +1 -0
- package/dist/index145.js +18 -0
- package/dist/index146.cjs +1 -0
- package/dist/index146.js +6 -0
- package/dist/index147.cjs +1 -0
- package/dist/index147.js +7 -0
- package/dist/index148.cjs +1 -0
- package/dist/index148.js +8 -0
- package/dist/index149.cjs +1 -0
- package/dist/index149.js +7 -0
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +12 -112
- package/dist/index150.cjs +1 -0
- package/dist/index150.js +7 -0
- package/dist/index151.cjs +1 -0
- package/dist/index151.js +9 -0
- package/dist/index152.cjs +1 -0
- package/dist/index152.js +69 -0
- package/dist/index153.cjs +1 -0
- package/dist/index153.js +11 -0
- package/dist/index154.cjs +1 -0
- package/dist/index154.js +202 -0
- package/dist/index155.cjs +1 -0
- package/dist/index155.js +124 -0
- package/dist/index156.cjs +1 -0
- package/dist/index156.js +32 -0
- package/dist/index157.cjs +1 -0
- package/dist/index157.js +20 -0
- package/dist/index158.cjs +1 -0
- package/dist/index158.js +69 -0
- package/dist/index159.cjs +1 -0
- package/dist/index159.js +32 -0
- package/dist/index16.cjs +1 -1
- package/dist/index16.js +4 -726
- package/dist/index160.cjs +1 -0
- package/dist/index160.js +11 -0
- package/dist/index161.cjs +1 -0
- package/dist/index161.js +280 -0
- package/dist/index162.cjs +1 -0
- package/dist/index162.js +157 -0
- package/dist/index163.cjs +1 -0
- package/dist/index163.js +20 -0
- package/dist/index164.cjs +1 -0
- package/dist/index164.js +10 -0
- package/dist/index165.cjs +1 -0
- package/dist/index165.js +14 -0
- package/dist/index166.cjs +1 -0
- package/dist/index166.js +8 -0
- package/dist/index167.cjs +1 -0
- package/dist/index167.js +8 -0
- package/dist/index168.cjs +1 -0
- package/dist/index168.js +11 -0
- package/dist/index169.cjs +1 -0
- package/dist/index169.js +10 -0
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +79 -339
- package/dist/index170.cjs +1 -0
- package/dist/index170.js +6 -0
- package/dist/index171.cjs +1 -0
- package/dist/index171.js +8 -0
- package/dist/index172.cjs +1 -0
- package/dist/index172.js +8 -0
- package/dist/index173.cjs +1 -0
- package/dist/index173.js +10 -0
- package/dist/index174.cjs +1 -0
- package/dist/index174.js +11 -0
- package/dist/index175.cjs +1 -0
- package/dist/index175.js +15 -0
- package/dist/index176.cjs +1 -0
- package/dist/index176.js +11 -0
- package/dist/index177.cjs +1 -0
- package/dist/index177.js +11 -0
- package/dist/index178.cjs +1 -0
- package/dist/index178.js +6 -0
- package/dist/index179.cjs +1 -0
- package/dist/index179.js +43 -0
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +19 -66
- package/dist/index180.cjs +1 -0
- package/dist/index180.js +382 -0
- package/dist/index181.cjs +1 -0
- package/dist/index181.js +40 -0
- package/dist/index182.cjs +1 -0
- package/dist/index182.js +23 -0
- package/dist/index183.cjs +1 -0
- package/dist/index183.js +59 -0
- package/dist/index184.cjs +1 -0
- package/dist/index184.js +55 -0
- package/dist/index185.cjs +1 -0
- package/dist/index185.js +54 -0
- package/dist/index186.cjs +1 -0
- package/dist/index186.js +57 -0
- package/dist/index187.cjs +1 -0
- package/dist/index187.js +57 -0
- package/dist/index188.cjs +1 -0
- package/dist/index188.js +88 -0
- package/dist/index189.cjs +1 -0
- package/dist/index189.js +66 -0
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +18 -8
- package/dist/index190.cjs +1 -0
- package/dist/index190.js +594 -0
- package/dist/index191.cjs +9 -0
- package/dist/index191.js +30 -0
- package/dist/index192.cjs +1 -0
- package/dist/index192.js +50 -0
- package/dist/index193.cjs +1 -0
- package/dist/index193.js +65 -0
- package/dist/index194.cjs +1 -0
- package/dist/index194.js +48 -0
- package/dist/index195.cjs +1 -0
- package/dist/index195.js +67 -0
- package/dist/index196.cjs +1 -0
- package/dist/index196.js +151 -0
- package/dist/index197.cjs +1 -0
- package/dist/index197.js +23 -0
- package/dist/index198.cjs +1 -0
- package/dist/index198.js +27 -0
- package/dist/index199.cjs +1 -0
- package/dist/index199.js +53 -0
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +51 -98
- package/dist/index200.cjs +1 -0
- package/dist/index200.js +161 -0
- package/dist/index201.cjs +1 -0
- package/dist/index201.js +16 -0
- package/dist/index202.cjs +1 -0
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +81 -28
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +64 -14
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +25 -22
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +1014 -33
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +22 -96
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +108 -25
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +15 -9
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +20 -66
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +81 -11
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +91 -29
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +14 -41
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +93 -12
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +22 -62
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +84 -22
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +85 -33
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +407 -25
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +170 -25
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +28 -154
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +158 -33
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +104 -45
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +337 -140
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +96 -124
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +319 -23
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +205 -81
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +33 -220
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +161 -163
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +20 -125
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +24 -14
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +167 -7
- package/dist/index5.js +26 -14
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +44 -15
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +15 -18
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +3 -17
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +5 -5
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +19 -4
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +24 -6
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +66 -4
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +14 -5
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +4 -8
- package/dist/index59.cjs +1 -1
- package/dist/index59.js +50 -67
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +85 -46
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +6 -10
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +25 -199
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +13 -122
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +9 -30
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +3 -20
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +24 -66
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +68 -30
- package/dist/index67.cjs +38 -1
- package/dist/index67.js +3 -11
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +12 -279
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +50 -155
- package/dist/index7.cjs +1 -1
- package/dist/index7.js +29 -85
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +115 -19
- package/dist/index71.cjs +4 -1
- package/dist/index71.js +6 -9
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +12 -12
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +539 -6
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +197 -6
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +120 -9
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +912 -8
- package/dist/index77.cjs +3 -1
- package/dist/index77.js +76 -4
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +120 -6
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +12 -6
- package/dist/index8.cjs +1 -1
- package/dist/index8.js +35 -62
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +14 -8
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +113 -9
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +725 -13
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +346 -9
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +74 -9
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +148 -4
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +31 -42
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +12 -380
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +345 -37
- package/dist/index89.cjs +20 -1
- package/dist/index89.js +40 -18
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +85 -17
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +113 -56
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +272 -51
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +129 -50
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +13 -54
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +28 -55
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +525 -80
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +75 -61
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +67 -583
- package/dist/index98.cjs +1 -9
- package/dist/index98.js +32 -27
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +17 -49
- package/dist/ui/alert-dialog.d.ts +15 -0
- package/dist/ui/alert-dialog.d.ts.map +1 -0
- package/dist/ui/alert.d.ts +10 -0
- package/dist/ui/alert.d.ts.map +1 -0
- package/dist/ui/aspect-ratio.d.ts +4 -0
- package/dist/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/ui/avatar.d.ts +7 -0
- package/dist/ui/avatar.d.ts.map +1 -0
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/breadcrumb.d.ts +12 -0
- package/dist/ui/breadcrumb.d.ts.map +1 -0
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/carousel.d.ts +20 -0
- package/dist/ui/carousel.d.ts.map +1 -0
- package/dist/ui/collapsible.d.ts +6 -0
- package/dist/ui/collapsible.d.ts.map +1 -0
- package/dist/ui/context-menu.d.ts +26 -0
- package/dist/ui/context-menu.d.ts.map +1 -0
- package/dist/ui/drawer.d.ts +14 -0
- package/dist/ui/drawer.d.ts.map +1 -0
- package/dist/ui/hover-card.d.ts +7 -0
- package/dist/ui/hover-card.d.ts.map +1 -0
- package/dist/ui/index.d.ts +23 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/input-otp.d.ts +12 -0
- package/dist/ui/input-otp.d.ts.map +1 -0
- package/dist/ui/menubar.d.ts +27 -0
- package/dist/ui/menubar.d.ts.map +1 -0
- package/dist/ui/navigation-menu.d.ts +15 -0
- package/dist/ui/navigation-menu.d.ts.map +1 -0
- package/dist/ui/pagination.d.ts +14 -0
- package/dist/ui/pagination.d.ts.map +1 -0
- package/dist/ui/resizable.d.ts +9 -0
- package/dist/ui/resizable.d.ts.map +1 -0
- package/dist/ui/sheet.d.ts +14 -0
- package/dist/ui/sheet.d.ts.map +1 -0
- package/dist/ui/sidebar.d.ts +70 -0
- package/dist/ui/sidebar.d.ts.map +1 -0
- package/dist/ui/skeleton.d.ts +3 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/slider.d.ts +5 -0
- package/dist/ui/slider.d.ts.map +1 -0
- package/dist/ui/switch.d.ts +5 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/tabs.d.ts +8 -0
- package/dist/ui/tabs.d.ts.map +1 -0
- package/dist/ui/toggle-group.d.ts +8 -0
- package/dist/ui/toggle-group.d.ts.map +1 -0
- package/dist/ui/toggle.d.ts +10 -0
- package/dist/ui/toggle.d.ts.map +1 -0
- package/package.json +23 -5
package/dist/index144.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
return (r, i = {}) => {
|
|
4
|
+
let a = i.width, o = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], s = r.match(o);
|
|
5
|
+
if (!s) return null;
|
|
6
|
+
let c = s[0], l = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], u = Array.isArray(l) ? n(l, (e) => e.test(c)) : t(l, (e) => e.test(c)), d;
|
|
7
|
+
d = e.valueCallback ? e.valueCallback(u) : u, d = i.valueCallback ? i.valueCallback(d) : d;
|
|
8
|
+
let f = r.slice(c.length);
|
|
9
|
+
return {
|
|
10
|
+
value: d,
|
|
11
|
+
rest: f
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function t(e, t) {
|
|
16
|
+
for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
|
|
17
|
+
}
|
|
18
|
+
function n(e, t) {
|
|
19
|
+
for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { e as buildMatchFn };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){return(r,i={})=>{let a=i.width,o=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],s=r.match(o);if(!s)return null;let c=s[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?n(l,e=>e.test(c)):t(l,e=>e.test(c)),d;d=e.valueCallback?e.valueCallback(u):u,d=i.valueCallback?i.valueCallback(d):d;let f=r.slice(c.length);return{value:d,rest:f}}}function t(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function n(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}exports.buildMatchFn=e;
|
package/dist/index145.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
return (t, n = {}) => {
|
|
4
|
+
let r = t.match(e.matchPattern);
|
|
5
|
+
if (!r) return null;
|
|
6
|
+
let i = r[0], a = t.match(e.parsePattern);
|
|
7
|
+
if (!a) return null;
|
|
8
|
+
let o = e.valueCallback ? e.valueCallback(a[0]) : a[0];
|
|
9
|
+
o = n.valueCallback ? n.valueCallback(o) : o;
|
|
10
|
+
let s = t.slice(i.length);
|
|
11
|
+
return {
|
|
12
|
+
value: o,
|
|
13
|
+
rest: s
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { e as buildMatchPatternFn };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){return(t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;let s=t.slice(i.length);return{value:o,rest:s}}}exports.buildMatchPatternFn=e;
|
package/dist/index146.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js
|
|
2
|
+
var e = 365.2425, t = 6048e5, n = 864e5, r = 3600 * 24;
|
|
3
|
+
r * 7, r * e / 12 * 3;
|
|
4
|
+
var i = Symbol.for("constructDateFrom");
|
|
5
|
+
//#endregion
|
|
6
|
+
export { i as constructFromSymbol, n as millisecondsInDay, t as millisecondsInWeek };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=365.2425,t=6048e5,n=864e5,r=3600*24;r*7,r*e/12*3;var i=Symbol.for(`constructDateFrom`);exports.constructFromSymbol=i,exports.millisecondsInDay=n,exports.millisecondsInWeek=t;
|
package/dist/index147.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { constructFromSymbol as e } from "./index146.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
return typeof t == "function" ? t(n) : t && typeof t == "object" && e in t ? t[e](n) : t instanceof Date ? new t.constructor(n) : new Date(n);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { t as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./index147.cjs");function t(t,n){return typeof t==`function`?t(n):t&&typeof t==`object`&&e.constructFromSymbol in t?t[e.constructFromSymbol](n):t instanceof Date?new t.constructor(n):new Date(n)}exports.default=t;
|
package/dist/index148.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "./index147.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js
|
|
3
|
+
function t(t, ...n) {
|
|
4
|
+
let r = e.bind(null, t || n.find((e) => typeof e == "object"));
|
|
5
|
+
return n.map(r);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as normalizeDates };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./index148.cjs");function t(t,...n){let r=e.default.bind(null,t||n.find(e=>typeof e==`object`));return n.map(r)}exports.normalizeDates=t;
|
package/dist/index149.js
ADDED
package/dist/index15.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./
|
|
1
|
+
"use client";const e=require("./index14.cjs");let t=require("react/jsx-runtime");function n({...n}){return(0,t.jsx)(e.Root,{"data-slot":`aspect-ratio`,...n})}exports.AspectRatio=n;
|
package/dist/index15.js
CHANGED
|
@@ -1,115 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { cva as o } from "class-variance-authority";
|
|
7
|
-
//#region src/ui/field.tsx
|
|
8
|
-
function s({ className: t, ...n }) {
|
|
9
|
-
return /* @__PURE__ */ i("fieldset", {
|
|
10
|
-
"data-slot": "field-set",
|
|
11
|
-
className: e("flex flex-col gap-6", "has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3", t),
|
|
12
|
-
...n
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
function c({ className: t, variant: n = "legend", ...r }) {
|
|
16
|
-
return /* @__PURE__ */ i("legend", {
|
|
17
|
-
"data-slot": "field-legend",
|
|
18
|
-
"data-variant": n,
|
|
19
|
-
className: e("mb-3 font-medium", "data-[variant=legend]:text-base", "data-[variant=label]:text-sm", t),
|
|
20
|
-
...r
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
function l({ className: t, ...n }) {
|
|
24
|
-
return /* @__PURE__ */ i("div", {
|
|
25
|
-
"data-slot": "field-group",
|
|
26
|
-
className: e("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4", t),
|
|
27
|
-
...n
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
var u = o("group/field flex w-full gap-3 data-[invalid=true]:text-destructive", {
|
|
31
|
-
variants: { orientation: {
|
|
32
|
-
vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
|
|
33
|
-
horizontal: [
|
|
34
|
-
"flex-row items-center",
|
|
35
|
-
"[&>[data-slot=field-label]]:flex-auto",
|
|
36
|
-
"has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
|
|
37
|
-
],
|
|
38
|
-
responsive: [
|
|
39
|
-
"flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto",
|
|
40
|
-
"@md/field-group:[&>[data-slot=field-label]]:flex-auto",
|
|
41
|
-
"@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
|
|
42
|
-
]
|
|
43
|
-
} },
|
|
44
|
-
defaultVariants: { orientation: "vertical" }
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.4_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
3
|
+
var t = Object.defineProperty, n = (e, n) => t(e, "name", {
|
|
4
|
+
value: n,
|
|
5
|
+
configurable: !0
|
|
45
6
|
});
|
|
46
|
-
function
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
className: e(u({ orientation: n }), t),
|
|
52
|
-
...r
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
function f({ className: t, ...n }) {
|
|
56
|
-
return /* @__PURE__ */ i("div", {
|
|
57
|
-
"data-slot": "field-content",
|
|
58
|
-
className: e("group/field-content flex flex-1 flex-col gap-1.5 leading-snug", t),
|
|
59
|
-
...n
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
function p({ className: n, ...r }) {
|
|
63
|
-
return /* @__PURE__ */ i(t, {
|
|
64
|
-
"data-slot": "field-label",
|
|
65
|
-
className: e("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4", "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10", n),
|
|
66
|
-
...r
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
function m({ className: t, ...n }) {
|
|
70
|
-
return /* @__PURE__ */ i("div", {
|
|
71
|
-
"data-slot": "field-label",
|
|
72
|
-
className: e("flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50", t),
|
|
73
|
-
...n
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
function h({ className: t, ...n }) {
|
|
77
|
-
return /* @__PURE__ */ i("p", {
|
|
78
|
-
"data-slot": "field-description",
|
|
79
|
-
className: e("text-muted-foreground text-sm leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance", "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", t),
|
|
80
|
-
...n
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
function g({ children: t, className: r, ...o }) {
|
|
84
|
-
return /* @__PURE__ */ a("div", {
|
|
85
|
-
"data-slot": "field-separator",
|
|
86
|
-
"data-content": !!t,
|
|
87
|
-
className: e("relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2", r),
|
|
88
|
-
...o,
|
|
89
|
-
children: [/* @__PURE__ */ i(n, { className: "absolute inset-0 top-1/2" }), t && /* @__PURE__ */ i("span", {
|
|
90
|
-
className: "bg-background text-muted-foreground relative mx-auto block w-fit px-2",
|
|
91
|
-
"data-slot": "field-separator-content",
|
|
92
|
-
children: t
|
|
93
|
-
})]
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
function _({ className: t, children: n, errors: a, ...o }) {
|
|
97
|
-
let s = r(() => {
|
|
98
|
-
if (n) return n;
|
|
99
|
-
if (!a?.length) return null;
|
|
100
|
-
let e = [...new Map(a.map((e) => [e?.message, e])).values()];
|
|
101
|
-
return e?.length == 1 ? e[0]?.message : /* @__PURE__ */ i("ul", {
|
|
102
|
-
className: "ml-4 flex list-disc flex-col gap-1",
|
|
103
|
-
children: e.map((e, t) => e?.message && /* @__PURE__ */ i("li", { children: e.message }, t))
|
|
104
|
-
});
|
|
105
|
-
}, [n, a]);
|
|
106
|
-
return s ? /* @__PURE__ */ i("div", {
|
|
107
|
-
role: "alert",
|
|
108
|
-
"data-slot": "field-error",
|
|
109
|
-
className: e("text-destructive text-sm font-normal", t),
|
|
110
|
-
...o,
|
|
111
|
-
children: s
|
|
112
|
-
}) : null;
|
|
7
|
+
function r(t) {
|
|
8
|
+
let n = e.useRef(t);
|
|
9
|
+
return e.useEffect(() => {
|
|
10
|
+
n.current = t;
|
|
11
|
+
}), e.useMemo(() => ((...e) => n.current?.(...e)), []);
|
|
113
12
|
}
|
|
13
|
+
n(r, "useCallbackRef");
|
|
114
14
|
//#endregion
|
|
115
|
-
export {
|
|
15
|
+
export { r as useCallbackRef };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={};function t(){return e}exports.getDefaultOptions=t;
|
package/dist/index150.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./index148.cjs");function t(t,n){return e.default(n||t,t)}exports.default=t;
|
package/dist/index151.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { getDefaultOptions as e } from "./index149.js";
|
|
2
|
+
import t from "./index150.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js
|
|
4
|
+
function n(n, r) {
|
|
5
|
+
let i = e(), a = r?.weekStartsOn ?? r?.locale?.options?.weekStartsOn ?? i.weekStartsOn ?? i.locale?.options?.weekStartsOn ?? 0, o = t(n, r?.in), s = o.getDay(), c = (s < a ? 7 : 0) + s - a;
|
|
6
|
+
return o.setDate(o.getDate() - c), o.setHours(0, 0, 0, 0), o;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { n as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./index150.cjs"),t=require("./index151.cjs");function n(n,r){let i=e.getDefaultOptions(),a=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,o=t.default(n,r?.in),s=o.getDay(),c=(s<a?7:0)+s-a;return o.setDate(o.getDate()-c),o.setHours(0,0,0,0),o}exports.default=n;
|
package/dist/index152.js
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js
|
|
2
|
+
var e = {
|
|
3
|
+
lessThanXSeconds: {
|
|
4
|
+
one: "less than a second",
|
|
5
|
+
other: "less than {{count}} seconds"
|
|
6
|
+
},
|
|
7
|
+
xSeconds: {
|
|
8
|
+
one: "1 second",
|
|
9
|
+
other: "{{count}} seconds"
|
|
10
|
+
},
|
|
11
|
+
halfAMinute: "half a minute",
|
|
12
|
+
lessThanXMinutes: {
|
|
13
|
+
one: "less than a minute",
|
|
14
|
+
other: "less than {{count}} minutes"
|
|
15
|
+
},
|
|
16
|
+
xMinutes: {
|
|
17
|
+
one: "1 minute",
|
|
18
|
+
other: "{{count}} minutes"
|
|
19
|
+
},
|
|
20
|
+
aboutXHours: {
|
|
21
|
+
one: "about 1 hour",
|
|
22
|
+
other: "about {{count}} hours"
|
|
23
|
+
},
|
|
24
|
+
xHours: {
|
|
25
|
+
one: "1 hour",
|
|
26
|
+
other: "{{count}} hours"
|
|
27
|
+
},
|
|
28
|
+
xDays: {
|
|
29
|
+
one: "1 day",
|
|
30
|
+
other: "{{count}} days"
|
|
31
|
+
},
|
|
32
|
+
aboutXWeeks: {
|
|
33
|
+
one: "about 1 week",
|
|
34
|
+
other: "about {{count}} weeks"
|
|
35
|
+
},
|
|
36
|
+
xWeeks: {
|
|
37
|
+
one: "1 week",
|
|
38
|
+
other: "{{count}} weeks"
|
|
39
|
+
},
|
|
40
|
+
aboutXMonths: {
|
|
41
|
+
one: "about 1 month",
|
|
42
|
+
other: "about {{count}} months"
|
|
43
|
+
},
|
|
44
|
+
xMonths: {
|
|
45
|
+
one: "1 month",
|
|
46
|
+
other: "{{count}} months"
|
|
47
|
+
},
|
|
48
|
+
aboutXYears: {
|
|
49
|
+
one: "about 1 year",
|
|
50
|
+
other: "about {{count}} years"
|
|
51
|
+
},
|
|
52
|
+
xYears: {
|
|
53
|
+
one: "1 year",
|
|
54
|
+
other: "{{count}} years"
|
|
55
|
+
},
|
|
56
|
+
overXYears: {
|
|
57
|
+
one: "over 1 year",
|
|
58
|
+
other: "over {{count}} years"
|
|
59
|
+
},
|
|
60
|
+
almostXYears: {
|
|
61
|
+
one: "almost 1 year",
|
|
62
|
+
other: "almost {{count}} years"
|
|
63
|
+
}
|
|
64
|
+
}, t = (t, n, r) => {
|
|
65
|
+
let i, a = e[t];
|
|
66
|
+
return i = typeof a == "string" ? a : n === 1 ? a.one : a.other.replace("{{count}}", n.toString()), r?.addSuffix ? r.comparison && r.comparison > 0 ? "in " + i : i + " ago" : i;
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { t as formatDistance };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={lessThanXSeconds:{one:`less than a second`,other:`less than {{count}} seconds`},xSeconds:{one:`1 second`,other:`{{count}} seconds`},halfAMinute:`half a minute`,lessThanXMinutes:{one:`less than a minute`,other:`less than {{count}} minutes`},xMinutes:{one:`1 minute`,other:`{{count}} minutes`},aboutXHours:{one:`about 1 hour`,other:`about {{count}} hours`},xHours:{one:`1 hour`,other:`{{count}} hours`},xDays:{one:`1 day`,other:`{{count}} days`},aboutXWeeks:{one:`about 1 week`,other:`about {{count}} weeks`},xWeeks:{one:`1 week`,other:`{{count}} weeks`},aboutXMonths:{one:`about 1 month`,other:`about {{count}} months`},xMonths:{one:`1 month`,other:`{{count}} months`},aboutXYears:{one:`about 1 year`,other:`about {{count}} years`},xYears:{one:`1 year`,other:`{{count}} years`},overXYears:{one:`over 1 year`,other:`over {{count}} years`},almostXYears:{one:`almost 1 year`,other:`almost {{count}} years`}},t=(t,n,r)=>{let i,a=e[t];return i=typeof a==`string`?a:n===1?a.one:a.other.replace(`{{count}}`,n.toString()),r?.addSuffix?r.comparison&&r.comparison>0?`in `+i:i+` ago`:i};exports.formatDistance=t;
|
package/dist/index153.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js
|
|
2
|
+
var e = {
|
|
3
|
+
lastWeek: "'last' eeee 'at' p",
|
|
4
|
+
yesterday: "'yesterday at' p",
|
|
5
|
+
today: "'today at' p",
|
|
6
|
+
tomorrow: "'tomorrow at' p",
|
|
7
|
+
nextWeek: "eeee 'at' p",
|
|
8
|
+
other: "P"
|
|
9
|
+
}, t = (t, n, r, i) => e[t];
|
|
10
|
+
//#endregion
|
|
11
|
+
export { t as formatRelative };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={lastWeek:`'last' eeee 'at' p`,yesterday:`'yesterday at' p`,today:`'today at' p`,tomorrow:`'tomorrow at' p`,nextWeek:`eeee 'at' p`,other:`P`},t=(t,n,r,i)=>e[t];exports.formatRelative=t;
|
package/dist/index154.js
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { buildLocalizeFn as e } from "./index143.js";
|
|
2
|
+
var t = {
|
|
3
|
+
ordinalNumber: (e, t) => {
|
|
4
|
+
let n = Number(e), r = n % 100;
|
|
5
|
+
if (r > 20 || r < 10) switch (r % 10) {
|
|
6
|
+
case 1: return n + "st";
|
|
7
|
+
case 2: return n + "nd";
|
|
8
|
+
case 3: return n + "rd";
|
|
9
|
+
}
|
|
10
|
+
return n + "th";
|
|
11
|
+
},
|
|
12
|
+
era: e({
|
|
13
|
+
values: {
|
|
14
|
+
narrow: ["B", "A"],
|
|
15
|
+
abbreviated: ["BC", "AD"],
|
|
16
|
+
wide: ["Before Christ", "Anno Domini"]
|
|
17
|
+
},
|
|
18
|
+
defaultWidth: "wide"
|
|
19
|
+
}),
|
|
20
|
+
quarter: e({
|
|
21
|
+
values: {
|
|
22
|
+
narrow: [
|
|
23
|
+
"1",
|
|
24
|
+
"2",
|
|
25
|
+
"3",
|
|
26
|
+
"4"
|
|
27
|
+
],
|
|
28
|
+
abbreviated: [
|
|
29
|
+
"Q1",
|
|
30
|
+
"Q2",
|
|
31
|
+
"Q3",
|
|
32
|
+
"Q4"
|
|
33
|
+
],
|
|
34
|
+
wide: [
|
|
35
|
+
"1st quarter",
|
|
36
|
+
"2nd quarter",
|
|
37
|
+
"3rd quarter",
|
|
38
|
+
"4th quarter"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
defaultWidth: "wide",
|
|
42
|
+
argumentCallback: (e) => e - 1
|
|
43
|
+
}),
|
|
44
|
+
month: e({
|
|
45
|
+
values: {
|
|
46
|
+
narrow: [
|
|
47
|
+
"J",
|
|
48
|
+
"F",
|
|
49
|
+
"M",
|
|
50
|
+
"A",
|
|
51
|
+
"M",
|
|
52
|
+
"J",
|
|
53
|
+
"J",
|
|
54
|
+
"A",
|
|
55
|
+
"S",
|
|
56
|
+
"O",
|
|
57
|
+
"N",
|
|
58
|
+
"D"
|
|
59
|
+
],
|
|
60
|
+
abbreviated: [
|
|
61
|
+
"Jan",
|
|
62
|
+
"Feb",
|
|
63
|
+
"Mar",
|
|
64
|
+
"Apr",
|
|
65
|
+
"May",
|
|
66
|
+
"Jun",
|
|
67
|
+
"Jul",
|
|
68
|
+
"Aug",
|
|
69
|
+
"Sep",
|
|
70
|
+
"Oct",
|
|
71
|
+
"Nov",
|
|
72
|
+
"Dec"
|
|
73
|
+
],
|
|
74
|
+
wide: [
|
|
75
|
+
"January",
|
|
76
|
+
"February",
|
|
77
|
+
"March",
|
|
78
|
+
"April",
|
|
79
|
+
"May",
|
|
80
|
+
"June",
|
|
81
|
+
"July",
|
|
82
|
+
"August",
|
|
83
|
+
"September",
|
|
84
|
+
"October",
|
|
85
|
+
"November",
|
|
86
|
+
"December"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
defaultWidth: "wide"
|
|
90
|
+
}),
|
|
91
|
+
day: e({
|
|
92
|
+
values: {
|
|
93
|
+
narrow: [
|
|
94
|
+
"S",
|
|
95
|
+
"M",
|
|
96
|
+
"T",
|
|
97
|
+
"W",
|
|
98
|
+
"T",
|
|
99
|
+
"F",
|
|
100
|
+
"S"
|
|
101
|
+
],
|
|
102
|
+
short: [
|
|
103
|
+
"Su",
|
|
104
|
+
"Mo",
|
|
105
|
+
"Tu",
|
|
106
|
+
"We",
|
|
107
|
+
"Th",
|
|
108
|
+
"Fr",
|
|
109
|
+
"Sa"
|
|
110
|
+
],
|
|
111
|
+
abbreviated: [
|
|
112
|
+
"Sun",
|
|
113
|
+
"Mon",
|
|
114
|
+
"Tue",
|
|
115
|
+
"Wed",
|
|
116
|
+
"Thu",
|
|
117
|
+
"Fri",
|
|
118
|
+
"Sat"
|
|
119
|
+
],
|
|
120
|
+
wide: [
|
|
121
|
+
"Sunday",
|
|
122
|
+
"Monday",
|
|
123
|
+
"Tuesday",
|
|
124
|
+
"Wednesday",
|
|
125
|
+
"Thursday",
|
|
126
|
+
"Friday",
|
|
127
|
+
"Saturday"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
defaultWidth: "wide"
|
|
131
|
+
}),
|
|
132
|
+
dayPeriod: e({
|
|
133
|
+
values: {
|
|
134
|
+
narrow: {
|
|
135
|
+
am: "a",
|
|
136
|
+
pm: "p",
|
|
137
|
+
midnight: "mi",
|
|
138
|
+
noon: "n",
|
|
139
|
+
morning: "morning",
|
|
140
|
+
afternoon: "afternoon",
|
|
141
|
+
evening: "evening",
|
|
142
|
+
night: "night"
|
|
143
|
+
},
|
|
144
|
+
abbreviated: {
|
|
145
|
+
am: "AM",
|
|
146
|
+
pm: "PM",
|
|
147
|
+
midnight: "midnight",
|
|
148
|
+
noon: "noon",
|
|
149
|
+
morning: "morning",
|
|
150
|
+
afternoon: "afternoon",
|
|
151
|
+
evening: "evening",
|
|
152
|
+
night: "night"
|
|
153
|
+
},
|
|
154
|
+
wide: {
|
|
155
|
+
am: "a.m.",
|
|
156
|
+
pm: "p.m.",
|
|
157
|
+
midnight: "midnight",
|
|
158
|
+
noon: "noon",
|
|
159
|
+
morning: "morning",
|
|
160
|
+
afternoon: "afternoon",
|
|
161
|
+
evening: "evening",
|
|
162
|
+
night: "night"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
defaultWidth: "wide",
|
|
166
|
+
formattingValues: {
|
|
167
|
+
narrow: {
|
|
168
|
+
am: "a",
|
|
169
|
+
pm: "p",
|
|
170
|
+
midnight: "mi",
|
|
171
|
+
noon: "n",
|
|
172
|
+
morning: "in the morning",
|
|
173
|
+
afternoon: "in the afternoon",
|
|
174
|
+
evening: "in the evening",
|
|
175
|
+
night: "at night"
|
|
176
|
+
},
|
|
177
|
+
abbreviated: {
|
|
178
|
+
am: "AM",
|
|
179
|
+
pm: "PM",
|
|
180
|
+
midnight: "midnight",
|
|
181
|
+
noon: "noon",
|
|
182
|
+
morning: "in the morning",
|
|
183
|
+
afternoon: "in the afternoon",
|
|
184
|
+
evening: "in the evening",
|
|
185
|
+
night: "at night"
|
|
186
|
+
},
|
|
187
|
+
wide: {
|
|
188
|
+
am: "a.m.",
|
|
189
|
+
pm: "p.m.",
|
|
190
|
+
midnight: "midnight",
|
|
191
|
+
noon: "noon",
|
|
192
|
+
morning: "in the morning",
|
|
193
|
+
afternoon: "in the afternoon",
|
|
194
|
+
evening: "in the evening",
|
|
195
|
+
night: "at night"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
defaultFormattingWidth: "wide"
|
|
199
|
+
})
|
|
200
|
+
};
|
|
201
|
+
//#endregion
|
|
202
|
+
export { t as localize };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./index144.cjs");var t={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+`st`;case 2:return n+`nd`;case 3:return n+`rd`}return n+`th`},era:e.buildLocalizeFn({values:{narrow:[`B`,`A`],abbreviated:[`BC`,`AD`],wide:[`Before Christ`,`Anno Domini`]},defaultWidth:`wide`}),quarter:e.buildLocalizeFn({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`]},defaultWidth:`wide`,argumentCallback:e=>e-1}),month:e.buildLocalizeFn({values:{narrow:[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],abbreviated:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],wide:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},defaultWidth:`wide`}),day:e.buildLocalizeFn({values:{narrow:[`S`,`M`,`T`,`W`,`T`,`F`,`S`],short:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],abbreviated:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],wide:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},defaultWidth:`wide`}),dayPeriod:e.buildLocalizeFn({values:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`}},defaultFormattingWidth:`wide`})};exports.localize=t;
|