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.
@@ -18,17 +18,17 @@ function x1() {
18
18
  i = Symbol.for('react.element'),
19
19
  h = Symbol.for('react.fragment'),
20
20
  f = Object.prototype.hasOwnProperty,
21
- g = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
22
- p = { key: !0, ref: !0, __self: !0, __source: !0 }
21
+ p = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
22
+ g = { key: !0, ref: !0, __self: !0, __source: !0 }
23
23
  function d(v, o, b) {
24
24
  var j,
25
25
  c = {},
26
- u = null,
26
+ m = null,
27
27
  M = null
28
- b !== void 0 && (u = '' + b), o.key !== void 0 && (u = '' + o.key), o.ref !== void 0 && (M = o.ref)
29
- for (j in o) f.call(o, j) && !p.hasOwnProperty(j) && (c[j] = o[j])
28
+ b !== void 0 && (m = '' + b), o.key !== void 0 && (m = '' + o.key), o.ref !== void 0 && (M = o.ref)
29
+ for (j in o) f.call(o, j) && !g.hasOwnProperty(j) && (c[j] = o[j])
30
30
  if (v && v.defaultProps) for (j in ((o = v.defaultProps), o)) c[j] === void 0 && (c[j] = o[j])
31
- return { $$typeof: i, type: v, key: u, ref: M, props: c, _owner: g.current }
31
+ return { $$typeof: i, type: v, key: m, ref: M, props: c, _owner: p.current }
32
32
  }
33
33
  return (U.Fragment = h), (U.jsx = d), (U.jsxs = d), U
34
34
  }
