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.
@@ -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
- v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
28
- g = { key: !0, ref: !0, __self: !0, __source: !0 }
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
- C = null,
32
+ m = null,
33
33
  A = null
34
- _ !== void 0 && (C = '' + _), d.key !== void 0 && (C = '' + d.key), d.ref !== void 0 && (A = d.ref)
35
- for (u in d) w.call(d, u) && !g.hasOwnProperty(u) && (h[u] = 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: C, ref: A, props: h, _owner: v.current }
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
- v = Symbol.for('react.strict_mode'),
62
- g = Symbol.for('react.profiler'),
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
- C = Symbol.for('react.lazy'),
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 m(l) {
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 === C ||
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
- m(
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 C: {
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 && m('disabledDepth fell below zero. This is a bug in React. Please file an issue.')
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 C: {
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
- m(
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), m('Failed %s type: %s', s, x.message), K(null))
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
- m(
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
- (m(
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
- m(
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
- m(
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
- m(
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
- m(
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
- m(
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
- m(
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), m('Invalid attribute `ref` supplied to `React.Fragment`.'), B(null))
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
- m(
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
- m(
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: v,
2891
- children: g,
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: v,
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: g || e.jsx('span', { children: Q[d](w == !1, o == !0) }),
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: g || t,
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: v = !1,
2942
- onChange: g,
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 [C, A] = H.useState(f || '')
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: m } = c.target
2956
- A(m), g && g(c)
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 || v ? 'border-red-500' : ''}
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 || v ? 'text-red-500' : 'text-black'}`,
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: C, name: j, type: d, onChange: T, placeholder: t, className: U }),
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: v
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 || v ? 'text-red-500' : 'text-black'}`,
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 [v, g] = H.useState(null),
3034
+ const [g, v] = H.useState(null),
3035
3035
  f = {},
3036
3036
  j = t,
3037
3037
  d = (c) => {
3038
- const m = c.classId.split('_')[0],
3039
- M = parseInt(m.split('.')[0])
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
- g((m) => (m === c ? null : c))
3060
+ v((C) => (C === c ? null : c))
3061
3061
  },
3062
3062
  h = (c) => {
3063
- const m = i.indexOf(c)
3064
- if (m === -1) o([...i, c])
3063
+ const C = i.indexOf(c)
3064
+ if (C === -1) o([...i, c])
3065
3065
  else {
3066
3066
  const M = [...i]
3067
- M.splice(m, 1), o(M)
3067
+ M.splice(C, 1), o(M)
3068
3068
  }
3069
3069
  },
3070
- [C, A] = H.useState(!1),
3070
+ [m, A] = H.useState(!1),
3071
3071
  T = (c) => {
3072
- const m = c.map((M) => M.id)
3073
- if (m.every((M) => i.includes(M))) {
3074
- const M = i.filter((R) => !m.includes(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, ...m])
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 m = f[c],
3085
- M = c === v
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(m)
3101
+ T(C)
3102
3102
  },
3103
- children: C
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: m
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: v = !1,
3255
- onChange: g,
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, C] = H.useState(!1)
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 || v ? '#e2001a' : h ? 'black' : '#AFB0B7',
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 || v ? 'text-[#e2001a]' : 'text-black'}`,
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), g && g(A)
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: () => C(!0),
3313
- onMouseLeave: () => C(!1),
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: v = !1,
3368
- onChange: g,
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, C] = H.useState(!1)
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 || v ? '#e2001a' : h ? 'black' : '#AFB0B7',
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 || v ? 'text-[#e2001a]' : 'text-black'}`,
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), g && g(A)
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: () => C(!0),
3423
- onMouseLeave: () => C(!1),
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: v,
3437
- prepopulatedId: g,
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
- console.log(g),
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
- onMouseLeave: h,
3455
- onClick: u,
3456
- children: [
3457
- e.jsx('div', {
3458
- className: 'absolute top-[-0.5em] left-[0.7em] flex items-center rounded justify-start px-1 bg-white',
3459
- children: e.jsx('p', { className: 'text-xs text-left text-black', children: v }),
3460
- }),
3461
- e.jsxs('div', {
3462
- className: 'flex items-center self-stretch justify-start py-1 pl-4 rounded-tl rounded-tr',
3463
- children: [
3464
- e.jsx('div', {
3465
- className: 'overflow-hidden',
3466
- children: e.jsx('div', {
3467
- className: 'my-2 text-base text-left text-black dropdown-header w-[30em]',
3468
- children: f || o,
3469
- }),
3470
- }),
3471
- e.jsx('div', {
3472
- className: 'flex justify-center items-center ml-auto relative gap-2.5 p-2',
3473
- children: d
3474
- ? e.jsx('div', {
3475
- className: 'transition-all rotate-0 duration-600',
3476
- children: e.jsxs('svg', {
3477
- viewBox: '0 0 24 24',
3478
- fill: 'none',
3479
- xmlns: 'http://www.w3.org/2000/svg',
3480
- className: 'relative flex-grow-0 flex-shrink-0 w-6 h-6',
3481
- preserveAspectRatio: 'none',
3482
- children: [
3483
- e.jsx('g', {
3484
- clipPath: 'url(#clip0_626_593)',
3485
- children: e.jsx('path', {
3486
- d: 'M12 8L6 14L7.41 15.41L12 10.83L16.59 15.41L18 14L12 8Z',
3487
- fill: 'black',
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
- e.jsx('defs', {
3491
- children: e.jsx('clipPath', {
3492
- id: 'clip0_626_593',
3493
- children: e.jsx('rect', { width: '24', height: '24', fill: 'white' }),
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
- : e.jsx('div', {
3500
- className: 'transition-all -rotate-180 duration-600',
3501
- children: e.jsxs('svg', {
3502
- viewBox: '0 0 24 24',
3503
- fill: 'none',
3504
- xmlns: 'http://www.w3.org/2000/svg',
3505
- className: 'relative flex-grow-0 flex-shrink-0 w-6 h-6',
3506
- preserveAspectRatio: 'none',
3507
- children: [
3508
- e.jsx('g', {
3509
- clipPath: 'url(#clip0_626_593)',
3510
- children: e.jsx('path', {
3511
- d: 'M12 8L6 14L7.41 15.41L12 10.83L16.59 15.41L18 14L12 8Z',
3512
- fill: 'black',
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
- e.jsx('defs', {
3516
- children: e.jsx('clipPath', {
3517
- id: 'clip0_626_593',
3518
- children: e.jsx('rect', { width: '24', height: '24', fill: 'white' }),
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
- e.jsx('div', {
3528
- className: `dropdown-list absolute w-full overflow-hidden rounded-b
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
- children:
3531
- d &&
3532
- e.jsx('ul', {
3533
- id: t,
3534
- className: `dropdown-list overflow-y-auto overflow-x-hidden absolute max-h-[10em]
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
- children:
3537
- i == null
3538
- ? void 0
3539
- : i.map((C) =>
3540
- e.jsx(
3541
- 'li',
3542
- {
3543
- className: `flex items-start justify-center h-10 py-1 pl-4 flex-col
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
- value: C.id,
3547
- title: C.name || C.carId || C.loginUsername,
3548
- onClick: () => {
3549
- w(C)
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
- C.id,
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: v,
3573
- label: g,
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
- ${v ? 'bg-brand-grey-light pointer-events-none' : 'bg-brand-white pointer-events-auto'}`,
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: g }),
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 C = i.includes(h.id) || i.includes(h.carId) || i.includes(h)
3658
- return (
3659
- console.log(C),
3660
- e.jsxs(
3661
- 'li',
3662
- {
3663
- className: `border-b border-[#d8e6f2] px-[1em] flex items-center min-w-[20em] max-w-[90%] last:border-transparent justify-between
3664
- py-1 h-10 m-0 ${C ? 'bg-[#d8e6f2]' : ''} hover:bg-slate-100`,
3665
- title: h.name || h.carId || h.loginUsername,
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
- h.id,
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: v, small: g, important: f }) =>
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
- ${fe[t]} ${v ? 'font-semibold' : ''}
3692
- ${i && 'opacity-[0.3] cursor-not-allowed pointer-events-none'}
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: v = !1,
3707
- isError: g = !1,
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 || g ? 'border-red-500' : ''}
3716
- ${xe[w]} ${v ? 'cursor-not-allowed pointer-events-none' : ''}`
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
- ${v && 'opacity-[0.3] cursor-not-allowed pointer-events-none'}`,
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 || g ? 'text-red-500' : 'text-black'}`,
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 || g ? 'text-red-500' : 'text-black'}`,
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: v = '60', height: g = '30' }) => {
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 ? v : '60',
3764
- j = o ? g : '60'
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: v }) => {
3780
- const g = t === 'h2' ? 'h2' : t === 'h3' ? 'h3' : 'h1'
3781
- return e.jsx(g, {
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
- ${v}
3775
+ ${g}
3786
3776
  `,
3787
3777
  children: i || w,
3788
3778
  })