@tempots/beatui 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ar-Wr6gMs-M.cjs +1 -0
- package/dist/{ar-C-kUt6f9.js → ar-fdUqbCvM.js} +154 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +1 -1
- package/dist/auth-divider-DewHpITQ.cjs +1 -0
- package/dist/{auth-divider-BIATan1F.js → auth-divider-qnJuYK-x.js} +7 -7
- package/dist/beatui.css +1711 -132
- package/dist/beatui.tailwind.css +1711 -132
- package/dist/better-auth/index.cjs.js +1 -1
- package/dist/better-auth/index.es.js +5 -5
- package/dist/{modal-BHlp4QeT.js → custom-validation-BetUqAEz.js} +186 -186
- package/dist/custom-validation-CLscGHY4.cjs +1 -0
- package/dist/{de-CP0kbElb.js → de-C5-k5Eov.js} +156 -3
- package/dist/de-DZqdSEta.cjs +1 -0
- package/dist/deep-merge-D90SW1Ci.cjs +1 -0
- package/dist/deep-merge-ZVigk5Qf.js +1765 -0
- package/dist/{duration-input-C5il_E0F.cjs → duration-input-4AQnQpyo.cjs} +1 -1
- package/dist/{duration-input-DoCCrqOG.js → duration-input-GMBmT1BE.js} +4 -4
- package/dist/{editor-toolbar-group-QVdBUbB8.cjs → editor-toolbar-group-C_ft_T8D.cjs} +1 -1
- package/dist/{editor-toolbar-group-DWUWUO-B.js → editor-toolbar-group-FpOHrmtx.js} +2 -2
- package/dist/es-CJgYfRap.cjs +1 -0
- package/dist/{es-BtIkcnsw.js → es-h6jmoF4X.js} +156 -3
- package/dist/fa-BQ5PzwNY.cjs +1 -0
- package/dist/{fa-11-rZmQ-.js → fa-BuxK837l.js} +154 -1
- package/dist/fr-Bv3TG44U.cjs +1 -0
- package/dist/{fr-C-L2F8w2.js → fr-BwILQ9G2.js} +165 -12
- package/dist/he-5LbvgMCC.cjs +1 -0
- package/dist/{he-Bu1xGoQ9.js → he-yC9Sc7JD.js} +154 -1
- package/dist/{hi-CewH-MAH.js → hi-Da7rcCpP.js} +154 -1
- package/dist/hi-YWhWcG_L.cjs +1 -0
- package/dist/{index-BGKz2Nol.js → index-DI8bf9oC.js} +175 -172
- package/dist/index-DeUj-5ph.cjs +1 -0
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +11548 -8326
- package/dist/{input-container-CO3DNqpp.js → input-container-8JFB11xN.js} +1 -1
- package/dist/{input-container-BkPcNDaZ.cjs → input-container-CyOgiiQD.cjs} +1 -1
- package/dist/it-BxOIJE45.cjs +1 -0
- package/dist/{it-5hiKQO_p.js → it-Yeklau78.js} +156 -3
- package/dist/ja-CNhjK06P.cjs +1 -0
- package/dist/{ja-CGfEmZrm.js → ja-Dxj9Q5Yd.js} +155 -2
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +10 -10
- package/dist/json-schema-display/index.cjs.js +1 -1
- package/dist/json-schema-display/index.es.js +1 -1
- package/dist/json-structure/index.cjs.js +1 -1
- package/dist/json-structure/index.es.js +5 -5
- package/dist/ko-DgkqcXTs.cjs +1 -0
- package/dist/{ko-DZthvREd.js → ko-gn_MsegK.js} +154 -1
- package/dist/lexical/index.cjs.js +1 -1
- package/dist/lexical/index.es.js +4 -4
- package/dist/nl-Dy9lmbBO.cjs +1 -0
- package/dist/{nl-CcKyHlQ7.js → nl-vHNFtXXb.js} +162 -9
- package/dist/{notice-BXKtBEiC.js → notice-B6ojfenv.js} +4 -4
- package/dist/{notice-BBnSXYUc.cjs → notice-p2IqXS5-.cjs} +1 -1
- package/dist/{oneof-branch-detection-DSzC0PkO.js → oneof-branch-detection-Q_jxvJIA.js} +1 -1
- package/dist/{oneof-branch-detection-BEkAezNi.cjs → oneof-branch-detection-xDDDdYRk.cjs} +1 -1
- package/dist/pl-BtYbtsmG.cjs +1 -0
- package/dist/{pl-Mwtjp4MV.js → pl-C0UdHla0.js} +184 -31
- package/dist/prosemirror/index.cjs.js +1 -1
- package/dist/prosemirror/index.es.js +4 -4
- package/dist/pt-CtNmqQ1X.cjs +1 -0
- package/dist/{pt-BaTsY-8f.js → pt-DGKtfN0d.js} +156 -3
- package/dist/ru-BaL_NPRU.cjs +1 -0
- package/dist/{ru-CvbGmz5s.js → ru-CpXYLt-v.js} +154 -1
- package/dist/tailwind/preset.cjs.js +1 -1
- package/dist/tailwind/preset.es.js +1 -1
- package/dist/tailwind/vite-plugin.cjs.js +1 -1
- package/dist/tailwind/vite-plugin.es.js +1 -1
- package/dist/{text-input-D_IxFd0M.cjs → text-input-DS5zlXb2.cjs} +1 -1
- package/dist/{text-input-BAn02BzO.js → text-input-NJypZSnE.js} +1 -1
- package/dist/{toolbar-CnecqhaU.cjs → toolbar-BBwfe8U9.cjs} +1 -1
- package/dist/{toolbar-BKan3NHw.js → toolbar-BF2L6WKC.js} +1 -1
- package/dist/{tr-YFqQdZjM.js → tr-DIFZDFW_.js} +156 -3
- package/dist/tr-DwOd87oB.cjs +1 -0
- package/dist/{translations-CxDUnbXn.js → translations-5cXBrENb.js} +1 -1
- package/dist/{translations-DT5QQ4WO.js → translations-BCMP-h52.js} +269 -115
- package/dist/{translations-C_-cObaF.cjs → translations-BqWc0ZHz.cjs} +1 -1
- package/dist/translations-EwEmHe3v.cjs +1 -0
- package/dist/types/beatui-i18n/default.d.ts +109 -0
- package/dist/types/beatui-i18n/locales/en.d.ts +109 -0
- package/dist/types/beatui-i18n/translations.d.ts +109 -0
- package/dist/types/components/button/copy-button.d.ts +42 -0
- package/dist/types/components/button/index.d.ts +1 -0
- package/dist/types/components/button/toggle-button-group.d.ts +2 -2
- package/dist/types/components/button/toggle-button.d.ts +2 -2
- package/dist/types/components/data/date-picker-shared.d.ts +2 -5
- package/dist/types/components/data/date-picker.d.ts +1 -1
- package/dist/types/components/data/date-range-picker.d.ts +1 -1
- package/dist/types/components/data/index.d.ts +3 -0
- package/dist/types/components/data/stat-card.d.ts +108 -0
- package/dist/types/components/data/time-picker.d.ts +54 -0
- package/dist/types/components/data/virtual-scrolling/index.d.ts +1 -0
- package/dist/types/components/data/virtual-scrolling/virtual-list.d.ts +91 -0
- package/dist/types/components/form/input/checkbox-input.d.ts +1 -1
- package/dist/types/components/form/input/color-input.d.ts +1 -1
- package/dist/types/components/form/input/color-picker/canvas-draw.d.ts +12 -0
- package/dist/types/components/form/input/color-picker/channel-picker.d.ts +71 -0
- package/dist/types/components/form/input/color-picker/hex-color-picker.d.ts +20 -0
- package/dist/types/components/form/input/color-picker/hsl-color-picker.d.ts +14 -0
- package/dist/types/components/form/input/color-picker/hwb-color-picker.d.ts +15 -0
- package/dist/types/components/form/input/color-picker/index.d.ts +7 -0
- package/dist/types/components/form/input/color-picker/oklch-color-picker.d.ts +15 -0
- package/dist/types/components/form/input/color-picker/rgb-color-picker.d.ts +17 -0
- package/dist/types/components/form/input/color-swatch-input.d.ts +1 -1
- package/dist/types/components/form/input/combobox-input.d.ts +1 -1
- package/dist/types/components/form/input/date-input.d.ts +1 -1
- package/dist/types/components/form/input/date-range-select-base.d.ts +23 -0
- package/dist/types/components/form/input/date-range-select.d.ts +64 -0
- package/dist/types/components/form/input/date-select.d.ts +52 -0
- package/dist/types/components/form/input/date-time-input.d.ts +1 -1
- package/dist/types/components/form/input/date-time-select-base.d.ts +23 -0
- package/dist/types/components/form/input/date-time-select.d.ts +66 -0
- package/dist/types/components/form/input/dropdown-input.d.ts +1 -1
- package/dist/types/components/form/input/email-input.d.ts +1 -1
- package/dist/types/components/form/input/index.d.ts +17 -0
- package/dist/types/components/form/input/nullable-date-select.d.ts +55 -0
- package/dist/types/components/form/input/nullable-date-time-select.d.ts +68 -0
- package/dist/types/components/form/input/nullable-time-select.d.ts +64 -0
- package/dist/types/components/form/input/number-input.d.ts +5 -40
- package/dist/types/components/form/input/number-stepper.d.ts +53 -0
- package/dist/types/components/form/input/open-date-range-select.d.ts +75 -0
- package/dist/types/components/form/input/otp-input.d.ts +2 -2
- package/dist/types/components/form/input/password-input.d.ts +1 -1
- package/dist/types/components/form/input/radio-group.d.ts +1 -1
- package/dist/types/components/form/input/range-slider.d.ts +4 -4
- package/dist/types/components/form/input/rating-input.d.ts +1 -1
- package/dist/types/components/form/input/segmented-input.d.ts +6 -2
- package/dist/types/components/form/input/segmented-select.d.ts +84 -0
- package/dist/types/components/form/input/slider-input.d.ts +2 -2
- package/dist/types/components/form/input/sortable-list.d.ts +68 -0
- package/dist/types/components/form/input/switch.d.ts +1 -1
- package/dist/types/components/form/input/text-area.d.ts +1 -1
- package/dist/types/components/form/input/text-input.d.ts +1 -1
- package/dist/types/components/form/input/time-format.d.ts +31 -0
- package/dist/types/components/form/input/time-select-base.d.ts +23 -0
- package/dist/types/components/form/input/time-select.d.ts +61 -0
- package/dist/types/components/form/input/transfer-list.d.ts +56 -0
- package/dist/types/components/form/input/tri-state-checkbox-input.d.ts +1 -1
- package/dist/types/components/form/input/url-input.d.ts +1 -1
- package/dist/types/components/layout/nine-slice-scroll-view.d.ts +1 -1
- package/dist/types/components/navigation/index.d.ts +1 -0
- package/dist/types/components/navigation/stepper.d.ts +102 -0
- package/dist/types/components/overlay/index.d.ts +1 -1
- package/dist/types/components/overlay/spotlight.d.ts +62 -0
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/ur-D9nLchps.cjs +1 -0
- package/dist/{ur-CdnwwnG_.js → ur-DBst-TXc.js} +154 -1
- package/dist/{use-form-CP6nftVl.cjs → use-form-Dcra7GeE.cjs} +1 -1
- package/dist/{use-form-CmQdxpOi.js → use-form-NfobsGNl.js} +2 -2
- package/dist/{vi-Bwvz1d_n.js → vi-DQOJp32U.js} +183 -30
- package/dist/vi-Dg1aiMr5.cjs +1 -0
- package/dist/widget-customization-BtkexHgm.js +1458 -0
- package/dist/widget-customization-pqmtsraC.cjs +1 -0
- package/dist/{zh-hy7Uw6c5.js → zh-DPK4HXl2.js} +154 -1
- package/dist/zh-tbwSTbmn.cjs +1 -0
- package/package.json +9 -9
- package/dist/ar-Dc56zcjW.cjs +0 -1
- package/dist/auth-divider-CVKfA8Cp.cjs +0 -1
- package/dist/de-DboQlEC4.cjs +0 -1
- package/dist/deep-merge-B33Qtlmw.cjs +0 -1
- package/dist/deep-merge-BUsrE2v4.js +0 -1704
- package/dist/es-CAmE_0Ph.cjs +0 -1
- package/dist/fa-D9LrFZdW.cjs +0 -1
- package/dist/fr-DKogQyss.cjs +0 -1
- package/dist/he-CVx91Jdr.cjs +0 -1
- package/dist/hi-BgrHV72l.cjs +0 -1
- package/dist/index-DFF7Uahh.cjs +0 -1
- package/dist/it-B1rA1F9l.cjs +0 -1
- package/dist/ja-DZnjjqoi.cjs +0 -1
- package/dist/ko-CDnYKYWU.cjs +0 -1
- package/dist/modal-BmpfNL48.cjs +0 -1
- package/dist/nl-Bj8QnDEY.cjs +0 -1
- package/dist/pl-BmuuxxVd.cjs +0 -1
- package/dist/pt-RiC0yeVA.cjs +0 -1
- package/dist/ru-pRqtOQHF.cjs +0 -1
- package/dist/tr-B9JhBJeL.cjs +0 -1
- package/dist/translations-qefRsdGi.cjs +0 -1
- package/dist/types/components/overlay/command-palette.d.ts +0 -17
- package/dist/types/utils/color.d.ts +0 -346
- package/dist/ur-BZakU0iv.cjs +0 -1
- package/dist/vi-D1nly0nb.cjs +0 -1
- package/dist/widget-customization-B0y-eesp.cjs +0 -1
- package/dist/widget-customization-CKbR4Dsg.js +0 -1066
- package/dist/zh-DBk7sSD9.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { localStorageProp as
|
|
2
|
-
import { WhenInViewport as
|
|
3
|
-
import { b as T, g as
|
|
4
|
-
function
|
|
1
|
+
import { localStorageProp as y, computedOf as m, makeProviderMark as x, Use as R, html as f, attr as u, When as v, Fragment as C, aria as p, coalesce as B, style as P, prop as $ } from "@tempots/dom";
|
|
2
|
+
import { WhenInViewport as A, Query as M } from "@tempots/ui";
|
|
3
|
+
import { b as T, g as F } from "./colors-C2sgnzFH.js";
|
|
4
|
+
function O(e, {
|
|
5
5
|
units: t = ["B", "KB", "MB", "GB", "TB"],
|
|
6
6
|
decimalPlaces: o = 0,
|
|
7
7
|
locale: r
|
|
@@ -29,7 +29,7 @@ function M(e, {
|
|
|
29
29
|
maximumFractionDigits: a === 0 ? 0 : o
|
|
30
30
|
}).format(n).replace("byte", t[a]);
|
|
31
31
|
}
|
|
32
|
-
const
|
|
32
|
+
const E = {
|
|
33
33
|
loadingExtended: "Loading, please wait",
|
|
34
34
|
loadingShort: "Loading...",
|
|
35
35
|
locale: "Locale",
|
|
@@ -87,13 +87,18 @@ const O = {
|
|
|
87
87
|
clearAllFiles: "Clear all files",
|
|
88
88
|
// inputs reset
|
|
89
89
|
clearValue: "Reset",
|
|
90
|
+
// Date range select
|
|
91
|
+
dateRangeStart: "Start",
|
|
92
|
+
dateRangeEnd: "End",
|
|
93
|
+
dateRangeNoLimit: "No limit",
|
|
94
|
+
dateRangeSelectDate: "Select date",
|
|
90
95
|
unknownType: "Unknown type",
|
|
91
96
|
filesInputInstructions: (e, t, o) => {
|
|
92
97
|
let r = e == null || e > 1 ? "Click to choose or drag files here" : "Click to choose or drag a file here";
|
|
93
98
|
if (e || t) {
|
|
94
99
|
const a = [];
|
|
95
100
|
if (e != null && e > 1 && a.push(`up to ${e} files`), t && o) {
|
|
96
|
-
const n =
|
|
101
|
+
const n = O(t, {
|
|
97
102
|
units: o
|
|
98
103
|
});
|
|
99
104
|
a.push(`max ${n} each`);
|
|
@@ -279,6 +284,155 @@ const O = {
|
|
|
279
284
|
horizontalRule: "Horizontal rule",
|
|
280
285
|
linkUrlPlaceholder: "https://example.com"
|
|
281
286
|
},
|
|
287
|
+
// Carousel
|
|
288
|
+
carousel: {
|
|
289
|
+
label: "Carousel",
|
|
290
|
+
previousSlide: "Previous slide",
|
|
291
|
+
nextSlide: "Next slide",
|
|
292
|
+
slideNavigation: "Slide navigation",
|
|
293
|
+
slideOfTotal: (e, t) => `Slide ${e} of ${t}`,
|
|
294
|
+
goToSlide: (e) => `Go to slide ${e}`
|
|
295
|
+
},
|
|
296
|
+
// Date picker
|
|
297
|
+
datePicker: {
|
|
298
|
+
label: "Date picker",
|
|
299
|
+
previousYear: "Previous year",
|
|
300
|
+
previousMonth: "Previous month",
|
|
301
|
+
selectMonth: "Select month",
|
|
302
|
+
selectYear: "Select year",
|
|
303
|
+
nextMonth: "Next month",
|
|
304
|
+
nextYear: "Next year",
|
|
305
|
+
previousYears: (e) => `Previous ${e} years`,
|
|
306
|
+
nextYears: (e) => `Next ${e} years`,
|
|
307
|
+
dateRangePickerLabel: "Date range picker",
|
|
308
|
+
monthNames: [
|
|
309
|
+
"January",
|
|
310
|
+
"February",
|
|
311
|
+
"March",
|
|
312
|
+
"April",
|
|
313
|
+
"May",
|
|
314
|
+
"June",
|
|
315
|
+
"July",
|
|
316
|
+
"August",
|
|
317
|
+
"September",
|
|
318
|
+
"October",
|
|
319
|
+
"November",
|
|
320
|
+
"December"
|
|
321
|
+
],
|
|
322
|
+
shortMonthNames: [
|
|
323
|
+
"Jan",
|
|
324
|
+
"Feb",
|
|
325
|
+
"Mar",
|
|
326
|
+
"Apr",
|
|
327
|
+
"May",
|
|
328
|
+
"Jun",
|
|
329
|
+
"Jul",
|
|
330
|
+
"Aug",
|
|
331
|
+
"Sep",
|
|
332
|
+
"Oct",
|
|
333
|
+
"Nov",
|
|
334
|
+
"Dec"
|
|
335
|
+
],
|
|
336
|
+
dayNames: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]
|
|
337
|
+
},
|
|
338
|
+
// Time picker
|
|
339
|
+
timePicker: {
|
|
340
|
+
label: "Time picker",
|
|
341
|
+
hoursLabel: "HH",
|
|
342
|
+
minutesLabel: "MM",
|
|
343
|
+
secondsLabel: "SS",
|
|
344
|
+
selectHours: "Select hours",
|
|
345
|
+
selectMinutes: "Select minutes",
|
|
346
|
+
selectSeconds: "Select seconds",
|
|
347
|
+
selectPeriod: "Select AM/PM",
|
|
348
|
+
nowLabel: "Now"
|
|
349
|
+
},
|
|
350
|
+
// Time select
|
|
351
|
+
timeSelectTime: "Select time",
|
|
352
|
+
// Date time select
|
|
353
|
+
dateTimeSelectDateTime: "Select date and time",
|
|
354
|
+
// Color picker
|
|
355
|
+
colorPicker: {
|
|
356
|
+
hue: "Hue",
|
|
357
|
+
saturation: "Saturation",
|
|
358
|
+
lightness: "Lightness",
|
|
359
|
+
alpha: "Alpha",
|
|
360
|
+
red: "Red",
|
|
361
|
+
green: "Green",
|
|
362
|
+
blue: "Blue",
|
|
363
|
+
hex: "Hex",
|
|
364
|
+
whiteness: "Whiteness",
|
|
365
|
+
blackness: "Blackness",
|
|
366
|
+
chroma: "Chroma"
|
|
367
|
+
},
|
|
368
|
+
// Spotlight
|
|
369
|
+
spotlight: {
|
|
370
|
+
placeholder: "Search...",
|
|
371
|
+
noResults: "No results found",
|
|
372
|
+
recentItems: "Recent",
|
|
373
|
+
close: "Close"
|
|
374
|
+
},
|
|
375
|
+
// Virtual list
|
|
376
|
+
virtualList: {
|
|
377
|
+
listLabel: "Scrollable list"
|
|
378
|
+
},
|
|
379
|
+
// Stepper
|
|
380
|
+
stepper: {
|
|
381
|
+
step: "Step",
|
|
382
|
+
stepOfTotal: (e, t) => `Step ${e} of ${t}`,
|
|
383
|
+
completed: "Completed",
|
|
384
|
+
next: "Next",
|
|
385
|
+
previous: "Previous",
|
|
386
|
+
complete: "Complete"
|
|
387
|
+
},
|
|
388
|
+
// Sortable list
|
|
389
|
+
sortableList: {
|
|
390
|
+
dragHandle: "Drag to reorder"
|
|
391
|
+
},
|
|
392
|
+
// Transfer list
|
|
393
|
+
transferList: {
|
|
394
|
+
available: "Available",
|
|
395
|
+
selected: "Selected",
|
|
396
|
+
moveRight: "Move to selected",
|
|
397
|
+
moveLeft: "Move to available",
|
|
398
|
+
moveAllRight: "Move all to selected",
|
|
399
|
+
moveAllLeft: "Move all to available",
|
|
400
|
+
searchAvailable: "Search available items…",
|
|
401
|
+
searchSelected: "Search selected items…"
|
|
402
|
+
},
|
|
403
|
+
// Copy button
|
|
404
|
+
copyButton: {
|
|
405
|
+
copied: "Copied!",
|
|
406
|
+
copyToClipboard: "Copy to clipboard"
|
|
407
|
+
},
|
|
408
|
+
// Number stepper
|
|
409
|
+
numberStepper: {
|
|
410
|
+
increment: "Increment",
|
|
411
|
+
decrement: "Decrement",
|
|
412
|
+
value: "Value"
|
|
413
|
+
},
|
|
414
|
+
// Stat card
|
|
415
|
+
statCard: {
|
|
416
|
+
trendUp: "Trending up",
|
|
417
|
+
trendDown: "Trending down",
|
|
418
|
+
trendFlat: "No change"
|
|
419
|
+
},
|
|
420
|
+
// OTP input
|
|
421
|
+
otpInputLabel: "One-time password input",
|
|
422
|
+
otpDigitLabel: (e, t) => `Digit ${e} of ${t}`,
|
|
423
|
+
// Nine-slice scroll view
|
|
424
|
+
scrollableGridView: "Scrollable grid view",
|
|
425
|
+
// Onboarding tour
|
|
426
|
+
onboardingTour: {
|
|
427
|
+
label: "Guided tour",
|
|
428
|
+
stepIndicator: (e, t) => `Step ${e} of ${t}`,
|
|
429
|
+
skip: "Skip",
|
|
430
|
+
previous: "Previous",
|
|
431
|
+
next: "Next",
|
|
432
|
+
finish: "Finish"
|
|
433
|
+
},
|
|
434
|
+
// Combobox
|
|
435
|
+
searchPlaceholder: "Search",
|
|
282
436
|
// PDF Page Viewer
|
|
283
437
|
pdfPageViewer: {
|
|
284
438
|
loading: "Loading PDF...",
|
|
@@ -287,7 +441,7 @@ const O = {
|
|
|
287
441
|
pageOutOfRange: (e, t) => `Page ${e} is out of range (1-${t})`,
|
|
288
442
|
renderFailed: "Failed to render PDF page"
|
|
289
443
|
}
|
|
290
|
-
},
|
|
444
|
+
}, k = E, w = "en", V = /* @__PURE__ */ new Set([
|
|
291
445
|
"ar",
|
|
292
446
|
// Arabic
|
|
293
447
|
"he",
|
|
@@ -313,24 +467,24 @@ const O = {
|
|
|
313
467
|
"in"
|
|
314
468
|
// Indonesian (deprecated, but sometimes confused)
|
|
315
469
|
]);
|
|
316
|
-
function
|
|
470
|
+
function I(e) {
|
|
317
471
|
if (!e) return "ltr";
|
|
318
472
|
const t = e.split(/[-_]/)[0].toLowerCase();
|
|
319
473
|
return V.has(t) ? "rtl" : "ltr";
|
|
320
474
|
}
|
|
321
|
-
function
|
|
322
|
-
return e === "auto" ?
|
|
475
|
+
function H(e, t) {
|
|
476
|
+
return e === "auto" ? I(t) : e;
|
|
323
477
|
}
|
|
324
478
|
function ue(e) {
|
|
325
479
|
return `b-${e}`;
|
|
326
480
|
}
|
|
327
481
|
function de(e) {
|
|
328
|
-
return
|
|
482
|
+
return I(e) === "rtl";
|
|
329
483
|
}
|
|
330
|
-
function
|
|
484
|
+
function pe(e) {
|
|
331
485
|
return e === "ltr" ? "rtl" : "ltr";
|
|
332
486
|
}
|
|
333
|
-
const
|
|
487
|
+
const q = {
|
|
334
488
|
ltr: {
|
|
335
489
|
"inline-start": "left",
|
|
336
490
|
"inline-end": "right",
|
|
@@ -345,22 +499,22 @@ const j = {
|
|
|
345
499
|
}
|
|
346
500
|
};
|
|
347
501
|
function he(e, t) {
|
|
348
|
-
return
|
|
502
|
+
return q[t][e];
|
|
349
503
|
}
|
|
350
|
-
const
|
|
504
|
+
const G = {
|
|
351
505
|
mark: x("Locale"),
|
|
352
506
|
create: (e) => {
|
|
353
|
-
const t =
|
|
507
|
+
const t = y({
|
|
354
508
|
defaultValue: navigator.language ?? "en-US",
|
|
355
509
|
key: "beatui-locale"
|
|
356
|
-
}), o =
|
|
510
|
+
}), o = y({
|
|
357
511
|
defaultValue: "auto",
|
|
358
512
|
key: "beatui-direction-preference"
|
|
359
|
-
}), r =
|
|
513
|
+
}), r = m(
|
|
360
514
|
t,
|
|
361
515
|
o
|
|
362
516
|
)(
|
|
363
|
-
(n, l) =>
|
|
517
|
+
(n, l) => H(l, n)
|
|
364
518
|
);
|
|
365
519
|
return {
|
|
366
520
|
value: {
|
|
@@ -376,9 +530,9 @@ const U = {
|
|
|
376
530
|
};
|
|
377
531
|
}
|
|
378
532
|
}, {
|
|
379
|
-
variants:
|
|
380
|
-
special:
|
|
381
|
-
overrides:
|
|
533
|
+
variants: U,
|
|
534
|
+
special: j,
|
|
535
|
+
overrides: S
|
|
382
536
|
} = T;
|
|
383
537
|
function d(e, t) {
|
|
384
538
|
switch (e) {
|
|
@@ -389,19 +543,19 @@ function d(e, t) {
|
|
|
389
543
|
case "transparent":
|
|
390
544
|
return "transparent";
|
|
391
545
|
default:
|
|
392
|
-
return
|
|
546
|
+
return F(e, t);
|
|
393
547
|
}
|
|
394
548
|
}
|
|
395
549
|
function D(e, t) {
|
|
396
|
-
const o =
|
|
550
|
+
const o = j[e];
|
|
397
551
|
if (!o) return;
|
|
398
552
|
if (t === "light")
|
|
399
553
|
return o;
|
|
400
|
-
const r =
|
|
554
|
+
const r = S[e];
|
|
401
555
|
return r ? r[t] : o;
|
|
402
556
|
}
|
|
403
|
-
function
|
|
404
|
-
const r =
|
|
557
|
+
function fe(e, t, o) {
|
|
558
|
+
const r = S[e];
|
|
405
559
|
if (r) {
|
|
406
560
|
const n = r[o];
|
|
407
561
|
if (n)
|
|
@@ -415,7 +569,7 @@ function pe(e, t, o) {
|
|
|
415
569
|
textColor: n.color
|
|
416
570
|
};
|
|
417
571
|
}
|
|
418
|
-
const a =
|
|
572
|
+
const a = U[t][o];
|
|
419
573
|
return {
|
|
420
574
|
backgroundColor: d(e, a.bgShade),
|
|
421
575
|
textColor: a.textColor
|
|
@@ -424,15 +578,15 @@ function pe(e, t, o) {
|
|
|
424
578
|
const z = {
|
|
425
579
|
light: { shade: 700, textColor: "var(--color-white)" },
|
|
426
580
|
dark: { shade: 500, textColor: "var(--text-inverted-dark)" }
|
|
427
|
-
},
|
|
581
|
+
}, W = {
|
|
428
582
|
light: { shade: 200, textColor: "var(--text-normal-light)" },
|
|
429
583
|
dark: { shade: 700, textColor: "var(--text-normal-dark)" }
|
|
430
|
-
},
|
|
584
|
+
}, _ = {
|
|
431
585
|
light: { shade: 400, textColor: "var(--text-normal-light)" },
|
|
432
586
|
dark: { shade: 600, textColor: "var(--text-normal-dark)" }
|
|
433
587
|
};
|
|
434
|
-
function
|
|
435
|
-
const r =
|
|
588
|
+
function me(e, t, o) {
|
|
589
|
+
const r = S[e];
|
|
436
590
|
if (r) {
|
|
437
591
|
const n = r[o];
|
|
438
592
|
if (n)
|
|
@@ -451,13 +605,13 @@ function ge(e, t, o) {
|
|
|
451
605
|
textColor: l.textColor
|
|
452
606
|
};
|
|
453
607
|
}
|
|
454
|
-
const a = t === "light" ?
|
|
608
|
+
const a = t === "light" ? W[o] : _[o];
|
|
455
609
|
return {
|
|
456
610
|
backgroundColor: d(e, a.shade),
|
|
457
611
|
textColor: a.textColor
|
|
458
612
|
};
|
|
459
613
|
}
|
|
460
|
-
function
|
|
614
|
+
function ge(e, t) {
|
|
461
615
|
const o = t === "light" ? 500 : 600;
|
|
462
616
|
switch (e) {
|
|
463
617
|
case "white":
|
|
@@ -470,22 +624,22 @@ function me(e, t) {
|
|
|
470
624
|
return d(e, o);
|
|
471
625
|
}
|
|
472
626
|
}
|
|
473
|
-
function
|
|
627
|
+
function be(e, t) {
|
|
474
628
|
return e === "white" ? "var(--color-white)" : e === "black" ? "var(--color-black)" : e === "transparent" ? "inherit" : d(e, t === "light" ? 800 : 200);
|
|
475
629
|
}
|
|
476
630
|
function L(e, t, o) {
|
|
477
631
|
return t === "soft" ? d(e, o === "light" ? 300 : 700) : d(e, o === "light" ? 500 : 600);
|
|
478
632
|
}
|
|
479
|
-
const
|
|
633
|
+
const J = "bui-icons", g = /* @__PURE__ */ new Map(), N = (() => {
|
|
480
634
|
try {
|
|
481
635
|
return typeof indexedDB < "u" && indexedDB !== null;
|
|
482
636
|
} catch {
|
|
483
637
|
return !1;
|
|
484
638
|
}
|
|
485
639
|
})();
|
|
486
|
-
function
|
|
487
|
-
return
|
|
488
|
-
const o = indexedDB.open(
|
|
640
|
+
function Y() {
|
|
641
|
+
return N ? new Promise((e, t) => {
|
|
642
|
+
const o = indexedDB.open(J, 1);
|
|
489
643
|
o.onupgradeneeded = function(r) {
|
|
490
644
|
const a = r.target.result;
|
|
491
645
|
a.objectStoreNames.contains("icons") || a.createObjectStore("icons");
|
|
@@ -496,25 +650,25 @@ function J() {
|
|
|
496
650
|
};
|
|
497
651
|
}) : Promise.reject(new Error("IndexedDB not available"));
|
|
498
652
|
}
|
|
499
|
-
const
|
|
500
|
-
async function
|
|
653
|
+
const b = N ? Y() : null;
|
|
654
|
+
async function K(e, t) {
|
|
501
655
|
try {
|
|
502
|
-
if (
|
|
503
|
-
const o = await
|
|
656
|
+
if (b) {
|
|
657
|
+
const o = await b;
|
|
504
658
|
return new Promise((r, a) => {
|
|
505
659
|
const n = o.transaction("icons", "readwrite");
|
|
506
660
|
n.objectStore("icons").put(t, e), n.oncomplete = () => r(), n.onerror = a;
|
|
507
661
|
});
|
|
508
662
|
} else
|
|
509
|
-
|
|
663
|
+
g.set(e, t);
|
|
510
664
|
} catch {
|
|
511
|
-
|
|
665
|
+
g.set(e, t);
|
|
512
666
|
}
|
|
513
667
|
}
|
|
514
|
-
async function
|
|
668
|
+
async function Q(e) {
|
|
515
669
|
try {
|
|
516
|
-
if (
|
|
517
|
-
const t = await
|
|
670
|
+
if (b) {
|
|
671
|
+
const t = await b;
|
|
518
672
|
return new Promise((o, r) => {
|
|
519
673
|
const l = t.transaction("icons", "readonly").objectStore("icons").get(e);
|
|
520
674
|
l.onsuccess = function() {
|
|
@@ -522,9 +676,9 @@ async function Y(e) {
|
|
|
522
676
|
}, l.onerror = r;
|
|
523
677
|
});
|
|
524
678
|
} else
|
|
525
|
-
return
|
|
679
|
+
return g.get(e) || null;
|
|
526
680
|
} catch {
|
|
527
|
-
return
|
|
681
|
+
return g.get(e) || null;
|
|
528
682
|
}
|
|
529
683
|
}
|
|
530
684
|
async function Z(e) {
|
|
@@ -536,11 +690,11 @@ async function Z(e) {
|
|
|
536
690
|
});
|
|
537
691
|
}
|
|
538
692
|
async function X(e) {
|
|
539
|
-
const t = e.replace(":", "/"), o = await
|
|
693
|
+
const t = e.replace(":", "/"), o = await Q(t);
|
|
540
694
|
if (o)
|
|
541
695
|
return o;
|
|
542
696
|
const r = await Z(t);
|
|
543
|
-
return await
|
|
697
|
+
return await K(t, r), r;
|
|
544
698
|
}
|
|
545
699
|
function ee(e) {
|
|
546
700
|
return ["bc-icon", `bc-icon--${e}`].join(" ");
|
|
@@ -550,7 +704,7 @@ function te(e, t = "solid") {
|
|
|
550
704
|
const o = L(e, t, "light"), r = L(e, t, "dark");
|
|
551
705
|
return `--icon-color: ${o}; --icon-color-dark: ${r}`;
|
|
552
706
|
}
|
|
553
|
-
function
|
|
707
|
+
function ve({
|
|
554
708
|
icon: e,
|
|
555
709
|
size: t = "md",
|
|
556
710
|
color: o,
|
|
@@ -558,18 +712,18 @@ function be({
|
|
|
558
712
|
accessibility: a = "auto",
|
|
559
713
|
tone: n = "solid"
|
|
560
714
|
}, ...l) {
|
|
561
|
-
const c =
|
|
715
|
+
const c = m(
|
|
562
716
|
a,
|
|
563
717
|
r
|
|
564
718
|
)((i, s) => i === "decorative" ? !1 : i === "informative" ? !0 : s != null && s !== "");
|
|
565
|
-
return
|
|
719
|
+
return R(
|
|
566
720
|
le,
|
|
567
|
-
(i) =>
|
|
721
|
+
(i) => f.span(
|
|
568
722
|
u.class(
|
|
569
|
-
|
|
723
|
+
m(t, o)((s) => ee(s ?? "md"))
|
|
570
724
|
),
|
|
571
725
|
u.style(
|
|
572
|
-
|
|
726
|
+
m(
|
|
573
727
|
o,
|
|
574
728
|
n
|
|
575
729
|
)(
|
|
@@ -577,43 +731,43 @@ function be({
|
|
|
577
731
|
)
|
|
578
732
|
),
|
|
579
733
|
// Add accessibility attributes based on icon type
|
|
580
|
-
|
|
734
|
+
v(
|
|
581
735
|
c,
|
|
582
|
-
() =>
|
|
736
|
+
() => C(
|
|
583
737
|
u.role("img"),
|
|
584
|
-
|
|
738
|
+
p.label(B(r, i.$.iconDescription))
|
|
585
739
|
),
|
|
586
|
-
() =>
|
|
740
|
+
() => p.hidden(!0)
|
|
587
741
|
),
|
|
588
|
-
|
|
742
|
+
A(
|
|
589
743
|
{ once: !0 },
|
|
590
|
-
() =>
|
|
744
|
+
() => M({
|
|
591
745
|
request: e,
|
|
592
746
|
load: ({ request: s }) => X(s),
|
|
593
747
|
convertError: String,
|
|
594
|
-
success: ({ value: s }) =>
|
|
595
|
-
|
|
596
|
-
|
|
748
|
+
success: ({ value: s }) => f.span(
|
|
749
|
+
P.width("100%"),
|
|
750
|
+
P.height("100%"),
|
|
597
751
|
u.innerHTML(s)
|
|
598
752
|
),
|
|
599
|
-
pending: () =>
|
|
753
|
+
pending: () => f.span(
|
|
600
754
|
u.class("animate-spin"),
|
|
601
755
|
// Loading state accessibility
|
|
602
|
-
|
|
756
|
+
v(
|
|
603
757
|
c,
|
|
604
|
-
() =>
|
|
605
|
-
() =>
|
|
758
|
+
() => C(u.role("img"), p.label(i.$.loadingIcon)),
|
|
759
|
+
() => p.hidden(!0)
|
|
606
760
|
),
|
|
607
761
|
"↻"
|
|
608
762
|
),
|
|
609
|
-
failure: ({ error: s }) =>
|
|
763
|
+
failure: ({ error: s }) => f.span(
|
|
610
764
|
u.title(s),
|
|
611
765
|
u.class("text-red-500"),
|
|
612
766
|
// Error state accessibility
|
|
613
|
-
|
|
767
|
+
v(
|
|
614
768
|
c,
|
|
615
|
-
() =>
|
|
616
|
-
() =>
|
|
769
|
+
() => C(u.role("img"), p.label(i.$.failedToLoadIcon)),
|
|
770
|
+
() => p.hidden(!0)
|
|
617
771
|
),
|
|
618
772
|
"🚫"
|
|
619
773
|
)
|
|
@@ -633,7 +787,7 @@ function ne({
|
|
|
633
787
|
defaultMessages: o,
|
|
634
788
|
localeLoader: r
|
|
635
789
|
}) {
|
|
636
|
-
const a =
|
|
790
|
+
const a = $(t), n = $(o), l = e.on(async (c) => {
|
|
637
791
|
if (c === a.value) return;
|
|
638
792
|
a.set(c);
|
|
639
793
|
const i = oe(c);
|
|
@@ -678,7 +832,7 @@ function re({
|
|
|
678
832
|
create: (a, n) => {
|
|
679
833
|
const {
|
|
680
834
|
value: { locale: l }
|
|
681
|
-
} = n.getProvider(
|
|
835
|
+
} = n.getProvider(G.mark), { t: c, dispose: i } = ne({
|
|
682
836
|
locale: l,
|
|
683
837
|
defaultMessages: t,
|
|
684
838
|
defaultLocale: e,
|
|
@@ -692,55 +846,55 @@ function re({
|
|
|
692
846
|
};
|
|
693
847
|
}
|
|
694
848
|
const ae = /* @__PURE__ */ Object.assign({
|
|
695
|
-
"./locales/ar.ts": () => import("./ar-
|
|
696
|
-
"./locales/de.ts": () => import("./de-
|
|
697
|
-
"./locales/es.ts": () => import("./es-
|
|
698
|
-
"./locales/fa.ts": () => import("./fa-
|
|
699
|
-
"./locales/fr.ts": () => import("./fr-
|
|
700
|
-
"./locales/he.ts": () => import("./he-
|
|
701
|
-
"./locales/hi.ts": () => import("./hi-
|
|
702
|
-
"./locales/it.ts": () => import("./it-
|
|
703
|
-
"./locales/ja.ts": () => import("./ja-
|
|
704
|
-
"./locales/ko.ts": () => import("./ko-
|
|
705
|
-
"./locales/nl.ts": () => import("./nl-
|
|
706
|
-
"./locales/pl.ts": () => import("./pl-
|
|
707
|
-
"./locales/pt.ts": () => import("./pt-
|
|
708
|
-
"./locales/ru.ts": () => import("./ru-
|
|
709
|
-
"./locales/tr.ts": () => import("./tr-
|
|
710
|
-
"./locales/ur.ts": () => import("./ur-
|
|
711
|
-
"./locales/vi.ts": () => import("./vi-
|
|
712
|
-
"./locales/zh.ts": () => import("./zh-
|
|
849
|
+
"./locales/ar.ts": () => import("./ar-fdUqbCvM.js").then((e) => e.default),
|
|
850
|
+
"./locales/de.ts": () => import("./de-C5-k5Eov.js").then((e) => e.default),
|
|
851
|
+
"./locales/es.ts": () => import("./es-h6jmoF4X.js").then((e) => e.default),
|
|
852
|
+
"./locales/fa.ts": () => import("./fa-BuxK837l.js").then((e) => e.default),
|
|
853
|
+
"./locales/fr.ts": () => import("./fr-BwILQ9G2.js").then((e) => e.default),
|
|
854
|
+
"./locales/he.ts": () => import("./he-yC9Sc7JD.js").then((e) => e.default),
|
|
855
|
+
"./locales/hi.ts": () => import("./hi-Da7rcCpP.js").then((e) => e.default),
|
|
856
|
+
"./locales/it.ts": () => import("./it-Yeklau78.js").then((e) => e.default),
|
|
857
|
+
"./locales/ja.ts": () => import("./ja-Dxj9Q5Yd.js").then((e) => e.default),
|
|
858
|
+
"./locales/ko.ts": () => import("./ko-gn_MsegK.js").then((e) => e.default),
|
|
859
|
+
"./locales/nl.ts": () => import("./nl-vHNFtXXb.js").then((e) => e.default),
|
|
860
|
+
"./locales/pl.ts": () => import("./pl-C0UdHla0.js").then((e) => e.default),
|
|
861
|
+
"./locales/pt.ts": () => import("./pt-DGKtfN0d.js").then((e) => e.default),
|
|
862
|
+
"./locales/ru.ts": () => import("./ru-CpXYLt-v.js").then((e) => e.default),
|
|
863
|
+
"./locales/tr.ts": () => import("./tr-DIFZDFW_.js").then((e) => e.default),
|
|
864
|
+
"./locales/ur.ts": () => import("./ur-DBst-TXc.js").then((e) => e.default),
|
|
865
|
+
"./locales/vi.ts": () => import("./vi-DQOJp32U.js").then((e) => e.default),
|
|
866
|
+
"./locales/zh.ts": () => import("./zh-DPK4HXl2.js").then((e) => e.default)
|
|
713
867
|
}), le = re({
|
|
714
|
-
defaultLocale:
|
|
715
|
-
defaultMessages:
|
|
868
|
+
defaultLocale: w,
|
|
869
|
+
defaultMessages: k,
|
|
716
870
|
localeLoader: async (e) => {
|
|
717
|
-
if (e ===
|
|
871
|
+
if (e === w) return k;
|
|
718
872
|
const t = ae[`./locales/${e}.ts`];
|
|
719
|
-
return t ? await t() :
|
|
873
|
+
return t ? await t() : k;
|
|
720
874
|
},
|
|
721
875
|
providerName: "BeatUII18n"
|
|
722
876
|
});
|
|
723
877
|
export {
|
|
724
878
|
le as B,
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
879
|
+
ve as I,
|
|
880
|
+
G as L,
|
|
881
|
+
ge as a,
|
|
882
|
+
fe as b,
|
|
883
|
+
q as c,
|
|
884
|
+
k as d,
|
|
885
|
+
w as e,
|
|
886
|
+
O as f,
|
|
733
887
|
ue as g,
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
888
|
+
me as h,
|
|
889
|
+
I as i,
|
|
890
|
+
Q as j,
|
|
891
|
+
pe as k,
|
|
738
892
|
he as l,
|
|
739
893
|
re as m,
|
|
740
|
-
|
|
894
|
+
N as n,
|
|
741
895
|
de as o,
|
|
742
896
|
ne as p,
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
897
|
+
H as r,
|
|
898
|
+
K as s,
|
|
899
|
+
be as t
|
|
746
900
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./translations-
|
|
1
|
+
"use strict";const o=require("./translations-EwEmHe3v.cjs"),n={signInTitle:"Sign In",signInButton:"Sign In",emailLabel:"Email",passwordLabel:"Password",rememberMeLabel:"Remember me",forgotPasswordLink:"Forgot password?",noAccountLink:"Don't have an account? Sign up",signUpTitle:"Sign Up",signUpButton:"Sign Up",nameLabel:"Name",confirmPasswordLabel:"Confirm Password",acceptTermsLabel:"I accept the terms and conditions",hasAccountLink:"Already have an account? Sign in",resetPasswordTitle:"Reset Password",resetPasswordButton:"Reset Password",resetPasswordDescription:"Enter your email to reset your password.",backToSignInLink:"Back to sign in",continueWithProvider:e=>`Continue with ${e}`,passwordStrengthWeak:"Weak",passwordStrengthFair:"Fair",passwordStrengthGood:"Good",passwordStrengthStrong:"Strong",orDivider:"or",error:"An error occurred",required:"Required",authenticationTitle:"Authentication",passwordMinLength:e=>`Password must be at least ${e} characters`,passwordRequireUppercase:"Password must contain at least one uppercase letter",passwordRequireLowercase:"Password must contain at least one lowercase letter",passwordRequireNumber:"Password must contain at least one number",passwordRequireSpecialChar:"Password must contain at least one special character",emailRequired:"Email is required",invalidEmail:"Please enter a valid email address",passwordRequired:"Password is required",nameRequired:"Name is required",confirmPasswordRequired:"Please confirm your password",acceptTermsRequired:"You must accept the terms and conditions",passwordsDoNotMatch:"Passwords don't match",invalidPassword:"Invalid password",invalidEmailAddress:"Invalid email"},s=n,t="en",i=Object.assign({"./locales/ar.ts":()=>Promise.resolve().then(()=>require("./ar-kZBzg02I.cjs")).then(e=>e.default),"./locales/de.ts":()=>Promise.resolve().then(()=>require("./de-B03SM9eF.cjs")).then(e=>e.default),"./locales/es.ts":()=>Promise.resolve().then(()=>require("./es-BRa0hV-7.cjs")).then(e=>e.default),"./locales/fa.ts":()=>Promise.resolve().then(()=>require("./fa-BxCSKn9j.cjs")).then(e=>e.default),"./locales/fr.ts":()=>Promise.resolve().then(()=>require("./fr-Dq6RAY9s.cjs")).then(e=>e.default),"./locales/he.ts":()=>Promise.resolve().then(()=>require("./he-BBX1h9uD.cjs")).then(e=>e.default),"./locales/hi.ts":()=>Promise.resolve().then(()=>require("./hi-Cd0YQZTU.cjs")).then(e=>e.default),"./locales/it.ts":()=>Promise.resolve().then(()=>require("./it-ByIEk5Cq.cjs")).then(e=>e.default),"./locales/ja.ts":()=>Promise.resolve().then(()=>require("./ja-DV6Fpp18.cjs")).then(e=>e.default),"./locales/ko.ts":()=>Promise.resolve().then(()=>require("./ko-DR1f0as8.cjs")).then(e=>e.default),"./locales/nl.ts":()=>Promise.resolve().then(()=>require("./nl-CQF0N7Mc.cjs")).then(e=>e.default),"./locales/pl.ts":()=>Promise.resolve().then(()=>require("./pl-y_w3DWF3.cjs")).then(e=>e.default),"./locales/pt.ts":()=>Promise.resolve().then(()=>require("./pt-DqaZWmbG.cjs")).then(e=>e.default),"./locales/ru.ts":()=>Promise.resolve().then(()=>require("./ru-CISMzCHR.cjs")).then(e=>e.default),"./locales/tr.ts":()=>Promise.resolve().then(()=>require("./tr-mWu2E__o.cjs")).then(e=>e.default),"./locales/ur.ts":()=>Promise.resolve().then(()=>require("./ur-B6yB2JQ7.cjs")).then(e=>e.default),"./locales/vi.ts":()=>Promise.resolve().then(()=>require("./vi-DneuUbkq.cjs")).then(e=>e.default),"./locales/zh.ts":()=>Promise.resolve().then(()=>require("./zh-DFHuW_5g.cjs")).then(e=>e.default)}),a=o.makeI18nProvider({defaultLocale:t,defaultMessages:s,localeLoader:async e=>{if(e===t)return s;const r=i[`./locales/${e}.ts`];return r?await r():s},providerName:"AuthI18n"}),l=Object.freeze(Object.defineProperty({__proto__:null,AuthI18n:a},Symbol.toStringTag,{value:"Module"}));exports.AuthI18n=a;exports.defaultMessages=s;exports.translations=l;
|