@tempots/beatui 0.25.0 → 0.26.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/{2019-BGvIfJgi.cjs → 2019-BZdoHGOO.cjs} +1 -1
- package/dist/{2019-DrrKn54V.js → 2019-Bt_x1Mqh.js} +2 -2
- package/dist/{2020-BK5C7IVQ.cjs → 2020-Bk0sGwzQ.cjs} +1 -1
- package/dist/{2020-CFnlLHs-.js → 2020-C2Ifu6RV.js} +2 -2
- package/dist/ar-CNSt2O6X.cjs +1 -0
- package/dist/{ar-BgrUqaxG.js → ar-CxLxXsxZ.js} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +547 -529
- package/dist/de-BlQbCGWj.cjs +1 -0
- package/dist/{de-D_sdCcAw.js → de-C7iv8rS5.js} +1 -1
- package/dist/es-Chf24sm_.cjs +1 -0
- package/dist/{es-DczvLqEV.js → es-DyivIdRS.js} +1 -1
- package/dist/fa-DPDyDuq_.cjs +1 -0
- package/dist/{fa-DhPP5Tgo.js → fa-T2168lXR.js} +1 -1
- package/dist/fr-BnxbTKeV.cjs +1 -0
- package/dist/{fr-D3WwoeQg.js → fr-ehNjmGC4.js} +1 -1
- package/dist/he-B9YZGENc.cjs +1 -0
- package/dist/{he-CFhi-6Rs.js → he-TD57Y17Z.js} +1 -1
- package/dist/{hi-Cqy8JcS7.js → hi-B4NbRIf5.js} +1 -1
- package/dist/hi-ZyCUnzwK.cjs +1 -0
- package/dist/{index-BMX9_XgV.js → index-C494pbos.js} +1 -1
- package/dist/{index-CvvASOCn.cjs → index-CZn1Pgwz.cjs} +4 -4
- package/dist/{index-CNVCqpBH.cjs → index-DN_efvsJ.cjs} +1 -1
- package/dist/{index-DkuGi1I_.js → index-DvqD_Y1P.js} +15 -15
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +127 -127
- package/dist/it-C5sp2CZC.cjs +1 -0
- package/dist/{it-CtMArqSp.js → it-D3x9ILJi.js} +1 -1
- package/dist/ja-31clSGC3.cjs +1 -0
- package/dist/{ja-UFqZT78C.js → ja-BSfyBDbo.js} +1 -1
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +1 -1
- package/dist/{ko-B5LB1_X_.js → ko-DNahUn8W.js} +1 -1
- package/dist/ko-j4lOKHLl.cjs +1 -0
- package/dist/{modal-C2Aa-aVN.js → modal-5GSPw0e_.js} +1 -1
- package/dist/modal-CMuvQ7U-.cjs +1 -0
- package/dist/{nl-DCfHVqzQ.js → nl-DxveNtuq.js} +1 -1
- package/dist/nl-gQLaSMRt.cjs +1 -0
- package/dist/{translations-DpZ-btu9.cjs → notice-DTflcSdc.cjs} +2 -2
- package/dist/{translations-GO9sIajX.js → notice-DuvHeGyh.js} +476 -376
- package/dist/pl-BQTsowH4.cjs +1 -0
- package/dist/{pl-UcTv39q1.js → pl-DuKW800E.js} +1 -1
- package/dist/pt-DB-njyTA.cjs +1 -0
- package/dist/{pt-CXsgmVtb.js → pt-DPt1NyaL.js} +1 -1
- package/dist/ru-CIXDYJrr.cjs +1 -0
- package/dist/{ru-C0MvZW2g.js → ru-DwiRelVA.js} +1 -1
- package/dist/{tr-CIIkc1uL.js → tr-DQIURNMa.js} +1 -1
- package/dist/tr-Dx_9vMU9.cjs +1 -0
- package/dist/{translations-CB6iJ1Rn.js → translations-D4pKsgdi.js} +1 -1
- package/dist/translations-YkLfpjMl.cjs +1 -0
- package/dist/{ur-Cpx9oyTV.js → ur-ChuKCUVI.js} +1 -1
- package/dist/ur-DpGDKEUr.cjs +1 -0
- package/dist/{notice-wSAzLfbl.js → utils-CBZohCZi.js} +647 -746
- package/dist/utils-Dz1qVHrn.cjs +1 -0
- package/dist/{vi-D24AUQ01.js → vi-CJ3gBepb.js} +1 -1
- package/dist/vi-CjpgcyEa.cjs +1 -0
- package/dist/zh-CLb0vdcx.cjs +1 -0
- package/dist/{zh-25YFRjoV.js → zh-DBCCiN2o.js} +1 -1
- package/package.json +1 -1
- package/dist/ar-BAb4yHZS.cjs +0 -1
- package/dist/de-Dn2CdXgD.cjs +0 -1
- package/dist/es-CEPxKSog.cjs +0 -1
- package/dist/fa-NvkKjIQ6.cjs +0 -1
- package/dist/fr-cR59lx1A.cjs +0 -1
- package/dist/he-CxSHPJMg.cjs +0 -1
- package/dist/hi-DLnz3lCX.cjs +0 -1
- package/dist/it-C7Kv6j-_.cjs +0 -1
- package/dist/ja-BPL80aw5.cjs +0 -1
- package/dist/ko-Cmt_34Xp.cjs +0 -1
- package/dist/modal-UsqvSvHy.cjs +0 -1
- package/dist/nl-B-WL9SX2.cjs +0 -1
- package/dist/notice-DyoWY5tY.cjs +0 -1
- package/dist/pl-TGqkSi2w.cjs +0 -1
- package/dist/pt-Ua_e-1JE.cjs +0 -1
- package/dist/ru-9YWCN6fR.cjs +0 -1
- package/dist/tr-D70Oy8aN.cjs +0 -1
- package/dist/translations-NYxsXjMT.cjs +0 -1
- package/dist/ur-DmxXuJ9O.cjs +0 -1
- package/dist/vi-Cboo_ueb.cjs +0 -1
- package/dist/zh-BXivX7rD.cjs +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { prop as U, html as m, attr as s, computedOf as y, Use as Y, Empty as O, Value as C, WithElement as X, Fragment as M, aria as A, OnDispose as z, OneOfValue as jt, on as $, style as h, When as te, coalesce as zt, ForEach as pe, Ensure as Te, OneOfType as pt, dataAttr as Fe, NotEmpty as Wt, input as J, emitValue as P, emitValueAsDate as qt, Portal as mt, WithProvider as Zt, Task as Yt, Provide as bt, makeProviderMark as Gt, MapSignal as ft, svg as Ye, svgAttr as Ge } from "@tempots/dom";
|
|
2
2
|
import { Use as hs } from "@tempots/dom";
|
|
3
3
|
import { PopOver as Kt, ElementRect as he, WindowSize as Xt, Query as Jt, Location as De, Anchor as He } from "@tempots/ui";
|
|
4
|
-
import { B as ne, C as gt, n as Ie, r as Ke, I as j, s as re, a as Pe, e as q, g as G, h as ht, i as vt, j as Re, v as xt, d as yt, S as Ue, p as Qt, l as je, w as Xe, x as Je, y as Qe } from "./
|
|
5
|
-
import {
|
|
4
|
+
import { B as ne, C as gt, n as Ie, r as Ke, I as j, s as re, a as Pe, e as q, g as G, h as ht, i as vt, j as Re, v as xt, d as yt, S as Ue, p as Qt, l as je, w as Xe, x as Je, y as Qe } from "./notice-DuvHeGyh.js";
|
|
5
|
+
import { R as xs, G as ys, c as ws, a3 as Ss, E as Cs, a1 as ks, aa as Is, L as $s, M as _s, a2 as Ts, N as Ds, Q as As, P as Vs, U as Ls, T as Bs, Y as Ms, $ as Os, Z as Ns, W as Ps, V as Es, z as Fs, k as Hs, f as Rs, a7 as Us, a5 as js, F as zs, a9 as Ws, ab as qs, A as Zs, a8 as Ys, m as Gs, q as Ks, a4 as Xs, H as Js, K as Qs, a6 as el, a0 as tl, D as nl, t as al, X as sl, u as ll, J as rl } from "./notice-DuvHeGyh.js";
|
|
6
6
|
import { T as wt, a as en } from "./theme-CJVt8QIc.js";
|
|
7
|
-
import { t as
|
|
8
|
-
import { S as tn, G as St, E as nn, F as an, N as Ct, a as oe, M as me, e as et, n as sn, W as Q, d as ln } from "./
|
|
9
|
-
import { g as
|
|
7
|
+
import { t as il, am as ul, f as cl, J as dl, c as pl, N as ml, I as bl, K as fl, d as gl, k as hl, b as vl, a as xl, ab as yl, o as wl, a0 as Sl, ae as Cl, q as kl, H as Il, A as $l, al as _l, g as Tl, E as Dl, x as Al, aj as Vl, $ as Ll, a4 as Bl, j as Ml, i as Ol, h as Nl, Y as Pl, X as El, Q as Fl, P as Hl, S as Rl, R as Ul, W as jl, V as zl, U as Wl, T as ql, a8 as Zl, a7 as Yl, aa as Gl, a9 as Kl, n as Xl, m as Jl, l as Ql, _ as er, Z as tr, ad as nr, p as ar, G as sr, z as lr, ak as rr, D as or, C as ir, w as ur, v as cr, ai as dr, ah as pr, e as mr, a3 as br, a2 as fr, M as gr, L as hr, a5 as vr, a6 as xr, r as yr, O as wr, ac as Sr, s as Cr, F as kr, y as Ir, ag as $r, B as _r, u as Tr, af as Dr, a1 as Ar } from "./index-OrV7N-wE.js";
|
|
8
|
+
import { S as tn, G as St, E as nn, F as an, N as Ct, a as oe, M as me, e as et, n as sn, W as Q, d as ln } from "./utils-CBZohCZi.js";
|
|
9
|
+
import { g as Lr, i as Br, B as Mr, l as Or, O as Nr, C as Pr, j as Er, L as Fr, k as Hr, m as Rr, o as Ur, p as jr, I as zr, q as Wr, w as qr, r as Zr, A as Yr, H as Gr, s as Kr, u as Xr, z as Jr, K as Qr, v as eo, R as to, D as no, x as ao, T as so, y as lo, b as ro, U as oo, J as io, P as uo, Q as co, V as po, h as mo, c as bo, t as fo, f as go } from "./utils-CBZohCZi.js";
|
|
10
10
|
import { g as $e } from "./timer-CQlK5LhW.js";
|
|
11
|
-
import { u as ge, A as Ee, O as rn, F as on } from "./modal-
|
|
12
|
-
import { B as vo, C as xo, M as yo, a as wo, S as So, b as Co, c as ko, o as Io, s as $o, e as _o, d as To, f as Do } from "./modal-
|
|
11
|
+
import { u as ge, A as Ee, O as rn, F as on } from "./modal-5GSPw0e_.js";
|
|
12
|
+
import { B as vo, C as xo, M as yo, a as wo, S as So, b as Co, c as ko, o as Io, s as $o, e as _o, d as To, f as Do } from "./modal-5GSPw0e_.js";
|
|
13
13
|
import { L as Vo } from "./link-portal-Cr2l9f3k.js";
|
|
14
14
|
import { b as Bo, e as Mo, i as Oo, a as No, c as Po, o as Eo, l as Fo, m as Ho, g as Ro, k as Uo, j as jo, n as zo, r as Wo, s as qo, d as Zo, h as Yo, t as Go } from "./colors-WfmhQ5e1.js";
|
|
15
15
|
function _e(e) {
|
|
@@ -3007,7 +3007,7 @@ function Qa({ includeAuthI18n: e = !1 }, ...n) {
|
|
|
3007
3007
|
t(De, {}), t(je, {}), t(ne, {}), t(wt, {});
|
|
3008
3008
|
const a = M(en(), Hn(), ...n);
|
|
3009
3009
|
return e ? Yt(
|
|
3010
|
-
() => import("./translations-
|
|
3010
|
+
() => import("./translations-D4pKsgdi.js"),
|
|
3011
3011
|
({ AuthI18n: l }) => bt(l, {}, () => a)
|
|
3012
3012
|
) : a;
|
|
3013
3013
|
});
|
|
@@ -3916,15 +3916,15 @@ export {
|
|
|
3916
3916
|
ma as AppShell,
|
|
3917
3917
|
fn as AppearanceSelector,
|
|
3918
3918
|
xs as ArrayController,
|
|
3919
|
-
|
|
3920
|
-
|
|
3919
|
+
Lr as Base64Input,
|
|
3920
|
+
Br as Base64sInput,
|
|
3921
3921
|
Mn as BaseComboboxControl,
|
|
3922
3922
|
Ca as BaseComboboxTagsControl,
|
|
3923
3923
|
xt as BaseControl,
|
|
3924
3924
|
Ln as BaseDropdownControl,
|
|
3925
|
-
|
|
3925
|
+
Mr as BaseListControl,
|
|
3926
3926
|
ys as BaseMappedControl,
|
|
3927
|
-
|
|
3927
|
+
Or as BaseNativeSelectControl,
|
|
3928
3928
|
wa as BaseSelectTagsControl,
|
|
3929
3929
|
Qa as BeatUI,
|
|
3930
3930
|
ne as BeatUII18n,
|
|
@@ -3932,7 +3932,7 @@ export {
|
|
|
3932
3932
|
vo as BooleanValidator,
|
|
3933
3933
|
Pe as Button,
|
|
3934
3934
|
as as ButtonLink,
|
|
3935
|
-
|
|
3935
|
+
Nr as Card,
|
|
3936
3936
|
fa as Center,
|
|
3937
3937
|
ba as CenterH,
|
|
3938
3938
|
ws as CheckboxInput,
|
|
@@ -3941,7 +3941,7 @@ export {
|
|
|
3941
3941
|
Tn as Collapse,
|
|
3942
3942
|
ls as CollapsibleSidebarGroup,
|
|
3943
3943
|
Fn as ColorController,
|
|
3944
|
-
|
|
3944
|
+
Pr as ColorInput,
|
|
3945
3945
|
xa as ComboboxControl,
|
|
3946
3946
|
Bn as ComboboxInput,
|
|
3947
3947
|
ka as ComboboxTagsControl,
|
|
@@ -3958,7 +3958,7 @@ export {
|
|
|
3958
3958
|
va as DropdownControl,
|
|
3959
3959
|
Vn as DropdownInput,
|
|
3960
3960
|
Za as DurationInput,
|
|
3961
|
-
|
|
3961
|
+
Er as EditableText,
|
|
3962
3962
|
Cs as EmailInput,
|
|
3963
3963
|
ks as EmphasisLabel,
|
|
3964
3964
|
Ya as EnsureControl,
|
|
@@ -3978,8 +3978,8 @@ export {
|
|
|
3978
3978
|
Ta as LazyNativeSelect,
|
|
3979
3979
|
Rn as Link,
|
|
3980
3980
|
Vo as LinkPortal,
|
|
3981
|
-
|
|
3982
|
-
|
|
3981
|
+
Fr as ListControl,
|
|
3982
|
+
Hr as ListInput,
|
|
3983
3983
|
je as Locale,
|
|
3984
3984
|
Ja as LocaleSelector,
|
|
3985
3985
|
_s as MappedControl,
|
|
@@ -3991,10 +3991,10 @@ export {
|
|
|
3991
3991
|
Ts as MutedLabel,
|
|
3992
3992
|
es as NativePdfPreview,
|
|
3993
3993
|
Ct as NativeSelect,
|
|
3994
|
-
|
|
3994
|
+
Rr as NativeSelectControl,
|
|
3995
3995
|
ns as NavigationLink,
|
|
3996
3996
|
ga as NineSliceScrollView,
|
|
3997
|
-
|
|
3997
|
+
Ds as Notice,
|
|
3998
3998
|
Va as NullableBigintInput,
|
|
3999
3999
|
Ur as NullableDateInput,
|
|
4000
4000
|
jr as NullableDateTimeInput,
|
|
@@ -4017,18 +4017,18 @@ export {
|
|
|
4017
4017
|
Qr as NullableUrlInput,
|
|
4018
4018
|
Ua as NullableZonedDateTimeInput,
|
|
4019
4019
|
eo as NumberInput,
|
|
4020
|
-
|
|
4020
|
+
As as ObjectController,
|
|
4021
4021
|
wo as ObjectValidator,
|
|
4022
4022
|
ue as Option,
|
|
4023
4023
|
rn as Overlay,
|
|
4024
|
-
|
|
4024
|
+
Vs as PasswordInput,
|
|
4025
4025
|
Ba as PlainDateInput,
|
|
4026
4026
|
Pa as PlainDateTimeInput,
|
|
4027
4027
|
Wa as PlainMonthDayInput,
|
|
4028
4028
|
Oa as PlainTimeInput,
|
|
4029
4029
|
ja as PlainYearMonthInput,
|
|
4030
4030
|
to as RatingInput,
|
|
4031
|
-
|
|
4031
|
+
Ls as RequiredSymbol,
|
|
4032
4032
|
lt as ScrollablePanel,
|
|
4033
4033
|
tn as SegmentedInput,
|
|
4034
4034
|
Sa as SelectTagsControl,
|
|
@@ -4052,7 +4052,7 @@ export {
|
|
|
4052
4052
|
kt as Tag,
|
|
4053
4053
|
La as TagsInput,
|
|
4054
4054
|
so as TextArea,
|
|
4055
|
-
|
|
4055
|
+
Bs as TextInput,
|
|
4056
4056
|
wt as Theme,
|
|
4057
4057
|
en as ThemeAppearance,
|
|
4058
4058
|
is as Toolbar,
|
|
@@ -4072,28 +4072,28 @@ export {
|
|
|
4072
4072
|
Q as WithTemporal,
|
|
4073
4073
|
Ra as ZonedDateTimeInput,
|
|
4074
4074
|
Bo as backgroundConfig,
|
|
4075
|
-
|
|
4076
|
-
|
|
4075
|
+
il as baseSpacing,
|
|
4076
|
+
ul as beatuiPreset,
|
|
4077
4077
|
Mo as bgColors,
|
|
4078
4078
|
Co as boolean,
|
|
4079
4079
|
Oo as borderColors,
|
|
4080
|
-
|
|
4081
|
-
|
|
4080
|
+
cl as breakpoints,
|
|
4081
|
+
dl as changeFontSize,
|
|
4082
4082
|
Xa as colorInputOptionsFromController,
|
|
4083
4083
|
No as colorShades,
|
|
4084
4084
|
Po as colors,
|
|
4085
4085
|
xn as compareBreakpoint,
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4086
|
+
Ms as connectCommonAttributes,
|
|
4087
|
+
Os as connectNumberInput,
|
|
4088
|
+
Ns as connectStringInput,
|
|
4089
|
+
Ps as convertStandardSchemaIssues,
|
|
4090
|
+
Es as convertStandardSchemaPathToPath,
|
|
4091
|
+
pl as createBeatuiPreset,
|
|
4092
4092
|
Ka as createColorController,
|
|
4093
4093
|
We as createLocationMatcher,
|
|
4094
4094
|
ko as createStandardSchema,
|
|
4095
|
-
|
|
4096
|
-
|
|
4095
|
+
Fs as defaultLocale,
|
|
4096
|
+
Hs as defaultMessages,
|
|
4097
4097
|
ia as delaySignal,
|
|
4098
4098
|
uo as emitExpando,
|
|
4099
4099
|
co as emitOptionExpando,
|
|
@@ -4101,136 +4101,136 @@ export {
|
|
|
4101
4101
|
po as ensureTemporal,
|
|
4102
4102
|
mo as fileToBase64,
|
|
4103
4103
|
da as findBreakpoint,
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4104
|
+
ml as fontFamily,
|
|
4105
|
+
bl as fontSize,
|
|
4106
|
+
fl as fontWeight,
|
|
4107
|
+
Rs as formatFileSize,
|
|
4108
|
+
gl as generateAllTokenVariables,
|
|
4109
|
+
hl as generateBreakpointVariables,
|
|
4110
4110
|
Je as generateButtonClasses,
|
|
4111
4111
|
Qe as generateButtonStyles,
|
|
4112
4112
|
Eo as generateColorVariables,
|
|
4113
4113
|
Fo as generateCoreColorVariables,
|
|
4114
|
-
|
|
4115
|
-
|
|
4114
|
+
vl as generateCoreTokenVariables,
|
|
4115
|
+
xl as generateFontFamilyOverrideVariables,
|
|
4116
4116
|
it as generateLinkClasses,
|
|
4117
4117
|
ut as generateLinkStyles,
|
|
4118
|
-
|
|
4119
|
-
|
|
4118
|
+
yl as generateMotionVariables,
|
|
4119
|
+
wl as generateRadiusVariables,
|
|
4120
4120
|
Ho as generateSemanticColorVariables,
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4121
|
+
Sl as generateSemanticFontVariables,
|
|
4122
|
+
Cl as generateSemanticMotionVariables,
|
|
4123
|
+
kl as generateSemanticRadiusVariables,
|
|
4124
|
+
Il as generateSemanticShadowVariables,
|
|
4125
|
+
$l as generateSemanticSpacingVariables,
|
|
4126
|
+
_l as generateSemanticTextShadowVariables,
|
|
4127
|
+
Tl as generateSemanticTokenVariables,
|
|
4128
|
+
Dl as generateShadowVariables,
|
|
4129
|
+
Al as generateSpacingVariables,
|
|
4130
|
+
Vl as generateTextShadowVariables,
|
|
4131
|
+
Ll as generateTypographyVariables,
|
|
4132
|
+
Bl as generateZIndexVariables,
|
|
4133
|
+
Ml as getBreakpointMediaQuery,
|
|
4134
|
+
Ol as getBreakpointVar,
|
|
4135
|
+
Nl as getBreakpointVarName,
|
|
4136
4136
|
Ro as getColorVar,
|
|
4137
4137
|
Uo as getColorVarName,
|
|
4138
4138
|
oa as getContrastRatio,
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4139
|
+
Us as getDirectionClassName,
|
|
4140
|
+
js as getDirectionFromLocale,
|
|
4141
|
+
Pl as getFontFamilyVar,
|
|
4142
|
+
El as getFontFamilyVarName,
|
|
4143
|
+
Fl as getFontSizeVar,
|
|
4144
|
+
Hl as getFontSizeVarName,
|
|
4145
|
+
Rl as getFontWeightVar,
|
|
4146
|
+
Ul as getFontWeightVarName,
|
|
4147
|
+
zs as getIconLocally,
|
|
4148
|
+
jl as getLetterSpacingVar,
|
|
4149
|
+
zl as getLetterSpacingVarName,
|
|
4150
|
+
Wl as getLineHeightVar,
|
|
4151
|
+
ql as getLineHeightVarName,
|
|
4152
|
+
Zl as getMotionDurationVar,
|
|
4153
|
+
Yl as getMotionDurationVarName,
|
|
4154
|
+
Gl as getMotionEasingVar,
|
|
4155
|
+
Kl as getMotionEasingVarName,
|
|
4156
|
+
Ws as getOppositeDirection,
|
|
4157
|
+
qs as getPhysicalProperty,
|
|
4158
|
+
Xl as getRadiusMediaQuery,
|
|
4159
|
+
Jl as getRadiusVar,
|
|
4160
|
+
Ql as getRadiusVarName,
|
|
4161
|
+
er as getSemanticFontVar,
|
|
4162
|
+
tr as getSemanticFontVarName,
|
|
4163
|
+
nr as getSemanticMotionVarName,
|
|
4164
|
+
ar as getSemanticRadiusVarName,
|
|
4165
|
+
sr as getSemanticShadowVarName,
|
|
4166
|
+
lr as getSemanticSpacingVarName,
|
|
4167
|
+
rr as getSemanticTextShadowVarName,
|
|
4168
|
+
or as getShadowVar,
|
|
4169
|
+
ir as getShadowVarName,
|
|
4170
|
+
ur as getSpacingVar,
|
|
4171
|
+
cr as getSpacingVarName,
|
|
4172
|
+
dr as getTextShadowVar,
|
|
4173
|
+
pr as getTextShadowVarName,
|
|
4174
|
+
mr as getTokenValue,
|
|
4175
|
+
br as getZIndexVar,
|
|
4176
|
+
fr as getZIndexVarName,
|
|
4177
4177
|
tt as hexToRgb,
|
|
4178
4178
|
ua as increaseSize,
|
|
4179
4179
|
jo as interactiveColors,
|
|
4180
|
-
|
|
4181
|
-
|
|
4180
|
+
Zs as isIndexedDBAvailable,
|
|
4181
|
+
Ys as isRTLLocale,
|
|
4182
4182
|
zn as isUrlMatch,
|
|
4183
4183
|
pn as isValidColor,
|
|
4184
4184
|
_e as isValidHexColor,
|
|
4185
4185
|
dn as isValidHslColor,
|
|
4186
4186
|
un as isValidRgbColor,
|
|
4187
4187
|
cn as isValidRgbaColor,
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4188
|
+
gr as letterSpacing,
|
|
4189
|
+
hr as lineHeight,
|
|
4190
|
+
Gs as makeI18nProvider,
|
|
4191
|
+
Ks as makeMapValidation,
|
|
4192
|
+
Xs as makeMessages,
|
|
4193
4193
|
ht as makeOnBlurHandler,
|
|
4194
4194
|
vt as makeOnChangeHandler,
|
|
4195
|
-
|
|
4196
|
-
|
|
4195
|
+
vr as motionDurations,
|
|
4196
|
+
xr as motionEasings,
|
|
4197
4197
|
zo as normalizeColorName,
|
|
4198
4198
|
ce as normalizeHexColor,
|
|
4199
4199
|
sn as nullToEmpty,
|
|
4200
4200
|
Io as object,
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4201
|
+
Js as parsePath,
|
|
4202
|
+
Qs as pathToString,
|
|
4203
|
+
yr as radius,
|
|
4204
|
+
el as resolveDirection,
|
|
4205
4205
|
Wo as resolveSemanticColorMap,
|
|
4206
4206
|
ra as rgbToHex,
|
|
4207
4207
|
qo as semanticColorNames,
|
|
4208
4208
|
Zo as semanticColors,
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4209
|
+
wr as semanticFontNames,
|
|
4210
|
+
Sr as semanticMotionNames,
|
|
4211
|
+
Cr as semanticRadiusNames,
|
|
4212
|
+
kr as semanticShadowNames,
|
|
4213
|
+
Ir as semanticSpacingNames,
|
|
4214
|
+
$r as semanticTextShadowNames,
|
|
4215
4215
|
re as sessionId,
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4216
|
+
_r as shadows,
|
|
4217
|
+
Tr as spacing,
|
|
4218
|
+
tl as standardSchemaResultToValidation,
|
|
4219
|
+
nl as storeIconLocally,
|
|
4220
4220
|
$o as string,
|
|
4221
|
-
|
|
4221
|
+
al as taskToValidation,
|
|
4222
4222
|
Yo as textColors,
|
|
4223
|
-
|
|
4223
|
+
Dr as textShadows,
|
|
4224
4224
|
Go as themeColorNames,
|
|
4225
4225
|
bo as transformEmptyStringToUndefined,
|
|
4226
4226
|
fo as transformNullToUndefined,
|
|
4227
4227
|
go as transformUndefinedToNull,
|
|
4228
4228
|
ge as useAnimatedElementToggle,
|
|
4229
4229
|
_o as useAnimatedToggle,
|
|
4230
|
-
|
|
4230
|
+
sl as useController,
|
|
4231
4231
|
To as useFocusTrap,
|
|
4232
|
-
|
|
4232
|
+
ll as useForm,
|
|
4233
4233
|
Do as useTimedToggle,
|
|
4234
|
-
|
|
4235
|
-
|
|
4234
|
+
rl as wrapSegment,
|
|
4235
|
+
Ar as zIndex
|
|
4236
4236
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./notice-DTflcSdc.cjs"),r={loadingExtended:"Caricamento, attendere prego...",loadingShort:"Caricamento...",locale:"Lingua",iconDescription:"Icona",loadingIcon:"Icona di caricamento",failedToLoadIcon:"Impossibile caricare l'icona",editLabel:"Modifica",selectOne:"Seleziona uno",selectMany:"Seleziona più elementi",noResults:"Nessun risultato",passwordPlaceholderText:"Password Segreta",togglePasswordVisibility:"Attiva/disattiva visibilità password",toggleMenu:"Attiva/disattiva menu",toggleAside:"Attiva/disattiva pannello laterale",mainNavigation:"Navigazione principale",sidebar:"Barra laterale",closeDrawer:"Chiudi cassetto",closeModal:"Chiudi modale",confirm:"Conferma",cancel:"Annulla",addLabel:"Aggiungi",removeItem:"Rimuovi elemento",currentLocale:"Italiano",ar:"Arabo",de:"Tedesco",en:"Inglese",es:"Spagnolo",fr:"Francese",hi:"Hindi",it:"Italiano",ja:"Giapponese",ko:"Coreano",nl:"Olandese",pl:"Polacco",pt:"Portoghese",ru:"Russo",tr:"Turco",vi:"Vietnamita",zh:"Cinese",he:"Ebraico",fa:"Persiano",ur:"Urdu",emailPlaceholderText:"Inserisci la tua email",incrementValue:"Incrementa valore",decrementValue:"Decrementa valore",dropZoneInstructions:e=>e?"Clicca per scegliere o trascina i file qui, o premi Invio o Spazio per aprire il selettore file":"Trascina i file qui",fileSizeUnits:["Byte","KB","MB","GB","TB"],removeFile:"Rimuovi file",clearAllFiles:"Cancella tutti i file",clearValue:"Cancella valore",unknownType:"Tipo sconosciuto",filesInputInstructions:(e,a,o)=>{let n=e==null||e>1?"Clicca per scegliere o trascina i file qui":"Clicca per scegliere o trascina un file qui";if(e||a){const i=[];if(e!=null&&e>1&&i.push(`fino a ${e} file`),a&&o){const l=t.formatFileSize(a,{units:o});i.push(`max ${l} ciascuno`)}i.length>0&&(n+=` (${i.join(", ")})`)}else if(a&&o){const i=t.formatFileSize(a,{units:o});n+=` (max ${i})`}return n}};exports.default=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DTflcSdc.cjs"),a={loadingExtended:"読み込み中です、お待ちください",loadingShort:"読み込み中...",locale:"ロケール",iconDescription:"アイコン",loadingIcon:"読み込みアイコン",failedToLoadIcon:"アイコンの読み込みに失敗しました",editLabel:"編集",selectOne:"一つ選択",selectMany:"複数選択",noResults:"結果なし",passwordPlaceholderText:"パスワード",togglePasswordVisibility:"パスワードの表示を切り替え",toggleMenu:"メニューを切り替え",toggleAside:"サイドパネルを切り替え",mainNavigation:"メインナビゲーション",sidebar:"サイドバー",closeDrawer:"ドロワーを閉じる",closeModal:"モーダルを閉じる",confirm:"確認",cancel:"キャンセル",addLabel:"追加",removeItem:"項目を削除",currentLocale:"日本語",ar:"アラビア語",de:"ドイツ語",en:"英語",es:"スペイン語",fr:"フランス語",hi:"ヒンディー語",it:"イタリア語",ja:"日本語",ko:"韓国語",nl:"オランダ語",pl:"ポーランド語",pt:"ポルトガル語",ru:"ロシア語",tr:"トルコ語",vi:"ベトナム語",zh:"中国語",he:"ヘブライ語",fa:"ペルシア語",ur:"ウルドゥー語",emailPlaceholderText:"メールアドレスを入力",incrementValue:"値を増加",decrementValue:"値を減少",dropZoneInstructions:e=>e?"クリックして選択するか、ファイルをここにドラッグ、またはEnterキーまたはSpaceキーを押してファイル選択を開く":"ファイルをここにドラッグ",fileSizeUnits:["バイト","KB","MB","GB","TB"],removeFile:"ファイルを削除",clearAllFiles:"すべてのファイルを削除",clearValue:"リセット",unknownType:"不明なタイプ",filesInputInstructions:(e,o,n)=>{let r=(e==null||e>1,"クリックして選択するか、ファイルをここにドラッグ");if(e||o){const t=[];if(e!=null&&e>1&&t.push(`最大${e}ファイル`),o&&n){const c=l.formatFileSize(o,{units:n});t.push(`各${c}以下`)}t.length>0&&(r+=` (${t.join("、")})`)}else if(o&&n){const t=l.formatFileSize(o,{units:n});r+=` (最大${t})`}return r}};exports.default=a;exports.ja=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-CZn1Pgwz.cjs");exports.JSONSchemaAllOf=e.JSONSchemaAllOf;exports.JSONSchemaAny=e.JSONSchemaAny;exports.JSONSchemaAnyOf=e.JSONSchemaAnyOf;exports.JSONSchemaArray=e.JSONSchemaArray;exports.JSONSchemaBoolean=e.JSONSchemaBoolean;exports.JSONSchemaConst=e.JSONSchemaConst;exports.JSONSchemaControl=e.JSONSchemaControl;exports.JSONSchemaEnum=e.JSONSchemaEnum;exports.JSONSchemaForm=e.JSONSchemaForm;exports.JSONSchemaGenericControl=e.JSONSchemaGenericControl;exports.JSONSchemaInteger=e.JSONSchemaInteger;exports.JSONSchemaNull=e.JSONSchemaNull;exports.JSONSchemaNumber=e.JSONSchemaNumber;exports.JSONSchemaObject=e.JSONSchemaObject;exports.JSONSchemaOneOf=e.JSONSchemaOneOf;exports.JSONSchemaString=e.JSONSchemaString;exports.JSONSchemaUnion=e.JSONSchemaUnion;exports.SchemaContext=e.SchemaContext;exports.ajvErrorsToControllerValidation=e.ajvErrorsToControllerValidation;exports.ajvErrorsToDependencies=e.ajvErrorsToDependencies;exports.buildMessage=e.buildMessage;exports.buildPath=e.buildPath;exports.clearCaches=e.clearCaches;exports.clearCachesForAjv=e.clearCachesForAjv;exports.compileWithCache=e.compileWithCache;exports.composeEffectiveObjectSchema=e.composeEffectiveObjectSchema;exports.createAJVStandardSchema=e.createAJVStandardSchema;exports.evaluateIfThenElseOverlay=e.evaluateIfThenElseOverlay;exports.evaluateNotViolation=e.evaluateNotViolation;exports.getAjvForSchema=e.getAjvForSchema;exports.getCacheStats=e.getCacheStats;exports.getEvaluatedProperties=e.getEvaluatedProperties;exports.jsonPointerToSegments=e.jsonPointerToSegments;exports.mergeAllOf=e.mergeAllOf;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as s, J as S, R as c, O as o, M as t, H as r, W as m, G as h, X as O, V as n, K as l, N, I as J, P as i, T as v, L as C, Q as u, S as A, v as f, u as g, t as d, s as j, w as E, x as b, z as p, D as y, Y as T, E as F, C as P, A as V, y as x, F as I, q as B, B as D } from "../index-
|
|
1
|
+
import { U as s, J as S, R as c, O as o, M as t, H as r, W as m, G as h, X as O, V as n, K as l, N, I as J, P as i, T as v, L as C, Q as u, S as A, v as f, u as g, t as d, s as j, w as E, x as b, z as p, D as y, Y as T, E as F, C as P, A as V, y as x, F as I, q as B, B as D } from "../index-DvqD_Y1P.js";
|
|
2
2
|
export {
|
|
3
3
|
s as JSONSchemaAllOf,
|
|
4
4
|
S as JSONSchemaAny,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./notice-DTflcSdc.cjs"),a={loadingExtended:"로딩 중입니다. 잠시만 기다려 주세요",loadingShort:"로딩 중...",locale:"지역",iconDescription:"아이콘",loadingIcon:"로딩 아이콘",failedToLoadIcon:"아이콘 로드 실패",editLabel:"편집",selectOne:"하나 선택",selectMany:"여러 개 선택",noResults:"결과 없음",passwordPlaceholderText:"비밀번호",togglePasswordVisibility:"비밀번호 표시 전환",toggleMenu:"메뉴 전환",toggleAside:"사이드 패널 전환",mainNavigation:"메인 네비게이션",sidebar:"사이드바",closeDrawer:"드로어 닫기",closeModal:"모달 닫기",confirm:"확인",cancel:"취소",addLabel:"추가",removeItem:"항목 제거",currentLocale:"한국어",ar:"아랍어",de:"독일어",en:"영어",es:"스페인어",fr:"프랑스어",hi:"힌디어",it:"이탈리아어",ja:"일본어",ko:"한국어",nl:"네덜란드어",pl:"폴란드어",pt:"포르투갈어",ru:"러시아어",tr:"터키어",vi:"베트남어",zh:"중국어",he:"히브리어",fa:"페르시아어",ur:"우르두어",emailPlaceholderText:"이메일을 입력하세요",incrementValue:"값 증가",decrementValue:"값 감소",dropZoneInstructions:e=>e?"클릭하여 선택하거나 파일을 여기로 드래그하세요, 또는 Enter 또는 Space 키를 눌러 파일 선택기를 여세요":"파일을 여기로 드래그하세요",fileSizeUnits:["바이트","KB","MB","GB","TB"],removeFile:"파일 제거",clearAllFiles:"모든 파일 지우기",clearValue:"값 지우기",unknownType:"알 수 없는 형식",filesInputInstructions:(e,o,n)=>{let r=(e==null||e>1,"클릭하여 선택하거나 파일을 여기로 드래그하세요");if(e||o){const t=[];if(e!=null&&e>1&&t.push(`최대 ${e}개 파일`),o&&n){const c=l.formatFileSize(o,{units:n});t.push(`각각 최대 ${c}`)}t.length>0&&(r+=` (${t.join(", ")})`)}else if(o&&n){const t=l.formatFileSize(o,{units:n});r+=` (최대 ${t})`}return r}};exports.default=a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WithElement as P, OnDispose as K, prop as W, attr as h, computedOf as A, WithBrowserCtx as N, Value as z, render as G, html as k, dataAttr as O, aria as F, on as J, When as D, Use as R, Fragment as Q, coalesce as q } from "@tempots/dom";
|
|
2
2
|
import { g as V, T as I } from "./timer-CQlK5LhW.js";
|
|
3
|
-
import { s as X, B as U, C as Y, a as j } from "./
|
|
3
|
+
import { s as X, B as U, C as Y, a as j } from "./notice-DuvHeGyh.js";
|
|
4
4
|
const Z = [
|
|
5
5
|
"a[href]",
|
|
6
6
|
"button:not([disabled])",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("@tempots/dom"),A=require("./timer-BdH4cK6a.cjs"),w=require("./notice-DTflcSdc.cjs"),j=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])','[contenteditable="true"]',"audio[controls]","video[controls]","details > summary:first-of-type","details[open]"].join(", ");function W(r){return Array.from(r.querySelectorAll(j)).filter(t=>{const s=t;return s.offsetWidth>0&&s.offsetHeight>0&&!s.hasAttribute("inert")&&window.getComputedStyle(s).visibility!=="hidden"})}function B(r={}){const{active:t=!0,escapeDeactivates:s=!0,onEscape:e,initialFocus:a,returnFocus:i,clickOutsideDeactivates:c=!1,onClickOutside:d}=r;return o.WithElement(h=>{let f=t,m=null,u=[];typeof document<"u"&&(m=document.activeElement);const b=()=>{u=W(h)},g=n=>{if(f){if(s&&n.key==="Escape"){n.preventDefault(),e?.();return}if(n.key==="Tab"){if(b(),u.length===0){n.preventDefault();return}const v=u.indexOf(document.activeElement);n.shiftKey?v<=0&&(n.preventDefault(),u[u.length-1]?.focus()):v>=u.length-1&&(n.preventDefault(),u[0]?.focus())}}},p=n=>{if(!f||!c)return;const v=n.target;h.contains(v)||d?.()},y=()=>{if(!f)return;b();let n=null;typeof a=="function"?n=a():a?n=a:u.length>0&&(n=u[0]),n&&setTimeout(()=>{n?.focus()},50),document.addEventListener("keydown",g,!0),c&&document.addEventListener("click",p,!0)},T=()=>{f=!1,document.removeEventListener("keydown",g,!0),document.removeEventListener("click",p,!0);let n=null;typeof i=="function"?n=i():i?n=i:m&&(n=m),n&&document.body.contains(n)&&setTimeout(()=>{n?.focus()},0)};return setTimeout(()=>y(),0),o.OnDispose(()=>{T()})})}function _(r={}){return{activate:()=>B({...r,active:!0}),deactivate:()=>B({...r,active:!1})}}function F({initialStatus:r="closed",openedAfter:t,closedAfter:s}){const e=o.prop(r),a=()=>{e.set("start-opening")},i=()=>{e.set("start-closing")},c=e.map(n=>n!=="closed"&&n!=="start-closing"&&n!=="closing"),d=n=>{n?a():i()},h=()=>{d(!c.value)},f=n=>e.on(v=>{v==="closed"&&n()});let m=()=>{};e.on(n=>{switch(m(),n){case"start-opening":m=A.g(()=>e.set("opening"));break;case"opening":m=t(()=>e.set("opened"));break;case"start-closing":m=A.g(()=>e.set("closing"));break;case"closing":m=s(()=>e.set("closed"));break}}),e.onDispose(()=>m());const u=e.map(n=>n==="closed"),b=e.map(n=>n==="start-opening"),g=e.map(n=>n==="opening"),p=e.map(n=>n==="opened"),y=e.map(n=>n==="closing"),T=e.map(n=>n==="start-closing");return{status:e,open:a,close:i,toggle:h,setOpen:d,display:c,isClosed:u,isStartOpening:b,isOpening:g,isOpened:p,isClosing:y,isStartClosing:T,dispose:()=>e.dispose(),onClosed:f}}function P({initialStatus:r="closed",duration:t,openDuration:s=t??500,closeDuration:e=t??500}={}){return F({initialStatus:r,openedAfter:a=>A.T(a,s),closedAfter:a=>A.T(a,e)})}function $(r,t){let s=!1,e=null;function a(){s||(s=!0,e&&(clearTimeout(e),e=null),t())}function i(f){f.target===r&&a()}function c(f){f.target===r&&a()}const d=()=>{if(typeof r.getAnimations>"u"){e=setTimeout(a,16);return}r.getAnimations().length===0?(r.addEventListener("transitionend",i,{once:!0}),r.addEventListener("animationend",c,{once:!0}),e=setTimeout(a,1e3)):(r.addEventListener("transitionend",i,{once:!0}),r.addEventListener("animationend",c,{once:!0}))},h=A.g(d);return()=>{s=!0,h(),e&&(clearTimeout(e),e=null),r.removeEventListener("transitionend",i),r.removeEventListener("animationend",c)}}function M({initialStatus:r="closed",element:t}={}){let s=t;return{setElement:e=>{s=e},...F({initialStatus:r,openedAfter:e=>s==null?(e(),()=>{}):$(s,e),closedAfter:e=>s==null?(e(),()=>{}):$(s,e)})}}function U(r,t){return o.attr.class(o.computedOf(r,t)((s,e)=>`bc-toggle--animated bc-toggle--${s} bc-toggle--${e}`))}function q(r){return{"~standard":{version:1,vendor:"beatui-custom",validate:s=>{const e=r.validate(s);return e.success?{value:e.data}:{issues:e.errors.map(a=>({message:a.message,path:a.path}))}},types:void 0},safeParse:s=>{const e=r.validate(s);return e.success?{success:!0,data:e.data}:{success:!1,error:{errors:e.errors.map(a=>({message:a.message,path:a.path?.map(i=>typeof i=="object"&&"key"in i?i.key.toString():i.toString())||[]}))}}}}}class k{optional(){return new z(this)}default(t){return new R(this,t)}schema(){return q(this)}}class C extends k{minLength;maxLength;pattern;customValidations=[];validate(t){if(typeof t!="string")return{success:!1,errors:[{message:"Expected string"}]};const s=[];this.minLength!==void 0&&t.length<this.minLength&&s.push({message:`Must be at least ${this.minLength} characters`}),this.maxLength!==void 0&&t.length>this.maxLength&&s.push({message:`Must be at most ${this.maxLength} characters`}),this.pattern&&!this.pattern.test(t)&&s.push({message:"Invalid format"});for(const e of this.customValidations){const a=e(t);a&&s.push({message:a})}return s.length>0?{success:!1,errors:s}:{success:!0,data:t}}min(t,s){const e=new C;return e.minLength=t,e.maxLength=this.maxLength,e.pattern=this.pattern,e.customValidations=[...this.customValidations],s&&e.customValidations.push(a=>a.length<t?s:null),e}max(t,s){const e=new C;return e.minLength=this.minLength,e.maxLength=t,e.pattern=this.pattern,e.customValidations=[...this.customValidations],s&&e.customValidations.push(a=>a.length>t?s:null),e}regex(t,s){const e=new C;return e.minLength=this.minLength,e.maxLength=this.maxLength,e.pattern=t,e.customValidations=[...this.customValidations],s&&e.customValidations.push(a=>t.test(a)?null:s),e}email(t="Please enter a valid email address"){const s=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,e=new C;return e.minLength=this.minLength,e.maxLength=this.maxLength,e.pattern=this.pattern,e.customValidations=[...this.customValidations,a=>s.test(a)?null:t],e}refine(t){const s=new C;return s.minLength=this.minLength,s.maxLength=this.maxLength,s.pattern=this.pattern,s.customValidations=[...this.customValidations,t],s}}class x extends k{mustBeTrue=!1;trueMessage;validate(t){return typeof t!="boolean"?{success:!1,errors:[{message:"Expected boolean"}]}:this.mustBeTrue&&t!==!0?{success:!1,errors:[{message:this.trueMessage||"Must be true"}]}:{success:!0,data:t}}refine(t,s){const e=new x;e.mustBeTrue=this.mustBeTrue,e.trueMessage=this.trueMessage;const a=e.validate.bind(e);return e.validate=i=>{const c=a(i);return c.success?t(c.data)?c:{success:!1,errors:[{message:s}]}:c},e}literal(t,s){const e=new x;return e.mustBeTrue=!0,e.trueMessage=s,e}}class z extends k{constructor(t){super(),this.inner=t}validate(t){if(t===void 0)return{success:!0,data:void 0};const s=this.inner.validate(t);return s.success?{success:!0,data:s.data}:{success:!1,errors:s.errors}}}class R extends k{constructor(t,s){super(),this.inner=t,this.defaultValue=s}validate(t){return t===void 0?{success:!0,data:this.defaultValue}:this.inner.validate(t)}}class O extends k{constructor(t){super(),this.shape=t}validate(t){if(typeof t!="object"||t===null||Array.isArray(t))return{success:!1,errors:[{message:"Expected object"}]};const s=t,e={},a=[];for(const[i,c]of Object.entries(this.shape)){const d=c.validate(s[i]);if(d.success)e[i]=d.data;else for(const h of d.errors)a.push({message:h.message,path:[i,...h.path||[]]})}return a.length>0?{success:!1,errors:a}:{success:!0,data:e}}refine(t,s){const e=new O(this.shape),a=e.validate.bind(e);return e.validate=i=>{const c=a(i);if(!c.success)return c;const d=t(c.data);return d?{success:!1,errors:[{message:d,path:s?.path}]}:{success:!0,data:c.data}},e}}const H=()=>new C,K=()=>new x,N=r=>new O(r);function D(r){return o.WithBrowserCtx(t=>{const s=[],e=()=>s.forEach(i=>i());return r(({effect:i="opaque",mode:c="capturing",onClickOutside:d,onEscape:h,content:f,container:m="body"})=>{m==="body"&&(t=t.makePortal("body"));const u=M();u.onClosed(e);let b=()=>{},g=()=>{};const p=E=>{E.key==="Escape"&&(h?.(),u.close())},y=()=>{d?.(),u.close()},T=E=>{b(),g(),E==="capturing"?(document.addEventListener("keydown",p),b=()=>document.removeEventListener("keydown",p),t.element.addEventListener("mousedown",y),g=()=>t.element.removeEventListener("mousedown",y)):(b=()=>{},g=()=>{})},n=o.Value.on(c,T);s.push(n),s.push(()=>{b(),g()});const v=()=>{const E=new Set;for(const l of t.element.querySelectorAll(":scope > :not([data-overlay])"))l.hasAttribute("inert")?E.add(l):l.setAttribute("inert","");return s.push(()=>{for(const l of t.element.querySelectorAll(":scope > :not([data-overlay])"))E.has(l)||l.removeAttribute("inert");E.clear()}),document.activeElement?.blur?.(),o.html.div(o.WithElement(l=>u.setElement(l)),o.dataAttr.status(u.status.map(String)),o.dataAttr.overlay("true"),o.attr.class(o.computedOf(i??"opaque",c)((l,L)=>`bc-overlay bc-overlay--effect-${l} bc-overlay--mode-${L}`)),f)},V=o.render(v(),t.element,{disposeWithParent:!0,clear:!1,providers:t.providers});s.push(V),A.g(()=>u.open())},e)})}function I(r,t){const{size:s="md",dismissable:e=!0,showCloseButton:a=!0,onClose:i,overlayEffect:c="opaque",container:d="body",position:h="center"}=r;return D((f,m)=>{let u=()=>{};return t(p=>{u=m;const y=o.prop("capturing");o.Value.on(e,l=>{y.set(l?"capturing":"non-capturing")});const T=o.computedOf(p.header!=null,a)((l,L)=>l||L),n=w.sessionId("modal"),v=`${n}-header`,V=`${n}-body`,E=o.html.div(o.attr.class(o.computedOf(s,h)((l,L)=>`bc-modal bc-modal--size-${l} bc-modal--container-${d} bc-modal--position-${L}`)),o.attr.role("dialog"),o.aria.modal(!0),...p.header?[o.aria.labelledby(v)]:[],o.aria.describedby(V),o.attr.tabindex(-1),o.attr.id(n),o.dataAttr.focusTrap("true"),o.on.mousedown(l=>l.stopPropagation()),B({escapeDeactivates:!1,initialFocus:()=>{const l=document.getElementById(n);if(!l)return null;const L=l.querySelector('[aria-label="Close modal"]');if(L)return L;const S=l.querySelector('button, input, select, textarea, [tabindex]:not([tabindex="-1"])');return S||l}}),o.html.div(o.attr.class("bc-modal__content"),o.When(T,()=>o.html.div(o.attr.class("bc-modal__header"),o.html.div(o.attr.class("bc-modal__title"),...p.header?[o.attr.id(v)]:[],p.header),o.When(a,()=>o.Use(w.BeatUII18n,l=>w.CloseButton({size:"sm",label:l.$.closeModal,onClick:()=>{u(),m()}}))))),o.html.div(o.attr.class("bc-modal__body"),o.attr.id(V),p.body),p.footer&&o.html.div(o.attr.class("bc-modal__footer"),p.footer)));f({mode:y,effect:c??"opaque",container:d,content:E,onClickOutside:()=>{i?.(),m()},onEscape:()=>{i?.(),m()}})},()=>{u(),m()})})}function G(r,t){const{confirmText:s,cancelText:e,onConfirm:a,onCancel:i,...c}=r;return o.Use(w.BeatUII18n,d=>I({showCloseButton:!1,...c},(h,f)=>{const m=()=>{a?.(),f()},u=()=>{i?.(),f()};return t(g=>{h({body:g,footer:o.Fragment(o.attr.class("bc-modal__actions"),w.Button({variant:"outline",onClick:u},o.coalesce(e,d.$.cancel)),w.Button({color:"primary",variant:"filled",onClick:m},o.coalesce(s,d.$.confirm)))})},f)}))}exports.AnimatedToggleClass=U;exports.BooleanValidator=x;exports.ConfirmModal=G;exports.FocusTrap=B;exports.Modal=I;exports.ObjectValidator=O;exports.Overlay=D;exports.StringValidator=C;exports.boolean=K;exports.createStandardSchema=q;exports.object=N;exports.string=H;exports.useAnimatedElementToggle=M;exports.useAnimatedToggle=F;exports.useFocusTrap=_;exports.useTimedToggle=P;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./notice-DTflcSdc.cjs"),s={loadingExtended:"Laden, even geduld",loadingShort:"Laden...",locale:"Landinstelling",iconDescription:"Pictogram",loadingIcon:"Laadpictogram",failedToLoadIcon:"Pictogram laden mislukt",editLabel:"Bewerken",selectOne:"Selecteer een",selectMany:"Selecteer meerdere",noResults:"Geen resultaten",passwordPlaceholderText:"Geheim wachtwoord",togglePasswordVisibility:"Wachtwoord zichtbaarheid wisselen",toggleMenu:"Menu wisselen",toggleAside:"Zijpaneel wisselen",mainNavigation:"Hoofdnavigatie",sidebar:"Zijbalk",closeDrawer:"Lade sluiten",closeModal:"Modaal sluiten",confirm:"Bevestigen",cancel:"Annuleren",addLabel:"Toevoegen",removeItem:"Item verwijderen",currentLocale:"Nederlands",ar:"Arabisch",de:"Duits",en:"Engels",es:"Spaans",fr:"Frans",hi:"Hindi",it:"Italiaans",ja:"Japans",ko:"Koreaans",nl:"Nederlands",pl:"Pools",pt:"Portugees",ru:"Russisch",tr:"Turks",vi:"Vietnamees",zh:"Chinees",he:"Hebreeuws",fa:"Perzisch",ur:"Urdu",emailPlaceholderText:"Voer je e-mail in",incrementValue:"Waarde verhogen",decrementValue:"Waarde verlagen",dropZoneInstructions:e=>e?"Klik om te kiezen of sleep bestanden hierheen, of druk op Enter of Spatie om bestandskiezer te openen":"Sleep bestanden hierheen",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Bestand verwijderen",clearAllFiles:"Alle bestanden wissen",clearValue:"Waarde wissen",unknownType:"Onbekend type",filesInputInstructions:(e,t,a)=>{let o=e==null||e>1?"Klik om te kiezen of sleep bestanden hierheen":"Klik om te kiezen of sleep een bestand hierheen";if(e||t){const n=[];if(e!=null&&e>1&&n.push(`tot ${e} bestanden`),t&&a){const i=r.formatFileSize(t,{units:a});n.push(`max ${i} elk`)}n.length>0&&(o+=` (${n.join(", ")})`)}else if(t&&a){const n=r.formatFileSize(t,{units:a});o+=` (max ${n})`}return o}};exports.default=s;exports.nl=s;
|