@@ -53,15 +53,15 @@ function f1() {
53
53
  i = Symbol.for('react.element'),
54
54
  h = Symbol.for('react.portal'),
55
55
  f = Symbol.for('react.fragment'),
56
- g = Symbol.for('react.strict_mode'),
57
- p = Symbol.for('react.profiler'),
56
+ p = Symbol.for('react.strict_mode'),
57
+ g = Symbol.for('react.profiler'),
58
58
  d = Symbol.for('react.provider'),
59
59
  v = Symbol.for('react.context'),
60
60
  o = Symbol.for('react.forward_ref'),
61
61
  b = Symbol.for('react.suspense'),
62
62
  j = Symbol.for('react.suspense_list'),
63
63
  c = Symbol.for('react.memo'),
64
- u = Symbol.for('react.lazy'),
64
+ m = Symbol.for('react.lazy'),
65
65
  M = Symbol.for('react.offscreen'),
66
66
  E = Symbol.iterator,
67
67
  O = '@@iterator'
@@ -71,7 +71,7 @@ function f1() {
71
71
  return typeof t == 'function' ? t : null
72
72
  }
73
73
  var a = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
74
- function m(l) {
74
+ function u(l) {
75
75
  {
76
76
  for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
77
77
  s[n - 1] = arguments[n]
@@ -101,9 +101,9 @@ function f1() {
101
101
  typeof l == 'string' ||
102
102
  typeof l == 'function' ||
103
103
  l === f ||
104
- l === p ||
105
- Be ||
106
104
  l === g ||
105
+ Be ||
106
+ l === p ||
107
107
  l === b ||
108
108
  l === j ||
109
109
  Te ||
@@ -113,7 +113,7 @@ function f1() {
113
113
  Ee ||
114
114
  (typeof l == 'object' &&
115
115
  l !== null &&
116
- (l.$$typeof === u ||
116
+ (l.$$typeof === m ||
117
117
  l.$$typeof === c ||
118
118
  l.$$typeof === d ||
119
119
  l.$$typeof === v ||
@@ -138,7 +138,7 @@ function f1() {
138
138
  if (l == null) return null
139
139
  if (
140
140
  (typeof l.tag == 'number' &&
141
- m(
141
+ u(
142
142
  'Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.',
143
143
  ),
144
144
  typeof l == 'function')
@@ -150,9 +150,9 @@ function f1() {
150
150
  return 'Fragment'
151
151
  case h:
152
152
  return 'Portal'
153
- case p:
154
- return 'Profiler'
155
153
  case g:
154
+ return 'Profiler'
155
+ case p:
156
156
  return 'StrictMode'
157
157
  case b:
158
158
  return 'Suspense'
@@ -172,7 +172,7 @@ function f1() {
172
172
  case c:
173
173
  var n = l.displayName || null
174
174
  return n !== null ? n : Z(l.type) || 'Memo'
175
- case u: {
175
+ case m: {
176
176
  var C = l,
177
177
  L = C._payload,
178
178
  w = C._init
@@ -257,7 +257,7 @@ function f1() {
257
257
  }),
258
258
  })
259
259
  }
260
- I < 0 && m('disabledDepth fell below zero. This is a bug in React. Please file an issue.')
260
+ I < 0 && u('disabledDepth fell below zero. This is a bug in React. Please file an issue.')
261
261
  }
262
262
  }
263
263
  var X = a.ReactCurrentDispatcher,
@@ -393,7 +393,7 @@ function f1() {
393
393
  return $e(l.render)
394
394
  case c:
395
395
  return z(l.type, t, s)
396
- case u: {
396
+ case m: {
397
397
  var n = l,
398
398
  C = n._payload,
399
399
  L = n._init
@@ -441,7 +441,7 @@ function f1() {
441
441
  x &&
442
442
  !(x instanceof Error) &&
443
443
  (J(C),
444
- m(
444
+ u(
445
445
  '%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).',
446
446
  n || 'React class',
447
447
  s,
@@ -451,7 +451,7 @@ function f1() {
451
451
  J(null)),
452
452
  x instanceof Error &&
453
453
  !(x.message in je) &&
454
- ((je[x.message] = !0), J(C), m('Failed %s type: %s', s, x.message), J(null))
454
+ ((je[x.message] = !0), J(C), u('Failed %s type: %s', s, x.message), J(null))
455
455
  }
456
456
  }
457
457
  }
@@ -479,7 +479,7 @@ function f1() {
479
479
  function Ce(l) {
480
480
  if (Ge(l))
481
481
  return (
482
- m(
482
+ u(
483
483
  'The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.',
484
484
  ze(l),
485
485
  ),
@@ -515,7 +515,7 @@ function f1() {
515
515
  if (typeof l.ref == 'string' && S.current && t && S.current.stateNode !== t) {
516
516
  var s = Z(S.current.type)
517
517
  le[s] ||
518
- (m(
518
+ (u(
519
519
  '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',
520
520
  Z(S.current.type),
521
521
  l.ref,
@@ -528,7 +528,7 @@ function f1() {
528
528
  var s = function () {
529
529
  be ||
530
530
  ((be = !0),
531
- m(
531
+ u(
532
532
  '%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)',
533
533
  t,
534
534
  ))
@@ -545,7 +545,7 @@ function f1() {
545
545
  var s = function () {
546
546
  Le ||
547
547
  ((Le = !0),
548
- m(
548
+ u(
549
549
  '%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)',
550
550
  t,
551
551
  ))
@@ -674,7 +674,7 @@ Check the top-level render call using <` +
674
674
  var n = ''
675
675
  l && l._owner && l._owner !== ie.current && (n = ' It was passed a child from ' + Z(l._owner.type) + '.'),
676
676
  T(l),
677
- m(
677
+ u(
678
678
  'Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
679
679
  s,
680
680
  n,
@@ -718,14 +718,14 @@ Check the top-level render call using <` +
718
718
  } else if (t.PropTypes !== void 0 && !re) {
719
719
  re = !0
720
720
  var C = Z(t)
721
- m(
721
+ u(
722
722
  'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?',
723
723
  C || 'Unknown',
724
724
  )
725
725
  }
726
726
  typeof t.getDefaultProps == 'function' &&
727
727
  !t.getDefaultProps.isReactClassApproved &&
728
- m(
728
+ u(
729
729
  'getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.',
730
730
  )
731
731
  }
@@ -736,7 +736,7 @@ Check the top-level render call using <` +
736
736
  var n = t[s]
737
737
  if (n !== 'children' && n !== 'key') {
738
738
  T(l),
739
- m(
739
+ u(
740
740
  'Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.',
741
741
  n,
742
742
  ),
@@ -744,7 +744,7 @@ Check the top-level render call using <` +
744
744
  break
745
745
  }
746
746
  }
747
- l.ref !== null && (T(l), m('Invalid attribute `ref` supplied to `React.Fragment`.'), T(null))
747
+ l.ref !== null && (T(l), u('Invalid attribute `ref` supplied to `React.Fragment`.'), T(null))
748
748
  }
749
749
  }
750
750
  function Pe(l, t, s, n, C, L) {
@@ -766,7 +766,7 @@ Check the top-level render call using <` +
766
766
  ? ((_ = '<' + (Z(l.type) || 'Unknown') + ' />'),
767
767
  (x = ' Did you accidentally export a JSX literal instead of a component?'))
768
768
  : (_ = typeof l),
769
- m(
769
+ u(
770
770
  'React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s',
771
771
  _,
772
772
  x,
@@ -782,7 +782,7 @@ Check the top-level render call using <` +
782
782
  for (var B = 0; B < R.length; B++) ke(R[B], l)
783
783
  Object.freeze && Object.freeze(R)
784
784
  } else
785
- m(
785
+ u(
786
786
  'React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.',
787
787
  )
788
788
  else ke(R, l)
@@ -2943,8 +2943,8 @@ const ne = {
2943
2943
  variant: i = 'DEFAULT',
2944
2944
  isDisabled: h = !1,
2945
2945
  isOutlined: f = !1,
2946
- onClick: g,
2947
- children: p,
2946
+ onClick: p,
2947
+ children: g,
2948
2948
  type: d,
2949
2949
  customClasses: v,
2950
2950
  iconName: o = 'Block',
@@ -2963,13 +2963,13 @@ const ne = {
2963
2963
  : Ne[i]
2964
2964
  }
2965
2965
  ${v}`,
2966
- onClick: g,
2966
+ onClick: p,
2967
2967
  children:
2968
2968
  i == 'ICON'
2969
2969
  ? /* @__PURE__ */ e.jsx(e.Fragment, {
2970
2970
  children: /* @__PURE__ */ e.jsx('div', {
2971
2971
  className: 'p-[0.5em]',
2972
- children: p || /* @__PURE__ */ e.jsx('span', { children: ne[o](f == !1, h == !0) }),
2972
+ children: g || /* @__PURE__ */ e.jsx('span', { children: ne[o](f == !1, h == !0) }),
2973
2973
  }),
2974
2974
  })
2975
2975
  : /* @__PURE__ */ e.jsxs('div', {
@@ -2979,7 +2979,7 @@ const ne = {
2979
2979
  /* @__PURE__ */ e.jsx('p', {
2980
2980
  className: `flex-grow-0 flex-shrink-0 text-[0.8750em] text-center
2981
2981
  `,
2982
- children: p || r,
2982
+ children: g || r,
2983
2983
  }),
2984
2984
  ],
2985
2985
  }),
@@ -2996,8 +2996,8 @@ const ne = {
2996
2996
  label: i,
2997
2997
  variant: h = 'DEFAULT',
2998
2998
  isDisabled: f = !1,
2999
- isError: g = !1,
3000
- onChange: p,
2999
+ isError: p = !1,
3000
+ onChange: g,
3001
3001
  value: d,
3002
3002
  name: v,
3003
3003
  type: o,
@@ -3005,19 +3005,19 @@ const ne = {
3005
3005
  supportingText: j,
3006
3006
  isRequired: c,
3007
3007
  }) => {
3008
- const [u, M] = N(d || '')
3008
+ const [m, M] = N(d || '')
3009
3009
  K(() => {
3010
3010
  M(d || '')
3011
3011
  }, [d])
3012
3012
  const E = (a) => {
3013
- const { value: m } = a.target
3014
- M(m), p && p(a)
3013
+ const { value: u } = a.target
3014
+ M(u), g && g(a)
3015
3015
  },
3016
3016
  O = () => {
3017
3017
  M('')
3018
3018
  },
3019
3019
  F = `h-[3.1em] w-full transition-colors px-[0.9em] hover:px-[0.9em] py-2 rounded-md
3020
- ${c || g ? 'border-red-500' : ''}
3020
+ ${c || p ? 'border-red-500' : ''}
3021
3021
  ${w1[h]} ${f ? 'cursor-not-allowed pointer-events-none' : ''}`
3022
3022
  return /* @__PURE__ */ e.jsx(e.Fragment, {
3023
3023
  children: /* @__PURE__ */ e.jsxs('div', {
@@ -3030,13 +3030,13 @@ const ne = {
3030
3030
  className:
3031
3031
  'absolute label top-[-0.5em] left-[0.7em] flex items-center rounded justify-start px-1 bg-white',
3032
3032
  children: /* @__PURE__ */ e.jsx('p', {
3033
- className: `text-xs text-left ${c || g ? 'text-red-500' : 'text-black'}`,
3033
+ className: `text-xs text-left ${c || p ? 'text-red-500' : 'text-black'}`,
3034
3034
  children: i || 'label',
3035
3035
  }),
3036
3036
  }),
3037
3037
  /* @__PURE__ */ e.jsx('input', {
3038
3038
  id: b,
3039
- value: u,
3039
+ value: m,
3040
3040
  name: v,
3041
3041
  type: o,
3042
3042
  onChange: E,
@@ -3048,7 +3048,7 @@ const ne = {
3048
3048
  className:
3049
3049
  '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',
3050
3050
  onClick: O,
3051
- children: g
3051
+ children: p
3052
3052
  ? /* @__PURE__ */ e.jsx('svg', {
3053
3053
  width: '20',
3054
3054
  height: '20',
@@ -3087,7 +3087,7 @@ const ne = {
3087
3087
  j &&
3088
3088
  /* @__PURE__ */ e.jsx('p', {
3089
3089
  className: `flex-grow w-[178px] text-xs text-left text-[#52555e] ml-[1em] mt-[0.1em]
3090
- bg-white px-[0.5em] ${c || g ? 'text-red-500' : 'text-black'}`,
3090
+ bg-white px-[0.5em] ${c || p ? 'text-red-500' : 'text-black'}`,
3091
3091
  children: j || 'supportingText',
3092
3092
  }),
3093
3093
  ],
@@ -3101,12 +3101,12 @@ const ne = {
3101
3101
  DEFAULT: 'bg-black hover:bg-black-800 active:bg-grey-900',
3102
3102
  },
3103
3103
  M1 = ({ options: r, selectedCatOptions: i, setSelectedCatOptions: h, variant: f = 'DEFAULT' }) => {
3104
- const [g, p] = N(null),
3104
+ const [p, g] = N(null),
3105
3105
  d = {},
3106
3106
  v = r,
3107
3107
  o = (a) => {
3108
- const m = a.classId.split('_')[0],
3109
- V = parseInt(m.split('.')[0])
3108
+ const u = a.classId.split('_')[0],
3109
+ V = parseInt(u.split('.')[0])
3110
3110
  return (
3111
3111
  V < 200
3112
3112
  ? (a.groupName = 'Patros')
@@ -3127,23 +3127,23 @@ const ne = {
3127
3127
  d[a.groupName] || (d[a.groupName] = []), d[a.groupName].push(a)
3128
3128
  })
3129
3129
  const j = (a) => {
3130
- p((m) => (m === a ? null : a))
3130
+ g((u) => (u === a ? null : a))
3131
3131
  },
3132
3132
  c = (a) => {
3133
- const m = i.indexOf(a)
3134
- if (m === -1) h([...i, a])
3133
+ const u = i.indexOf(a)
3134
+ if (u === -1) h([...i, a])
3135
3135
  else {
3136
3136
  const V = [...i]
3137
- V.splice(m, 1), h(V)
3137
+ V.splice(u, 1), h(V)
3138
3138
  }
3139
3139
  },
3140
- [u, M] = N(!1),
3140
+ [m, M] = N(!1),
3141
3141
  E = (a) => {
3142
- const m = a.map((V) => V.id)
3143
- if (m.every((V) => i.includes(V))) {
3144
- const V = i.filter((P) => !m.includes(P))
3142
+ const u = a.map((V) => V.id)
3143
+ if (u.every((V) => i.includes(V))) {
3144
+ const V = i.filter((P) => !u.includes(P))
3145
3145
  M(!1), h(V)
3146
- } else M(!0), h([...i, ...m])
3146
+ } else M(!0), h([...i, ...u])
3147
3147
  },
3148
3148
  O = (a) => i && i.includes(a),
3149
3149
  F = ['Reius', 'Caius', 'Patros', 'Ranta', 'Lorem', 'Andere']
@@ -3151,8 +3151,8 @@ const ne = {
3151
3151
  children: /* @__PURE__ */ e.jsx('div', {
3152
3152
  className: 'w-full overflow-hidden border rounded border-brand-black',
3153
3153
  children: Object.keys(d).map((a) => {
3154
- const m = d[a],
3155
- V = a === g
3154
+ const u = d[a],
3155
+ V = a === p
3156
3156
  return /* @__PURE__ */ e.jsxs(
3157
3157
  'div',
3158
3158
  {
@@ -3168,9 +3168,9 @@ const ne = {
3168
3168
  /* @__PURE__ */ e.jsx('div', {
3169
3169
  className: 'flex px-[1em] py-[0.3em] w-[10.5em] justify-between',
3170
3170
  onClick: () => {
3171
- E(m)
3171
+ E(u)
3172
3172
  },
3173
- children: u
3173
+ children: m
3174
3174
  ? /* @__PURE__ */ e.jsxs(e.Fragment, {
3175
3175
  children: [
3176
3176
  /* @__PURE__ */ e.jsx('p', { className: 'text-semibold', children: 'Alle entfernen' }),
@@ -3235,7 +3235,7 @@ const ne = {
3235
3235
  }),
3236
3236
  /* @__PURE__ */ e.jsx('div', {
3237
3237
  className: `pb-[4em] bg-[#f0eff1] overflow-scroll ${V ? 'h-[15em]' : 'h-[3.5em]'}`,
3238
- children: m
3238
+ children: u
3239
3239
  .slice()
3240
3240
  .sort((P, D) => (P.name && D.name ? P.name.localeCompare(D.name) : 0))
3241
3241
  .map((P) =>
@@ -3328,14 +3328,14 @@ const ne = {
3328
3328
  label: i,
3329
3329
  isDisabled: h = !1,
3330
3330
  isError: f = !1,
3331
- isRequired: g = !1,
3332
- onChange: p,
3331
+ isRequired: p = !1,
3332
+ onChange: g,
3333
3333
  checked: d,
3334
3334
  id: v,
3335
3335
  readOnly: o,
3336
3336
  }) => {
3337
3337
  const [b, j] = N(d || !1),
3338
- [c, u] = N(!1)
3338
+ [c, m] = N(!1)
3339
3339
  return (
3340
3340
  K(() => {
3341
3341
  j(d || !1)
@@ -3359,7 +3359,7 @@ const ne = {
3359
3359
  height: 19,
3360
3360
  rx: '0',
3361
3361
  fill: 'white',
3362
- stroke: f || g ? '#e2001a' : c ? 'black' : '#AFB0B7',
3362
+ stroke: f || p ? '#e2001a' : c ? 'black' : '#AFB0B7',
3363
3363
  strokeWidth: c ? 3 : 1,
3364
3364
  }),
3365
3365
  (b || d) &&
@@ -3372,7 +3372,7 @@ const ne = {
3372
3372
  i &&
3373
3373
  /* @__PURE__ */ e.jsx('p', {
3374
3374
  className: `flex items-center flex-grow-0 flex-shrink-0 w-auto h-5 text-base text-left
3375
- ${f || g ? 'text-[#e2001a]' : 'text-black'}`,
3375
+ ${f || p ? 'text-[#e2001a]' : 'text-black'}`,
3376
3376
  children: i,
3377
3377
  }),
3378
3378
  /* @__PURE__ */ e.jsx('input', {
@@ -3380,12 +3380,12 @@ const ne = {
3380
3380
  id: v,
3381
3381
  checked: b,
3382
3382
  onChange: (M) => {
3383
- j(M.target.checked), p && p(M)
3383
+ j(M.target.checked), g && g(M)
3384
3384
  },
3385
3385
  readOnly: o,
3386
3386
  className: 'h-[1.2em] w-[1.2em] absolute opacity-0 cursor-pointer',
3387
- onMouseEnter: () => u(!0),
3388
- onMouseLeave: () => u(!1),
3387
+ onMouseEnter: () => m(!0),
3388
+ onMouseLeave: () => m(!1),
3389
3389
  }),
3390
3390
  ],
3391
3391
  })
@@ -3447,14 +3447,14 @@ const ne = {
3447
3447
  label: i,
3448
3448
  isDisabled: h = !1,
3449
3449
  isError: f = !1,
3450
- isRequired: g = !1,
3451
- onChange: p,
3450
+ isRequired: p = !1,
3451
+ onChange: g,
3452
3452
  checked: d,
3453
3453
  id: v,
3454
3454
  readOnly: o,
3455
3455
  }) => {
3456
3456
  const [b, j] = N(d || !1),
3457
- [c, u] = N(!1)
3457
+ [c, m] = N(!1)
3458
3458
  return (
3459
3459
  K(() => {
3460
3460
  j(d || !1)
@@ -3478,7 +3478,7 @@ const ne = {
3478
3478
  height: 19,
3479
3479
  rx: '10',
3480
3480
  fill: 'white',
3481
- stroke: f || g ? '#e2001a' : c ? 'black' : '#AFB0B7',
3481
+ stroke: f || p ? '#e2001a' : c ? 'black' : '#AFB0B7',
3482
3482
  strokeWidth: 1,
3483
3483
  }),
3484
3484
  c && /* @__PURE__ */ e.jsx('circle', { cx: 10, cy: 10, r: 6, fill: 'lightgrey' }),
@@ -3488,7 +3488,7 @@ const ne = {
3488
3488
  i &&
3489
3489
  /* @__PURE__ */ e.jsx('p', {
3490
3490
  className: `flex items-center flex-grow-0 flex-shrink-0 w-auto h-5 text-base text-left
3491
- ${f || g ? 'text-[#e2001a]' : 'text-black'}`,
3491
+ ${f || p ? 'text-[#e2001a]' : 'text-black'}`,
3492
3492
  children: i,
3493
3493
  }),
3494
3494
  /* @__PURE__ */ e.jsx('input', {
@@ -3496,12 +3496,12 @@ const ne = {
3496
3496
  id: v,
3497
3497
  checked: b,
3498
3498
  onChange: (M) => {
3499
- j(M.target.checked), p && p(M)
3499
+ j(M.target.checked), g && g(M)
3500
3500
  },
3501
3501
  readOnly: o,
3502
3502
  className: 'h-[1.2em] w-[1.2em] absolute opacity-0 cursor-pointer',
3503
- onMouseEnter: () => u(!0),
3504
- onMouseLeave: () => u(!1),
3503
+ onMouseEnter: () => m(!0),
3504
+ onMouseLeave: () => m(!1),
3505
3505
  }),
3506
3506
  ],
3507
3507
  })
@@ -3518,8 +3518,8 @@ const ne = {
3518
3518
  options: i,
3519
3519
  selectedOptions: h,
3520
3520
  onSelectionChange: f,
3521
- label: g,
3522
- prepopulatedId: p,
3521
+ label: p,
3522
+ prepopulatedId: g,
3523
3523
  boxText: d,
3524
3524
  isDisabled: v,
3525
3525
  }) => {
@@ -3530,122 +3530,119 @@ const ne = {
3530
3530
  c = () => {
3531
3531
  o && b(!1)
3532
3532
  }
3533
- return (
3534
- console.log(p),
3535
- /* @__PURE__ */ e.jsxs('div', {
3536
- className: `flex flex-col relative justify-start items-start h-[3.1em]
3533
+ return /* @__PURE__ */ e.jsxs('div', {
3534
+ className: `flex flex-col relative justify-start items-start h-[3.1em]
3537
3535
  self-stretch cursor-pointer gap-2.5 rounded border border-black
3538
3536
  ${v ? 'bg-brand-grey-light pointer-events-none' : 'bg-brand-white pointer-events-auto'}`,
3539
- onMouseLeave: c,
3540
- onClick: j,
3541
- children: [
3542
- /* @__PURE__ */ e.jsx('div', {
3543
- className: 'absolute top-[-0.5em] left-[0.7em] flex items-center rounded justify-start px-1 bg-white',
3544
- children: /* @__PURE__ */ e.jsx('p', { className: 'text-xs text-left text-black', children: g }),
3545
- }),
3546
- /* @__PURE__ */ e.jsxs('div', {
3547
- className: 'flex items-center self-stretch justify-start py-1 pl-4 rounded-tl rounded-tr',
3548
- children: [
3549
- /* @__PURE__ */ e.jsx('div', {
3550
- className: 'overflow-hidden',
3551
- children: /* @__PURE__ */ e.jsx('div', {
3552
- className: 'my-2 text-base text-left text-black dropdown-header w-[30em]',
3553
- children: d || h,
3554
- }),
3555
- }),
3556
- /* @__PURE__ */ e.jsx('div', {
3557
- className: 'flex justify-center items-center ml-auto relative gap-2.5 p-2',
3558
- children: o
3559
- ? /* @__PURE__ */ e.jsx('div', {
3560
- className: 'transition-all rotate-0 duration-600',
3561
- children: /* @__PURE__ */ e.jsxs('svg', {
3562
- viewBox: '0 0 24 24',
3563
- fill: 'none',
3564
- xmlns: 'http://www.w3.org/2000/svg',
3565
- className: 'relative flex-grow-0 flex-shrink-0 w-6 h-6',
3566
- preserveAspectRatio: 'none',
3567
- children: [
3568
- /* @__PURE__ */ e.jsx('g', {
3569
- clipPath: 'url(#clip0_626_593)',
3570
- children: /* @__PURE__ */ e.jsx('path', {
3571
- d: 'M12 8L6 14L7.41 15.41L12 10.83L16.59 15.41L18 14L12 8Z',
3572
- fill: 'black',
3573
- }),
3537
+ onMouseLeave: c,
3538
+ onClick: j,
3539
+ children: [
3540
+ /* @__PURE__ */ e.jsx('div', {
3541
+ className: 'absolute top-[-0.5em] left-[0.7em] flex items-center rounded justify-start px-1 bg-white',
3542
+ children: /* @__PURE__ */ e.jsx('p', { className: 'text-xs text-left text-black', children: p }),
3543
+ }),
3544
+ /* @__PURE__ */ e.jsxs('div', {
3545
+ className: 'flex items-center self-stretch justify-start py-1 pl-4 rounded-tl rounded-tr',
3546
+ children: [
3547
+ /* @__PURE__ */ e.jsx('div', {
3548
+ className: 'overflow-hidden',
3549
+ children: /* @__PURE__ */ e.jsx('div', {
3550
+ className: 'my-2 text-base text-left text-black dropdown-header w-[40em]',
3551
+ children: d || h,
3552
+ }),
3553
+ }),
3554
+ /* @__PURE__ */ e.jsx('div', {
3555
+ className: 'flex justify-center items-center ml-auto relative gap-2.5 p-2',
3556
+ children: o
3557
+ ? /* @__PURE__ */ e.jsx('div', {
3558
+ className: 'transition-all rotate-0 duration-600',
3559
+ children: /* @__PURE__ */ e.jsxs('svg', {
3560
+ viewBox: '0 0 24 24',
3561
+ fill: 'none',
3562
+ xmlns: 'http://www.w3.org/2000/svg',
3563
+ className: 'relative flex-grow-0 flex-shrink-0 w-6 h-6',
3564
+ preserveAspectRatio: 'none',
3565
+ children: [
3566
+ /* @__PURE__ */ e.jsx('g', {
3567
+ clipPath: 'url(#clip0_626_593)',
3568
+ children: /* @__PURE__ */ e.jsx('path', {
3569
+ d: 'M12 8L6 14L7.41 15.41L12 10.83L16.59 15.41L18 14L12 8Z',
3570
+ fill: 'black',
3574
3571
  }),
3575
- /* @__PURE__ */ e.jsx('defs', {
3576
- children: /* @__PURE__ */ e.jsx('clipPath', {
3577
- id: 'clip0_626_593',
3578
- children: /* @__PURE__ */ e.jsx('rect', { width: '24', height: '24', fill: 'white' }),
3579
- }),
3572
+ }),
3573
+ /* @__PURE__ */ e.jsx('defs', {
3574
+ children: /* @__PURE__ */ e.jsx('clipPath', {
3575
+ id: 'clip0_626_593',
3576
+ children: /* @__PURE__ */ e.jsx('rect', { width: '24', height: '24', fill: 'white' }),
3580
3577
  }),
3581
- ],
3582
- }),
3583
- })
3584
- : /* @__PURE__ */ e.jsx('div', {
3585
- className: 'transition-all -rotate-180 duration-600',
3586
- children: /* @__PURE__ */ e.jsxs('svg', {
3587
- viewBox: '0 0 24 24',
3588
- fill: 'none',
3589
- xmlns: 'http://www.w3.org/2000/svg',
3590
- className: 'relative flex-grow-0 flex-shrink-0 w-6 h-6',
3591
- preserveAspectRatio: 'none',
3592
- children: [
3593
- /* @__PURE__ */ e.jsx('g', {
3594
- clipPath: 'url(#clip0_626_593)',
3595
- children: /* @__PURE__ */ e.jsx('path', {
3596
- d: 'M12 8L6 14L7.41 15.41L12 10.83L16.59 15.41L18 14L12 8Z',
3597
- fill: 'black',
3598
- }),
3578
+ }),
3579
+ ],
3580
+ }),
3581
+ })
3582
+ : /* @__PURE__ */ e.jsx('div', {
3583
+ className: 'transition-all -rotate-180 duration-600',
3584
+ children: /* @__PURE__ */ e.jsxs('svg', {
3585
+ viewBox: '0 0 24 24',
3586
+ fill: 'none',
3587
+ xmlns: 'http://www.w3.org/2000/svg',
3588
+ className: 'relative flex-grow-0 flex-shrink-0 w-6 h-6',
3589
+ preserveAspectRatio: 'none',
3590
+ children: [
3591
+ /* @__PURE__ */ e.jsx('g', {
3592
+ clipPath: 'url(#clip0_626_593)',
3593
+ children: /* @__PURE__ */ e.jsx('path', {
3594
+ d: 'M12 8L6 14L7.41 15.41L12 10.83L16.59 15.41L18 14L12 8Z',
3595
+ fill: 'black',
3599
3596
  }),
3600
- /* @__PURE__ */ e.jsx('defs', {
3601
- children: /* @__PURE__ */ e.jsx('clipPath', {
3602
- id: 'clip0_626_593',
3603
- children: /* @__PURE__ */ e.jsx('rect', { width: '24', height: '24', fill: 'white' }),
3604
- }),
3597
+ }),
3598
+ /* @__PURE__ */ e.jsx('defs', {
3599
+ children: /* @__PURE__ */ e.jsx('clipPath', {
3600
+ id: 'clip0_626_593',
3601
+ children: /* @__PURE__ */ e.jsx('rect', { width: '24', height: '24', fill: 'white' }),
3605
3602
  }),
3606
- ],
3607
- }),
3603
+ }),
3604
+ ],
3608
3605
  }),
3609
- }),
3610
- ],
3611
- }),
3612
- /* @__PURE__ */ e.jsx('div', {
3613
- className: `dropdown-list absolute w-full overflow-hidden rounded-b
3606
+ }),
3607
+ }),
3608
+ ],
3609
+ }),
3610
+ /* @__PURE__ */ e.jsx('div', {
3611
+ className: `dropdown-list absolute w-full overflow-hidden rounded-b
3614
3612
  transition-all duration-100 ${o ? 'h-[13em]' : 'h-[0em] pointer-events-none'}`,
3615
- children:
3616
- o &&
3617
- /* @__PURE__ */ e.jsx('ul', {
3618
- id: r,
3619
- className: `dropdown-list overflow-y-auto overflow-x-hidden absolute max-h-[10em]
3613
+ children:
3614
+ o &&
3615
+ /* @__PURE__ */ e.jsx('ul', {
3616
+ id: r,
3617
+ className: `dropdown-list overflow-y-auto overflow-x-hidden absolute max-h-[10em]
3620
3618
  bg-brand-white z-10 w-[110%] top-[3.1em]`,
3621
- children:
3622
- i == null
3623
- ? void 0
3624
- : i.map((u) =>
3625
- /* @__PURE__ */ e.jsx(
3626
- 'li',
3627
- {
3628
- className: `flex items-start justify-center h-10 py-1 pl-4 flex-col
3619
+ children:
3620
+ i == null
3621
+ ? void 0
3622
+ : i.map((m) =>
3623
+ /* @__PURE__ */ e.jsx(
3624
+ 'li',
3625
+ {
3626
+ className: `flex items-start justify-center h-10 py-1 pl-4 flex-col
3629
3627
  bg-[#f0eff1] w-[91%] last:rounded-b last:border-transparent
3630
3628
  border-b border-[#d8e6f2] transition duration-200 delay-10 hover:bg-slate-100`,
3631
- value: u.id,
3632
- title: u.name || u.carId || u.loginUsername,
3633
- onClick: () => {
3634
- f(u)
3635
- },
3636
- children: /* @__PURE__ */ e.jsx('p', {
3637
- className: 'w-[50em]',
3638
- children: u.name || u.carId || u.loginUsername,
3639
- }),
3629
+ value: m.id,
3630
+ title: m.name || m.carId || m.loginUsername,
3631
+ onClick: () => {
3632
+ f(m)
3640
3633
  },
3641
- u.id,
3642
- ),
3634
+ children: /* @__PURE__ */ e.jsx('p', {
3635
+ className: 'w-[50em]',
3636
+ children: m.name || m.carId || m.loginUsername,
3637
+ }),
3638
+ },
3639
+ m.id,
3643
3640
  ),
3644
- }),
3645
- }),
3646
- ],
3647
- })
3648
- )
3641
+ ),
3642
+ }),
3643
+ }),
3644
+ ],
3645
+ })
3649
3646
  },
3650
3647
  F1 = {
3651
3648
  DEFAULT: 'default',
@@ -3658,8 +3655,8 @@ const ne = {
3658
3655
  selectedOptions: i,
3659
3656
  onSelectionChange: h,
3660
3657
  options: f,
3661
- isDisabled: g,
3662
- label: p,
3658
+ isDisabled: p,
3659
+ label: g,
3663
3660
  variant: d = 'DEFAULT',
3664
3661
  }) => {
3665
3662
  const [v, o] = N(!1),
@@ -3673,11 +3670,11 @@ const ne = {
3673
3670
  o(!0)
3674
3671
  },
3675
3672
  className: `cursor-pointer relative py-[0.7em] px-[1em] border border-black rounded h-[3.1em]
3676
- ${g ? 'bg-brand-grey-light pointer-events-none' : 'bg-brand-white pointer-events-auto'}`,
3673
+ ${p ? 'bg-brand-grey-light pointer-events-none' : 'bg-brand-white pointer-events-auto'}`,
3677
3674
  children: [
3678
3675
  /* @__PURE__ */ e.jsx('div', {
3679
3676
  className: 'absolute top-[-0.5em] left-[0.7em] flex items-center rounded justify-start px-1 bg-white',
3680
- children: /* @__PURE__ */ e.jsx('p', { className: 'text-xs text-left text-black', children: p }),
3677
+ children: /* @__PURE__ */ e.jsx('p', { className: 'text-xs text-left text-black', children: g }),
3681
3678
  }),
3682
3679
  /* @__PURE__ */ e.jsx('p', { children: 'Auswählen' }),
3683
3680
  /* @__PURE__ */ e.jsx('div', {
@@ -3743,28 +3740,25 @@ const ne = {
3743
3740
  absolute w-[110%] outline-none focus:border-red-500`,
3744
3741
  ref: b,
3745
3742
  children: f.map((c) => {
3746
- const u = i.includes(c.id) || i.includes(c.carId) || i.includes(c)
3747
- return (
3748
- console.log(u),
3749
- /* @__PURE__ */ e.jsxs(
3750
- 'li',
3751
- {
3752
- className: `border-b border-[#d8e6f2] px-[1em] flex items-center min-w-[20em] max-w-[90%] last:border-transparent justify-between
3753
- py-1 h-10 m-0 ${u ? 'bg-[#d8e6f2]' : ''} hover:bg-slate-100`,
3754
- title: c.name || c.carId || c.loginUsername,
3755
- onClick: () => {
3756
- h(c)
3757
- },
3758
- children: [
3759
- c.name || c.carId || c.loginUsername,
3760
- /* @__PURE__ */ e.jsx('div', {
3761
- className: 'mr-[0em]',
3762
- children: /* @__PURE__ */ e.jsx(p1, { id: 'test', checked: u, onChange: () => h(c) }),
3763
- }),
3764
- ],
3743
+ const m = i.includes(c.id) || i.includes(c.carId) || i.includes(c)
3744
+ return /* @__PURE__ */ e.jsxs(
3745
+ 'li',
3746
+ {
3747
+ className: `border-b border-[#d8e6f2] px-[1em] flex items-center min-w-[20em] max-w-[90%] last:border-transparent justify-between
3748
+ py-1 h-10 m-0 ${m ? 'bg-[#d8e6f2]' : ''} hover:bg-slate-100`,
3749
+ title: c.name || c.carId || c.loginUsername,
3750
+ onClick: () => {
3751
+ h(c)
3765
3752
  },
3766
- c.id,
3767
- )
3753
+ children: [
3754
+ c.name || c.carId || c.loginUsername,
3755
+ /* @__PURE__ */ e.jsx('div', {
3756
+ className: 'mr-[0em]',
3757
+ children: /* @__PURE__ */ e.jsx(p1, { id: 'test', checked: m, onChange: () => h(c) }),
3758
+ }),
3759
+ ],
3760
+ },
3761
+ c.id,
3768
3762
  )
3769
3763
  }),
3770
3764
  }),
@@ -3782,12 +3776,11 @@ const ne = {
3782
3776
  IMPORTANT: 'text-[1.125em]',
3783
3777
  SMALL: 'text-[0.8750em]',
3784
3778
  },
3785
- $1 = ({ variant: r = 'DEFAULT', isDisabled: i = !1, text: h, children: f, bold: g, small: p, important: d }) =>
3779
+ $1 = ({ variant: r = 'DEFAULT', isDisabled: i = !1, text: h, children: f, bold: p, small: g, important: d }) =>
3786
3780
  /* @__PURE__ */ e.jsx('p', {
3787
- className: `
3788
- ${g1[r]} ${g ? 'font-semibold' : ''}
3789
- ${i && 'opacity-[0.3] cursor-not-allowed pointer-events-none'}
3790
- `,
3781
+ className: `${g1[r]} ${p ? 'font-semibold' : ''} ${
3782
+ i ? 'opacity-[0.3] cursor-not-allowed pointer-events-none' : ''
3783
+ }`,
3791
3784
  children: f || h,
3792
3785
  }),
3793
3786
  D1 = {
@@ -3802,8 +3795,8 @@ const ne = {
3802
3795
  placeholder: i,
3803
3796
  label: h,
3804
3797
  variant: f = 'DEFAULT',
3805
- isDisabled: g = !1,
3806
- isError: p = !1,
3798
+ isDisabled: p = !1,
3799
+ isError: g = !1,
3807
3800
  defaultValue: d,
3808
3801
  isRequired: v,
3809
3802
  onChange: o,
@@ -3811,19 +3804,19 @@ const ne = {
3811
3804
  id: j,
3812
3805
  }) => {
3813
3806
  const c = `h-[3.1em] w-full transition-colors px-[0.9em] hover:px-[0.9em] py-[0.7em] rounded-md
3814
- ${v || p ? 'border-red-500' : ''}
3815
- ${v1[f]} ${g ? 'cursor-not-allowed pointer-events-none' : ''}`
3807
+ ${v || g ? 'border-red-500' : ''}
3808
+ ${v1[f]} ${p ? 'cursor-not-allowed pointer-events-none' : ''}`
3816
3809
  return /* @__PURE__ */ e.jsx(e.Fragment, {
3817
3810
  children: /* @__PURE__ */ e.jsxs('div', {
3818
3811
  className: `relative flex flex-col items-start justify-start w-full rounded-tl rounded-tr
3819
- ${g && 'opacity-[0.3] cursor-not-allowed pointer-events-none'}`,
3812
+ ${p && 'opacity-[0.3] cursor-not-allowed pointer-events-none'}`,
3820
3813
  children: [
3821
3814
  h &&
3822
3815
  /* @__PURE__ */ e.jsx('div', {
3823
3816
  className:
3824
3817
  'absolute label top-[-0.5em] left-[0.7em] h-[1em] flex items-center rounded justify-start px-1 bg-white',
3825
3818
  children: /* @__PURE__ */ e.jsx('p', {
3826
- className: `text-xs text-left ${v || p ? 'text-red-500' : 'text-black'}`,
3819
+ className: `text-xs text-left ${v || g ? 'text-red-500' : 'text-black'}`,
3827
3820
  children: h || 'label',
3828
3821
  }),
3829
3822
  }),
@@ -3838,7 +3831,7 @@ const ne = {
3838
3831
  b &&
3839
3832
  /* @__PURE__ */ e.jsx('p', {
3840
3833
  className: `flex-grow w-[178px] h-[1em] text-[1em] text-left ml-[1em] mt-[0.1em]
3841
- px-[0.5em] ${v || p ? 'text-red-500' : 'text-black'}`,
3834
+ px-[0.5em] ${v || g ? 'text-red-500' : 'text-black'}`,
3842
3835
  children: b || 'supportingText',
3843
3836
  }),
3844
3837
  ],
@@ -3851,18 +3844,16 @@ const ne = {
3851
3844
  z1 = {
3852
3845
  DEFAULT: 'bg-black hover:bg-black-800 active:bg-grey-900',
3853
3846
  },
3854
- G1 = ({ variant: r = 'DEFAULT', isDisabled: i = !1, children: h }) => (
3855
- console.log(i),
3847
+ G1 = ({ variant: r = 'DEFAULT', isDisabled: i = !1, children: h }) =>
3856
3848
  /* @__PURE__ */ e.jsx('div', {
3857
3849
  className: `overflow-hidden rounded-lg bg-white shadow-[0px_0px_8px_0px_rgba(0,0,0,0.05)]
3858
3850
  flex`,
3859
3851
  children: h || 'test',
3860
- })
3861
- ),
3852
+ }),
3862
3853
  J1 = {
3863
3854
  DEFAULT: 'default',
3864
3855
  },
3865
- K1 = ({ children: r, customWidth: i, customHeight: h, onClick: f, width: g = '60', height: p = '30' }) => {
3856
+ K1 = ({ children: r, customWidth: i, customHeight: h, onClick: f, width: p = '60', height: g = '30' }) => {
3866
3857
  K(
3867
3858
  () => (
3868
3859
  (document.body.style.overflow = 'hidden'),
@@ -3872,8 +3863,8 @@ const ne = {
3872
3863
  ),
3873
3864
  [],
3874
3865
  )
3875
- const d = i ? g : '60',
3876
- v = h ? p : '60'
3866
+ const d = i ? p : '60',
3867
+ v = h ? g : '60'
3877
3868
  return /* @__PURE__ */ e.jsxs(e.Fragment, {
3878
3869
  children: [
3879
3870
  /* @__PURE__ */ e.jsx('div', {
@@ -3899,13 +3890,13 @@ const ne = {
3899
3890
  h2: 'text-black text-[2.25em]',
3900
3891
  h3: 'text-black text-[1.625em]',
3901
3892
  },
3902
- q1 = ({ variant: r = 'h1', children: i, bold: h, label: f, customClasses: g }) => {
3903
- const p = r === 'h2' ? 'h2' : r === 'h3' ? 'h3' : 'h1'
3904
- return /* @__PURE__ */ e.jsx(p, {
3893
+ q1 = ({ variant: r = 'h1', children: i, bold: h, label: f, customClasses: p }) => {
3894
+ const g = r === 'h2' ? 'h2' : r === 'h3' ? 'h3' : 'h1'
3895
+ return /* @__PURE__ */ e.jsx(g, {
3905
3896
  className: `
3906
3897
  ${j1[r]}
3907
3898
  ${h && 'font-semibold'}
3908
- ${g}
3899
+ ${p}
3909
3900
  `,
3910
3901
  children: i || f,
3911
3902
  })