rds-ui-system 2.0.13 → 2.0.14
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/rds-ui-system.es.js +224 -233
- package/dist/rds-ui-system.umd.js +224 -234
- package/dist/style.css +2 -2
- package/package.json +1 -1
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
i = Symbol.for('react.element'),
|
|
25
25
|
o = Symbol.for('react.fragment'),
|
|
26
26
|
w = Object.prototype.hasOwnProperty,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
g = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
28
|
+
v = { key: !0, ref: !0, __self: !0, __source: !0 }
|
|
29
29
|
function f(j, d, _) {
|
|
30
30
|
var u,
|
|
31
31
|
h = {},
|
|
32
|
-
|
|
32
|
+
m = null,
|
|
33
33
|
A = null
|
|
34
|
-
_ !== void 0 && (
|
|
35
|
-
for (u in d) w.call(d, u) && !
|
|
34
|
+
_ !== void 0 && (m = '' + _), d.key !== void 0 && (m = '' + d.key), d.ref !== void 0 && (A = d.ref)
|
|
35
|
+
for (u in d) w.call(d, u) && !v.hasOwnProperty(u) && (h[u] = d[u])
|
|
36
36
|
if (j && j.defaultProps) for (u in ((d = j.defaultProps), d)) h[u] === void 0 && (h[u] = d[u])
|
|
37
|
-
return { $$typeof: i, type: j, key:
|
|
37
|
+
return { $$typeof: i, type: j, key: m, ref: A, props: h, _owner: g.current }
|
|
38
38
|
}
|
|
39
39
|
return (O.Fragment = o), (O.jsx = f), (O.jsxs = f), O
|
|
40
40
|
}
|
|
@@ -58,15 +58,15 @@
|
|
|
58
58
|
i = Symbol.for('react.element'),
|
|
59
59
|
o = Symbol.for('react.portal'),
|
|
60
60
|
w = Symbol.for('react.fragment'),
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
g = Symbol.for('react.strict_mode'),
|
|
62
|
+
v = Symbol.for('react.profiler'),
|
|
63
63
|
f = Symbol.for('react.provider'),
|
|
64
64
|
j = Symbol.for('react.context'),
|
|
65
65
|
d = Symbol.for('react.forward_ref'),
|
|
66
66
|
_ = Symbol.for('react.suspense'),
|
|
67
67
|
u = Symbol.for('react.suspense_list'),
|
|
68
68
|
h = Symbol.for('react.memo'),
|
|
69
|
-
|
|
69
|
+
m = Symbol.for('react.lazy'),
|
|
70
70
|
A = Symbol.for('react.offscreen'),
|
|
71
71
|
T = Symbol.iterator,
|
|
72
72
|
F = '@@iterator'
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
return typeof r == 'function' ? r : null
|
|
77
77
|
}
|
|
78
78
|
var c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
|
|
79
|
-
function
|
|
79
|
+
function C(l) {
|
|
80
80
|
{
|
|
81
81
|
for (var r = arguments.length, s = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
82
82
|
s[a - 1] = arguments[a]
|
|
@@ -106,9 +106,9 @@
|
|
|
106
106
|
typeof l == 'string' ||
|
|
107
107
|
typeof l == 'function' ||
|
|
108
108
|
l === w ||
|
|
109
|
-
l === g ||
|
|
110
|
-
M1 ||
|
|
111
109
|
l === v ||
|
|
110
|
+
M1 ||
|
|
111
|
+
l === g ||
|
|
112
112
|
l === _ ||
|
|
113
113
|
l === u ||
|
|
114
114
|
H1 ||
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
V1 ||
|
|
119
119
|
(typeof l == 'object' &&
|
|
120
120
|
l !== null &&
|
|
121
|
-
(l.$$typeof ===
|
|
121
|
+
(l.$$typeof === m ||
|
|
122
122
|
l.$$typeof === h ||
|
|
123
123
|
l.$$typeof === f ||
|
|
124
124
|
l.$$typeof === j ||
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
if (l == null) return null
|
|
141
141
|
if (
|
|
142
142
|
(typeof l.tag == 'number' &&
|
|
143
|
-
|
|
143
|
+
C(
|
|
144
144
|
'Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.',
|
|
145
145
|
),
|
|
146
146
|
typeof l == 'function')
|
|
@@ -152,9 +152,9 @@
|
|
|
152
152
|
return 'Fragment'
|
|
153
153
|
case o:
|
|
154
154
|
return 'Portal'
|
|
155
|
-
case g:
|
|
156
|
-
return 'Profiler'
|
|
157
155
|
case v:
|
|
156
|
+
return 'Profiler'
|
|
157
|
+
case g:
|
|
158
158
|
return 'StrictMode'
|
|
159
159
|
case _:
|
|
160
160
|
return 'Suspense'
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
case h:
|
|
175
175
|
var a = l.displayName || null
|
|
176
176
|
return a !== null ? a : Z(l.type) || 'Memo'
|
|
177
|
-
case
|
|
177
|
+
case m: {
|
|
178
178
|
var b = l,
|
|
179
179
|
L = b._payload,
|
|
180
180
|
p = b._init
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
groupEnd: E({}, l, { value: _e }),
|
|
237
237
|
})
|
|
238
238
|
}
|
|
239
|
-
D < 0 &&
|
|
239
|
+
D < 0 && C('disabledDepth fell below zero. This is a bug in React. Please file an issue.')
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
var ee = c.ReactCurrentDispatcher,
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
return Z1(l.render)
|
|
375
375
|
case h:
|
|
376
376
|
return X(l.type, r, s)
|
|
377
|
-
case
|
|
377
|
+
case m: {
|
|
378
378
|
var a = l,
|
|
379
379
|
b = a._payload,
|
|
380
380
|
L = a._init
|
|
@@ -422,7 +422,7 @@
|
|
|
422
422
|
x &&
|
|
423
423
|
!(x instanceof Error) &&
|
|
424
424
|
(K(b),
|
|
425
|
-
|
|
425
|
+
C(
|
|
426
426
|
'%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).',
|
|
427
427
|
a || 'React class',
|
|
428
428
|
s,
|
|
@@ -432,7 +432,7 @@
|
|
|
432
432
|
K(null)),
|
|
433
433
|
x instanceof Error &&
|
|
434
434
|
!(x.message in He) &&
|
|
435
|
-
((He[x.message] = !0), K(b),
|
|
435
|
+
((He[x.message] = !0), K(b), C('Failed %s type: %s', s, x.message), K(null))
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
}
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
function Ae(l) {
|
|
461
461
|
if (I1(l))
|
|
462
462
|
return (
|
|
463
|
-
|
|
463
|
+
C(
|
|
464
464
|
'The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.',
|
|
465
465
|
B1(l),
|
|
466
466
|
),
|
|
@@ -491,7 +491,7 @@
|
|
|
491
491
|
if (typeof l.ref == 'string' && $.current && r && $.current.stateNode !== r) {
|
|
492
492
|
var s = Z($.current.type)
|
|
493
493
|
re[s] ||
|
|
494
|
-
(
|
|
494
|
+
(C(
|
|
495
495
|
'Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
496
496
|
Z($.current.type),
|
|
497
497
|
l.ref,
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
var s = function () {
|
|
505
505
|
Pe ||
|
|
506
506
|
((Pe = !0),
|
|
507
|
-
|
|
507
|
+
C(
|
|
508
508
|
'%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)',
|
|
509
509
|
r,
|
|
510
510
|
))
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
var s = function () {
|
|
518
518
|
Re ||
|
|
519
519
|
((Re = !0),
|
|
520
|
-
|
|
520
|
+
C(
|
|
521
521
|
'%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)',
|
|
522
522
|
r,
|
|
523
523
|
))
|
|
@@ -625,7 +625,7 @@ Check the top-level render call using <` +
|
|
|
625
625
|
l._owner !== se.current &&
|
|
626
626
|
(a = ' It was passed a child from ' + Z(l._owner.type) + '.'),
|
|
627
627
|
B(l),
|
|
628
|
-
|
|
628
|
+
C(
|
|
629
629
|
'Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
630
630
|
s,
|
|
631
631
|
a,
|
|
@@ -663,14 +663,14 @@ Check the top-level render call using <` +
|
|
|
663
663
|
} else if (r.PropTypes !== void 0 && !ne) {
|
|
664
664
|
ne = !0
|
|
665
665
|
var b = Z(r)
|
|
666
|
-
|
|
666
|
+
C(
|
|
667
667
|
'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?',
|
|
668
668
|
b || 'Unknown',
|
|
669
669
|
)
|
|
670
670
|
}
|
|
671
671
|
typeof r.getDefaultProps == 'function' &&
|
|
672
672
|
!r.getDefaultProps.isReactClassApproved &&
|
|
673
|
-
|
|
673
|
+
C(
|
|
674
674
|
'getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.',
|
|
675
675
|
)
|
|
676
676
|
}
|
|
@@ -681,7 +681,7 @@ Check the top-level render call using <` +
|
|
|
681
681
|
var a = r[s]
|
|
682
682
|
if (a !== 'children' && a !== 'key') {
|
|
683
683
|
B(l),
|
|
684
|
-
|
|
684
|
+
C(
|
|
685
685
|
'Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.',
|
|
686
686
|
a,
|
|
687
687
|
),
|
|
@@ -689,7 +689,7 @@ Check the top-level render call using <` +
|
|
|
689
689
|
break
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
|
-
l.ref !== null && (B(l),
|
|
692
|
+
l.ref !== null && (B(l), C('Invalid attribute `ref` supplied to `React.Fragment`.'), B(null))
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
695
|
function Be(l, r, s, a, b, L) {
|
|
@@ -711,7 +711,7 @@ Check the top-level render call using <` +
|
|
|
711
711
|
? ((V = '<' + (Z(l.type) || 'Unknown') + ' />'),
|
|
712
712
|
(x = ' Did you accidentally export a JSX literal instead of a component?'))
|
|
713
713
|
: (V = typeof l),
|
|
714
|
-
|
|
714
|
+
C(
|
|
715
715
|
'React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s',
|
|
716
716
|
V,
|
|
717
717
|
x,
|
|
@@ -727,7 +727,7 @@ Check the top-level render call using <` +
|
|
|
727
727
|
for (var I = 0; I < N.length; I++) Te(N[I], l)
|
|
728
728
|
Object.freeze && Object.freeze(N)
|
|
729
729
|
} else
|
|
730
|
-
|
|
730
|
+
C(
|
|
731
731
|
'React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.',
|
|
732
732
|
)
|
|
733
733
|
else Te(N, l)
|
|
@@ -2887,8 +2887,8 @@ Check the top-level render call using <` +
|
|
|
2887
2887
|
variant: i = 'DEFAULT',
|
|
2888
2888
|
isDisabled: o = !1,
|
|
2889
2889
|
isOutlined: w = !1,
|
|
2890
|
-
onClick:
|
|
2891
|
-
children:
|
|
2890
|
+
onClick: g,
|
|
2891
|
+
children: v,
|
|
2892
2892
|
type: f,
|
|
2893
2893
|
customClasses: j,
|
|
2894
2894
|
iconName: d = 'Block',
|
|
@@ -2907,13 +2907,13 @@ Check the top-level render call using <` +
|
|
|
2907
2907
|
: q[i]
|
|
2908
2908
|
}
|
|
2909
2909
|
${j}`,
|
|
2910
|
-
onClick:
|
|
2910
|
+
onClick: g,
|
|
2911
2911
|
children:
|
|
2912
2912
|
i == 'ICON'
|
|
2913
2913
|
? e.jsx(e.Fragment, {
|
|
2914
2914
|
children: e.jsx('div', {
|
|
2915
2915
|
className: 'p-[0.5em]',
|
|
2916
|
-
children:
|
|
2916
|
+
children: v || e.jsx('span', { children: Q[d](w == !1, o == !0) }),
|
|
2917
2917
|
}),
|
|
2918
2918
|
})
|
|
2919
2919
|
: e.jsxs('div', {
|
|
@@ -2923,7 +2923,7 @@ Check the top-level render call using <` +
|
|
|
2923
2923
|
e.jsx('p', {
|
|
2924
2924
|
className: `flex-grow-0 flex-shrink-0 text-[0.8750em] text-center
|
|
2925
2925
|
`,
|
|
2926
|
-
children:
|
|
2926
|
+
children: v || t,
|
|
2927
2927
|
}),
|
|
2928
2928
|
],
|
|
2929
2929
|
}),
|
|
@@ -2938,8 +2938,8 @@ Check the top-level render call using <` +
|
|
|
2938
2938
|
label: i,
|
|
2939
2939
|
variant: o = 'DEFAULT',
|
|
2940
2940
|
isDisabled: w = !1,
|
|
2941
|
-
isError:
|
|
2942
|
-
onChange:
|
|
2941
|
+
isError: g = !1,
|
|
2942
|
+
onChange: v,
|
|
2943
2943
|
value: f,
|
|
2944
2944
|
name: j,
|
|
2945
2945
|
type: d,
|
|
@@ -2947,19 +2947,19 @@ Check the top-level render call using <` +
|
|
|
2947
2947
|
supportingText: u,
|
|
2948
2948
|
isRequired: h,
|
|
2949
2949
|
}) => {
|
|
2950
|
-
const [
|
|
2950
|
+
const [m, A] = H.useState(f || '')
|
|
2951
2951
|
H.useEffect(() => {
|
|
2952
2952
|
A(f || '')
|
|
2953
2953
|
}, [f])
|
|
2954
2954
|
const T = (c) => {
|
|
2955
|
-
const { value:
|
|
2956
|
-
A(
|
|
2955
|
+
const { value: C } = c.target
|
|
2956
|
+
A(C), v && v(c)
|
|
2957
2957
|
},
|
|
2958
2958
|
F = () => {
|
|
2959
2959
|
A('')
|
|
2960
2960
|
},
|
|
2961
2961
|
U = `h-[3.1em] w-full transition-colors px-[0.9em] hover:px-[0.9em] py-2 rounded-md
|
|
2962
|
-
${h ||
|
|
2962
|
+
${h || g ? 'border-red-500' : ''}
|
|
2963
2963
|
${oe[o]} ${w ? 'cursor-not-allowed pointer-events-none' : ''}`
|
|
2964
2964
|
return e.jsx(e.Fragment, {
|
|
2965
2965
|
children: e.jsxs('div', {
|
|
@@ -2972,17 +2972,17 @@ Check the top-level render call using <` +
|
|
|
2972
2972
|
className:
|
|
2973
2973
|
'absolute label top-[-0.5em] left-[0.7em] flex items-center rounded justify-start px-1 bg-white',
|
|
2974
2974
|
children: e.jsx('p', {
|
|
2975
|
-
className: `text-xs text-left ${h ||
|
|
2975
|
+
className: `text-xs text-left ${h || g ? 'text-red-500' : 'text-black'}`,
|
|
2976
2976
|
children: i || 'label',
|
|
2977
2977
|
}),
|
|
2978
2978
|
}),
|
|
2979
|
-
e.jsx('input', { id: _, value:
|
|
2979
|
+
e.jsx('input', { id: _, value: m, name: j, type: d, onChange: T, placeholder: t, className: U }),
|
|
2980
2980
|
e.jsx('div', {
|
|
2981
2981
|
style: { background: 'transparent' },
|
|
2982
2982
|
className:
|
|
2983
2983
|
'flex justify-center items-center h-[3.1em] hover:cursor-pointer flex-grow-0 flex-shrink-0 absolute gap-2.5 p-2 right-0',
|
|
2984
2984
|
onClick: F,
|
|
2985
|
-
children:
|
|
2985
|
+
children: g
|
|
2986
2986
|
? e.jsx('svg', {
|
|
2987
2987
|
width: '20',
|
|
2988
2988
|
height: '20',
|
|
@@ -3021,7 +3021,7 @@ Check the top-level render call using <` +
|
|
|
3021
3021
|
u &&
|
|
3022
3022
|
e.jsx('p', {
|
|
3023
3023
|
className: `flex-grow w-[178px] text-xs text-left text-[#52555e] ml-[1em] mt-[0.1em]
|
|
3024
|
-
bg-white px-[0.5em] ${h ||
|
|
3024
|
+
bg-white px-[0.5em] ${h || g ? 'text-red-500' : 'text-black'}`,
|
|
3025
3025
|
children: u || 'supportingText',
|
|
3026
3026
|
}),
|
|
3027
3027
|
],
|
|
@@ -3031,12 +3031,12 @@ Check the top-level render call using <` +
|
|
|
3031
3031
|
Ye = { DEFAULT: 'default' },
|
|
3032
3032
|
ze = { DEFAULT: 'bg-black hover:bg-black-800 active:bg-grey-900' },
|
|
3033
3033
|
Xe = ({ options: t, selectedCatOptions: i, setSelectedCatOptions: o, variant: w = 'DEFAULT' }) => {
|
|
3034
|
-
const [
|
|
3034
|
+
const [g, v] = H.useState(null),
|
|
3035
3035
|
f = {},
|
|
3036
3036
|
j = t,
|
|
3037
3037
|
d = (c) => {
|
|
3038
|
-
const
|
|
3039
|
-
M = parseInt(
|
|
3038
|
+
const C = c.classId.split('_')[0],
|
|
3039
|
+
M = parseInt(C.split('.')[0])
|
|
3040
3040
|
return (
|
|
3041
3041
|
M < 200
|
|
3042
3042
|
? (c.groupName = 'Patros')
|
|
@@ -3057,23 +3057,23 @@ Check the top-level render call using <` +
|
|
|
3057
3057
|
f[c.groupName] || (f[c.groupName] = []), f[c.groupName].push(c)
|
|
3058
3058
|
})
|
|
3059
3059
|
const u = (c) => {
|
|
3060
|
-
|
|
3060
|
+
v((C) => (C === c ? null : c))
|
|
3061
3061
|
},
|
|
3062
3062
|
h = (c) => {
|
|
3063
|
-
const
|
|
3064
|
-
if (
|
|
3063
|
+
const C = i.indexOf(c)
|
|
3064
|
+
if (C === -1) o([...i, c])
|
|
3065
3065
|
else {
|
|
3066
3066
|
const M = [...i]
|
|
3067
|
-
M.splice(
|
|
3067
|
+
M.splice(C, 1), o(M)
|
|
3068
3068
|
}
|
|
3069
3069
|
},
|
|
3070
|
-
[
|
|
3070
|
+
[m, A] = H.useState(!1),
|
|
3071
3071
|
T = (c) => {
|
|
3072
|
-
const
|
|
3073
|
-
if (
|
|
3074
|
-
const M = i.filter((R) => !
|
|
3072
|
+
const C = c.map((M) => M.id)
|
|
3073
|
+
if (C.every((M) => i.includes(M))) {
|
|
3074
|
+
const M = i.filter((R) => !C.includes(R))
|
|
3075
3075
|
A(!1), o(M)
|
|
3076
|
-
} else A(!0), o([...i, ...
|
|
3076
|
+
} else A(!0), o([...i, ...C])
|
|
3077
3077
|
},
|
|
3078
3078
|
F = (c) => i && i.includes(c),
|
|
3079
3079
|
U = ['Reius', 'Caius', 'Patros', 'Ranta', 'Lorem', 'Andere']
|
|
@@ -3081,8 +3081,8 @@ Check the top-level render call using <` +
|
|
|
3081
3081
|
children: e.jsx('div', {
|
|
3082
3082
|
className: 'w-full overflow-hidden border rounded border-brand-black',
|
|
3083
3083
|
children: Object.keys(f).map((c) => {
|
|
3084
|
-
const
|
|
3085
|
-
M = c ===
|
|
3084
|
+
const C = f[c],
|
|
3085
|
+
M = c === g
|
|
3086
3086
|
return e.jsxs(
|
|
3087
3087
|
'div',
|
|
3088
3088
|
{
|
|
@@ -3098,9 +3098,9 @@ Check the top-level render call using <` +
|
|
|
3098
3098
|
e.jsx('div', {
|
|
3099
3099
|
className: 'flex px-[1em] py-[0.3em] w-[10.5em] justify-between',
|
|
3100
3100
|
onClick: () => {
|
|
3101
|
-
T(
|
|
3101
|
+
T(C)
|
|
3102
3102
|
},
|
|
3103
|
-
children:
|
|
3103
|
+
children: m
|
|
3104
3104
|
? e.jsxs(e.Fragment, {
|
|
3105
3105
|
children: [
|
|
3106
3106
|
e.jsx('p', { className: 'text-semibold', children: 'Alle entfernen' }),
|
|
@@ -3162,8 +3162,7 @@ Check the top-level render call using <` +
|
|
|
3162
3162
|
}),
|
|
3163
3163
|
e.jsx('div', {
|
|
3164
3164
|
className: `pb-[4em] bg-[#f0eff1] overflow-scroll ${M ? 'h-[15em]' : 'h-[3.5em]'}`,
|
|
3165
|
-
children:
|
|
3166
|
-
.slice()
|
|
3165
|
+
children: C.slice()
|
|
3167
3166
|
.sort((R, W) => (R.name && W.name ? R.name.localeCompare(W.name) : 0))
|
|
3168
3167
|
.map((R) =>
|
|
3169
3168
|
e.jsx(
|
|
@@ -3251,14 +3250,14 @@ Check the top-level render call using <` +
|
|
|
3251
3250
|
label: i,
|
|
3252
3251
|
isDisabled: o = !1,
|
|
3253
3252
|
isError: w = !1,
|
|
3254
|
-
isRequired:
|
|
3255
|
-
onChange:
|
|
3253
|
+
isRequired: g = !1,
|
|
3254
|
+
onChange: v,
|
|
3256
3255
|
checked: f,
|
|
3257
3256
|
id: j,
|
|
3258
3257
|
readOnly: d,
|
|
3259
3258
|
}) => {
|
|
3260
3259
|
const [_, u] = H.useState(f || !1),
|
|
3261
|
-
[h,
|
|
3260
|
+
[h, m] = H.useState(!1)
|
|
3262
3261
|
return (
|
|
3263
3262
|
H.useEffect(() => {
|
|
3264
3263
|
u(f || !1)
|
|
@@ -3284,7 +3283,7 @@ Check the top-level render call using <` +
|
|
|
3284
3283
|
height: 19,
|
|
3285
3284
|
rx: '0',
|
|
3286
3285
|
fill: 'white',
|
|
3287
|
-
stroke: w ||
|
|
3286
|
+
stroke: w || g ? '#e2001a' : h ? 'black' : '#AFB0B7',
|
|
3288
3287
|
strokeWidth: h ? 3 : 1,
|
|
3289
3288
|
}),
|
|
3290
3289
|
(_ || f) &&
|
|
@@ -3297,7 +3296,7 @@ Check the top-level render call using <` +
|
|
|
3297
3296
|
i &&
|
|
3298
3297
|
e.jsx('p', {
|
|
3299
3298
|
className: `flex items-center flex-grow-0 flex-shrink-0 w-auto h-5 text-base text-left
|
|
3300
|
-
${w ||
|
|
3299
|
+
${w || g ? 'text-[#e2001a]' : 'text-black'}`,
|
|
3301
3300
|
children: i,
|
|
3302
3301
|
}),
|
|
3303
3302
|
e.jsx('input', {
|
|
@@ -3305,12 +3304,12 @@ Check the top-level render call using <` +
|
|
|
3305
3304
|
id: j,
|
|
3306
3305
|
checked: _,
|
|
3307
3306
|
onChange: (A) => {
|
|
3308
|
-
u(A.target.checked),
|
|
3307
|
+
u(A.target.checked), v && v(A)
|
|
3309
3308
|
},
|
|
3310
3309
|
readOnly: d,
|
|
3311
3310
|
className: 'h-[1.2em] w-[1.2em] absolute opacity-0 cursor-pointer',
|
|
3312
|
-
onMouseEnter: () =>
|
|
3313
|
-
onMouseLeave: () =>
|
|
3311
|
+
onMouseEnter: () => m(!0),
|
|
3312
|
+
onMouseLeave: () => m(!1),
|
|
3314
3313
|
}),
|
|
3315
3314
|
],
|
|
3316
3315
|
})
|
|
@@ -3364,14 +3363,14 @@ Check the top-level render call using <` +
|
|
|
3364
3363
|
label: i,
|
|
3365
3364
|
isDisabled: o = !1,
|
|
3366
3365
|
isError: w = !1,
|
|
3367
|
-
isRequired:
|
|
3368
|
-
onChange:
|
|
3366
|
+
isRequired: g = !1,
|
|
3367
|
+
onChange: v,
|
|
3369
3368
|
checked: f,
|
|
3370
3369
|
id: j,
|
|
3371
3370
|
readOnly: d,
|
|
3372
3371
|
}) => {
|
|
3373
3372
|
const [_, u] = H.useState(f || !1),
|
|
3374
|
-
[h,
|
|
3373
|
+
[h, m] = H.useState(!1)
|
|
3375
3374
|
return (
|
|
3376
3375
|
H.useEffect(() => {
|
|
3377
3376
|
u(f || !1)
|
|
@@ -3397,7 +3396,7 @@ Check the top-level render call using <` +
|
|
|
3397
3396
|
height: 19,
|
|
3398
3397
|
rx: '10',
|
|
3399
3398
|
fill: 'white',
|
|
3400
|
-
stroke: w ||
|
|
3399
|
+
stroke: w || g ? '#e2001a' : h ? 'black' : '#AFB0B7',
|
|
3401
3400
|
strokeWidth: 1,
|
|
3402
3401
|
}),
|
|
3403
3402
|
h && e.jsx('circle', { cx: 10, cy: 10, r: 6, fill: 'lightgrey' }),
|
|
@@ -3407,7 +3406,7 @@ Check the top-level render call using <` +
|
|
|
3407
3406
|
i &&
|
|
3408
3407
|
e.jsx('p', {
|
|
3409
3408
|
className: `flex items-center flex-grow-0 flex-shrink-0 w-auto h-5 text-base text-left
|
|
3410
|
-
${w ||
|
|
3409
|
+
${w || g ? 'text-[#e2001a]' : 'text-black'}`,
|
|
3411
3410
|
children: i,
|
|
3412
3411
|
}),
|
|
3413
3412
|
e.jsx('input', {
|
|
@@ -3415,12 +3414,12 @@ Check the top-level render call using <` +
|
|
|
3415
3414
|
id: j,
|
|
3416
3415
|
checked: _,
|
|
3417
3416
|
onChange: (A) => {
|
|
3418
|
-
u(A.target.checked),
|
|
3417
|
+
u(A.target.checked), v && v(A)
|
|
3419
3418
|
},
|
|
3420
3419
|
readOnly: d,
|
|
3421
3420
|
className: 'h-[1.2em] w-[1.2em] absolute opacity-0 cursor-pointer',
|
|
3422
|
-
onMouseEnter: () =>
|
|
3423
|
-
onMouseLeave: () =>
|
|
3421
|
+
onMouseEnter: () => m(!0),
|
|
3422
|
+
onMouseLeave: () => m(!1),
|
|
3424
3423
|
}),
|
|
3425
3424
|
],
|
|
3426
3425
|
})
|
|
@@ -3433,8 +3432,8 @@ Check the top-level render call using <` +
|
|
|
3433
3432
|
options: i,
|
|
3434
3433
|
selectedOptions: o,
|
|
3435
3434
|
onSelectionChange: w,
|
|
3436
|
-
label:
|
|
3437
|
-
prepopulatedId:
|
|
3435
|
+
label: g,
|
|
3436
|
+
prepopulatedId: v,
|
|
3438
3437
|
boxText: f,
|
|
3439
3438
|
isDisabled: j,
|
|
3440
3439
|
}) => {
|
|
@@ -3445,122 +3444,119 @@ Check the top-level render call using <` +
|
|
|
3445
3444
|
h = () => {
|
|
3446
3445
|
d && _(!1)
|
|
3447
3446
|
}
|
|
3448
|
-
return (
|
|
3449
|
-
|
|
3450
|
-
e.jsxs('div', {
|
|
3451
|
-
className: `flex flex-col relative justify-start items-start h-[3.1em]
|
|
3447
|
+
return e.jsxs('div', {
|
|
3448
|
+
className: `flex flex-col relative justify-start items-start h-[3.1em]
|
|
3452
3449
|
self-stretch cursor-pointer gap-2.5 rounded border border-black
|
|
3453
3450
|
${j ? 'bg-brand-grey-light pointer-events-none' : 'bg-brand-white pointer-events-auto'}`,
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
}),
|
|
3451
|
+
onMouseLeave: h,
|
|
3452
|
+
onClick: u,
|
|
3453
|
+
children: [
|
|
3454
|
+
e.jsx('div', {
|
|
3455
|
+
className: 'absolute top-[-0.5em] left-[0.7em] flex items-center rounded justify-start px-1 bg-white',
|
|
3456
|
+
children: e.jsx('p', { className: 'text-xs text-left text-black', children: g }),
|
|
3457
|
+
}),
|
|
3458
|
+
e.jsxs('div', {
|
|
3459
|
+
className: 'flex items-center self-stretch justify-start py-1 pl-4 rounded-tl rounded-tr',
|
|
3460
|
+
children: [
|
|
3461
|
+
e.jsx('div', {
|
|
3462
|
+
className: 'overflow-hidden',
|
|
3463
|
+
children: e.jsx('div', {
|
|
3464
|
+
className: 'my-2 text-base text-left text-black dropdown-header w-[40em]',
|
|
3465
|
+
children: f || o,
|
|
3466
|
+
}),
|
|
3467
|
+
}),
|
|
3468
|
+
e.jsx('div', {
|
|
3469
|
+
className: 'flex justify-center items-center ml-auto relative gap-2.5 p-2',
|
|
3470
|
+
children: d
|
|
3471
|
+
? e.jsx('div', {
|
|
3472
|
+
className: 'transition-all rotate-0 duration-600',
|
|
3473
|
+
children: e.jsxs('svg', {
|
|
3474
|
+
viewBox: '0 0 24 24',
|
|
3475
|
+
fill: 'none',
|
|
3476
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
3477
|
+
className: 'relative flex-grow-0 flex-shrink-0 w-6 h-6',
|
|
3478
|
+
preserveAspectRatio: 'none',
|
|
3479
|
+
children: [
|
|
3480
|
+
e.jsx('g', {
|
|
3481
|
+
clipPath: 'url(#clip0_626_593)',
|
|
3482
|
+
children: e.jsx('path', {
|
|
3483
|
+
d: 'M12 8L6 14L7.41 15.41L12 10.83L16.59 15.41L18 14L12 8Z',
|
|
3484
|
+
fill: 'black',
|
|
3489
3485
|
}),
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
}),
|
|
3486
|
+
}),
|
|
3487
|
+
e.jsx('defs', {
|
|
3488
|
+
children: e.jsx('clipPath', {
|
|
3489
|
+
id: 'clip0_626_593',
|
|
3490
|
+
children: e.jsx('rect', { width: '24', height: '24', fill: 'white' }),
|
|
3495
3491
|
}),
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
})
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3492
|
+
}),
|
|
3493
|
+
],
|
|
3494
|
+
}),
|
|
3495
|
+
})
|
|
3496
|
+
: e.jsx('div', {
|
|
3497
|
+
className: 'transition-all -rotate-180 duration-600',
|
|
3498
|
+
children: e.jsxs('svg', {
|
|
3499
|
+
viewBox: '0 0 24 24',
|
|
3500
|
+
fill: 'none',
|
|
3501
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
3502
|
+
className: 'relative flex-grow-0 flex-shrink-0 w-6 h-6',
|
|
3503
|
+
preserveAspectRatio: 'none',
|
|
3504
|
+
children: [
|
|
3505
|
+
e.jsx('g', {
|
|
3506
|
+
clipPath: 'url(#clip0_626_593)',
|
|
3507
|
+
children: e.jsx('path', {
|
|
3508
|
+
d: 'M12 8L6 14L7.41 15.41L12 10.83L16.59 15.41L18 14L12 8Z',
|
|
3509
|
+
fill: 'black',
|
|
3514
3510
|
}),
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
}),
|
|
3511
|
+
}),
|
|
3512
|
+
e.jsx('defs', {
|
|
3513
|
+
children: e.jsx('clipPath', {
|
|
3514
|
+
id: 'clip0_626_593',
|
|
3515
|
+
children: e.jsx('rect', { width: '24', height: '24', fill: 'white' }),
|
|
3520
3516
|
}),
|
|
3521
|
-
|
|
3522
|
-
|
|
3517
|
+
}),
|
|
3518
|
+
],
|
|
3523
3519
|
}),
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3520
|
+
}),
|
|
3521
|
+
}),
|
|
3522
|
+
],
|
|
3523
|
+
}),
|
|
3524
|
+
e.jsx('div', {
|
|
3525
|
+
className: `dropdown-list absolute w-full overflow-hidden rounded-b
|
|
3529
3526
|
transition-all duration-100 ${d ? 'h-[13em]' : 'h-[0em] pointer-events-none'}`,
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3527
|
+
children:
|
|
3528
|
+
d &&
|
|
3529
|
+
e.jsx('ul', {
|
|
3530
|
+
id: t,
|
|
3531
|
+
className: `dropdown-list overflow-y-auto overflow-x-hidden absolute max-h-[10em]
|
|
3535
3532
|
bg-brand-white z-10 w-[110%] top-[3.1em]`,
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3533
|
+
children:
|
|
3534
|
+
i == null
|
|
3535
|
+
? void 0
|
|
3536
|
+
: i.map((m) =>
|
|
3537
|
+
e.jsx(
|
|
3538
|
+
'li',
|
|
3539
|
+
{
|
|
3540
|
+
className: `flex items-start justify-center h-10 py-1 pl-4 flex-col
|
|
3544
3541
|
bg-[#f0eff1] w-[91%] last:rounded-b last:border-transparent
|
|
3545
3542
|
border-b border-[#d8e6f2] transition duration-200 delay-10 hover:bg-slate-100`,
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
},
|
|
3551
|
-
children: e.jsx('p', {
|
|
3552
|
-
className: 'w-[50em]',
|
|
3553
|
-
children: C.name || C.carId || C.loginUsername,
|
|
3554
|
-
}),
|
|
3543
|
+
value: m.id,
|
|
3544
|
+
title: m.name || m.carId || m.loginUsername,
|
|
3545
|
+
onClick: () => {
|
|
3546
|
+
w(m)
|
|
3555
3547
|
},
|
|
3556
|
-
|
|
3557
|
-
|
|
3548
|
+
children: e.jsx('p', {
|
|
3549
|
+
className: 'w-[50em]',
|
|
3550
|
+
children: m.name || m.carId || m.loginUsername,
|
|
3551
|
+
}),
|
|
3552
|
+
},
|
|
3553
|
+
m.id,
|
|
3558
3554
|
),
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
)
|
|
3555
|
+
),
|
|
3556
|
+
}),
|
|
3557
|
+
}),
|
|
3558
|
+
],
|
|
3559
|
+
})
|
|
3564
3560
|
},
|
|
3565
3561
|
n1 = { DEFAULT: 'default' },
|
|
3566
3562
|
a1 = { DEFAULT: 'bg-black hover:bg-black-800 active:bg-grey-900' },
|
|
@@ -3569,8 +3565,8 @@ Check the top-level render call using <` +
|
|
|
3569
3565
|
selectedOptions: i,
|
|
3570
3566
|
onSelectionChange: o,
|
|
3571
3567
|
options: w,
|
|
3572
|
-
isDisabled:
|
|
3573
|
-
label:
|
|
3568
|
+
isDisabled: g,
|
|
3569
|
+
label: v,
|
|
3574
3570
|
variant: f = 'DEFAULT',
|
|
3575
3571
|
}) => {
|
|
3576
3572
|
const [j, d] = H.useState(!1),
|
|
@@ -3584,11 +3580,11 @@ Check the top-level render call using <` +
|
|
|
3584
3580
|
d(!0)
|
|
3585
3581
|
},
|
|
3586
3582
|
className: `cursor-pointer relative py-[0.7em] px-[1em] border border-black rounded h-[3.1em]
|
|
3587
|
-
${
|
|
3583
|
+
${g ? 'bg-brand-grey-light pointer-events-none' : 'bg-brand-white pointer-events-auto'}`,
|
|
3588
3584
|
children: [
|
|
3589
3585
|
e.jsx('div', {
|
|
3590
3586
|
className: 'absolute top-[-0.5em] left-[0.7em] flex items-center rounded justify-start px-1 bg-white',
|
|
3591
|
-
children: e.jsx('p', { className: 'text-xs text-left text-black', children:
|
|
3587
|
+
children: e.jsx('p', { className: 'text-xs text-left text-black', children: v }),
|
|
3592
3588
|
}),
|
|
3593
3589
|
e.jsx('p', { children: 'Auswählen' }),
|
|
3594
3590
|
e.jsx('div', {
|
|
@@ -3654,28 +3650,25 @@ Check the top-level render call using <` +
|
|
|
3654
3650
|
absolute w-[110%] outline-none focus:border-red-500`,
|
|
3655
3651
|
ref: _,
|
|
3656
3652
|
children: w.map((h) => {
|
|
3657
|
-
const
|
|
3658
|
-
return (
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
onClick: () => {
|
|
3667
|
-
o(h)
|
|
3668
|
-
},
|
|
3669
|
-
children: [
|
|
3670
|
-
h.name || h.carId || h.loginUsername,
|
|
3671
|
-
e.jsx('div', {
|
|
3672
|
-
className: 'mr-[0em]',
|
|
3673
|
-
children: e.jsx(de, { id: 'test', checked: C, onChange: () => o(h) }),
|
|
3674
|
-
}),
|
|
3675
|
-
],
|
|
3653
|
+
const m = i.includes(h.id) || i.includes(h.carId) || i.includes(h)
|
|
3654
|
+
return e.jsxs(
|
|
3655
|
+
'li',
|
|
3656
|
+
{
|
|
3657
|
+
className: `border-b border-[#d8e6f2] px-[1em] flex items-center min-w-[20em] max-w-[90%] last:border-transparent justify-between
|
|
3658
|
+
py-1 h-10 m-0 ${m ? 'bg-[#d8e6f2]' : ''} hover:bg-slate-100`,
|
|
3659
|
+
title: h.name || h.carId || h.loginUsername,
|
|
3660
|
+
onClick: () => {
|
|
3661
|
+
o(h)
|
|
3676
3662
|
},
|
|
3677
|
-
|
|
3678
|
-
|
|
3663
|
+
children: [
|
|
3664
|
+
h.name || h.carId || h.loginUsername,
|
|
3665
|
+
e.jsx('div', {
|
|
3666
|
+
className: 'mr-[0em]',
|
|
3667
|
+
children: e.jsx(de, { id: 'test', checked: m, onChange: () => o(h) }),
|
|
3668
|
+
}),
|
|
3669
|
+
],
|
|
3670
|
+
},
|
|
3671
|
+
h.id,
|
|
3679
3672
|
)
|
|
3680
3673
|
}),
|
|
3681
3674
|
}),
|
|
@@ -3685,12 +3678,11 @@ Check the top-level render call using <` +
|
|
|
3685
3678
|
},
|
|
3686
3679
|
h1 = { DEFAULT: 'default', IMPORTANT: 'important', SMALL: 'small' },
|
|
3687
3680
|
fe = { DEFAULT: 'text-[1em]', IMPORTANT: 'text-[1.125em]', SMALL: 'text-[0.8750em]' },
|
|
3688
|
-
o1 = ({ variant: t = 'DEFAULT', isDisabled: i = !1, text: o, children: w, bold:
|
|
3681
|
+
o1 = ({ variant: t = 'DEFAULT', isDisabled: i = !1, text: o, children: w, bold: g, small: v, important: f }) =>
|
|
3689
3682
|
e.jsx('p', {
|
|
3690
|
-
className:
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
`,
|
|
3683
|
+
className: `${fe[t]} ${g ? 'font-semibold' : ''} ${
|
|
3684
|
+
i ? 'opacity-[0.3] cursor-not-allowed pointer-events-none' : ''
|
|
3685
|
+
}`,
|
|
3694
3686
|
children: w || o,
|
|
3695
3687
|
}),
|
|
3696
3688
|
d1 = { DEFAULT: 'default' },
|
|
@@ -3703,8 +3695,8 @@ Check the top-level render call using <` +
|
|
|
3703
3695
|
placeholder: i,
|
|
3704
3696
|
label: o,
|
|
3705
3697
|
variant: w = 'DEFAULT',
|
|
3706
|
-
isDisabled:
|
|
3707
|
-
isError:
|
|
3698
|
+
isDisabled: g = !1,
|
|
3699
|
+
isError: v = !1,
|
|
3708
3700
|
defaultValue: f,
|
|
3709
3701
|
isRequired: j,
|
|
3710
3702
|
onChange: d,
|
|
@@ -3712,19 +3704,19 @@ Check the top-level render call using <` +
|
|
|
3712
3704
|
id: u,
|
|
3713
3705
|
}) => {
|
|
3714
3706
|
const h = `h-[3.1em] w-full transition-colors px-[0.9em] hover:px-[0.9em] py-[0.7em] rounded-md
|
|
3715
|
-
${j ||
|
|
3716
|
-
${xe[w]} ${
|
|
3707
|
+
${j || v ? 'border-red-500' : ''}
|
|
3708
|
+
${xe[w]} ${g ? 'cursor-not-allowed pointer-events-none' : ''}`
|
|
3717
3709
|
return e.jsx(e.Fragment, {
|
|
3718
3710
|
children: e.jsxs('div', {
|
|
3719
3711
|
className: `relative flex flex-col items-start justify-start w-full rounded-tl rounded-tr
|
|
3720
|
-
${
|
|
3712
|
+
${g && 'opacity-[0.3] cursor-not-allowed pointer-events-none'}`,
|
|
3721
3713
|
children: [
|
|
3722
3714
|
o &&
|
|
3723
3715
|
e.jsx('div', {
|
|
3724
3716
|
className:
|
|
3725
3717
|
'absolute label top-[-0.5em] left-[0.7em] h-[1em] flex items-center rounded justify-start px-1 bg-white',
|
|
3726
3718
|
children: e.jsx('p', {
|
|
3727
|
-
className: `text-xs text-left ${j ||
|
|
3719
|
+
className: `text-xs text-left ${j || v ? 'text-red-500' : 'text-black'}`,
|
|
3728
3720
|
children: o || 'label',
|
|
3729
3721
|
}),
|
|
3730
3722
|
}),
|
|
@@ -3732,7 +3724,7 @@ Check the top-level render call using <` +
|
|
|
3732
3724
|
_ &&
|
|
3733
3725
|
e.jsx('p', {
|
|
3734
3726
|
className: `flex-grow w-[178px] h-[1em] text-[1em] text-left ml-[1em] mt-[0.1em]
|
|
3735
|
-
px-[0.5em] ${j ||
|
|
3727
|
+
px-[0.5em] ${j || v ? 'text-red-500' : 'text-black'}`,
|
|
3736
3728
|
children: _ || 'supportingText',
|
|
3737
3729
|
}),
|
|
3738
3730
|
],
|
|
@@ -3741,16 +3733,14 @@ Check the top-level render call using <` +
|
|
|
3741
3733
|
},
|
|
3742
3734
|
x1 = { DEFAULT: 'default' },
|
|
3743
3735
|
w1 = { DEFAULT: 'bg-black hover:bg-black-800 active:bg-grey-900' },
|
|
3744
|
-
p1 = ({ variant: t = 'DEFAULT', isDisabled: i = !1, children: o }) =>
|
|
3745
|
-
console.log(i),
|
|
3736
|
+
p1 = ({ variant: t = 'DEFAULT', isDisabled: i = !1, children: o }) =>
|
|
3746
3737
|
e.jsx('div', {
|
|
3747
3738
|
className: `overflow-hidden rounded-lg bg-white shadow-[0px_0px_8px_0px_rgba(0,0,0,0.05)]
|
|
3748
3739
|
flex`,
|
|
3749
3740
|
children: o || 'test',
|
|
3750
|
-
})
|
|
3751
|
-
),
|
|
3741
|
+
}),
|
|
3752
3742
|
g1 = { DEFAULT: 'default' },
|
|
3753
|
-
v1 = ({ children: t, customWidth: i, customHeight: o, onClick: w, width:
|
|
3743
|
+
v1 = ({ children: t, customWidth: i, customHeight: o, onClick: w, width: g = '60', height: v = '30' }) => {
|
|
3754
3744
|
H.useEffect(
|
|
3755
3745
|
() => (
|
|
3756
3746
|
(document.body.style.overflow = 'hidden'),
|
|
@@ -3760,8 +3750,8 @@ Check the top-level render call using <` +
|
|
|
3760
3750
|
),
|
|
3761
3751
|
[],
|
|
3762
3752
|
)
|
|
3763
|
-
const f = i ?
|
|
3764
|
-
j = o ?
|
|
3753
|
+
const f = i ? g : '60',
|
|
3754
|
+
j = o ? v : '60'
|
|
3765
3755
|
return e.jsxs(e.Fragment, {
|
|
3766
3756
|
children: [
|
|
3767
3757
|
e.jsx('div', { onClick: w, className: 'fixed inset-0 z-50 transition-opacity bg-black bg-opacity-60' }),
|
|
@@ -3776,13 +3766,13 @@ Check the top-level render call using <` +
|
|
|
3776
3766
|
},
|
|
3777
3767
|
j1 = { h1: 'h1', h2: 'h2', h3: 'h3' },
|
|
3778
3768
|
we = { h1: 'text-black text-[3em]', h2: 'text-black text-[2.25em]', h3: 'text-black text-[1.625em]' },
|
|
3779
|
-
u1 = ({ variant: t = 'h1', children: i, bold: o, label: w, customClasses:
|
|
3780
|
-
const
|
|
3781
|
-
return e.jsx(
|
|
3769
|
+
u1 = ({ variant: t = 'h1', children: i, bold: o, label: w, customClasses: g }) => {
|
|
3770
|
+
const v = t === 'h2' ? 'h2' : t === 'h3' ? 'h3' : 'h1'
|
|
3771
|
+
return e.jsx(v, {
|
|
3782
3772
|
className: `
|
|
3783
3773
|
${we[t]}
|
|
3784
3774
|
${o && 'font-semibold'}
|
|
3785
|
-
${
|
|
3775
|
+
${g}
|
|
3786
3776
|
`,
|
|
3787
3777
|
children: i || w,
|
|
3788
3778
|
})
|