@teamprodevs/appsmith-custom-table 0.4.10 → 0.4.12
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/app.css +1 -1
- package/dist/app.js +140 -147
- package/dist/app.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as _,
|
|
1
|
+
import { jsx as _, Fragment as Sx, jsxs as Ze } from "react/jsx-runtime";
|
|
2
2
|
import * as f from "react";
|
|
3
3
|
import de, { useLayoutEffect as pq, useState as yq, forwardRef as sS, createElement as Cx } from "react";
|
|
4
4
|
import * as lS from "react-dom";
|
|
@@ -2134,12 +2134,12 @@ const fR = (e, t) => {
|
|
|
2134
2134
|
}, HR = [], ce = (e) => {
|
|
2135
2135
|
const t = (o) => o[e] || HR;
|
|
2136
2136
|
return t.isThemeGetter = !0, t;
|
|
2137
|
-
}, LS = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, SS = /^\((?:(\w[\w-]*):)?(.+)\)$/i, VR = /^\d+\/\d+$/, OR = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, TR = /\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$/, FR = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ER = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, UR = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, D1 = (e) => VR.test(e),
|
|
2137
|
+
}, LS = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, SS = /^\((?:(\w[\w-]*):)?(.+)\)$/i, VR = /^\d+\/\d+$/, OR = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, TR = /\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$/, FR = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ER = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, UR = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, D1 = (e) => VR.test(e), B = (e) => !!e && !Number.isNaN(Number(e)), it = (e) => !!e && Number.isInteger(Number(e)), mx = (e) => e.endsWith("%") && B(e.slice(0, -1)), Xe = (e) => OR.test(e), BR = () => !0, ZR = (e) => (
|
|
2138
2138
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
2139
2139
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
2140
2140
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
2141
2141
|
TR.test(e) && !FR.test(e)
|
|
2142
|
-
), CS = () => !1, GR = (e) => ER.test(e), WR = (e) => UR.test(e), KR = (e) => !A(e) && !j(e), XR = (e) => X1(e, AS, CS), A = (e) => LS.test(e), mt = (e) => X1(e, jS, ZR), fx = (e) => X1(e, tD,
|
|
2142
|
+
), CS = () => !1, GR = (e) => ER.test(e), WR = (e) => UR.test(e), KR = (e) => !A(e) && !j(e), XR = (e) => X1(e, AS, CS), A = (e) => LS.test(e), mt = (e) => X1(e, jS, ZR), fx = (e) => X1(e, tD, B), kL = (e) => X1(e, NS, CS), JR = (e) => X1(e, zS, WR), Zr = (e) => X1(e, PS, GR), j = (e) => SS.test(e), rr = (e) => J1(e, jS), YR = (e) => J1(e, nD), mL = (e) => J1(e, NS), QR = (e) => J1(e, AS), eD = (e) => J1(e, zS), Gr = (e) => J1(e, PS, !0), X1 = (e, t, o) => {
|
|
2143
2143
|
const a = LS.exec(e);
|
|
2144
2144
|
return a ? a[1] ? t(a[1]) : o(a[2]) : !1;
|
|
2145
2145
|
}, J1 = (e, t, o = !1) => {
|
|
@@ -2166,7 +2166,7 @@ const fR = (e, t) => {
|
|
|
2166
2166
|
"left-bottom"
|
|
2167
2167
|
], I = () => [...x(), j, A], z = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", "contain", "none"], L = () => [j, A, l], T = () => [D1, "full", "auto", ...L()], G = () => [it, "none", "subgrid", j, A], Y = () => ["auto", {
|
|
2168
2168
|
span: ["full", it, j, A]
|
|
2169
|
-
}, it, j, A], Q = () => [it, "auto", j, A], K = () => ["auto", "min", "max", "fr", j, A], X = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"],
|
|
2169
|
+
}, it, j, A], Q = () => [it, "auto", j, A], K = () => ["auto", "min", "max", "fr", j, A], X = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], U = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], R = () => ["auto", ...L()], J = () => [D1, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...L()], C = () => [e, j, A], P = () => [...x(), mL, kL, {
|
|
2170
2170
|
position: [j, A]
|
|
2171
2171
|
}], ae = () => ["no-repeat", {
|
|
2172
2172
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -2180,14 +2180,14 @@ const fR = (e, t) => {
|
|
|
2180
2180
|
s,
|
|
2181
2181
|
j,
|
|
2182
2182
|
A
|
|
2183
|
-
], ie = () => ["",
|
|
2183
|
+
], ie = () => ["", B, rr, mt], Ke = () => ["solid", "dashed", "dotted", "double"], Pe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Z = () => [B, mx, mL, kL], rt = () => [
|
|
2184
2184
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2185
2185
|
"",
|
|
2186
2186
|
"none",
|
|
2187
2187
|
y,
|
|
2188
2188
|
j,
|
|
2189
2189
|
A
|
|
2190
|
-
], P1 = () => ["none",
|
|
2190
|
+
], P1 = () => ["none", B, j, A], q1 = () => ["none", B, j, A], nr = () => [B, j, A], R1 = () => [D1, "full", ...L()];
|
|
2191
2191
|
return {
|
|
2192
2192
|
cacheSize: 500,
|
|
2193
2193
|
theme: {
|
|
@@ -2206,7 +2206,7 @@ const fR = (e, t) => {
|
|
|
2206
2206
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
2207
2207
|
radius: [Xe],
|
|
2208
2208
|
shadow: [Xe],
|
|
2209
|
-
spacing: ["px",
|
|
2209
|
+
spacing: ["px", B],
|
|
2210
2210
|
text: [Xe],
|
|
2211
2211
|
"text-shadow": [Xe],
|
|
2212
2212
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -2233,7 +2233,7 @@ const fR = (e, t) => {
|
|
|
2233
2233
|
* @see https://tailwindcss.com/docs/columns
|
|
2234
2234
|
*/
|
|
2235
2235
|
columns: [{
|
|
2236
|
-
columns: [
|
|
2236
|
+
columns: [B, A, j, d]
|
|
2237
2237
|
}],
|
|
2238
2238
|
/**
|
|
2239
2239
|
* Break After
|
|
@@ -2464,21 +2464,21 @@ const fR = (e, t) => {
|
|
|
2464
2464
|
* @see https://tailwindcss.com/docs/flex
|
|
2465
2465
|
*/
|
|
2466
2466
|
flex: [{
|
|
2467
|
-
flex: [
|
|
2467
|
+
flex: [B, D1, "auto", "initial", "none", A]
|
|
2468
2468
|
}],
|
|
2469
2469
|
/**
|
|
2470
2470
|
* Flex Grow
|
|
2471
2471
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
2472
2472
|
*/
|
|
2473
2473
|
grow: [{
|
|
2474
|
-
grow: ["",
|
|
2474
|
+
grow: ["", B, j, A]
|
|
2475
2475
|
}],
|
|
2476
2476
|
/**
|
|
2477
2477
|
* Flex Shrink
|
|
2478
2478
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
2479
2479
|
*/
|
|
2480
2480
|
shrink: [{
|
|
2481
|
-
shrink: ["",
|
|
2481
|
+
shrink: ["", B, j, A]
|
|
2482
2482
|
}],
|
|
2483
2483
|
/**
|
|
2484
2484
|
* Order
|
|
@@ -2597,14 +2597,14 @@ const fR = (e, t) => {
|
|
|
2597
2597
|
* @see https://tailwindcss.com/docs/justify-items
|
|
2598
2598
|
*/
|
|
2599
2599
|
"justify-items": [{
|
|
2600
|
-
"justify-items": [...
|
|
2600
|
+
"justify-items": [...U(), "normal"]
|
|
2601
2601
|
}],
|
|
2602
2602
|
/**
|
|
2603
2603
|
* Justify Self
|
|
2604
2604
|
* @see https://tailwindcss.com/docs/justify-self
|
|
2605
2605
|
*/
|
|
2606
2606
|
"justify-self": [{
|
|
2607
|
-
"justify-self": ["auto", ...
|
|
2607
|
+
"justify-self": ["auto", ...U()]
|
|
2608
2608
|
}],
|
|
2609
2609
|
/**
|
|
2610
2610
|
* Align Content
|
|
@@ -2618,7 +2618,7 @@ const fR = (e, t) => {
|
|
|
2618
2618
|
* @see https://tailwindcss.com/docs/align-items
|
|
2619
2619
|
*/
|
|
2620
2620
|
"align-items": [{
|
|
2621
|
-
items: [...
|
|
2621
|
+
items: [...U(), {
|
|
2622
2622
|
baseline: ["", "last"]
|
|
2623
2623
|
}]
|
|
2624
2624
|
}],
|
|
@@ -2627,7 +2627,7 @@ const fR = (e, t) => {
|
|
|
2627
2627
|
* @see https://tailwindcss.com/docs/align-self
|
|
2628
2628
|
*/
|
|
2629
2629
|
"align-self": [{
|
|
2630
|
-
self: ["auto", ...
|
|
2630
|
+
self: ["auto", ...U(), {
|
|
2631
2631
|
baseline: ["", "last"]
|
|
2632
2632
|
}]
|
|
2633
2633
|
}],
|
|
@@ -2643,14 +2643,14 @@ const fR = (e, t) => {
|
|
|
2643
2643
|
* @see https://tailwindcss.com/docs/place-items
|
|
2644
2644
|
*/
|
|
2645
2645
|
"place-items": [{
|
|
2646
|
-
"place-items": [...
|
|
2646
|
+
"place-items": [...U(), "baseline"]
|
|
2647
2647
|
}],
|
|
2648
2648
|
/**
|
|
2649
2649
|
* Place Self
|
|
2650
2650
|
* @see https://tailwindcss.com/docs/place-self
|
|
2651
2651
|
*/
|
|
2652
2652
|
"place-self": [{
|
|
2653
|
-
"place-self": ["auto", ...
|
|
2653
|
+
"place-self": ["auto", ...U()]
|
|
2654
2654
|
}],
|
|
2655
2655
|
// Spacing
|
|
2656
2656
|
/**
|
|
@@ -2955,7 +2955,7 @@ const fR = (e, t) => {
|
|
|
2955
2955
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
2956
2956
|
*/
|
|
2957
2957
|
"line-clamp": [{
|
|
2958
|
-
"line-clamp": [
|
|
2958
|
+
"line-clamp": [B, "none", j, fx]
|
|
2959
2959
|
}],
|
|
2960
2960
|
/**
|
|
2961
2961
|
* Line Height
|
|
@@ -3028,7 +3028,7 @@ const fR = (e, t) => {
|
|
|
3028
3028
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
3029
3029
|
*/
|
|
3030
3030
|
"text-decoration-thickness": [{
|
|
3031
|
-
decoration: [
|
|
3031
|
+
decoration: [B, "from-font", "auto", j, mt]
|
|
3032
3032
|
}],
|
|
3033
3033
|
/**
|
|
3034
3034
|
* Text Decoration Color
|
|
@@ -3042,7 +3042,7 @@ const fR = (e, t) => {
|
|
|
3042
3042
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
3043
3043
|
*/
|
|
3044
3044
|
"underline-offset": [{
|
|
3045
|
-
"underline-offset": [
|
|
3045
|
+
"underline-offset": [B, "auto", j, A]
|
|
3046
3046
|
}],
|
|
3047
3047
|
/**
|
|
3048
3048
|
* Text Transform
|
|
@@ -3508,14 +3508,14 @@ const fR = (e, t) => {
|
|
|
3508
3508
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
3509
3509
|
*/
|
|
3510
3510
|
"outline-offset": [{
|
|
3511
|
-
"outline-offset": [
|
|
3511
|
+
"outline-offset": [B, j, A]
|
|
3512
3512
|
}],
|
|
3513
3513
|
/**
|
|
3514
3514
|
* Outline Width
|
|
3515
3515
|
* @see https://tailwindcss.com/docs/outline-width
|
|
3516
3516
|
*/
|
|
3517
3517
|
"outline-w": [{
|
|
3518
|
-
outline: ["",
|
|
3518
|
+
outline: ["", B, rr, mt]
|
|
3519
3519
|
}],
|
|
3520
3520
|
/**
|
|
3521
3521
|
* Outline Color
|
|
@@ -3590,7 +3590,7 @@ const fR = (e, t) => {
|
|
|
3590
3590
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
3591
3591
|
*/
|
|
3592
3592
|
"ring-offset-w": [{
|
|
3593
|
-
"ring-offset": [
|
|
3593
|
+
"ring-offset": [B, mt]
|
|
3594
3594
|
}],
|
|
3595
3595
|
/**
|
|
3596
3596
|
* Ring Offset Color
|
|
@@ -3634,7 +3634,7 @@ const fR = (e, t) => {
|
|
|
3634
3634
|
* @see https://tailwindcss.com/docs/opacity
|
|
3635
3635
|
*/
|
|
3636
3636
|
opacity: [{
|
|
3637
|
-
opacity: [
|
|
3637
|
+
opacity: [B, j, A]
|
|
3638
3638
|
}],
|
|
3639
3639
|
/**
|
|
3640
3640
|
* Mix Blend Mode
|
|
@@ -3669,7 +3669,7 @@ const fR = (e, t) => {
|
|
|
3669
3669
|
* @see https://tailwindcss.com/docs/mask-image
|
|
3670
3670
|
*/
|
|
3671
3671
|
"mask-image-linear-pos": [{
|
|
3672
|
-
"mask-linear": [
|
|
3672
|
+
"mask-linear": [B]
|
|
3673
3673
|
}],
|
|
3674
3674
|
"mask-image-linear-from-pos": [{
|
|
3675
3675
|
"mask-linear-from": Z()
|
|
@@ -3783,7 +3783,7 @@ const fR = (e, t) => {
|
|
|
3783
3783
|
"mask-radial-at": x()
|
|
3784
3784
|
}],
|
|
3785
3785
|
"mask-image-conic-pos": [{
|
|
3786
|
-
"mask-conic": [
|
|
3786
|
+
"mask-conic": [B]
|
|
3787
3787
|
}],
|
|
3788
3788
|
"mask-image-conic-from-pos": [{
|
|
3789
3789
|
"mask-conic-from": Z()
|
|
@@ -3874,14 +3874,14 @@ const fR = (e, t) => {
|
|
|
3874
3874
|
* @see https://tailwindcss.com/docs/brightness
|
|
3875
3875
|
*/
|
|
3876
3876
|
brightness: [{
|
|
3877
|
-
brightness: [
|
|
3877
|
+
brightness: [B, j, A]
|
|
3878
3878
|
}],
|
|
3879
3879
|
/**
|
|
3880
3880
|
* Contrast
|
|
3881
3881
|
* @see https://tailwindcss.com/docs/contrast
|
|
3882
3882
|
*/
|
|
3883
3883
|
contrast: [{
|
|
3884
|
-
contrast: [
|
|
3884
|
+
contrast: [B, j, A]
|
|
3885
3885
|
}],
|
|
3886
3886
|
/**
|
|
3887
3887
|
* Drop Shadow
|
|
@@ -3909,35 +3909,35 @@ const fR = (e, t) => {
|
|
|
3909
3909
|
* @see https://tailwindcss.com/docs/grayscale
|
|
3910
3910
|
*/
|
|
3911
3911
|
grayscale: [{
|
|
3912
|
-
grayscale: ["",
|
|
3912
|
+
grayscale: ["", B, j, A]
|
|
3913
3913
|
}],
|
|
3914
3914
|
/**
|
|
3915
3915
|
* Hue Rotate
|
|
3916
3916
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
3917
3917
|
*/
|
|
3918
3918
|
"hue-rotate": [{
|
|
3919
|
-
"hue-rotate": [
|
|
3919
|
+
"hue-rotate": [B, j, A]
|
|
3920
3920
|
}],
|
|
3921
3921
|
/**
|
|
3922
3922
|
* Invert
|
|
3923
3923
|
* @see https://tailwindcss.com/docs/invert
|
|
3924
3924
|
*/
|
|
3925
3925
|
invert: [{
|
|
3926
|
-
invert: ["",
|
|
3926
|
+
invert: ["", B, j, A]
|
|
3927
3927
|
}],
|
|
3928
3928
|
/**
|
|
3929
3929
|
* Saturate
|
|
3930
3930
|
* @see https://tailwindcss.com/docs/saturate
|
|
3931
3931
|
*/
|
|
3932
3932
|
saturate: [{
|
|
3933
|
-
saturate: [
|
|
3933
|
+
saturate: [B, j, A]
|
|
3934
3934
|
}],
|
|
3935
3935
|
/**
|
|
3936
3936
|
* Sepia
|
|
3937
3937
|
* @see https://tailwindcss.com/docs/sepia
|
|
3938
3938
|
*/
|
|
3939
3939
|
sepia: [{
|
|
3940
|
-
sepia: ["",
|
|
3940
|
+
sepia: ["", B, j, A]
|
|
3941
3941
|
}],
|
|
3942
3942
|
/**
|
|
3943
3943
|
* Backdrop Filter
|
|
@@ -3964,56 +3964,56 @@ const fR = (e, t) => {
|
|
|
3964
3964
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3965
3965
|
*/
|
|
3966
3966
|
"backdrop-brightness": [{
|
|
3967
|
-
"backdrop-brightness": [
|
|
3967
|
+
"backdrop-brightness": [B, j, A]
|
|
3968
3968
|
}],
|
|
3969
3969
|
/**
|
|
3970
3970
|
* Backdrop Contrast
|
|
3971
3971
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3972
3972
|
*/
|
|
3973
3973
|
"backdrop-contrast": [{
|
|
3974
|
-
"backdrop-contrast": [
|
|
3974
|
+
"backdrop-contrast": [B, j, A]
|
|
3975
3975
|
}],
|
|
3976
3976
|
/**
|
|
3977
3977
|
* Backdrop Grayscale
|
|
3978
3978
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3979
3979
|
*/
|
|
3980
3980
|
"backdrop-grayscale": [{
|
|
3981
|
-
"backdrop-grayscale": ["",
|
|
3981
|
+
"backdrop-grayscale": ["", B, j, A]
|
|
3982
3982
|
}],
|
|
3983
3983
|
/**
|
|
3984
3984
|
* Backdrop Hue Rotate
|
|
3985
3985
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3986
3986
|
*/
|
|
3987
3987
|
"backdrop-hue-rotate": [{
|
|
3988
|
-
"backdrop-hue-rotate": [
|
|
3988
|
+
"backdrop-hue-rotate": [B, j, A]
|
|
3989
3989
|
}],
|
|
3990
3990
|
/**
|
|
3991
3991
|
* Backdrop Invert
|
|
3992
3992
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3993
3993
|
*/
|
|
3994
3994
|
"backdrop-invert": [{
|
|
3995
|
-
"backdrop-invert": ["",
|
|
3995
|
+
"backdrop-invert": ["", B, j, A]
|
|
3996
3996
|
}],
|
|
3997
3997
|
/**
|
|
3998
3998
|
* Backdrop Opacity
|
|
3999
3999
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
4000
4000
|
*/
|
|
4001
4001
|
"backdrop-opacity": [{
|
|
4002
|
-
"backdrop-opacity": [
|
|
4002
|
+
"backdrop-opacity": [B, j, A]
|
|
4003
4003
|
}],
|
|
4004
4004
|
/**
|
|
4005
4005
|
* Backdrop Saturate
|
|
4006
4006
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
4007
4007
|
*/
|
|
4008
4008
|
"backdrop-saturate": [{
|
|
4009
|
-
"backdrop-saturate": [
|
|
4009
|
+
"backdrop-saturate": [B, j, A]
|
|
4010
4010
|
}],
|
|
4011
4011
|
/**
|
|
4012
4012
|
* Backdrop Sepia
|
|
4013
4013
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
4014
4014
|
*/
|
|
4015
4015
|
"backdrop-sepia": [{
|
|
4016
|
-
"backdrop-sepia": ["",
|
|
4016
|
+
"backdrop-sepia": ["", B, j, A]
|
|
4017
4017
|
}],
|
|
4018
4018
|
// --------------
|
|
4019
4019
|
// --- Tables ---
|
|
@@ -4082,7 +4082,7 @@ const fR = (e, t) => {
|
|
|
4082
4082
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
4083
4083
|
*/
|
|
4084
4084
|
duration: [{
|
|
4085
|
-
duration: [
|
|
4085
|
+
duration: [B, "initial", j, A]
|
|
4086
4086
|
}],
|
|
4087
4087
|
/**
|
|
4088
4088
|
* Transition Timing Function
|
|
@@ -4096,7 +4096,7 @@ const fR = (e, t) => {
|
|
|
4096
4096
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
4097
4097
|
*/
|
|
4098
4098
|
delay: [{
|
|
4099
|
-
delay: [
|
|
4099
|
+
delay: [B, j, A]
|
|
4100
4100
|
}],
|
|
4101
4101
|
/**
|
|
4102
4102
|
* Animation
|
|
@@ -4540,7 +4540,7 @@ const fR = (e, t) => {
|
|
|
4540
4540
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
4541
4541
|
*/
|
|
4542
4542
|
"stroke-w": [{
|
|
4543
|
-
stroke: [
|
|
4543
|
+
stroke: [B, rr, mt, fx]
|
|
4544
4544
|
}],
|
|
4545
4545
|
/**
|
|
4546
4546
|
* Stroke
|
|
@@ -4621,18 +4621,11 @@ function re(...e) {
|
|
|
4621
4621
|
}
|
|
4622
4622
|
function rD({ className: e, ...t }) {
|
|
4623
4623
|
return /* @__PURE__ */ _(
|
|
4624
|
-
"
|
|
4624
|
+
"table",
|
|
4625
4625
|
{
|
|
4626
|
-
"data-slot": "table
|
|
4627
|
-
className: "
|
|
4628
|
-
|
|
4629
|
-
"table",
|
|
4630
|
-
{
|
|
4631
|
-
"data-slot": "table",
|
|
4632
|
-
className: re("w-full caption-bottom text-sm", e),
|
|
4633
|
-
...t
|
|
4634
|
-
}
|
|
4635
|
-
)
|
|
4626
|
+
"data-slot": "table",
|
|
4627
|
+
className: re("w-full caption-bottom text-sm", e),
|
|
4628
|
+
...t
|
|
4636
4629
|
}
|
|
4637
4630
|
);
|
|
4638
4631
|
}
|
|
@@ -4704,34 +4697,30 @@ const RS = 20, lD = {
|
|
|
4704
4697
|
};
|
|
4705
4698
|
function uD({
|
|
4706
4699
|
table: e,
|
|
4707
|
-
styles: t
|
|
4708
|
-
children: o
|
|
4700
|
+
styles: t
|
|
4709
4701
|
}) {
|
|
4710
|
-
return /* @__PURE__ */
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
)),
|
|
4733
|
-
o
|
|
4734
|
-
] });
|
|
4702
|
+
return /* @__PURE__ */ _(cD, { className: t?.body, children: e.getRowModel().rows.map((o) => /* @__PURE__ */ _(
|
|
4703
|
+
qS,
|
|
4704
|
+
{
|
|
4705
|
+
className: re("even:bg-foreground/5", t?.row),
|
|
4706
|
+
children: o.getVisibleCells().map((a) => {
|
|
4707
|
+
const n = a.column.columnDef.meta?.size ?? Ie.md, r = lD[n];
|
|
4708
|
+
return /* @__PURE__ */ _(
|
|
4709
|
+
sD,
|
|
4710
|
+
{
|
|
4711
|
+
className: re(
|
|
4712
|
+
"whitespace-normal break-words border text-center lg:text-start max-w-96",
|
|
4713
|
+
r,
|
|
4714
|
+
t?.cell
|
|
4715
|
+
),
|
|
4716
|
+
children: MS(a.column.columnDef.cell, a.getContext())
|
|
4717
|
+
},
|
|
4718
|
+
a.id
|
|
4719
|
+
);
|
|
4720
|
+
})
|
|
4721
|
+
},
|
|
4722
|
+
o.id
|
|
4723
|
+
)) });
|
|
4735
4724
|
}
|
|
4736
4725
|
const hD = ({ table: e, styles: t }) => /* @__PURE__ */ _(
|
|
4737
4726
|
iD,
|
|
@@ -4745,7 +4734,7 @@ const hD = ({ table: e, styles: t }) => /* @__PURE__ */ _(
|
|
|
4745
4734
|
{
|
|
4746
4735
|
colSpan: a.colSpan,
|
|
4747
4736
|
className: re(
|
|
4748
|
-
"whitespace-normal break-words text-center
|
|
4737
|
+
"whitespace-normal break-words text-center border p-1 md:text-start min-w-8 md:px-2",
|
|
4749
4738
|
a.column.getCanSort() && "cursor-pointer",
|
|
4750
4739
|
t?.cell
|
|
4751
4740
|
),
|
|
@@ -5692,12 +5681,12 @@ const sH = (e) => ({
|
|
|
5692
5681
|
}, p = s$(n), y = d$(p), m = await c.getDimensions(s), g = p === "y", v = g ? "top" : "left", w = g ? "bottom" : "right", b = g ? "clientHeight" : "clientWidth", x = r.reference[y] + r.reference[p] - k[p] - r.floating[y], I = k[p] - r.reference[p], z = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(s));
|
|
5693
5682
|
let N = z ? z[b] : 0;
|
|
5694
5683
|
(!N || !await (c.isElement == null ? void 0 : c.isElement(z))) && (N = d.floating[b] || r.floating[y]);
|
|
5695
|
-
const L = x / 2 - I / 2, T = N / 2 - m[y] / 2 - 1, G = ht(h[v], T), Y = ht(h[w], T), Q = G, K = N - m[y] - Y, X = N / 2 - m[y] / 2 + L,
|
|
5684
|
+
const L = x / 2 - I / 2, T = N / 2 - m[y] / 2 - 1, G = ht(h[v], T), Y = ht(h[w], T), Q = G, K = N - m[y] - Y, X = N / 2 - m[y] / 2 + L, U = Hx(Q, X, K), R = !l.arrow && Q1(n) != null && X !== U && r.reference[y] / 2 - (X < Q ? G : Y) - m[y] / 2 < 0, J = R ? X < Q ? X - Q : X - K : 0;
|
|
5696
5685
|
return {
|
|
5697
5686
|
[p]: k[p] + J,
|
|
5698
5687
|
data: {
|
|
5699
|
-
[p]:
|
|
5700
|
-
centerOffset: X -
|
|
5688
|
+
[p]: U,
|
|
5689
|
+
centerOffset: X - U - J,
|
|
5701
5690
|
...R && {
|
|
5702
5691
|
alignmentOffset: J
|
|
5703
5692
|
}
|
|
@@ -5742,8 +5731,8 @@ const sH = (e) => ({
|
|
|
5742
5731
|
overflows: T
|
|
5743
5732
|
}], !T.every((X) => X <= 0)) {
|
|
5744
5733
|
var Y, Q;
|
|
5745
|
-
const X = (((Y = r.flip) == null ? void 0 : Y.index) || 0) + 1,
|
|
5746
|
-
if (
|
|
5734
|
+
const X = (((Y = r.flip) == null ? void 0 : Y.index) || 0) + 1, U = N[X];
|
|
5735
|
+
if (U && (!(h === "alignment" ? w !== Ue(U) : !1) || // We leave the current main axis only if every placement on that axis
|
|
5747
5736
|
// overflows the main axis.
|
|
5748
5737
|
G.every((C) => Ue(C.placement) === w ? C.overflows[0] > 0 : !0)))
|
|
5749
5738
|
return {
|
|
@@ -5752,7 +5741,7 @@ const sH = (e) => ({
|
|
|
5752
5741
|
overflows: G
|
|
5753
5742
|
},
|
|
5754
5743
|
reset: {
|
|
5755
|
-
placement:
|
|
5744
|
+
placement: U
|
|
5756
5745
|
}
|
|
5757
5746
|
};
|
|
5758
5747
|
let R = (Q = G.filter((J) => J.overflows[0] <= 0).sort((J, C) => J.overflows[1] - C.overflows[1])[0]) == null ? void 0 : Q.placement;
|
|
@@ -6638,7 +6627,7 @@ function YH(e) {
|
|
|
6638
6627
|
K();
|
|
6639
6628
|
}
|
|
6640
6629
|
}, [x, I, K, G, T]);
|
|
6641
|
-
const
|
|
6630
|
+
const U = f.useMemo(() => ({
|
|
6642
6631
|
reference: z,
|
|
6643
6632
|
floating: N,
|
|
6644
6633
|
setReference: w,
|
|
@@ -6670,10 +6659,10 @@ function YH(e) {
|
|
|
6670
6659
|
return f.useMemo(() => ({
|
|
6671
6660
|
...u,
|
|
6672
6661
|
update: K,
|
|
6673
|
-
refs:
|
|
6662
|
+
refs: U,
|
|
6674
6663
|
elements: R,
|
|
6675
6664
|
floatingStyles: J
|
|
6676
|
-
}), [u, K,
|
|
6665
|
+
}), [u, K, U, R, J]);
|
|
6677
6666
|
}
|
|
6678
6667
|
const QH = (e) => {
|
|
6679
6668
|
function t(o) {
|
|
@@ -6794,7 +6783,7 @@ var y$ = "PopperContent", [uV, hV] = iC(y$), uC = f.forwardRef(
|
|
|
6794
6783
|
boundary: Y.filter(yV),
|
|
6795
6784
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
6796
6785
|
altBoundary: Q
|
|
6797
|
-
}, { refs: X, floatingStyles:
|
|
6786
|
+
}, { refs: X, floatingStyles: U, placement: R, isPositioned: J, middlewareData: C } = YH({
|
|
6798
6787
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
6799
6788
|
strategy: "fixed",
|
|
6800
6789
|
placement: T,
|
|
@@ -6837,8 +6826,8 @@ var y$ = "PopperContent", [uV, hV] = iC(y$), uC = f.forwardRef(
|
|
|
6837
6826
|
ref: X.setFloating,
|
|
6838
6827
|
"data-radix-popper-content-wrapper": "",
|
|
6839
6828
|
style: {
|
|
6840
|
-
...
|
|
6841
|
-
transform: J ?
|
|
6829
|
+
...U,
|
|
6830
|
+
transform: J ? U.transform : "translate(0, -200%)",
|
|
6842
6831
|
// keep off the page when measuring
|
|
6843
6832
|
minWidth: "max-content",
|
|
6844
6833
|
zIndex: Ke,
|
|
@@ -7090,10 +7079,10 @@ var $V = f.forwardRef((e, t) => {
|
|
|
7090
7079
|
if (L.target === L.currentTarget && T && !v) {
|
|
7091
7080
|
const G = new CustomEvent(bx, MV);
|
|
7092
7081
|
if (L.currentTarget.dispatchEvent(G), !G.defaultPrevented) {
|
|
7093
|
-
const Y = x().filter((R) => R.focusable), Q = Y.find((R) => R.active), K = Y.find((R) => R.id === m),
|
|
7082
|
+
const Y = x().filter((R) => R.focusable), Q = Y.find((R) => R.active), K = Y.find((R) => R.id === m), U = [Q, K, ...Y].filter(
|
|
7094
7083
|
Boolean
|
|
7095
7084
|
).map((R) => R.ref.current);
|
|
7096
|
-
xC(
|
|
7085
|
+
xC(U, u);
|
|
7097
7086
|
}
|
|
7098
7087
|
}
|
|
7099
7088
|
I.current = !1;
|
|
@@ -7822,7 +7811,7 @@ var be = "MenuContent", [SO, g$] = z1(be), OC = f.forwardRef(
|
|
|
7822
7811
|
onDismiss: p,
|
|
7823
7812
|
disableOutsideScroll: y,
|
|
7824
7813
|
...m
|
|
7825
|
-
} = e, g = A1(be, o), v = Sr(be, o), w = Tb(o), b = RC(o), x = wO(o), [I, z] = f.useState(null), N = f.useRef(null), L = ue(t, N, g.onContentChange), T = f.useRef(0), G = f.useRef(""), Y = f.useRef(0), Q = f.useRef(null), K = f.useRef("right"), X = f.useRef(0),
|
|
7814
|
+
} = e, g = A1(be, o), v = Sr(be, o), w = Tb(o), b = RC(o), x = wO(o), [I, z] = f.useState(null), N = f.useRef(null), L = ue(t, N, g.onContentChange), T = f.useRef(0), G = f.useRef(""), Y = f.useRef(0), Q = f.useRef(null), K = f.useRef("right"), X = f.useRef(0), U = y ? jC : f.Fragment, R = y ? { as: zO, allowPinchZoom: !0 } : void 0, J = (P) => {
|
|
7826
7815
|
const ae = G.current + P, ke = x().filter((Z) => !Z.disabled), $e = document.activeElement, oe = ke.find((Z) => Z.ref.current === $e)?.textValue, ie = ke.map((Z) => Z.textValue), Ke = EO(ie, ae, oe), Pe = ke.find((Z) => Z.textValue === Ke)?.ref.current;
|
|
7827
7816
|
(function Z(rt) {
|
|
7828
7817
|
G.current = rt, window.clearTimeout(T.current), rt !== "" && (T.current = window.setTimeout(() => Z(""), 1e3));
|
|
@@ -7857,7 +7846,7 @@ var be = "MenuContent", [SO, g$] = z1(be), OC = f.forwardRef(
|
|
|
7857
7846
|
onPointerGraceIntentChange: f.useCallback((P) => {
|
|
7858
7847
|
Q.current = P;
|
|
7859
7848
|
}, []),
|
|
7860
|
-
children: /* @__PURE__ */ _(
|
|
7849
|
+
children: /* @__PURE__ */ _(U, { ...R, children: /* @__PURE__ */ _(
|
|
7861
7850
|
ZS,
|
|
7862
7851
|
{
|
|
7863
7852
|
asChild: !0,
|
|
@@ -40202,7 +40191,7 @@ function lge({ column: e, title: t }) {
|
|
|
40202
40191
|
sge,
|
|
40203
40192
|
{
|
|
40204
40193
|
variant: "outline",
|
|
40205
|
-
className: "cursor-pointer rounded lg:px-2 lg:py-1 border-none hover:bg-primary/10 text-base capitalize select-none flex items-center",
|
|
40194
|
+
className: "cursor-pointer rounded lg:px-2 lg:py-1 border-none hover:bg-primary/10 text-xs md:text-sm lg:text-base font-semibold capitalize select-none flex items-center",
|
|
40206
40195
|
onClick: () => {
|
|
40207
40196
|
},
|
|
40208
40197
|
children: [
|
|
@@ -40594,7 +40583,7 @@ function Hge({
|
|
|
40594
40583
|
const Vge = ({ value: e }) => {
|
|
40595
40584
|
const t = typeof e == "object" ? JSON.stringify(e) : String(e);
|
|
40596
40585
|
return e === null ? /* @__PURE__ */ _(Sx, {}) : t?.length < 30 ? /* @__PURE__ */ _(Sx, { children: t }) : /* @__PURE__ */ Ze(Rge, { children: [
|
|
40597
|
-
/* @__PURE__ */ _(Dge, { className: "line-clamp-1 max-w-40
|
|
40586
|
+
/* @__PURE__ */ _(Dge, { className: "line-clamp-1 text-center max-w-40 md:max-w-64 lg:max-w-full lg:text-start", children: t }),
|
|
40598
40587
|
/* @__PURE__ */ _(Hge, { className: "max-w-64 lg:max-w-80 break-words", children: t })
|
|
40599
40588
|
] });
|
|
40600
40589
|
};
|
|
@@ -40766,10 +40755,12 @@ function Jge(e) {
|
|
|
40766
40755
|
},
|
|
40767
40756
|
onModelChange: k = () => {
|
|
40768
40757
|
}
|
|
40769
|
-
} = e, p = Tge(e), [y, m] = de.useState({}), [g, v] = de.useState({}), [w, b] = de.useState(
|
|
40770
|
-
const
|
|
40771
|
-
return r?.enable && (r?.pin === Ye.left ?
|
|
40772
|
-
}, [r, n, o]), [G, Y] = de.useState(
|
|
40758
|
+
} = e, p = Tge(e), [y, m] = de.useState({}), [g, v] = de.useState({}), [w, b] = de.useState(0), [x, I] = de.useState(!0), [z, N] = de.useState(c || []), [L] = de.useState([]), T = de.useCallback(() => {
|
|
40759
|
+
const U = [], R = [];
|
|
40760
|
+
return r?.enable && (r?.pin === Ye.left ? U.push("#") : r?.pin === Ye.right && R.push("#")), n?.enable && o && o?.length > 0 && (n?.pin === Ye.left ? U.push("actions") : n?.pin === Ye.right && R.push("actions")), { left: U, right: R };
|
|
40761
|
+
}, [r, n, o]), [G, Y] = de.useState(
|
|
40762
|
+
T()
|
|
40763
|
+
);
|
|
40773
40764
|
de.useEffect(() => {
|
|
40774
40765
|
Y(T());
|
|
40775
40766
|
}, [T]);
|
|
@@ -40794,62 +40785,64 @@ function Jge(e) {
|
|
|
40794
40785
|
},
|
|
40795
40786
|
enableRowSelection: !0,
|
|
40796
40787
|
manualSorting: !0
|
|
40797
|
-
})
|
|
40798
|
-
|
|
40799
|
-
|
|
40800
|
-
|
|
40788
|
+
}), X = (U, R) => {
|
|
40789
|
+
if (!U || !x || !R.isIntersecting || z?.length < w * s)
|
|
40790
|
+
return;
|
|
40791
|
+
const J = w + 1;
|
|
40792
|
+
b(J), h("onLoadMore", { page: J, limit: s });
|
|
40793
|
+
};
|
|
40794
|
+
return de.useEffect(() => {
|
|
40795
|
+
const U = Object.keys(y)[0];
|
|
40796
|
+
if (!U) {
|
|
40801
40797
|
u({ selectedRow: {} });
|
|
40802
40798
|
return;
|
|
40803
40799
|
}
|
|
40804
|
-
const R = K.getRow(
|
|
40800
|
+
const R = K.getRow(U);
|
|
40805
40801
|
R && (u({ selectedRow: R.original }), a && h(a, {
|
|
40806
40802
|
row: R.original
|
|
40807
40803
|
}));
|
|
40808
|
-
}, [y, a, K])
|
|
40809
|
-
|
|
40810
|
-
if (!B || !x || !R.isIntersecting) return;
|
|
40811
|
-
const J = w + 1;
|
|
40812
|
-
b(J), h("onLoadMore", { page: J, limit: s });
|
|
40813
|
-
};
|
|
40814
|
-
return de.useEffect(() => {
|
|
40815
|
-
w * s >= d && I(!1);
|
|
40804
|
+
}, [y, a, K]), de.useEffect(() => {
|
|
40805
|
+
w * s > d && I(!1);
|
|
40816
40806
|
}, [w, s, d]), de.useEffect(() => {
|
|
40817
|
-
k((
|
|
40818
|
-
|
|
40807
|
+
z?.length > 0 && k((U) => {
|
|
40808
|
+
U?.data?.length > 0 && U.data !== z && N(U.data || []);
|
|
40819
40809
|
});
|
|
40820
|
-
}, []), p.success ? /* @__PURE__ */
|
|
40810
|
+
}, [z]), p.success ? /* @__PURE__ */ Ze(
|
|
40821
40811
|
"main",
|
|
40822
40812
|
{
|
|
40823
40813
|
className: re(
|
|
40824
|
-
"max-h-svh lg:max-h-[40rem] border-border xl:max-h-[48rem] relative flex flex-col gap-2 overflow-y-auto",
|
|
40814
|
+
"max-h-svh lg:max-h-[40rem] border-border xl:max-h-[48rem] relative flex flex-col gap-2 overflow-y-auto font-sans",
|
|
40825
40815
|
l?.container
|
|
40826
40816
|
),
|
|
40827
40817
|
style: { ...l?.variables },
|
|
40828
|
-
children:
|
|
40829
|
-
|
|
40830
|
-
|
|
40831
|
-
|
|
40832
|
-
|
|
40833
|
-
|
|
40834
|
-
|
|
40835
|
-
|
|
40836
|
-
|
|
40837
|
-
|
|
40838
|
-
|
|
40839
|
-
|
|
40840
|
-
|
|
40841
|
-
|
|
40842
|
-
|
|
40843
|
-
|
|
40844
|
-
|
|
40845
|
-
|
|
40846
|
-
|
|
40847
|
-
|
|
40848
|
-
|
|
40849
|
-
)
|
|
40850
|
-
|
|
40851
|
-
|
|
40852
|
-
|
|
40818
|
+
children: [
|
|
40819
|
+
/* @__PURE__ */ Ze(
|
|
40820
|
+
rD,
|
|
40821
|
+
{
|
|
40822
|
+
className: re(
|
|
40823
|
+
"w-full min-w-96 h-full table-auto border-collapse",
|
|
40824
|
+
l?.table
|
|
40825
|
+
),
|
|
40826
|
+
children: [
|
|
40827
|
+
/* @__PURE__ */ _(hD, { styles: l?.head, table: K }),
|
|
40828
|
+
/* @__PURE__ */ _(uD, { styles: l?.body, table: K })
|
|
40829
|
+
]
|
|
40830
|
+
}
|
|
40831
|
+
),
|
|
40832
|
+
x && /* @__PURE__ */ _(
|
|
40833
|
+
xq,
|
|
40834
|
+
{
|
|
40835
|
+
triggerOnce: !1,
|
|
40836
|
+
as: "div",
|
|
40837
|
+
threshold: 0,
|
|
40838
|
+
rootMargin: "200px 0px",
|
|
40839
|
+
onChange: (U, R) => X(U, R),
|
|
40840
|
+
colSpan: K.getVisibleLeafColumns().length,
|
|
40841
|
+
className: "h-10 text-muted-foreground flex justify-center items-center",
|
|
40842
|
+
children: /* @__PURE__ */ _(kr, { className: "animate-spin" })
|
|
40843
|
+
}
|
|
40844
|
+
)
|
|
40845
|
+
]
|
|
40853
40846
|
}
|
|
40854
40847
|
) : /* @__PURE__ */ _(
|
|
40855
40848
|
Zge,
|