@dipusevilla/componentes-iu 1.1.25 → 1.1.26
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/index.cjs.js +4 -4
- package/dist/index.es.js +110 -105
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -8912,12 +8912,12 @@ const Wb = (e, t) => {
|
|
|
8912
8912
|
}, fx = [], mt = (e) => {
|
|
8913
8913
|
const t = (r) => r[e] || fx;
|
|
8914
8914
|
return t.isThemeGetter = !0, t;
|
|
8915
|
-
}, s5 = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, l5 = /^\((?:(\w[\w-]*):)?(.+)\)$/i, mx = /^\d+\/\d+$/, hx = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, px = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, gx = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, vx = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, bx = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, fn = (e) => mx.test(e),
|
|
8915
|
+
}, s5 = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, l5 = /^\((?:(\w[\w-]*):)?(.+)\)$/i, mx = /^\d+\/\d+$/, hx = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, px = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, gx = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, vx = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, bx = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, fn = (e) => mx.test(e), ze = (e) => !!e && !Number.isNaN(Number(e)), Nr = (e) => !!e && Number.isInteger(Number(e)), xs = (e) => e.endsWith("%") && ze(e.slice(0, -1)), mr = (e) => hx.test(e), xx = () => !0, wx = (e) => (
|
|
8916
8916
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
8917
8917
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
8918
8918
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
8919
8919
|
px.test(e) && !gx.test(e)
|
|
8920
|
-
), i5 = () => !1, yx = (e) => vx.test(e), jx = (e) => bx.test(e), kx = (e) => !Ae(e) && !Me(e), Ex = (e) => zn(e, u5, i5), Ae = (e) => s5.test(e), qr = (e) => zn(e, f5, wx), ws = (e) => zn(e, Ax,
|
|
8920
|
+
), i5 = () => !1, yx = (e) => vx.test(e), jx = (e) => bx.test(e), kx = (e) => !Ae(e) && !Me(e), Ex = (e) => zn(e, u5, i5), Ae = (e) => s5.test(e), qr = (e) => zn(e, f5, wx), ws = (e) => zn(e, Ax, ze), dc = (e) => zn(e, c5, i5), Rx = (e) => zn(e, d5, jx), Ua = (e) => zn(e, m5, yx), Me = (e) => l5.test(e), Jn = (e) => Hn(e, f5), Cx = (e) => Hn(e, Mx), uc = (e) => Hn(e, c5), Nx = (e) => Hn(e, u5), Sx = (e) => Hn(e, d5), qa = (e) => Hn(e, m5, !0), zn = (e, t, r) => {
|
|
8921
8921
|
const n = s5.exec(e);
|
|
8922
8922
|
return n ? n[1] ? t(n[1]) : r(n[2]) : !1;
|
|
8923
8923
|
}, Hn = (e, t, r = !1) => {
|
|
@@ -8958,14 +8958,14 @@ const Wb = (e, t) => {
|
|
|
8958
8958
|
d,
|
|
8959
8959
|
Me,
|
|
8960
8960
|
Ae
|
|
8961
|
-
], q = () => ["",
|
|
8961
|
+
], q = () => ["", ze, Jn, qr], Y = () => ["solid", "dashed", "dotted", "double"], me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ie = () => [ze, xs, uc, dc], pe = () => [
|
|
8962
8962
|
// Deprecated since Tailwind CSS v4.0.0
|
|
8963
8963
|
"",
|
|
8964
8964
|
"none",
|
|
8965
8965
|
b,
|
|
8966
8966
|
Me,
|
|
8967
8967
|
Ae
|
|
8968
|
-
], de = () => ["none",
|
|
8968
|
+
], de = () => ["none", ze, Me, Ae], ce = () => ["none", ze, Me, Ae], be = () => [ze, Me, Ae], fe = () => [fn, "full", ...C()];
|
|
8969
8969
|
return {
|
|
8970
8970
|
cacheSize: 500,
|
|
8971
8971
|
theme: {
|
|
@@ -8984,7 +8984,7 @@ const Wb = (e, t) => {
|
|
|
8984
8984
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
8985
8985
|
radius: [mr],
|
|
8986
8986
|
shadow: [mr],
|
|
8987
|
-
spacing: ["px",
|
|
8987
|
+
spacing: ["px", ze],
|
|
8988
8988
|
text: [mr],
|
|
8989
8989
|
"text-shadow": [mr],
|
|
8990
8990
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -9011,7 +9011,7 @@ const Wb = (e, t) => {
|
|
|
9011
9011
|
* @see https://tailwindcss.com/docs/columns
|
|
9012
9012
|
*/
|
|
9013
9013
|
columns: [{
|
|
9014
|
-
columns: [
|
|
9014
|
+
columns: [ze, Ae, Me, c]
|
|
9015
9015
|
}],
|
|
9016
9016
|
/**
|
|
9017
9017
|
* Break After
|
|
@@ -9242,21 +9242,21 @@ const Wb = (e, t) => {
|
|
|
9242
9242
|
* @see https://tailwindcss.com/docs/flex
|
|
9243
9243
|
*/
|
|
9244
9244
|
flex: [{
|
|
9245
|
-
flex: [
|
|
9245
|
+
flex: [ze, fn, "auto", "initial", "none", Ae]
|
|
9246
9246
|
}],
|
|
9247
9247
|
/**
|
|
9248
9248
|
* Flex Grow
|
|
9249
9249
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
9250
9250
|
*/
|
|
9251
9251
|
grow: [{
|
|
9252
|
-
grow: ["",
|
|
9252
|
+
grow: ["", ze, Me, Ae]
|
|
9253
9253
|
}],
|
|
9254
9254
|
/**
|
|
9255
9255
|
* Flex Shrink
|
|
9256
9256
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
9257
9257
|
*/
|
|
9258
9258
|
shrink: [{
|
|
9259
|
-
shrink: ["",
|
|
9259
|
+
shrink: ["", ze, Me, Ae]
|
|
9260
9260
|
}],
|
|
9261
9261
|
/**
|
|
9262
9262
|
* Order
|
|
@@ -9733,7 +9733,7 @@ const Wb = (e, t) => {
|
|
|
9733
9733
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
9734
9734
|
*/
|
|
9735
9735
|
"line-clamp": [{
|
|
9736
|
-
"line-clamp": [
|
|
9736
|
+
"line-clamp": [ze, "none", Me, ws]
|
|
9737
9737
|
}],
|
|
9738
9738
|
/**
|
|
9739
9739
|
* Line Height
|
|
@@ -9806,7 +9806,7 @@ const Wb = (e, t) => {
|
|
|
9806
9806
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
9807
9807
|
*/
|
|
9808
9808
|
"text-decoration-thickness": [{
|
|
9809
|
-
decoration: [
|
|
9809
|
+
decoration: [ze, "from-font", "auto", Me, qr]
|
|
9810
9810
|
}],
|
|
9811
9811
|
/**
|
|
9812
9812
|
* Text Decoration Color
|
|
@@ -9820,7 +9820,7 @@ const Wb = (e, t) => {
|
|
|
9820
9820
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
9821
9821
|
*/
|
|
9822
9822
|
"underline-offset": [{
|
|
9823
|
-
"underline-offset": [
|
|
9823
|
+
"underline-offset": [ze, "auto", Me, Ae]
|
|
9824
9824
|
}],
|
|
9825
9825
|
/**
|
|
9826
9826
|
* Text Transform
|
|
@@ -10286,14 +10286,14 @@ const Wb = (e, t) => {
|
|
|
10286
10286
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
10287
10287
|
*/
|
|
10288
10288
|
"outline-offset": [{
|
|
10289
|
-
"outline-offset": [
|
|
10289
|
+
"outline-offset": [ze, Me, Ae]
|
|
10290
10290
|
}],
|
|
10291
10291
|
/**
|
|
10292
10292
|
* Outline Width
|
|
10293
10293
|
* @see https://tailwindcss.com/docs/outline-width
|
|
10294
10294
|
*/
|
|
10295
10295
|
"outline-w": [{
|
|
10296
|
-
outline: ["",
|
|
10296
|
+
outline: ["", ze, Jn, qr]
|
|
10297
10297
|
}],
|
|
10298
10298
|
/**
|
|
10299
10299
|
* Outline Color
|
|
@@ -10368,7 +10368,7 @@ const Wb = (e, t) => {
|
|
|
10368
10368
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
10369
10369
|
*/
|
|
10370
10370
|
"ring-offset-w": [{
|
|
10371
|
-
"ring-offset": [
|
|
10371
|
+
"ring-offset": [ze, qr]
|
|
10372
10372
|
}],
|
|
10373
10373
|
/**
|
|
10374
10374
|
* Ring Offset Color
|
|
@@ -10412,7 +10412,7 @@ const Wb = (e, t) => {
|
|
|
10412
10412
|
* @see https://tailwindcss.com/docs/opacity
|
|
10413
10413
|
*/
|
|
10414
10414
|
opacity: [{
|
|
10415
|
-
opacity: [
|
|
10415
|
+
opacity: [ze, Me, Ae]
|
|
10416
10416
|
}],
|
|
10417
10417
|
/**
|
|
10418
10418
|
* Mix Blend Mode
|
|
@@ -10447,7 +10447,7 @@ const Wb = (e, t) => {
|
|
|
10447
10447
|
* @see https://tailwindcss.com/docs/mask-image
|
|
10448
10448
|
*/
|
|
10449
10449
|
"mask-image-linear-pos": [{
|
|
10450
|
-
"mask-linear": [
|
|
10450
|
+
"mask-linear": [ze]
|
|
10451
10451
|
}],
|
|
10452
10452
|
"mask-image-linear-from-pos": [{
|
|
10453
10453
|
"mask-linear-from": ie()
|
|
@@ -10561,7 +10561,7 @@ const Wb = (e, t) => {
|
|
|
10561
10561
|
"mask-radial-at": k()
|
|
10562
10562
|
}],
|
|
10563
10563
|
"mask-image-conic-pos": [{
|
|
10564
|
-
"mask-conic": [
|
|
10564
|
+
"mask-conic": [ze]
|
|
10565
10565
|
}],
|
|
10566
10566
|
"mask-image-conic-from-pos": [{
|
|
10567
10567
|
"mask-conic-from": ie()
|
|
@@ -10652,14 +10652,14 @@ const Wb = (e, t) => {
|
|
|
10652
10652
|
* @see https://tailwindcss.com/docs/brightness
|
|
10653
10653
|
*/
|
|
10654
10654
|
brightness: [{
|
|
10655
|
-
brightness: [
|
|
10655
|
+
brightness: [ze, Me, Ae]
|
|
10656
10656
|
}],
|
|
10657
10657
|
/**
|
|
10658
10658
|
* Contrast
|
|
10659
10659
|
* @see https://tailwindcss.com/docs/contrast
|
|
10660
10660
|
*/
|
|
10661
10661
|
contrast: [{
|
|
10662
|
-
contrast: [
|
|
10662
|
+
contrast: [ze, Me, Ae]
|
|
10663
10663
|
}],
|
|
10664
10664
|
/**
|
|
10665
10665
|
* Drop Shadow
|
|
@@ -10687,35 +10687,35 @@ const Wb = (e, t) => {
|
|
|
10687
10687
|
* @see https://tailwindcss.com/docs/grayscale
|
|
10688
10688
|
*/
|
|
10689
10689
|
grayscale: [{
|
|
10690
|
-
grayscale: ["",
|
|
10690
|
+
grayscale: ["", ze, Me, Ae]
|
|
10691
10691
|
}],
|
|
10692
10692
|
/**
|
|
10693
10693
|
* Hue Rotate
|
|
10694
10694
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
10695
10695
|
*/
|
|
10696
10696
|
"hue-rotate": [{
|
|
10697
|
-
"hue-rotate": [
|
|
10697
|
+
"hue-rotate": [ze, Me, Ae]
|
|
10698
10698
|
}],
|
|
10699
10699
|
/**
|
|
10700
10700
|
* Invert
|
|
10701
10701
|
* @see https://tailwindcss.com/docs/invert
|
|
10702
10702
|
*/
|
|
10703
10703
|
invert: [{
|
|
10704
|
-
invert: ["",
|
|
10704
|
+
invert: ["", ze, Me, Ae]
|
|
10705
10705
|
}],
|
|
10706
10706
|
/**
|
|
10707
10707
|
* Saturate
|
|
10708
10708
|
* @see https://tailwindcss.com/docs/saturate
|
|
10709
10709
|
*/
|
|
10710
10710
|
saturate: [{
|
|
10711
|
-
saturate: [
|
|
10711
|
+
saturate: [ze, Me, Ae]
|
|
10712
10712
|
}],
|
|
10713
10713
|
/**
|
|
10714
10714
|
* Sepia
|
|
10715
10715
|
* @see https://tailwindcss.com/docs/sepia
|
|
10716
10716
|
*/
|
|
10717
10717
|
sepia: [{
|
|
10718
|
-
sepia: ["",
|
|
10718
|
+
sepia: ["", ze, Me, Ae]
|
|
10719
10719
|
}],
|
|
10720
10720
|
/**
|
|
10721
10721
|
* Backdrop Filter
|
|
@@ -10742,56 +10742,56 @@ const Wb = (e, t) => {
|
|
|
10742
10742
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
10743
10743
|
*/
|
|
10744
10744
|
"backdrop-brightness": [{
|
|
10745
|
-
"backdrop-brightness": [
|
|
10745
|
+
"backdrop-brightness": [ze, Me, Ae]
|
|
10746
10746
|
}],
|
|
10747
10747
|
/**
|
|
10748
10748
|
* Backdrop Contrast
|
|
10749
10749
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
10750
10750
|
*/
|
|
10751
10751
|
"backdrop-contrast": [{
|
|
10752
|
-
"backdrop-contrast": [
|
|
10752
|
+
"backdrop-contrast": [ze, Me, Ae]
|
|
10753
10753
|
}],
|
|
10754
10754
|
/**
|
|
10755
10755
|
* Backdrop Grayscale
|
|
10756
10756
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
10757
10757
|
*/
|
|
10758
10758
|
"backdrop-grayscale": [{
|
|
10759
|
-
"backdrop-grayscale": ["",
|
|
10759
|
+
"backdrop-grayscale": ["", ze, Me, Ae]
|
|
10760
10760
|
}],
|
|
10761
10761
|
/**
|
|
10762
10762
|
* Backdrop Hue Rotate
|
|
10763
10763
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
10764
10764
|
*/
|
|
10765
10765
|
"backdrop-hue-rotate": [{
|
|
10766
|
-
"backdrop-hue-rotate": [
|
|
10766
|
+
"backdrop-hue-rotate": [ze, Me, Ae]
|
|
10767
10767
|
}],
|
|
10768
10768
|
/**
|
|
10769
10769
|
* Backdrop Invert
|
|
10770
10770
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
10771
10771
|
*/
|
|
10772
10772
|
"backdrop-invert": [{
|
|
10773
|
-
"backdrop-invert": ["",
|
|
10773
|
+
"backdrop-invert": ["", ze, Me, Ae]
|
|
10774
10774
|
}],
|
|
10775
10775
|
/**
|
|
10776
10776
|
* Backdrop Opacity
|
|
10777
10777
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
10778
10778
|
*/
|
|
10779
10779
|
"backdrop-opacity": [{
|
|
10780
|
-
"backdrop-opacity": [
|
|
10780
|
+
"backdrop-opacity": [ze, Me, Ae]
|
|
10781
10781
|
}],
|
|
10782
10782
|
/**
|
|
10783
10783
|
* Backdrop Saturate
|
|
10784
10784
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
10785
10785
|
*/
|
|
10786
10786
|
"backdrop-saturate": [{
|
|
10787
|
-
"backdrop-saturate": [
|
|
10787
|
+
"backdrop-saturate": [ze, Me, Ae]
|
|
10788
10788
|
}],
|
|
10789
10789
|
/**
|
|
10790
10790
|
* Backdrop Sepia
|
|
10791
10791
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
10792
10792
|
*/
|
|
10793
10793
|
"backdrop-sepia": [{
|
|
10794
|
-
"backdrop-sepia": ["",
|
|
10794
|
+
"backdrop-sepia": ["", ze, Me, Ae]
|
|
10795
10795
|
}],
|
|
10796
10796
|
// --------------
|
|
10797
10797
|
// --- Tables ---
|
|
@@ -10860,7 +10860,7 @@ const Wb = (e, t) => {
|
|
|
10860
10860
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
10861
10861
|
*/
|
|
10862
10862
|
duration: [{
|
|
10863
|
-
duration: [
|
|
10863
|
+
duration: [ze, "initial", Me, Ae]
|
|
10864
10864
|
}],
|
|
10865
10865
|
/**
|
|
10866
10866
|
* Transition Timing Function
|
|
@@ -10874,7 +10874,7 @@ const Wb = (e, t) => {
|
|
|
10874
10874
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
10875
10875
|
*/
|
|
10876
10876
|
delay: [{
|
|
10877
|
-
delay: [
|
|
10877
|
+
delay: [ze, Me, Ae]
|
|
10878
10878
|
}],
|
|
10879
10879
|
/**
|
|
10880
10880
|
* Animation
|
|
@@ -11318,7 +11318,7 @@ const Wb = (e, t) => {
|
|
|
11318
11318
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
11319
11319
|
*/
|
|
11320
11320
|
"stroke-w": [{
|
|
11321
|
-
stroke: [
|
|
11321
|
+
stroke: [ze, Jn, qr, ws]
|
|
11322
11322
|
}],
|
|
11323
11323
|
/**
|
|
11324
11324
|
* Stroke
|
|
@@ -27638,22 +27638,27 @@ function PO({
|
|
|
27638
27638
|
watch: w.watch
|
|
27639
27639
|
});
|
|
27640
27640
|
if ($e) {
|
|
27641
|
-
const
|
|
27641
|
+
const Pe = F.endpointConfig ? Ir(F.endpointConfig.parameters, w.getValues, k) : { ...k, ...w.getValues() }, Xe = g == null ? void 0 : g[$e];
|
|
27642
27642
|
if (typeof Xe == "function")
|
|
27643
|
-
return await Xe(
|
|
27644
|
-
|
|
27645
|
-
|
|
27646
|
-
|
|
27647
|
-
|
|
27648
|
-
|
|
27649
|
-
|
|
27643
|
+
return await Xe(
|
|
27644
|
+
{
|
|
27645
|
+
q: jt,
|
|
27646
|
+
...Pe
|
|
27647
|
+
},
|
|
27648
|
+
{
|
|
27649
|
+
getValues: w.getValues,
|
|
27650
|
+
watch: w.watch,
|
|
27651
|
+
params: Pe,
|
|
27652
|
+
...k
|
|
27653
|
+
}
|
|
27654
|
+
);
|
|
27650
27655
|
if (Array.isArray(Xe))
|
|
27651
27656
|
return Xe;
|
|
27652
27657
|
}
|
|
27653
27658
|
return [];
|
|
27654
27659
|
}, Le = {};
|
|
27655
27660
|
F.searchMode && (Le.searchMode = F.searchMode), F.minChars && (Le.minChars = F.minChars), F.debounceMs && (Le.debounceMs = F.debounceMs), F.resolveByValue && (Le.resolveByValue = F.resolveByValue);
|
|
27656
|
-
const Ze = It(F.labelIconLeft ?? F.labelPrefixIcon),
|
|
27661
|
+
const Ze = It(F.labelIconLeft ?? F.labelPrefixIcon), He = It(F.labelIconRight ?? F.labelSuffixIcon), We = It(F.prefixIcon), Ue = It(F.suffixIcon);
|
|
27657
27662
|
return /* @__PURE__ */ s.jsx(
|
|
27658
27663
|
m1,
|
|
27659
27664
|
{
|
|
@@ -27665,7 +27670,7 @@ function PO({
|
|
|
27665
27670
|
width: F.width,
|
|
27666
27671
|
disabled: K || I,
|
|
27667
27672
|
labelPrefixIcon: Ze,
|
|
27668
|
-
labelSuffixIcon:
|
|
27673
|
+
labelSuffixIcon: He,
|
|
27669
27674
|
prefixIcon: We,
|
|
27670
27675
|
suffixIcon: Ue,
|
|
27671
27676
|
...Le
|
|
@@ -27678,25 +27683,25 @@ function PO({
|
|
|
27678
27683
|
var Rr, qt;
|
|
27679
27684
|
const Le = typeof Ie == "string" ? L[Ie] ?? (l ?? []).find((fr) => (fr == null ? void 0 : fr.name) === Ie) : Ie;
|
|
27680
27685
|
if (!Le) return null;
|
|
27681
|
-
const Ze = Le.name,
|
|
27686
|
+
const Ze = Le.name, He = Z ? `${Z}.${Ze}` : Ze, We = Le.disabledWhen;
|
|
27682
27687
|
let Ue = !!Le.disabled;
|
|
27683
27688
|
const jt = U(We, !1, Ze, "disabledWhen");
|
|
27684
27689
|
We != null && We.enabled && (Ue = jt), !(We != null && We.enabled) && te[Ze] && (Ue = !0);
|
|
27685
|
-
const
|
|
27686
|
-
name:
|
|
27690
|
+
const Pe = It(Le.labelIconLeft ?? Le.labelPrefixIcon), Xe = It(Le.labelIconRight ?? Le.labelSuffixIcon), Ke = It(Le.prefixIcon), it = It(Le.suffixIcon), ar = {
|
|
27691
|
+
name: He,
|
|
27687
27692
|
control: E,
|
|
27688
27693
|
label: H(Le.label),
|
|
27689
27694
|
size: Le.size,
|
|
27690
27695
|
width: Le.width,
|
|
27691
27696
|
placeholder: H(Le.placeholder),
|
|
27692
|
-
hasError: !!(M[
|
|
27697
|
+
hasError: !!(M[He] || Z && ((Rr = M[Z]) != null && Rr[Ze])),
|
|
27693
27698
|
// Hook form errors nesting
|
|
27694
|
-
errorMessage: ut(b, (qt = M[
|
|
27699
|
+
errorMessage: ut(b, (qt = M[He]) == null ? void 0 : qt.message),
|
|
27695
27700
|
loading: B,
|
|
27696
27701
|
disabled: Ue || I,
|
|
27697
27702
|
suffixButton: Le.suffixButton,
|
|
27698
27703
|
reserveErrorSpace: !0,
|
|
27699
|
-
labelPrefixIcon:
|
|
27704
|
+
labelPrefixIcon: Pe,
|
|
27700
27705
|
labelSuffixIcon: Xe,
|
|
27701
27706
|
prefixIcon: Ke,
|
|
27702
27707
|
suffixIcon: it
|
|
@@ -27771,8 +27776,8 @@ function PO({
|
|
|
27771
27776
|
R(w.getValues(), _, "onBlur"), l.filter(($e) => {
|
|
27772
27777
|
const Ie = $e;
|
|
27773
27778
|
return ["visibleWhen", "disabledWhen", "clearWhen"].some((Le) => {
|
|
27774
|
-
var
|
|
27775
|
-
const Ze = (
|
|
27779
|
+
var He;
|
|
27780
|
+
const Ze = (He = Ie[Le]) == null ? void 0 : He.endpoint;
|
|
27776
27781
|
return (Ze == null ? void 0 : Ze.trigger) === "onBlur" && Object.values(Ze.parameters || {}).some((We) => We.fieldRef === _);
|
|
27777
27782
|
});
|
|
27778
27783
|
}).length > 0 && fe();
|
|
@@ -33165,37 +33170,37 @@ const Hi = /* @__PURE__ */ Yo(function(t) {
|
|
|
33165
33170
|
} = Ie;
|
|
33166
33171
|
if (A.current == null)
|
|
33167
33172
|
return;
|
|
33168
|
-
const
|
|
33169
|
-
if (!
|
|
33173
|
+
const He = C.get(A.current);
|
|
33174
|
+
if (!He)
|
|
33170
33175
|
return;
|
|
33171
33176
|
const We = $e.nativeEvent, Ue = new Le({
|
|
33172
33177
|
active: A.current,
|
|
33173
|
-
activeNode:
|
|
33178
|
+
activeNode: He,
|
|
33174
33179
|
event: We,
|
|
33175
33180
|
options: Ze,
|
|
33176
33181
|
// Sensors need to be instantiated with refs for arguments that change over time
|
|
33177
33182
|
// otherwise they are frozen in time with the stale arguments
|
|
33178
33183
|
context: fe,
|
|
33179
|
-
onAbort(
|
|
33180
|
-
if (!C.get(
|
|
33184
|
+
onAbort(Pe) {
|
|
33185
|
+
if (!C.get(Pe))
|
|
33181
33186
|
return;
|
|
33182
33187
|
const {
|
|
33183
33188
|
onDragAbort: Ke
|
|
33184
33189
|
} = ae.current, it = {
|
|
33185
|
-
id:
|
|
33190
|
+
id: Pe
|
|
33186
33191
|
};
|
|
33187
33192
|
Ke == null || Ke(it), w({
|
|
33188
33193
|
type: "onDragAbort",
|
|
33189
33194
|
event: it
|
|
33190
33195
|
});
|
|
33191
33196
|
},
|
|
33192
|
-
onPending(
|
|
33193
|
-
if (!C.get(
|
|
33197
|
+
onPending(Pe, Xe, Ke, it) {
|
|
33198
|
+
if (!C.get(Pe))
|
|
33194
33199
|
return;
|
|
33195
33200
|
const {
|
|
33196
33201
|
onDragPending: Rr
|
|
33197
33202
|
} = ae.current, qt = {
|
|
33198
|
-
id:
|
|
33203
|
+
id: Pe,
|
|
33199
33204
|
constraint: Xe,
|
|
33200
33205
|
initialCoordinates: Ke,
|
|
33201
33206
|
offset: it
|
|
@@ -33205,7 +33210,7 @@ const Hi = /* @__PURE__ */ Yo(function(t) {
|
|
|
33205
33210
|
event: qt
|
|
33206
33211
|
});
|
|
33207
33212
|
},
|
|
33208
|
-
onStart(
|
|
33213
|
+
onStart(Pe) {
|
|
33209
33214
|
const Xe = A.current;
|
|
33210
33215
|
if (Xe == null)
|
|
33211
33216
|
return;
|
|
@@ -33225,7 +33230,7 @@ const Hi = /* @__PURE__ */ Yo(function(t) {
|
|
|
33225
33230
|
Ha(() => {
|
|
33226
33231
|
it == null || it(ar), j(Lr.Initializing), x({
|
|
33227
33232
|
type: pt.DragStart,
|
|
33228
|
-
initialCoordinates:
|
|
33233
|
+
initialCoordinates: Pe,
|
|
33229
33234
|
active: Xe
|
|
33230
33235
|
}), w({
|
|
33231
33236
|
type: "onDragStart",
|
|
@@ -33233,17 +33238,17 @@ const Hi = /* @__PURE__ */ Yo(function(t) {
|
|
|
33233
33238
|
}), ee(Be.current), ne(We);
|
|
33234
33239
|
});
|
|
33235
33240
|
},
|
|
33236
|
-
onMove(
|
|
33241
|
+
onMove(Pe) {
|
|
33237
33242
|
x({
|
|
33238
33243
|
type: pt.DragMove,
|
|
33239
|
-
coordinates:
|
|
33244
|
+
coordinates: Pe
|
|
33240
33245
|
});
|
|
33241
33246
|
},
|
|
33242
33247
|
onEnd: jt(pt.DragEnd),
|
|
33243
33248
|
onCancel: jt(pt.DragCancel)
|
|
33244
33249
|
});
|
|
33245
33250
|
Be.current = Ue;
|
|
33246
|
-
function jt(
|
|
33251
|
+
function jt(Pe) {
|
|
33247
33252
|
return async function() {
|
|
33248
33253
|
const {
|
|
33249
33254
|
active: Ke,
|
|
@@ -33262,13 +33267,13 @@ const Hi = /* @__PURE__ */ Yo(function(t) {
|
|
|
33262
33267
|
collisions: it,
|
|
33263
33268
|
delta: Rr,
|
|
33264
33269
|
over: ar
|
|
33265
|
-
},
|
|
33270
|
+
}, Pe === pt.DragEnd && typeof fr == "function" && await Promise.resolve(fr(qt)) && (Pe = pt.DragCancel);
|
|
33266
33271
|
}
|
|
33267
33272
|
A.current = null, Ha(() => {
|
|
33268
33273
|
x({
|
|
33269
|
-
type:
|
|
33274
|
+
type: Pe
|
|
33270
33275
|
}), j(Lr.Uninitialized), Ce(null), ee(null), ne(null), Be.current = null;
|
|
33271
|
-
const fr =
|
|
33276
|
+
const fr = Pe === pt.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
33272
33277
|
if (qt) {
|
|
33273
33278
|
const bs = ae.current[fr];
|
|
33274
33279
|
bs == null || bs(qt), w({
|
|
@@ -33283,18 +33288,18 @@ const Hi = /* @__PURE__ */ Yo(function(t) {
|
|
|
33283
33288
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
33284
33289
|
[C]
|
|
33285
33290
|
), _e = Fe(($e, Ie) => (Le, Ze) => {
|
|
33286
|
-
const
|
|
33291
|
+
const He = Le.nativeEvent, We = C.get(Ze);
|
|
33287
33292
|
if (
|
|
33288
33293
|
// Another sensor is already instantiating
|
|
33289
33294
|
A.current !== null || // No active draggable
|
|
33290
33295
|
!We || // Event has already been captured
|
|
33291
|
-
|
|
33296
|
+
He.dndKit || He.defaultPrevented
|
|
33292
33297
|
)
|
|
33293
33298
|
return;
|
|
33294
33299
|
const Ue = {
|
|
33295
33300
|
active: We
|
|
33296
33301
|
};
|
|
33297
|
-
$e(Le, Ie.options, Ue) === !0 && (
|
|
33302
|
+
$e(Le, Ie.options, Ue) === !0 && (He.dndKit = {
|
|
33298
33303
|
capturedBy: Ie.sensor
|
|
33299
33304
|
}, A.current = Ze, Se(Le, Ie));
|
|
33300
33305
|
}, [C, Se]), De = dL(m, _e);
|
|
@@ -33308,7 +33313,7 @@ const Hi = /* @__PURE__ */ Yo(function(t) {
|
|
|
33308
33313
|
active: Ie,
|
|
33309
33314
|
activatorEvent: Le,
|
|
33310
33315
|
collisions: Ze,
|
|
33311
|
-
over:
|
|
33316
|
+
over: He
|
|
33312
33317
|
} = fe.current;
|
|
33313
33318
|
if (!Ie || !Le)
|
|
33314
33319
|
return;
|
|
@@ -33320,7 +33325,7 @@ const Hi = /* @__PURE__ */ Yo(function(t) {
|
|
|
33320
33325
|
x: K.x,
|
|
33321
33326
|
y: K.y
|
|
33322
33327
|
},
|
|
33323
|
-
over:
|
|
33328
|
+
over: He
|
|
33324
33329
|
};
|
|
33325
33330
|
Ha(() => {
|
|
33326
33331
|
$e == null || $e(We), w({
|
|
@@ -33338,9 +33343,9 @@ const Hi = /* @__PURE__ */ Yo(function(t) {
|
|
|
33338
33343
|
activatorEvent: Ie,
|
|
33339
33344
|
collisions: Le,
|
|
33340
33345
|
droppableContainers: Ze,
|
|
33341
|
-
scrollAdjustedTranslate:
|
|
33346
|
+
scrollAdjustedTranslate: He
|
|
33342
33347
|
} = fe.current;
|
|
33343
|
-
if (!$e || A.current == null || !Ie || !
|
|
33348
|
+
if (!$e || A.current == null || !Ie || !He)
|
|
33344
33349
|
return;
|
|
33345
33350
|
const {
|
|
33346
33351
|
onDragOver: We
|
|
@@ -33349,20 +33354,20 @@ const Hi = /* @__PURE__ */ Yo(function(t) {
|
|
|
33349
33354
|
rect: Ue.rect.current,
|
|
33350
33355
|
data: Ue.data,
|
|
33351
33356
|
disabled: Ue.disabled
|
|
33352
|
-
} : null,
|
|
33357
|
+
} : null, Pe = {
|
|
33353
33358
|
active: $e,
|
|
33354
33359
|
activatorEvent: Ie,
|
|
33355
33360
|
collisions: Le,
|
|
33356
33361
|
delta: {
|
|
33357
|
-
x:
|
|
33358
|
-
y:
|
|
33362
|
+
x: He.x,
|
|
33363
|
+
y: He.y
|
|
33359
33364
|
},
|
|
33360
33365
|
over: jt
|
|
33361
33366
|
};
|
|
33362
33367
|
Ha(() => {
|
|
33363
|
-
Ce(jt), We == null || We(
|
|
33368
|
+
Ce(jt), We == null || We(Pe), w({
|
|
33364
33369
|
type: "onDragOver",
|
|
33365
|
-
event:
|
|
33370
|
+
event: Pe
|
|
33366
33371
|
});
|
|
33367
33372
|
});
|
|
33368
33373
|
},
|
|
@@ -51704,13 +51709,13 @@ function JB({ schema: e, onSchemaChange: t, deps: r, layoutEditMode: n = !1 }) {
|
|
|
51704
51709
|
if (((ue == null ? void 0 : ue.kind) === "row-in-section" || (ue == null ? void 0 : ue.kind) === "row-in-tab-section") && ((ge == null ? void 0 : ge.scope) === "row-slot" || (ge == null ? void 0 : ge.scope) === "tab-row-slot")) {
|
|
51705
51710
|
const Se = ue.li, _e = ue.sIdx, De = ue.rIdx, Ge = ge.li, lt = ge.sIdx, Oe = ge.insertAt, $e = { ...e, layout: [...e.layout] }, Ie = { ...$e.layout[Se] };
|
|
51706
51711
|
$e.layout[Se] = Ie;
|
|
51707
|
-
let Le = null, Ze = null,
|
|
51712
|
+
let Le = null, Ze = null, He = null;
|
|
51708
51713
|
if (ue.kind === "row-in-section" && Ie.type === "rows")
|
|
51709
51714
|
Ie.sections = [...Ie.sections], Ze = { ...Ie.sections[_e] }, Ie.sections[_e] = Ze, Ze.rows = [...Ze.rows], Le = Ze.rows;
|
|
51710
51715
|
else if (ue.kind === "row-in-tab-section" && Ie.type === "tabs") {
|
|
51711
51716
|
Ie.tabs = [...Ie.tabs];
|
|
51712
51717
|
const Xe = Ie.tabs.findIndex((Ke) => Ke.key === ue.tabKey);
|
|
51713
|
-
Xe >= 0 && (
|
|
51718
|
+
Xe >= 0 && (He = { ...Ie.tabs[Xe] }, Ie.tabs[Xe] = He, He.sections = [...He.sections], Ze = { ...He.sections[_e] }, He.sections[_e] = Ze, Ze.rows = [...Ze.rows], Le = Ze.rows);
|
|
51714
51719
|
}
|
|
51715
51720
|
if (!Le) return;
|
|
51716
51721
|
let We = null, Ue = null;
|
|
@@ -51726,7 +51731,7 @@ function JB({ schema: e, onSchemaChange: t, deps: r, layoutEditMode: n = !1 }) {
|
|
|
51726
51731
|
const Xe = Ue.tabs.findIndex((Ke) => Ke.key === ge.tabKey);
|
|
51727
51732
|
if (Xe >= 0) {
|
|
51728
51733
|
let Ke = Ue.tabs[Xe];
|
|
51729
|
-
if (Se === Ge && ue.kind === "row-in-tab-section" && ue.tabKey === ge.tabKey ? Ke =
|
|
51734
|
+
if (Se === Ge && ue.kind === "row-in-tab-section" && ue.tabKey === ge.tabKey ? Ke = He : (Ke = { ...Ke }, Ue.tabs[Xe] = Ke), Ke.sections === (He == null ? void 0 : He.sections) || (Ke.sections = [...Ke.sections]), Se === Ge && _e === lt && ue.kind === "row-in-tab-section" && ue.tabKey === ge.tabKey)
|
|
51730
51735
|
We = Le;
|
|
51731
51736
|
else {
|
|
51732
51737
|
const it = { ...Ke.sections[lt] };
|
|
@@ -51736,8 +51741,8 @@ function JB({ schema: e, onSchemaChange: t, deps: r, layoutEditMode: n = !1 }) {
|
|
|
51736
51741
|
}
|
|
51737
51742
|
if (!We) return;
|
|
51738
51743
|
const [jt] = Le.splice(De, 1);
|
|
51739
|
-
let
|
|
51740
|
-
Le === We && De < Oe && (
|
|
51744
|
+
let Pe = Oe;
|
|
51745
|
+
Le === We && De < Oe && (Pe -= 1), We.splice(Pe, 0, jt), t($e), Q(null), E(null);
|
|
51741
51746
|
return;
|
|
51742
51747
|
}
|
|
51743
51748
|
if ((ue == null ? void 0 : ue.kind) === "palette-field") {
|
|
@@ -51857,29 +51862,29 @@ function JB({ schema: e, onSchemaChange: t, deps: r, layoutEditMode: n = !1 }) {
|
|
|
51857
51862
|
const Ie = oa(String(Oe)), Le = KB(e, Ie);
|
|
51858
51863
|
if (!Le)
|
|
51859
51864
|
return /* @__PURE__ */ s.jsx("div", { "data-sortable-item": !0, "aria-hidden": !0 }, `${W}-miss-${$e}`);
|
|
51860
|
-
const Ze = Kl(Le),
|
|
51865
|
+
const Ze = Kl(Le), He = typeof Ze == "string" ? Ze : (Ze == null ? void 0 : Ze.name) ?? "", We = !!p && !!He && p === He, Ue = f(Ze), jt = H(Ze), Pe = (Ke) => {
|
|
51861
51866
|
var it;
|
|
51862
51867
|
Ke.preventDefault(), Ke.stopPropagation(), (it = Ke.nativeEvent) != null && it.stopImmediatePropagation && Ke.nativeEvent.stopImmediatePropagation();
|
|
51863
51868
|
}, Xe = jt ? {
|
|
51864
|
-
onDoubleClick:
|
|
51865
|
-
onDoubleClickCapture:
|
|
51866
|
-
onClick:
|
|
51867
|
-
onClickCapture:
|
|
51868
|
-
onMouseDown:
|
|
51869
|
-
onMouseDownCapture:
|
|
51870
|
-
onMouseUp:
|
|
51871
|
-
onMouseUpCapture:
|
|
51872
|
-
onPointerDown:
|
|
51873
|
-
onPointerDownCapture:
|
|
51874
|
-
onPointerUp:
|
|
51875
|
-
onPointerUpCapture:
|
|
51876
|
-
onContextMenu:
|
|
51869
|
+
onDoubleClick: Pe,
|
|
51870
|
+
onDoubleClickCapture: Pe,
|
|
51871
|
+
onClick: Pe,
|
|
51872
|
+
onClickCapture: Pe,
|
|
51873
|
+
onMouseDown: Pe,
|
|
51874
|
+
onMouseDownCapture: Pe,
|
|
51875
|
+
onMouseUp: Pe,
|
|
51876
|
+
onMouseUpCapture: Pe,
|
|
51877
|
+
onPointerDown: Pe,
|
|
51878
|
+
onPointerDownCapture: Pe,
|
|
51879
|
+
onPointerUp: Pe,
|
|
51880
|
+
onPointerUpCapture: Pe,
|
|
51881
|
+
onContextMenu: Pe
|
|
51877
51882
|
} : {};
|
|
51878
51883
|
return /* @__PURE__ */ s.jsx("div", { "data-sortable-item": !0, children: /* @__PURE__ */ s.jsx(
|
|
51879
51884
|
ZB,
|
|
51880
51885
|
{
|
|
51881
51886
|
id: String(Oe),
|
|
51882
|
-
fieldName:
|
|
51887
|
+
fieldName: He,
|
|
51883
51888
|
onDelete: (Ke) => {
|
|
51884
51889
|
const it = oa(Ke);
|
|
51885
51890
|
ne(
|
|
@@ -51892,11 +51897,11 @@ function JB({ schema: e, onSchemaChange: t, deps: r, layoutEditMode: n = !1 }) {
|
|
|
51892
51897
|
);
|
|
51893
51898
|
},
|
|
51894
51899
|
chromeDisabled: v,
|
|
51895
|
-
children: /* @__PURE__ */ s.jsx(zB, { name:
|
|
51900
|
+
children: /* @__PURE__ */ s.jsx(zB, { name: He, children: /* @__PURE__ */ s.jsx(
|
|
51896
51901
|
"div",
|
|
51897
51902
|
{
|
|
51898
51903
|
className: We ? "selected-field" : void 0,
|
|
51899
|
-
"data-field-name":
|
|
51904
|
+
"data-field-name": He,
|
|
51900
51905
|
"aria-selected": We || void 0,
|
|
51901
51906
|
...Xe,
|
|
51902
51907
|
children: Ue
|