@shortstravelmgmt/component-lib 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -109,7 +109,7 @@ const Icons = {
109
109
  Trash: TrashIcon$2,
110
110
  };
111
111
 
112
- var styles$18 = {"alert":"Alert-module_alert__xxiES","content":"Alert-module_content__CVX32","icon":"Alert-module_icon__Xyh6J","body":"Alert-module_body__TTkmt","title":"Alert-module_title__7wNPO","message":"Alert-module_message__plreL","dismissButton":"Alert-module_dismissButton__MdRWh","primary":"Alert-module_primary__nME13","success":"Alert-module_success__GDt4S","warning":"Alert-module_warning__y4bLx","error":"Alert-module_error__nKMAG"};
112
+ var styles$19 = {"alert":"Alert-module_alert__xxiES","content":"Alert-module_content__CVX32","icon":"Alert-module_icon__Xyh6J","body":"Alert-module_body__TTkmt","title":"Alert-module_title__7wNPO","message":"Alert-module_message__plreL","dismissButton":"Alert-module_dismissButton__MdRWh","primary":"Alert-module_primary__nME13","success":"Alert-module_success__GDt4S","warning":"Alert-module_warning__y4bLx","error":"Alert-module_error__nKMAG"};
113
113
 
114
114
  const variantIcons = {
115
115
  primary: LightbulbIcon,
@@ -119,10 +119,10 @@ const variantIcons = {
119
119
  };
120
120
  const Alert = ({ variant = 'primary', title, children, dismissible = false, onDismiss, className = '', }) => {
121
121
  const IconComponent = variantIcons[variant];
122
- return (jsxRuntime.jsx("div", { className: `${styles$18.alert} ${styles$18[variant]} ${className}`, role: "alert", children: jsxRuntime.jsxs("div", { className: styles$18.content, children: [jsxRuntime.jsx(IconComponent, { className: styles$18.icon, size: 20 }), jsxRuntime.jsxs("div", { className: styles$18.body, children: [title && jsxRuntime.jsx("h4", { className: styles$18.title, children: title }), jsxRuntime.jsx("div", { className: styles$18.message, children: children })] }), dismissible && onDismiss && (jsxRuntime.jsx("button", { type: "button", onClick: onDismiss, className: styles$18.dismissButton, "aria-label": "Dismiss alert", children: jsxRuntime.jsx(CloseIcon, { size: 16 }) }))] }) }));
122
+ return (jsxRuntime.jsx("div", { className: `${styles$19.alert} ${styles$19[variant]} ${className}`, role: "alert", children: jsxRuntime.jsxs("div", { className: styles$19.content, children: [jsxRuntime.jsx(IconComponent, { className: styles$19.icon, size: 20 }), jsxRuntime.jsxs("div", { className: styles$19.body, children: [title && jsxRuntime.jsx("h4", { className: styles$19.title, children: title }), jsxRuntime.jsx("div", { className: styles$19.message, children: children })] }), dismissible && onDismiss && (jsxRuntime.jsx("button", { type: "button", onClick: onDismiss, className: styles$19.dismissButton, "aria-label": "Dismiss alert", children: jsxRuntime.jsx(CloseIcon, { size: 16 }) }))] }) }));
123
123
  };
124
124
 
125
- var styles$17 = {"avatar":"Avatar-module_avatar__AcTRg","xs":"Avatar-module_xs__4uGxI","sm":"Avatar-module_sm__NvzTi","md":"Avatar-module_md__PgY8p","lg":"Avatar-module_lg__lhkAZ","xl":"Avatar-module_xl__qTDTF","image":"Avatar-module_image__GX2c9","initials":"Avatar-module_initials__58FHH","group":"Avatar-module_group__XW0b1","overflow":"Avatar-module_overflow__ul4Cc"};
125
+ var styles$18 = {"avatar":"Avatar-module_avatar__AcTRg","xs":"Avatar-module_xs__4uGxI","sm":"Avatar-module_sm__NvzTi","md":"Avatar-module_md__PgY8p","lg":"Avatar-module_lg__lhkAZ","xl":"Avatar-module_xl__qTDTF","image":"Avatar-module_image__GX2c9","initials":"Avatar-module_initials__58FHH","group":"Avatar-module_group__XW0b1","overflow":"Avatar-module_overflow__ul4Cc"};
126
126
 
127
127
  const getInitials = (name) => {
128
128
  const parts = name.trim().split(/\s+/);
@@ -137,43 +137,43 @@ const getInitials = (name) => {
137
137
  const Avatar = ({ src, alt, initials, name, size = 'md', className = '', ...props }) => {
138
138
  const displayInitials = initials || (name ? getInitials(name) : '?');
139
139
  const classNames = [
140
- styles$17.avatar,
141
- styles$17[size],
140
+ styles$18.avatar,
141
+ styles$18[size],
142
142
  className,
143
143
  ]
144
144
  .filter(Boolean)
145
145
  .join(' ');
146
- return (jsxRuntime.jsx("div", { className: classNames, ...props, children: src ? (jsxRuntime.jsx("img", { src: src, alt: alt || name || 'Avatar', className: styles$17.image })) : (jsxRuntime.jsx("span", { className: styles$17.initials, children: displayInitials })) }));
146
+ return (jsxRuntime.jsx("div", { className: classNames, ...props, children: src ? (jsxRuntime.jsx("img", { src: src, alt: alt || name || 'Avatar', className: styles$18.image })) : (jsxRuntime.jsx("span", { className: styles$18.initials, children: displayInitials })) }));
147
147
  };
148
148
  Avatar.displayName = 'Avatar';
149
149
  const AvatarGroup = ({ max = 4, className = '', children, ...props }) => {
150
150
  const childArray = React.Children.toArray(children);
151
151
  const visibleChildren = childArray.slice(0, max);
152
152
  const remainingCount = childArray.length - max;
153
- const classNames = [styles$17.group, className].filter(Boolean).join(' ');
154
- return (jsxRuntime.jsxs("div", { className: classNames, ...props, children: [visibleChildren, remainingCount > 0 && (jsxRuntime.jsx("div", { className: `${styles$17.avatar} ${styles$17.md} ${styles$17.overflow}`, children: jsxRuntime.jsxs("span", { className: styles$17.initials, children: ["+", remainingCount] }) }))] }));
153
+ const classNames = [styles$18.group, className].filter(Boolean).join(' ');
154
+ return (jsxRuntime.jsxs("div", { className: classNames, ...props, children: [visibleChildren, remainingCount > 0 && (jsxRuntime.jsx("div", { className: `${styles$18.avatar} ${styles$18.md} ${styles$18.overflow}`, children: jsxRuntime.jsxs("span", { className: styles$18.initials, children: ["+", remainingCount] }) }))] }));
155
155
  };
156
156
  AvatarGroup.displayName = 'AvatarGroup';
157
157
 
158
- var styles$16 = {"badge":"Badge-module_badge__lvuUg","sm":"Badge-module_sm__OTBAp","md":"Badge-module_md__YG44i","dot":"Badge-module_dot__RgcVD","default":"Badge-module_default__1ga4w","success":"Badge-module_success__jEfI9","warning":"Badge-module_warning__978mf","error":"Badge-module_error__xZJlm","info":"Badge-module_info__Xk7MM"};
158
+ var styles$17 = {"badge":"Badge-module_badge__lvuUg","sm":"Badge-module_sm__OTBAp","md":"Badge-module_md__YG44i","dot":"Badge-module_dot__RgcVD","default":"Badge-module_default__1ga4w","success":"Badge-module_success__jEfI9","warning":"Badge-module_warning__978mf","error":"Badge-module_error__xZJlm","info":"Badge-module_info__Xk7MM"};
159
159
 
160
160
  /**
161
161
  * Badge component for status indicators, labels, and tags.
162
162
  */
163
163
  const Badge = ({ variant = 'default', size = 'md', dot = false, className = '', children, ...props }) => {
164
164
  const classNames = [
165
- styles$16.badge,
166
- styles$16[variant],
167
- styles$16[size],
165
+ styles$17.badge,
166
+ styles$17[variant],
167
+ styles$17[size],
168
168
  className,
169
169
  ]
170
170
  .filter(Boolean)
171
171
  .join(' ');
172
- return (jsxRuntime.jsxs("span", { className: classNames, ...props, children: [dot && jsxRuntime.jsx("span", { className: styles$16.dot }), children] }));
172
+ return (jsxRuntime.jsxs("span", { className: classNames, ...props, children: [dot && jsxRuntime.jsx("span", { className: styles$17.dot }), children] }));
173
173
  };
174
174
  Badge.displayName = 'Badge';
175
175
 
176
- var styles$15 = {"button":"Button-module_button__xDdzH","sm":"Button-module_sm__fb2AF","md":"Button-module_md__XOa6t","lg":"Button-module_lg__UN9rL","square":"Button-module_square__-o34b","primary":"Button-module_primary__jWHqR","secondary":"Button-module_secondary__30FUq","outline":"Button-module_outline__v98mS","ghost":"Button-module_ghost__XUGB1","danger":"Button-module_danger__NUxPy","fullWidth":"Button-module_fullWidth__p2otK","loading":"Button-module_loading__TsL5I","spinner":"Button-module_spinner__6bZoj","spin":"Button-module_spin__ZPDMG","icon":"Button-module_icon__21hUM","content":"Button-module_content__iVRPQ"};
176
+ var styles$16 = {"button":"Button-module_button__xDdzH","sm":"Button-module_sm__fb2AF","md":"Button-module_md__XOa6t","lg":"Button-module_lg__UN9rL","square":"Button-module_square__-o34b","primary":"Button-module_primary__jWHqR","secondary":"Button-module_secondary__30FUq","outline":"Button-module_outline__v98mS","ghost":"Button-module_ghost__XUGB1","danger":"Button-module_danger__NUxPy","fullWidth":"Button-module_fullWidth__p2otK","loading":"Button-module_loading__TsL5I","spinner":"Button-module_spinner__6bZoj","spin":"Button-module_spin__ZPDMG","icon":"Button-module_icon__21hUM","content":"Button-module_content__iVRPQ"};
177
177
 
178
178
  /**
179
179
  * Primary button component for user interactions.
@@ -181,21 +181,21 @@ var styles$15 = {"button":"Button-module_button__xDdzH","sm":"Button-module_sm__
181
181
  */
182
182
  const Button = React.forwardRef(({ variant = 'primary', size = 'md', fullWidth = false, loading = false, leftIcon, rightIcon, square = false, className = '', disabled, children, ...props }, ref) => {
183
183
  const classNames = [
184
- styles$15.button,
185
- styles$15[variant],
186
- styles$15[size],
187
- fullWidth ? styles$15.fullWidth : '',
188
- square ? styles$15.square : '',
189
- loading ? styles$15.loading : '',
184
+ styles$16.button,
185
+ styles$16[variant],
186
+ styles$16[size],
187
+ fullWidth ? styles$16.fullWidth : '',
188
+ square ? styles$16.square : '',
189
+ loading ? styles$16.loading : '',
190
190
  className,
191
191
  ]
192
192
  .filter(Boolean)
193
193
  .join(' ');
194
- return (jsxRuntime.jsxs("button", { ref: ref, className: classNames, disabled: disabled || loading, ...props, children: [loading && (jsxRuntime.jsx("span", { className: styles$15.spinner, children: jsxRuntime.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", strokeOpacity: "0.25" }), jsxRuntime.jsx("path", { d: "M12 2a10 10 0 0 1 10 10", strokeLinecap: "round" })] }) })), !loading && leftIcon && jsxRuntime.jsx("span", { className: styles$15.icon, children: leftIcon }), children && jsxRuntime.jsx("span", { className: styles$15.content, children: children }), !loading && rightIcon && jsxRuntime.jsx("span", { className: styles$15.icon, children: rightIcon })] }));
194
+ return (jsxRuntime.jsxs("button", { ref: ref, className: classNames, disabled: disabled || loading, ...props, children: [loading && (jsxRuntime.jsx("span", { className: styles$16.spinner, children: jsxRuntime.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", strokeOpacity: "0.25" }), jsxRuntime.jsx("path", { d: "M12 2a10 10 0 0 1 10 10", strokeLinecap: "round" })] }) })), !loading && leftIcon && jsxRuntime.jsx("span", { className: styles$16.icon, children: leftIcon }), children && jsxRuntime.jsx("span", { className: styles$16.content, children: children }), !loading && rightIcon && jsxRuntime.jsx("span", { className: styles$16.icon, children: rightIcon })] }));
195
195
  });
196
196
  Button.displayName = 'Button';
197
197
 
198
- var styles$14 = {"wrapper":"Checkbox-module_wrapper__tYM-f","label":"Checkbox-module_label__x7c9f","disabled":"Checkbox-module_disabled__YtL8b","checkboxWrapper":"Checkbox-module_checkboxWrapper__ez0mi","input":"Checkbox-module_input__xBHoX","checkbox":"Checkbox-module_checkbox__zGuTf","sm":"Checkbox-module_sm__naurE","md":"Checkbox-module_md__LlE6O","lg":"Checkbox-module_lg__dMWT-","hasError":"Checkbox-module_hasError__aCefd","labelText":"Checkbox-module_labelText__7arlw","helperText":"Checkbox-module_helperText__jR4oi","errorText":"Checkbox-module_errorText__u8puP"};
198
+ var styles$15 = {"wrapper":"Checkbox-module_wrapper__tYM-f","label":"Checkbox-module_label__x7c9f","disabled":"Checkbox-module_disabled__YtL8b","checkboxWrapper":"Checkbox-module_checkboxWrapper__ez0mi","input":"Checkbox-module_input__xBHoX","checkbox":"Checkbox-module_checkbox__zGuTf","sm":"Checkbox-module_sm__naurE","md":"Checkbox-module_md__LlE6O","lg":"Checkbox-module_lg__dMWT-","hasError":"Checkbox-module_hasError__aCefd","labelText":"Checkbox-module_labelText__7arlw","helperText":"Checkbox-module_helperText__jR4oi","errorText":"Checkbox-module_errorText__u8puP"};
199
199
 
200
200
  const CheckIcon$1 = () => (jsxRuntime.jsx("svg", { width: "10", height: "8", viewBox: "0 0 10 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { d: "M1 4L3.5 6.5L9 1", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }));
201
201
  const IndeterminateIcon = () => (jsxRuntime.jsx("svg", { width: "10", height: "2", viewBox: "0 0 10 2", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { d: "M1 1H9", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }));
@@ -208,10 +208,10 @@ const Checkbox = React.forwardRef(({ label, size = 'md', helperText, error, inde
208
208
  const helperId = `${checkboxId}-helper`;
209
209
  const errorId = `${checkboxId}-error`;
210
210
  const wrapperClasses = [
211
- styles$14.wrapper,
212
- styles$14[size],
213
- disabled ? styles$14.disabled : '',
214
- error ? styles$14.hasError : '',
211
+ styles$15.wrapper,
212
+ styles$15[size],
213
+ disabled ? styles$15.disabled : '',
214
+ error ? styles$15.hasError : '',
215
215
  className,
216
216
  ].filter(Boolean).join(' ');
217
217
  // Handle indeterminate state via ref
@@ -227,13 +227,13 @@ const Checkbox = React.forwardRef(({ label, size = 'md', helperText, error, inde
227
227
  ref.current = node;
228
228
  }
229
229
  };
230
- return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [jsxRuntime.jsxs("label", { className: styles$14.label, children: [jsxRuntime.jsxs("div", { className: styles$14.checkboxWrapper, children: [jsxRuntime.jsx("input", { ref: inputRef, type: "checkbox", id: checkboxId, className: styles$14.input, disabled: disabled, checked: checked, "aria-invalid": !!error, "aria-describedby": [error ? errorId : null, helperText ? helperId : null]
230
+ return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [jsxRuntime.jsxs("label", { className: styles$15.label, children: [jsxRuntime.jsxs("div", { className: styles$15.checkboxWrapper, children: [jsxRuntime.jsx("input", { ref: inputRef, type: "checkbox", id: checkboxId, className: styles$15.input, disabled: disabled, checked: checked, "aria-invalid": !!error, "aria-describedby": [error ? errorId : null, helperText ? helperId : null]
231
231
  .filter(Boolean)
232
- .join(' ') || undefined, ...props }), jsxRuntime.jsx("span", { className: styles$14.checkbox, children: indeterminate ? jsxRuntime.jsx(IndeterminateIcon, {}) : jsxRuntime.jsx(CheckIcon$1, {}) })] }), label && jsxRuntime.jsx("span", { className: styles$14.labelText, children: label })] }), error && (jsxRuntime.jsx("span", { id: errorId, className: styles$14.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: helperId, className: styles$14.helperText, children: helperText }))] }));
232
+ .join(' ') || undefined, ...props }), jsxRuntime.jsx("span", { className: styles$15.checkbox, children: indeterminate ? jsxRuntime.jsx(IndeterminateIcon, {}) : jsxRuntime.jsx(CheckIcon$1, {}) })] }), label && jsxRuntime.jsx("span", { className: styles$15.labelText, children: label })] }), error && (jsxRuntime.jsx("span", { id: errorId, className: styles$15.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: helperId, className: styles$15.helperText, children: helperText }))] }));
233
233
  });
234
234
  Checkbox.displayName = 'Checkbox';
235
235
 
236
- var styles$13 = {"wrapper":"Datepicker-module_wrapper__SdezU","fullWidth":"Datepicker-module_fullWidth__CAeMt","label":"Datepicker-module_label__qUNBV","inputWrapper":"Datepicker-module_inputWrapper__FK2IJ","sm":"Datepicker-module_sm__DuDMB","md":"Datepicker-module_md__oyus3","lg":"Datepicker-module_lg__2sqBg","icon":"Datepicker-module_icon__WdaRf","input":"Datepicker-module_input__4TCcy","disabled":"Datepicker-module_disabled__W0e-a","error":"Datepicker-module_error__XPpIy","helperText":"Datepicker-module_helperText__UllZP","errorText":"Datepicker-module_errorText__lveyr"};
236
+ var styles$14 = {"wrapper":"Datepicker-module_wrapper__SdezU","fullWidth":"Datepicker-module_fullWidth__CAeMt","label":"Datepicker-module_label__qUNBV","inputWrapper":"Datepicker-module_inputWrapper__FK2IJ","sm":"Datepicker-module_sm__DuDMB","md":"Datepicker-module_md__oyus3","lg":"Datepicker-module_lg__2sqBg","icon":"Datepicker-module_icon__WdaRf","input":"Datepicker-module_input__4TCcy","disabled":"Datepicker-module_disabled__W0e-a","error":"Datepicker-module_error__XPpIy","helperText":"Datepicker-module_helperText__UllZP","errorText":"Datepicker-module_errorText__lveyr"};
237
237
 
238
238
  const CalendarIcon = () => (jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }), jsxRuntime.jsx("line", { x1: "16", y1: "2", x2: "16", y2: "6" }), jsxRuntime.jsx("line", { x1: "8", y1: "2", x2: "8", y2: "6" }), jsxRuntime.jsx("line", { x1: "3", y1: "10", x2: "21", y2: "10" })] }));
239
239
  /**
@@ -245,23 +245,23 @@ const Datepicker = React.forwardRef(({ size = 'md', label, helperText, error, fu
245
245
  const helperId = `${inputId}-helper`;
246
246
  const errorId = `${inputId}-error`;
247
247
  const wrapperClasses = [
248
- styles$13.wrapper,
249
- fullWidth ? styles$13.fullWidth : '',
248
+ styles$14.wrapper,
249
+ fullWidth ? styles$14.fullWidth : '',
250
250
  className,
251
251
  ].filter(Boolean).join(' ');
252
252
  const inputWrapperClasses = [
253
- styles$13.inputWrapper,
254
- styles$13[size],
255
- error ? styles$13.error : '',
256
- disabled ? styles$13.disabled : '',
253
+ styles$14.inputWrapper,
254
+ styles$14[size],
255
+ error ? styles$14.error : '',
256
+ disabled ? styles$14.disabled : '',
257
257
  ].filter(Boolean).join(' ');
258
- return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [label && (jsxRuntime.jsx("label", { htmlFor: inputId, className: styles$13.label, children: label })), jsxRuntime.jsxs("div", { className: inputWrapperClasses, children: [jsxRuntime.jsx("span", { className: styles$13.icon, children: jsxRuntime.jsx(CalendarIcon, {}) }), jsxRuntime.jsx("input", { ref: ref, type: "date", id: inputId, className: styles$13.input, disabled: disabled, "aria-invalid": !!error, "aria-describedby": [error ? errorId : null, helperText ? helperId : null]
258
+ return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [label && (jsxRuntime.jsx("label", { htmlFor: inputId, className: styles$14.label, children: label })), jsxRuntime.jsxs("div", { className: inputWrapperClasses, children: [jsxRuntime.jsx("span", { className: styles$14.icon, children: jsxRuntime.jsx(CalendarIcon, {}) }), jsxRuntime.jsx("input", { ref: ref, type: "date", id: inputId, className: styles$14.input, disabled: disabled, "aria-invalid": !!error, "aria-describedby": [error ? errorId : null, helperText ? helperId : null]
259
259
  .filter(Boolean)
260
- .join(' ') || undefined, ...props })] }), error && (jsxRuntime.jsx("span", { id: errorId, className: styles$13.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: helperId, className: styles$13.helperText, children: helperText }))] }));
260
+ .join(' ') || undefined, ...props })] }), error && (jsxRuntime.jsx("span", { id: errorId, className: styles$14.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: helperId, className: styles$14.helperText, children: helperText }))] }));
261
261
  });
262
262
  Datepicker.displayName = 'Datepicker';
263
263
 
264
- var styles$12 = {"wrapper":"Input-module_wrapper__-8ija","fullWidth":"Input-module_fullWidth__xXOvN","label":"Input-module_label__t4LH-","inputWrapper":"Input-module_inputWrapper__U4EEd","error":"Input-module_error__fT9Sb","disabled":"Input-module_disabled__3tnIE","sm":"Input-module_sm__lGHP-","md":"Input-module_md__pReoW","lg":"Input-module_lg__iqqov","input":"Input-module_input__PeHY6","icon":"Input-module_icon__jkJiF","textarea":"Input-module_textarea__ZgdBz","helperText":"Input-module_helperText__eKsC8","errorText":"Input-module_errorText__xoiKP"};
264
+ var styles$13 = {"wrapper":"Input-module_wrapper__-8ija","fullWidth":"Input-module_fullWidth__xXOvN","label":"Input-module_label__t4LH-","inputWrapper":"Input-module_inputWrapper__U4EEd","error":"Input-module_error__fT9Sb","disabled":"Input-module_disabled__3tnIE","sm":"Input-module_sm__lGHP-","md":"Input-module_md__pReoW","lg":"Input-module_lg__iqqov","input":"Input-module_input__PeHY6","icon":"Input-module_icon__jkJiF","textarea":"Input-module_textarea__ZgdBz","helperText":"Input-module_helperText__eKsC8","errorText":"Input-module_errorText__xoiKP"};
265
265
 
266
266
  /**
267
267
  * Input component for text entry.
@@ -269,45 +269,45 @@ var styles$12 = {"wrapper":"Input-module_wrapper__-8ija","fullWidth":"Input-modu
269
269
  const Input = React.forwardRef(({ size = 'md', label, helperText, error, leftIcon, rightIcon, fullWidth = false, className = '', id, disabled, ...props }, ref) => {
270
270
  const inputId = id || `input-${Math.random().toString(36).substr(2, 9)}`;
271
271
  const wrapperClasses = [
272
- styles$12.wrapper,
273
- fullWidth ? styles$12.fullWidth : '',
272
+ styles$13.wrapper,
273
+ fullWidth ? styles$13.fullWidth : '',
274
274
  className,
275
275
  ]
276
276
  .filter(Boolean)
277
277
  .join(' ');
278
278
  const inputWrapperClasses = [
279
- styles$12.inputWrapper,
280
- styles$12[size],
281
- error ? styles$12.error : '',
282
- disabled ? styles$12.disabled : '',
279
+ styles$13.inputWrapper,
280
+ styles$13[size],
281
+ error ? styles$13.error : '',
282
+ disabled ? styles$13.disabled : '',
283
283
  ]
284
284
  .filter(Boolean)
285
285
  .join(' ');
286
- return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [label && (jsxRuntime.jsx("label", { htmlFor: inputId, className: styles$12.label, children: label })), jsxRuntime.jsxs("div", { className: inputWrapperClasses, children: [leftIcon && jsxRuntime.jsx("span", { className: styles$12.icon, children: leftIcon }), jsxRuntime.jsx("input", { ref: ref, id: inputId, className: styles$12.input, disabled: disabled, "aria-invalid": !!error, "aria-describedby": error ? `${inputId}-error` : helperText ? `${inputId}-helper` : undefined, ...props }), rightIcon && jsxRuntime.jsx("span", { className: styles$12.icon, children: rightIcon })] }), error && (jsxRuntime.jsx("span", { id: `${inputId}-error`, className: styles$12.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: `${inputId}-helper`, className: styles$12.helperText, children: helperText }))] }));
286
+ return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [label && (jsxRuntime.jsx("label", { htmlFor: inputId, className: styles$13.label, children: label })), jsxRuntime.jsxs("div", { className: inputWrapperClasses, children: [leftIcon && jsxRuntime.jsx("span", { className: styles$13.icon, children: leftIcon }), jsxRuntime.jsx("input", { ref: ref, id: inputId, className: styles$13.input, disabled: disabled, "aria-invalid": !!error, "aria-describedby": error ? `${inputId}-error` : helperText ? `${inputId}-helper` : undefined, ...props }), rightIcon && jsxRuntime.jsx("span", { className: styles$13.icon, children: rightIcon })] }), error && (jsxRuntime.jsx("span", { id: `${inputId}-error`, className: styles$13.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: `${inputId}-helper`, className: styles$13.helperText, children: helperText }))] }));
287
287
  });
288
288
  Input.displayName = 'Input';
289
289
  const Textarea = React.forwardRef(({ size = 'md', label, helperText, error, fullWidth = false, className = '', id, disabled, rows = 4, ...props }, ref) => {
290
290
  const textareaId = id || `textarea-${Math.random().toString(36).substr(2, 9)}`;
291
291
  const wrapperClasses = [
292
- styles$12.wrapper,
293
- fullWidth ? styles$12.fullWidth : '',
292
+ styles$13.wrapper,
293
+ fullWidth ? styles$13.fullWidth : '',
294
294
  className,
295
295
  ]
296
296
  .filter(Boolean)
297
297
  .join(' ');
298
298
  const textareaClasses = [
299
- styles$12.textarea,
300
- styles$12[size],
301
- error ? styles$12.error : '',
302
- disabled ? styles$12.disabled : '',
299
+ styles$13.textarea,
300
+ styles$13[size],
301
+ error ? styles$13.error : '',
302
+ disabled ? styles$13.disabled : '',
303
303
  ]
304
304
  .filter(Boolean)
305
305
  .join(' ');
306
- return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [label && (jsxRuntime.jsx("label", { htmlFor: textareaId, className: styles$12.label, children: label })), jsxRuntime.jsx("textarea", { ref: ref, id: textareaId, className: textareaClasses, disabled: disabled, rows: rows, "aria-invalid": !!error, "aria-describedby": error ? `${textareaId}-error` : helperText ? `${textareaId}-helper` : undefined, ...props }), error && (jsxRuntime.jsx("span", { id: `${textareaId}-error`, className: styles$12.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: `${textareaId}-helper`, className: styles$12.helperText, children: helperText }))] }));
306
+ return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [label && (jsxRuntime.jsx("label", { htmlFor: textareaId, className: styles$13.label, children: label })), jsxRuntime.jsx("textarea", { ref: ref, id: textareaId, className: textareaClasses, disabled: disabled, rows: rows, "aria-invalid": !!error, "aria-describedby": error ? `${textareaId}-error` : helperText ? `${textareaId}-helper` : undefined, ...props }), error && (jsxRuntime.jsx("span", { id: `${textareaId}-error`, className: styles$13.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: `${textareaId}-helper`, className: styles$13.helperText, children: helperText }))] }));
307
307
  });
308
308
  Textarea.displayName = 'Textarea';
309
309
 
310
- var styles$11 = {"metric":"Metric-module_metric__LZ8D-","dark":"Metric-module_dark__FKdvj","clickable":"Metric-module_clickable__c3-pM","content":"Metric-module_content__YYpBG","valueRow":"Metric-module_valueRow__JpgYR","valueContainer":"Metric-module_valueContainer__CzjZ1","prefix":"Metric-module_prefix__Agpzq","value":"Metric-module_value__zspnf","suffix":"Metric-module_suffix__qvCMJ","warningIcon":"Metric-module_warningIcon__F-Ol5","label":"Metric-module_label__ydcti"};
310
+ var styles$12 = {"metric":"Metric-module_metric__LZ8D-","dark":"Metric-module_dark__FKdvj","clickable":"Metric-module_clickable__c3-pM","content":"Metric-module_content__YYpBG","valueRow":"Metric-module_valueRow__JpgYR","valueContainer":"Metric-module_valueContainer__CzjZ1","prefix":"Metric-module_prefix__Agpzq","value":"Metric-module_value__zspnf","suffix":"Metric-module_suffix__qvCMJ","warningIcon":"Metric-module_warningIcon__F-Ol5","label":"Metric-module_label__ydcti"};
311
311
 
312
312
  const WarningIcon = () => (jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "currentColor", children: jsxRuntime.jsx("path", { d: "M12 2L1 21h22L12 2zm0 3.5L19.5 19H4.5L12 5.5zM11 10v4h2v-4h-2zm0 6v2h2v-2h-2z" }) }));
313
313
  /**
@@ -317,15 +317,15 @@ const WarningIcon = () => (jsxRuntime.jsx("svg", { width: "24", height: "24", vi
317
317
  const Metric = ({ value, label, prefix, suffix, dark = false, onClick, className = '', warning = false, }) => {
318
318
  const displayValue = value !== undefined && !isNaN(parseFloat(String(value))) ? value : 0;
319
319
  return (jsxRuntime.jsx("div", { className: `
320
- ${styles$11.metric}
321
- ${dark ? styles$11.dark : ''}
322
- ${onClick ? styles$11.clickable : ''}
320
+ ${styles$12.metric}
321
+ ${dark ? styles$12.dark : ''}
322
+ ${onClick ? styles$12.clickable : ''}
323
323
  ${className}
324
- `, onClick: onClick, children: value !== undefined && (jsxRuntime.jsxs("div", { className: styles$11.content, children: [jsxRuntime.jsxs("div", { className: styles$11.valueRow, children: [jsxRuntime.jsxs("div", { className: styles$11.valueContainer, children: [prefix && jsxRuntime.jsx("span", { className: styles$11.prefix, children: prefix }), jsxRuntime.jsx("span", { className: styles$11.value, children: displayValue }), suffix && jsxRuntime.jsx("span", { className: styles$11.suffix, children: suffix })] }), warning && (jsxRuntime.jsx("div", { className: styles$11.warningIcon, children: jsxRuntime.jsx(WarningIcon, {}) }))] }), jsxRuntime.jsx("div", { className: styles$11.label, children: label })] })) }));
324
+ `, onClick: onClick, children: value !== undefined && (jsxRuntime.jsxs("div", { className: styles$12.content, children: [jsxRuntime.jsxs("div", { className: styles$12.valueRow, children: [jsxRuntime.jsxs("div", { className: styles$12.valueContainer, children: [prefix && jsxRuntime.jsx("span", { className: styles$12.prefix, children: prefix }), jsxRuntime.jsx("span", { className: styles$12.value, children: displayValue }), suffix && jsxRuntime.jsx("span", { className: styles$12.suffix, children: suffix })] }), warning && (jsxRuntime.jsx("div", { className: styles$12.warningIcon, children: jsxRuntime.jsx(WarningIcon, {}) }))] }), jsxRuntime.jsx("div", { className: styles$12.label, children: label })] })) }));
325
325
  };
326
326
  Metric.displayName = 'Metric';
327
327
 
328
- var styles$10 = {"wrapper":"Select-module_wrapper__UN2Bo","fullWidth":"Select-module_fullWidth__GgV-D","label":"Select-module_label__aSRVE","selectWrapper":"Select-module_selectWrapper__OCGYf","sm":"Select-module_sm__oTHGX","md":"Select-module_md__VSZQg","lg":"Select-module_lg__nknhY","select":"Select-module_select__DY-Id","hasLeftIcon":"Select-module_hasLeftIcon__ZrReQ","leftIcon":"Select-module_leftIcon__nBU1-","chevron":"Select-module_chevron__1MAEQ","disabled":"Select-module_disabled__0GOXE","error":"Select-module_error__Yijk5","helperText":"Select-module_helperText__rHrqP","errorText":"Select-module_errorText__1kM2R"};
328
+ var styles$11 = {"wrapper":"Select-module_wrapper__UN2Bo","fullWidth":"Select-module_fullWidth__GgV-D","label":"Select-module_label__aSRVE","selectWrapper":"Select-module_selectWrapper__OCGYf","sm":"Select-module_sm__oTHGX","md":"Select-module_md__VSZQg","lg":"Select-module_lg__nknhY","select":"Select-module_select__DY-Id","hasLeftIcon":"Select-module_hasLeftIcon__ZrReQ","leftIcon":"Select-module_leftIcon__nBU1-","chevron":"Select-module_chevron__1MAEQ","disabled":"Select-module_disabled__0GOXE","error":"Select-module_error__Yijk5","helperText":"Select-module_helperText__rHrqP","errorText":"Select-module_errorText__1kM2R"};
329
329
 
330
330
  const ChevronDownIcon = () => (jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: jsxRuntime.jsx("polyline", { points: "6 9 12 15 18 9" }) }));
331
331
  /**
@@ -337,16 +337,16 @@ const Select = React.forwardRef(({ options, optionGroups, size = 'md', label, pl
337
337
  const helperId = `${selectId}-helper`;
338
338
  const errorId = `${selectId}-error`;
339
339
  const wrapperClasses = [
340
- styles$10.wrapper,
341
- fullWidth ? styles$10.fullWidth : '',
340
+ styles$11.wrapper,
341
+ fullWidth ? styles$11.fullWidth : '',
342
342
  className,
343
343
  ].filter(Boolean).join(' ');
344
344
  const selectWrapperClasses = [
345
- styles$10.selectWrapper,
346
- styles$10[size],
347
- error ? styles$10.error : '',
348
- disabled ? styles$10.disabled : '',
349
- leftIcon ? styles$10.hasLeftIcon : '',
345
+ styles$11.selectWrapper,
346
+ styles$11[size],
347
+ error ? styles$11.error : '',
348
+ disabled ? styles$11.disabled : '',
349
+ leftIcon ? styles$11.hasLeftIcon : '',
350
350
  ].filter(Boolean).join(' ');
351
351
  const renderOptions = () => {
352
352
  // Render grouped options
@@ -359,19 +359,19 @@ const Select = React.forwardRef(({ options, optionGroups, size = 'md', label, pl
359
359
  }
360
360
  return null;
361
361
  };
362
- return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [label && (jsxRuntime.jsx("label", { htmlFor: selectId, className: styles$10.label, children: label })), jsxRuntime.jsxs("div", { className: selectWrapperClasses, children: [leftIcon && jsxRuntime.jsx("span", { className: styles$10.leftIcon, children: leftIcon }), jsxRuntime.jsxs("select", { ref: ref, id: selectId, className: styles$10.select, disabled: disabled, "aria-invalid": !!error, "aria-describedby": [error ? errorId : null, helperText ? helperId : null]
362
+ return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [label && (jsxRuntime.jsx("label", { htmlFor: selectId, className: styles$11.label, children: label })), jsxRuntime.jsxs("div", { className: selectWrapperClasses, children: [leftIcon && jsxRuntime.jsx("span", { className: styles$11.leftIcon, children: leftIcon }), jsxRuntime.jsxs("select", { ref: ref, id: selectId, className: styles$11.select, disabled: disabled, "aria-invalid": !!error, "aria-describedby": [error ? errorId : null, helperText ? helperId : null]
363
363
  .filter(Boolean)
364
- .join(' ') || undefined, ...props, children: [placeholder && (jsxRuntime.jsx("option", { value: "", disabled: true, children: placeholder })), renderOptions()] }), jsxRuntime.jsx("span", { className: styles$10.chevron, children: jsxRuntime.jsx(ChevronDownIcon, {}) })] }), error && (jsxRuntime.jsx("span", { id: errorId, className: styles$10.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: helperId, className: styles$10.helperText, children: helperText }))] }));
364
+ .join(' ') || undefined, ...props, children: [placeholder && (jsxRuntime.jsx("option", { value: "", disabled: true, children: placeholder })), renderOptions()] }), jsxRuntime.jsx("span", { className: styles$11.chevron, children: jsxRuntime.jsx(ChevronDownIcon, {}) })] }), error && (jsxRuntime.jsx("span", { id: errorId, className: styles$11.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: helperId, className: styles$11.helperText, children: helperText }))] }));
365
365
  });
366
366
  Select.displayName = 'Select';
367
367
 
368
- var styles$$ = {"spinner":"Spinner-module_spinner__OZwmB","svg":"Spinner-module_svg__Tusqk","spin":"Spinner-module_spin__YAPc9","track":"Spinner-module_track__NxLfV","indicator":"Spinner-module_indicator__gSUxF","xs":"Spinner-module_xs__4-WEg","sm":"Spinner-module_sm__enoDn","md":"Spinner-module_md__6axf9","lg":"Spinner-module_lg__EvJyC","xl":"Spinner-module_xl__yIXoK","srOnly":"Spinner-module_srOnly__WnZYf"};
368
+ var styles$10 = {"spinner":"Spinner-module_spinner__OZwmB","svg":"Spinner-module_svg__Tusqk","spin":"Spinner-module_spin__YAPc9","track":"Spinner-module_track__NxLfV","indicator":"Spinner-module_indicator__gSUxF","xs":"Spinner-module_xs__4-WEg","sm":"Spinner-module_sm__enoDn","md":"Spinner-module_md__6axf9","lg":"Spinner-module_lg__EvJyC","xl":"Spinner-module_xl__yIXoK","srOnly":"Spinner-module_srOnly__WnZYf"};
369
369
 
370
370
  const Spinner = ({ size = 'md', className = '', color, label = 'Loading...', }) => {
371
- return (jsxRuntime.jsxs("span", { className: `${styles$$.spinner} ${styles$$[size]} ${className}`, role: "status", "aria-label": label, style: color ? { color } : undefined, children: [jsxRuntime.jsxs("svg", { className: styles$$.svg, xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [jsxRuntime.jsx("circle", { className: styles$$.track, cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), jsxRuntime.jsx("path", { className: styles$$.indicator, fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" })] }), jsxRuntime.jsx("span", { className: styles$$.srOnly, children: label })] }));
371
+ return (jsxRuntime.jsxs("span", { className: `${styles$10.spinner} ${styles$10[size]} ${className}`, role: "status", "aria-label": label, style: color ? { color } : undefined, children: [jsxRuntime.jsxs("svg", { className: styles$10.svg, xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [jsxRuntime.jsx("circle", { className: styles$10.track, cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), jsxRuntime.jsx("path", { className: styles$10.indicator, fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" })] }), jsxRuntime.jsx("span", { className: styles$10.srOnly, children: label })] }));
372
372
  };
373
373
 
374
- var styles$_ = {"badge":"StatusBadge-module_badge__-BwEk","ticketed":"StatusBadge-module_ticketed__AJVZM","itinerary":"StatusBadge-module_itinerary__yRFNy","not-ticketed":"StatusBadge-module_not-ticketed__76GXg","submitted":"StatusBadge-module_submitted__QW0LL","pending":"StatusBadge-module_pending__FpMYC","cancelled":"StatusBadge-module_cancelled__XRz4S"};
374
+ var styles$$ = {"badge":"StatusBadge-module_badge__-BwEk","ticketed":"StatusBadge-module_ticketed__AJVZM","itinerary":"StatusBadge-module_itinerary__yRFNy","not-ticketed":"StatusBadge-module_not-ticketed__76GXg","submitted":"StatusBadge-module_submitted__QW0LL","pending":"StatusBadge-module_pending__FpMYC","cancelled":"StatusBadge-module_cancelled__XRz4S"};
375
375
 
376
376
  const statusLabels = {
377
377
  ticketed: 'Ticketed',
@@ -383,20 +383,20 @@ const statusLabels = {
383
383
  };
384
384
  const StatusBadge = ({ status, label, className, }) => {
385
385
  const displayLabel = label || statusLabels[status] || status;
386
- return (jsxRuntime.jsx("span", { className: `${styles$_.badge} ${styles$_[status]} ${className || ''}`, "data-status": status, children: displayLabel }));
386
+ return (jsxRuntime.jsx("span", { className: `${styles$$.badge} ${styles$$[status]} ${className || ''}`, "data-status": status, children: displayLabel }));
387
387
  };
388
388
 
389
- var styles$Z = {"tag":"Tag-module_tag__uQVQa","content":"Tag-module_content__Z5bK9","sm":"Tag-module_sm__DvKJV","md":"Tag-module_md__KTo2m","lg":"Tag-module_lg__8xhWB","default":"Tag-module_default__5-uQz","primary":"Tag-module_primary__lwwYl","success":"Tag-module_success__kl3II","warning":"Tag-module_warning__peZRm","error":"Tag-module_error__6xzkl","info":"Tag-module_info__eKYiV","clickable":"Tag-module_clickable__TyiNK","removeButton":"Tag-module_removeButton__peMwo","removeIcon":"Tag-module_removeIcon__dQyJZ"};
389
+ var styles$_ = {"tag":"Tag-module_tag__uQVQa","content":"Tag-module_content__Z5bK9","sm":"Tag-module_sm__DvKJV","md":"Tag-module_md__KTo2m","lg":"Tag-module_lg__8xhWB","default":"Tag-module_default__5-uQz","primary":"Tag-module_primary__lwwYl","success":"Tag-module_success__kl3II","warning":"Tag-module_warning__peZRm","error":"Tag-module_error__6xzkl","info":"Tag-module_info__eKYiV","clickable":"Tag-module_clickable__TyiNK","removeButton":"Tag-module_removeButton__peMwo","removeIcon":"Tag-module_removeIcon__dQyJZ"};
390
390
 
391
391
  const Tag = ({ children, variant = 'default', size = 'md', removable = false, onRemove, onClick, className = '', style, }) => {
392
392
  const isClickable = Boolean(onClick);
393
- return (jsxRuntime.jsxs("span", { className: `${styles$Z.tag} ${styles$Z[variant]} ${styles$Z[size]} ${isClickable ? styles$Z.clickable : ''} ${className}`, onClick: onClick, style: style, role: isClickable ? 'button' : undefined, tabIndex: isClickable ? 0 : undefined, children: [jsxRuntime.jsx("span", { className: styles$Z.content, children: children }), removable && (jsxRuntime.jsx("button", { type: "button", className: styles$Z.removeButton, onClick: (e) => {
393
+ return (jsxRuntime.jsxs("span", { className: `${styles$_.tag} ${styles$_[variant]} ${styles$_[size]} ${isClickable ? styles$_.clickable : ''} ${className}`, onClick: onClick, style: style, role: isClickable ? 'button' : undefined, tabIndex: isClickable ? 0 : undefined, children: [jsxRuntime.jsx("span", { className: styles$_.content, children: children }), removable && (jsxRuntime.jsx("button", { type: "button", className: styles$_.removeButton, onClick: (e) => {
394
394
  e.stopPropagation();
395
395
  onRemove?.();
396
- }, "aria-label": "Remove", children: jsxRuntime.jsx("svg", { className: styles$Z.removeIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) }))] }));
396
+ }, "aria-label": "Remove", children: jsxRuntime.jsx("svg", { className: styles$_.removeIcon, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) }))] }));
397
397
  };
398
398
 
399
- var styles$Y = {"wrapper":"Timepicker-module_wrapper__pPrwn","fullWidth":"Timepicker-module_fullWidth__de3hO","label":"Timepicker-module_label__5RDrm","inputWrapper":"Timepicker-module_inputWrapper__-E5pk","sm":"Timepicker-module_sm__sWJu2","md":"Timepicker-module_md__TfpGX","lg":"Timepicker-module_lg__xSlw-","icon":"Timepicker-module_icon__NuPk4","input":"Timepicker-module_input__NxTmR","disabled":"Timepicker-module_disabled__lyxzF","error":"Timepicker-module_error__TOMK7","helperText":"Timepicker-module_helperText__MmcqS","errorText":"Timepicker-module_errorText__pXdnE"};
399
+ var styles$Z = {"wrapper":"Timepicker-module_wrapper__pPrwn","fullWidth":"Timepicker-module_fullWidth__de3hO","label":"Timepicker-module_label__5RDrm","inputWrapper":"Timepicker-module_inputWrapper__-E5pk","sm":"Timepicker-module_sm__sWJu2","md":"Timepicker-module_md__TfpGX","lg":"Timepicker-module_lg__xSlw-","icon":"Timepicker-module_icon__NuPk4","input":"Timepicker-module_input__NxTmR","disabled":"Timepicker-module_disabled__lyxzF","error":"Timepicker-module_error__TOMK7","helperText":"Timepicker-module_helperText__MmcqS","errorText":"Timepicker-module_errorText__pXdnE"};
400
400
 
401
401
  const ClockIcon = () => (jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }), jsxRuntime.jsx("polyline", { points: "12 6 12 12 16 14" })] }));
402
402
  /**
@@ -408,34 +408,34 @@ const Timepicker = React.forwardRef(({ size = 'md', label, helperText, error, fu
408
408
  const helperId = `${inputId}-helper`;
409
409
  const errorId = `${inputId}-error`;
410
410
  const wrapperClasses = [
411
- styles$Y.wrapper,
412
- fullWidth ? styles$Y.fullWidth : '',
411
+ styles$Z.wrapper,
412
+ fullWidth ? styles$Z.fullWidth : '',
413
413
  className,
414
414
  ].filter(Boolean).join(' ');
415
415
  const inputWrapperClasses = [
416
- styles$Y.inputWrapper,
417
- styles$Y[size],
418
- error ? styles$Y.error : '',
419
- disabled ? styles$Y.disabled : '',
416
+ styles$Z.inputWrapper,
417
+ styles$Z[size],
418
+ error ? styles$Z.error : '',
419
+ disabled ? styles$Z.disabled : '',
420
420
  ].filter(Boolean).join(' ');
421
- return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [label && (jsxRuntime.jsx("label", { htmlFor: inputId, className: styles$Y.label, children: label })), jsxRuntime.jsxs("div", { className: inputWrapperClasses, children: [jsxRuntime.jsx("span", { className: styles$Y.icon, children: jsxRuntime.jsx(ClockIcon, {}) }), jsxRuntime.jsx("input", { ref: ref, type: "time", id: inputId, className: styles$Y.input, disabled: disabled, "aria-invalid": !!error, "aria-describedby": [error ? errorId : null, helperText ? helperId : null]
421
+ return (jsxRuntime.jsxs("div", { className: wrapperClasses, children: [label && (jsxRuntime.jsx("label", { htmlFor: inputId, className: styles$Z.label, children: label })), jsxRuntime.jsxs("div", { className: inputWrapperClasses, children: [jsxRuntime.jsx("span", { className: styles$Z.icon, children: jsxRuntime.jsx(ClockIcon, {}) }), jsxRuntime.jsx("input", { ref: ref, type: "time", id: inputId, className: styles$Z.input, disabled: disabled, "aria-invalid": !!error, "aria-describedby": [error ? errorId : null, helperText ? helperId : null]
422
422
  .filter(Boolean)
423
- .join(' ') || undefined, ...props })] }), error && (jsxRuntime.jsx("span", { id: errorId, className: styles$Y.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: helperId, className: styles$Y.helperText, children: helperText }))] }));
423
+ .join(' ') || undefined, ...props })] }), error && (jsxRuntime.jsx("span", { id: errorId, className: styles$Z.errorText, children: error })), helperText && !error && (jsxRuntime.jsx("span", { id: helperId, className: styles$Z.helperText, children: helperText }))] }));
424
424
  });
425
425
  Timepicker.displayName = 'Timepicker';
426
426
 
427
- var styles$X = {"title":"Title-module_title__mSSqn","light":"Title-module_light__7mlh-","normal":"Title-module_normal__ZYrS4","medium":"Title-module_medium__UK-Bj","semibold":"Title-module_semibold__07lTs","bold":"Title-module_bold__-oWUS"};
427
+ var styles$Y = {"title":"Title-module_title__mSSqn","light":"Title-module_light__7mlh-","normal":"Title-module_normal__ZYrS4","medium":"Title-module_medium__UK-Bj","semibold":"Title-module_semibold__07lTs","bold":"Title-module_bold__-oWUS"};
428
428
 
429
429
  /**
430
430
  * Title component for page headings.
431
431
  * Large, prominent text for page titles.
432
432
  */
433
433
  const Title = ({ children, weight = 'light', className = '', }) => {
434
- return (jsxRuntime.jsx("h1", { className: `${styles$X.title} ${styles$X[weight]} ${className}`, children: children }));
434
+ return (jsxRuntime.jsx("h1", { className: `${styles$Y.title} ${styles$Y[weight]} ${className}`, children: children }));
435
435
  };
436
436
  Title.displayName = 'Title';
437
437
 
438
- var styles$W = {"toggle":"Toggle-module_toggle__lRFvk","checked":"Toggle-module_checked__duOWU","disabled":"Toggle-module_disabled__DV2FB","thumb":"Toggle-module_thumb__ehIbb","sm":"Toggle-module_sm__Gs9bK","md":"Toggle-module_md__hTNCY","lg":"Toggle-module_lg__DpHtS","wrapper":"Toggle-module_wrapper__-Bvff","wrapperDisabled":"Toggle-module_wrapperDisabled__ZSCvM","label":"Toggle-module_label__GeuIf"};
438
+ var styles$X = {"toggle":"Toggle-module_toggle__lRFvk","checked":"Toggle-module_checked__duOWU","disabled":"Toggle-module_disabled__DV2FB","thumb":"Toggle-module_thumb__ehIbb","sm":"Toggle-module_sm__Gs9bK","md":"Toggle-module_md__hTNCY","lg":"Toggle-module_lg__DpHtS","wrapper":"Toggle-module_wrapper__-Bvff","wrapperDisabled":"Toggle-module_wrapperDisabled__ZSCvM","label":"Toggle-module_label__GeuIf"};
439
439
 
440
440
  const Toggle = ({ checked, onChange, disabled = false, size = 'md', label, labelPosition = 'right', className = '', 'aria-label': ariaLabel, }) => {
441
441
  const handleClick = () => {
@@ -449,14 +449,14 @@ const Toggle = ({ checked, onChange, disabled = false, size = 'md', label, label
449
449
  onChange?.(!checked);
450
450
  }
451
451
  };
452
- const toggleElement = (jsxRuntime.jsx("div", { className: `${styles$W.toggle} ${styles$W[size]} ${checked ? styles$W.checked : ''} ${disabled ? styles$W.disabled : ''} ${className}`, onClick: handleClick, onKeyDown: handleKeyDown, role: "switch", "aria-checked": checked, "aria-disabled": disabled, "aria-label": ariaLabel || label, tabIndex: disabled ? -1 : 0, children: jsxRuntime.jsx("span", { className: styles$W.thumb }) }));
452
+ const toggleElement = (jsxRuntime.jsx("div", { className: `${styles$X.toggle} ${styles$X[size]} ${checked ? styles$X.checked : ''} ${disabled ? styles$X.disabled : ''} ${className}`, onClick: handleClick, onKeyDown: handleKeyDown, role: "switch", "aria-checked": checked, "aria-disabled": disabled, "aria-label": ariaLabel || label, tabIndex: disabled ? -1 : 0, children: jsxRuntime.jsx("span", { className: styles$X.thumb }) }));
453
453
  if (label) {
454
- return (jsxRuntime.jsxs("label", { className: `${styles$W.wrapper} ${disabled ? styles$W.wrapperDisabled : ''}`, children: [labelPosition === 'left' && jsxRuntime.jsx("span", { className: styles$W.label, children: label }), toggleElement, labelPosition === 'right' && jsxRuntime.jsx("span", { className: styles$W.label, children: label })] }));
454
+ return (jsxRuntime.jsxs("label", { className: `${styles$X.wrapper} ${disabled ? styles$X.wrapperDisabled : ''}`, children: [labelPosition === 'left' && jsxRuntime.jsx("span", { className: styles$X.label, children: label }), toggleElement, labelPosition === 'right' && jsxRuntime.jsx("span", { className: styles$X.label, children: label })] }));
455
455
  }
456
456
  return toggleElement;
457
457
  };
458
458
 
459
- var styles$V = {"wrapper":"Tooltip-module_wrapper__9SUwl","tooltip":"Tooltip-module_tooltip__KQ7km","fadeIn":"Tooltip-module_fadeIn__dL8S5","content":"Tooltip-module_content__kO8yx","dark":"Tooltip-module_dark__Y66ss","light":"Tooltip-module_light__mItfR","top":"Tooltip-module_top__1jrIn","bottom":"Tooltip-module_bottom__99YBc","left":"Tooltip-module_left__ZNd1H","right":"Tooltip-module_right__r0j5Q","arrow":"Tooltip-module_arrow__qcKWx","arrowTop":"Tooltip-module_arrowTop__k13dt","arrowBottom":"Tooltip-module_arrowBottom__FP-w2","arrowLeft":"Tooltip-module_arrowLeft__7T1uO","arrowRight":"Tooltip-module_arrowRight__FbPdB"};
459
+ var styles$W = {"wrapper":"Tooltip-module_wrapper__9SUwl","tooltip":"Tooltip-module_tooltip__KQ7km","fadeIn":"Tooltip-module_fadeIn__dL8S5","content":"Tooltip-module_content__kO8yx","dark":"Tooltip-module_dark__Y66ss","light":"Tooltip-module_light__mItfR","top":"Tooltip-module_top__1jrIn","bottom":"Tooltip-module_bottom__99YBc","left":"Tooltip-module_left__ZNd1H","right":"Tooltip-module_right__r0j5Q","arrow":"Tooltip-module_arrow__qcKWx","arrowTop":"Tooltip-module_arrowTop__k13dt","arrowBottom":"Tooltip-module_arrowBottom__FP-w2","arrowLeft":"Tooltip-module_arrowLeft__7T1uO","arrowRight":"Tooltip-module_arrowRight__FbPdB"};
460
460
 
461
461
  const Tooltip = ({ content, children, position = 'top', variant = 'dark', delay = 200, disabled = false, className = '', }) => {
462
462
  const [isVisible, setIsVisible] = React.useState(false);
@@ -520,10 +520,10 @@ const Tooltip = ({ content, children, position = 'top', variant = 'dark', delay
520
520
  }
521
521
  };
522
522
  }, []);
523
- return (jsxRuntime.jsxs("div", { ref: triggerRef, className: `${styles$V.wrapper} ${className}`, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onFocus: handleFocus, onBlur: handleBlur, children: [children, isVisible && content && (jsxRuntime.jsxs("div", { ref: tooltipRef, className: `${styles$V.tooltip} ${styles$V[actualPosition]} ${styles$V[variant]}`, role: "tooltip", children: [jsxRuntime.jsx("div", { className: styles$V.content, children: content }), jsxRuntime.jsx("div", { className: `${styles$V.arrow} ${styles$V[`arrow${actualPosition.charAt(0).toUpperCase()}${actualPosition.slice(1)}`]}` })] }))] }));
523
+ return (jsxRuntime.jsxs("div", { ref: triggerRef, className: `${styles$W.wrapper} ${className}`, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onFocus: handleFocus, onBlur: handleBlur, children: [children, isVisible && content && (jsxRuntime.jsxs("div", { ref: tooltipRef, className: `${styles$W.tooltip} ${styles$W[actualPosition]} ${styles$W[variant]}`, role: "tooltip", children: [jsxRuntime.jsx("div", { className: styles$W.content, children: content }), jsxRuntime.jsx("div", { className: `${styles$W.arrow} ${styles$W[`arrow${actualPosition.charAt(0).toUpperCase()}${actualPosition.slice(1)}`]}` })] }))] }));
524
524
  };
525
525
 
526
- var styles$U = {"service":"TravelServiceIcon-module_service__-4EZb","code":"TravelServiceIcon-module_code__vElzI","multi":"TravelServiceIcon-module_multi__nqZLM","multiIndicator":"TravelServiceIcon-module_multiIndicator__KJF1L"};
526
+ var styles$V = {"service":"TravelServiceIcon-module_service__-4EZb","code":"TravelServiceIcon-module_code__vElzI","multi":"TravelServiceIcon-module_multi__nqZLM","multiIndicator":"TravelServiceIcon-module_multiIndicator__KJF1L"};
527
527
 
528
528
  // Airline brand colors
529
529
  const vendorColors = {
@@ -563,16 +563,16 @@ const TravelServiceIcon = ({ type, vendor, mode = 'icon', size = 28, multi = fal
563
563
  const colors = mode === 'icon' && vendorColors[vendorKey]
564
564
  ? vendorColors[vendorKey]
565
565
  : typeColors$1[type] || typeColors$1.U;
566
- return (jsxRuntime.jsxs("span", { className: `${styles$U.service} ${multi ? styles$U.multi : ''} ${className || ''}`, style: {
566
+ return (jsxRuntime.jsxs("span", { className: `${styles$V.service} ${multi ? styles$V.multi : ''} ${className || ''}`, style: {
567
567
  width: size,
568
568
  height: size,
569
569
  backgroundColor: colors.bg,
570
570
  color: colors.fg,
571
571
  fontSize: size * 0.4,
572
- }, title: vendor ? `${vendor} (${type})` : type, children: [mode === 'code' && vendor ? (jsxRuntime.jsx("span", { className: styles$U.code, children: vendor })) : (jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", width: size * 0.55, height: size * 0.55, fill: "currentColor", children: typeIcons$1[type] || typeIcons$1.U })), multi && jsxRuntime.jsx("span", { className: styles$U.multiIndicator, children: "+" })] }));
572
+ }, title: vendor ? `${vendor} (${type})` : type, children: [mode === 'code' && vendor ? (jsxRuntime.jsx("span", { className: styles$V.code, children: vendor })) : (jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", width: size * 0.55, height: size * 0.55, fill: "currentColor", children: typeIcons$1[type] || typeIcons$1.U })), multi && jsxRuntime.jsx("span", { className: styles$V.multiIndicator, children: "+" })] }));
573
573
  };
574
574
 
575
- var styles$T = {"icon":"TypeIcon-module_icon__WUL-x"};
575
+ var styles$U = {"icon":"TypeIcon-module_icon__WUL-x"};
576
576
 
577
577
  const typeLabels = {
578
578
  A: 'Air',
@@ -605,7 +605,7 @@ const typeIcons = {
605
605
  const TypeIcon = ({ type, size = 18, showTooltip = true, className, }) => {
606
606
  const colors = typeColors[type] || typeColors.U;
607
607
  const label = typeLabels[type] || 'Unknown';
608
- return (jsxRuntime.jsx("span", { className: `${styles$T.icon} ${className || ''}`, style: {
608
+ return (jsxRuntime.jsx("span", { className: `${styles$U.icon} ${className || ''}`, style: {
609
609
  width: size,
610
610
  height: size,
611
611
  backgroundColor: colors.bg,
@@ -613,7 +613,7 @@ const TypeIcon = ({ type, size = 18, showTooltip = true, className, }) => {
613
613
  }, title: showTooltip ? label : undefined, "aria-label": label, children: jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", width: size * 0.6, height: size * 0.6, fill: "currentColor", children: typeIcons[type] || typeIcons.U }) }));
614
614
  };
615
615
 
616
- var styles$S = {"accordion":"Accordion-module_accordion__I3hmS","headerContainer":"Accordion-module_headerContainer__QhfHx","toggle":"Accordion-module_toggle__rlK5n","caret":"Accordion-module_caret__iZAh1","open":"Accordion-module_open__5jX-w","header":"Accordion-module_header__gzKrn","body":"Accordion-module_body__xTgL6","hidden":"Accordion-module_hidden__wcCWd","visible":"Accordion-module_visible__116om","timeline":"Accordion-module_timeline__ikrdK","line":"Accordion-module_line__buDP1","endCaret":"Accordion-module_endCaret__OXpPJ","content":"Accordion-module_content__aL8Vn"};
616
+ var styles$T = {"accordion":"Accordion-module_accordion__I3hmS","headerContainer":"Accordion-module_headerContainer__QhfHx","toggle":"Accordion-module_toggle__rlK5n","caret":"Accordion-module_caret__iZAh1","open":"Accordion-module_open__5jX-w","header":"Accordion-module_header__gzKrn","body":"Accordion-module_body__xTgL6","hidden":"Accordion-module_hidden__wcCWd","visible":"Accordion-module_visible__116om","timeline":"Accordion-module_timeline__ikrdK","line":"Accordion-module_line__buDP1","endCaret":"Accordion-module_endCaret__OXpPJ","content":"Accordion-module_content__aL8Vn"};
617
617
 
618
618
  const CaretIcon = ({ className }) => (jsxRuntime.jsx("svg", { className: className, width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: jsxRuntime.jsx("polyline", { points: "9 18 15 12 9 6" }) }));
619
619
  /**
@@ -631,21 +631,21 @@ const Accordion = ({ header, children, defaultOpen = true, open: controlledOpen,
631
631
  }
632
632
  onOpenChange?.(newOpen);
633
633
  };
634
- return (jsxRuntime.jsxs("div", { className: `${styles$S.accordion} ${className || ''}`, children: [jsxRuntime.jsxs("div", { className: styles$S.headerContainer, children: [jsxRuntime.jsx("button", { type: "button", className: styles$S.toggle, onClick: handleToggle, "aria-expanded": isOpen, children: jsxRuntime.jsx(CaretIcon, { className: `${styles$S.caret} ${isOpen ? styles$S.open : ''}` }) }), jsxRuntime.jsx("div", { className: styles$S.header, children: header })] }), jsxRuntime.jsxs("div", { className: `${styles$S.body} ${isOpen ? styles$S.visible : styles$S.hidden}`, "aria-hidden": !isOpen, children: [showTimeline && (jsxRuntime.jsxs("div", { className: styles$S.timeline, children: [jsxRuntime.jsx("div", { className: styles$S.line }), jsxRuntime.jsx(CaretIcon, { className: styles$S.endCaret })] })), jsxRuntime.jsx("div", { className: styles$S.content, children: children })] })] }));
634
+ return (jsxRuntime.jsxs("div", { className: `${styles$T.accordion} ${className || ''}`, children: [jsxRuntime.jsxs("div", { className: styles$T.headerContainer, children: [jsxRuntime.jsx("button", { type: "button", className: styles$T.toggle, onClick: handleToggle, "aria-expanded": isOpen, children: jsxRuntime.jsx(CaretIcon, { className: `${styles$T.caret} ${isOpen ? styles$T.open : ''}` }) }), jsxRuntime.jsx("div", { className: styles$T.header, children: header })] }), jsxRuntime.jsxs("div", { className: `${styles$T.body} ${isOpen ? styles$T.visible : styles$T.hidden}`, "aria-hidden": !isOpen, children: [showTimeline && (jsxRuntime.jsxs("div", { className: styles$T.timeline, children: [jsxRuntime.jsx("div", { className: styles$T.line }), jsxRuntime.jsx(CaretIcon, { className: styles$T.endCaret })] })), jsxRuntime.jsx("div", { className: styles$T.content, children: children })] })] }));
635
635
  };
636
636
  Accordion.displayName = 'Accordion';
637
637
 
638
- var styles$R = {"selector":"CalendarSelectors-module_selector__1nDos","item":"CalendarSelectors-module_item__CoR5s","active":"CalendarSelectors-module_active__u4w6Z","sm":"CalendarSelectors-module_sm__ju5t-","withLabel":"CalendarSelectors-module_withLabel__Jr9Re","md":"CalendarSelectors-module_md__a-U38","lg":"CalendarSelectors-module_lg__WHvAF","iconOnly":"CalendarSelectors-module_iconOnly__cAjyD"};
638
+ var styles$S = {"selector":"CalendarSelectors-module_selector__1nDos","item":"CalendarSelectors-module_item__CoR5s","active":"CalendarSelectors-module_active__u4w6Z","sm":"CalendarSelectors-module_sm__ju5t-","withLabel":"CalendarSelectors-module_withLabel__Jr9Re","md":"CalendarSelectors-module_md__a-U38","lg":"CalendarSelectors-module_lg__WHvAF","iconOnly":"CalendarSelectors-module_iconOnly__cAjyD"};
639
639
 
640
640
  const ListIcon = () => (jsxRuntime.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", "aria-hidden": "true", children: [jsxRuntime.jsx("line", { x1: "8", y1: "6", x2: "21", y2: "6" }), jsxRuntime.jsx("line", { x1: "8", y1: "12", x2: "21", y2: "12" }), jsxRuntime.jsx("line", { x1: "8", y1: "18", x2: "21", y2: "18" }), jsxRuntime.jsx("circle", { cx: "3", cy: "6", r: "1", fill: "currentColor", stroke: "none" }), jsxRuntime.jsx("circle", { cx: "3", cy: "12", r: "1", fill: "currentColor", stroke: "none" }), jsxRuntime.jsx("circle", { cx: "3", cy: "18", r: "1", fill: "currentColor", stroke: "none" })] }));
641
- const SegmentedSelector = ({ options, value, onChange, disabled = false, size = 'md', className = '', ariaLabel = 'View options', }) => (jsxRuntime.jsx("div", { className: [styles$R.selector, className].filter(Boolean).join(' '), role: "group", "aria-label": ariaLabel, children: options.map((option) => {
641
+ const SegmentedSelector = ({ options, value, onChange, disabled = false, size = 'md', className = '', ariaLabel = 'View options', }) => (jsxRuntime.jsx("div", { className: [styles$S.selector, className].filter(Boolean).join(' '), role: "group", "aria-label": ariaLabel, children: options.map((option) => {
642
642
  const active = option.id === value;
643
643
  const accessibleName = option.alt ?? option.label ?? option.id;
644
644
  return (jsxRuntime.jsxs("button", { type: "button", title: accessibleName, "aria-label": accessibleName, "aria-pressed": active, disabled: disabled, className: [
645
- styles$R.item,
646
- styles$R[size],
647
- option.label ? styles$R.withLabel : styles$R.iconOnly,
648
- active ? styles$R.active : '',
645
+ styles$S.item,
646
+ styles$S[size],
647
+ option.label ? styles$S.withLabel : styles$S.iconOnly,
648
+ active ? styles$S.active : '',
649
649
  ].filter(Boolean).join(' '), onClick: () => onChange?.(option.id), children: [option.icon, option.label && jsxRuntime.jsx("span", { children: option.label })] }, option.id));
650
650
  }) }));
651
651
  const CalendarViewSelector = ({ value, onChange, ...props }) => (jsxRuntime.jsx(SegmentedSelector, { ...props, ariaLabel: "Calendar view", value: value, onChange: (nextValue) => onChange?.(nextValue), options: [
@@ -658,7 +658,7 @@ const CalendarTypeSelector = ({ value, onChange, ...props }) => (jsxRuntime.jsx(
658
658
  { id: 'due_dates', label: 'Due Dates' },
659
659
  ] }));
660
660
 
661
- var styles$Q = {"dropdown":"Dropdown-module_dropdown__K4-yz","arrow":"Dropdown-module_arrow__2Xuwf","arrowOpen":"Dropdown-module_arrowOpen__5g2iY","menu":"Dropdown-module_menu__dCgm8","menuOpen":"Dropdown-module_menuOpen__-IXFR","left":"Dropdown-module_left__tnNcS","center":"Dropdown-module_center__s9zhj","right":"Dropdown-module_right__s71gz","item":"Dropdown-module_item__R008o","itemDisabled":"Dropdown-module_itemDisabled__XIuNm","itemIcon":"Dropdown-module_itemIcon__DbSnD"};
661
+ var styles$R = {"dropdown":"Dropdown-module_dropdown__K4-yz","arrow":"Dropdown-module_arrow__2Xuwf","arrowOpen":"Dropdown-module_arrowOpen__5g2iY","menu":"Dropdown-module_menu__dCgm8","menuOpen":"Dropdown-module_menuOpen__-IXFR","left":"Dropdown-module_left__tnNcS","center":"Dropdown-module_center__s9zhj","right":"Dropdown-module_right__s71gz","item":"Dropdown-module_item__R008o","itemDisabled":"Dropdown-module_itemDisabled__XIuNm","itemIcon":"Dropdown-module_itemIcon__DbSnD"};
662
662
 
663
663
  const Dropdown = ({ label, children, alignment = 'left', width, className = '', disabled = false, }) => {
664
664
  const [isOpen, setIsOpen] = React.useState(false);
@@ -681,14 +681,14 @@ const Dropdown = ({ label, children, alignment = 'left', width, className = '',
681
681
  setIsOpen(false);
682
682
  }
683
683
  };
684
- return (jsxRuntime.jsxs("div", { ref: dropdownRef, className: `${styles$Q.dropdown} ${className}`, onKeyDown: handleKeyDown, children: [jsxRuntime.jsxs(Button, { variant: "secondary", onClick: () => !disabled && setIsOpen(!isOpen), disabled: disabled, "aria-expanded": isOpen, "aria-haspopup": "true", children: [label, jsxRuntime.jsx("svg", { className: `${styles$Q.arrow} ${isOpen ? styles$Q.arrowOpen : ''}`, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", width: "16", height: "16", children: jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) })] }), jsxRuntime.jsx("div", { className: `${styles$Q.menu} ${styles$Q[alignment]} ${isOpen ? styles$Q.menuOpen : ''}`, style: width ? { minWidth: `${width}px` } : undefined, role: "menu", children: children })] }));
684
+ return (jsxRuntime.jsxs("div", { ref: dropdownRef, className: `${styles$R.dropdown} ${className}`, onKeyDown: handleKeyDown, children: [jsxRuntime.jsxs(Button, { variant: "secondary", onClick: () => !disabled && setIsOpen(!isOpen), disabled: disabled, "aria-expanded": isOpen, "aria-haspopup": "true", children: [label, jsxRuntime.jsx("svg", { className: `${styles$R.arrow} ${isOpen ? styles$R.arrowOpen : ''}`, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", width: "16", height: "16", children: jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) })] }), jsxRuntime.jsx("div", { className: `${styles$R.menu} ${styles$R[alignment]} ${isOpen ? styles$R.menuOpen : ''}`, style: width ? { minWidth: `${width}px` } : undefined, role: "menu", children: children })] }));
685
685
  };
686
686
  const DropdownItem = ({ children, onClick, disabled = false, icon, className = '', }) => {
687
- return (jsxRuntime.jsxs("button", { type: "button", className: `${styles$Q.item} ${disabled ? styles$Q.itemDisabled : ''} ${className}`, onClick: onClick, disabled: disabled, role: "menuitem", children: [icon && jsxRuntime.jsx("span", { className: styles$Q.itemIcon, children: icon }), children] }));
687
+ return (jsxRuntime.jsxs("button", { type: "button", className: `${styles$R.item} ${disabled ? styles$R.itemDisabled : ''} ${className}`, onClick: onClick, disabled: disabled, role: "menuitem", children: [icon && jsxRuntime.jsx("span", { className: styles$R.itemIcon, children: icon }), children] }));
688
688
  };
689
689
  Dropdown.Item = DropdownItem;
690
690
 
691
- var styles$P = {"wrapper":"FilterChip-module_wrapper__YDRSW","chip":"FilterChip-module_chip__pF7K5","open":"FilterChip-module_open__EYBp7","active":"FilterChip-module_active__JEkku","label":"FilterChip-module_label__tRr-y","value":"FilterChip-module_value__0EcVu","chevron":"FilterChip-module_chevron__kh13z","rotated":"FilterChip-module_rotated__U-FzI","dropdown":"FilterChip-module_dropdown__w3ytW","infoMessage":"FilterChip-module_infoMessage__0TzcA","searchWrapper":"FilterChip-module_searchWrapper__VHOSK","searchIcon":"FilterChip-module_searchIcon__jJ2K-","searchInput":"FilterChip-module_searchInput__FqwvR","optionsList":"FilterChip-module_optionsList__P0dgd","option":"FilterChip-module_option__DMuqM","selected":"FilterChip-module_selected__ltt9Y","noResults":"FilterChip-module_noResults__QGNao"};
691
+ var styles$Q = {"wrapper":"FilterChip-module_wrapper__YDRSW","chip":"FilterChip-module_chip__pF7K5","open":"FilterChip-module_open__EYBp7","active":"FilterChip-module_active__JEkku","label":"FilterChip-module_label__tRr-y","value":"FilterChip-module_value__0EcVu","chevron":"FilterChip-module_chevron__kh13z","rotated":"FilterChip-module_rotated__U-FzI","dropdown":"FilterChip-module_dropdown__w3ytW","infoMessage":"FilterChip-module_infoMessage__0TzcA","searchWrapper":"FilterChip-module_searchWrapper__VHOSK","searchIcon":"FilterChip-module_searchIcon__jJ2K-","searchInput":"FilterChip-module_searchInput__FqwvR","optionsList":"FilterChip-module_optionsList__P0dgd","option":"FilterChip-module_option__DMuqM","selected":"FilterChip-module_selected__ltt9Y","noResults":"FilterChip-module_noResults__QGNao"};
692
692
 
693
693
  const FilterChip = ({ label, value, options, onChange, searchable = false, searchPlaceholder = 'Search...', infoMessage, className, }) => {
694
694
  const [open, setOpen] = React.useState(false);
@@ -725,13 +725,13 @@ const FilterChip = ({ label, value, options, onChange, searchable = false, searc
725
725
  const selectedOption = options.find(opt => opt.value === value);
726
726
  const displayValue = selectedOption?.label || value;
727
727
  const isDefault = value === options[0]?.value;
728
- return (jsxRuntime.jsxs("div", { ref: ref, className: `${styles$P.wrapper} ${className || ''}`, children: [jsxRuntime.jsxs("button", { type: "button", className: `${styles$P.chip} ${open ? styles$P.open : ''} ${!isDefault ? styles$P.active : ''}`, onClick: () => setOpen(!open), "aria-haspopup": "listbox", "aria-expanded": open, children: [jsxRuntime.jsxs("span", { className: styles$P.label, children: [label, ":"] }), jsxRuntime.jsx("span", { className: styles$P.value, children: displayValue }), jsxRuntime.jsx("svg", { className: `${styles$P.chevron} ${open ? styles$P.rotated : ''}`, width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: jsxRuntime.jsx("polyline", { points: "6 9 12 15 18 9" }) })] }), open && (jsxRuntime.jsxs("div", { className: styles$P.dropdown, role: "listbox", children: [infoMessage && (jsxRuntime.jsxs("div", { className: styles$P.infoMessage, children: [jsxRuntime.jsx("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "currentColor", children: jsxRuntime.jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" }) }), jsxRuntime.jsx("span", { children: infoMessage })] })), searchable && (jsxRuntime.jsxs("div", { className: styles$P.searchWrapper, children: [jsxRuntime.jsxs("svg", { className: styles$P.searchIcon, width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "8" }), jsxRuntime.jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })] }), jsxRuntime.jsx("input", { type: "text", value: searchQuery, onChange: (e) => setSearchQuery(e.target.value), placeholder: searchPlaceholder, className: styles$P.searchInput, autoFocus: true })] })), jsxRuntime.jsxs("div", { className: styles$P.optionsList, children: [filteredOptions.map((option) => (jsxRuntime.jsx("button", { type: "button", role: "option", "aria-selected": option.value === value, className: `${styles$P.option} ${option.value === value ? styles$P.selected : ''}`, onClick: () => {
728
+ return (jsxRuntime.jsxs("div", { ref: ref, className: `${styles$Q.wrapper} ${className || ''}`, children: [jsxRuntime.jsxs("button", { type: "button", className: `${styles$Q.chip} ${open ? styles$Q.open : ''} ${!isDefault ? styles$Q.active : ''}`, onClick: () => setOpen(!open), "aria-haspopup": "listbox", "aria-expanded": open, children: [jsxRuntime.jsxs("span", { className: styles$Q.label, children: [label, ":"] }), jsxRuntime.jsx("span", { className: styles$Q.value, children: displayValue }), jsxRuntime.jsx("svg", { className: `${styles$Q.chevron} ${open ? styles$Q.rotated : ''}`, width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: jsxRuntime.jsx("polyline", { points: "6 9 12 15 18 9" }) })] }), open && (jsxRuntime.jsxs("div", { className: styles$Q.dropdown, role: "listbox", children: [infoMessage && (jsxRuntime.jsxs("div", { className: styles$Q.infoMessage, children: [jsxRuntime.jsx("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "currentColor", children: jsxRuntime.jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" }) }), jsxRuntime.jsx("span", { children: infoMessage })] })), searchable && (jsxRuntime.jsxs("div", { className: styles$Q.searchWrapper, children: [jsxRuntime.jsxs("svg", { className: styles$Q.searchIcon, width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "8" }), jsxRuntime.jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })] }), jsxRuntime.jsx("input", { type: "text", value: searchQuery, onChange: (e) => setSearchQuery(e.target.value), placeholder: searchPlaceholder, className: styles$Q.searchInput, autoFocus: true })] })), jsxRuntime.jsxs("div", { className: styles$Q.optionsList, children: [filteredOptions.map((option) => (jsxRuntime.jsx("button", { type: "button", role: "option", "aria-selected": option.value === value, className: `${styles$Q.option} ${option.value === value ? styles$Q.selected : ''}`, onClick: () => {
729
729
  onChange(option.value);
730
730
  setOpen(false);
731
- }, children: option.label }, option.value))), filteredOptions.length === 0 && (jsxRuntime.jsx("div", { className: styles$P.noResults, children: "No results found" }))] })] }))] }));
731
+ }, children: option.label }, option.value))), filteredOptions.length === 0 && (jsxRuntime.jsx("div", { className: styles$Q.noResults, children: "No results found" }))] })] }))] }));
732
732
  };
733
733
 
734
- var styles$O = {"formField":"FormField-module_formField__VhLhK","label":"FormField-module_label__CNCs6","required":"FormField-module_required__HkPQf","inputElement":"FormField-module_inputElement__9uvGR","inputError":"FormField-module_inputError__xD7fk","helperText":"FormField-module_helperText__D99kd","errorText":"FormField-module_errorText__8mXAJ","visuallyHidden":"FormField-module_visuallyHidden__YQc7S"};
734
+ var styles$P = {"formField":"FormField-module_formField__VhLhK","label":"FormField-module_label__CNCs6","required":"FormField-module_required__HkPQf","inputElement":"FormField-module_inputElement__9uvGR","inputError":"FormField-module_inputError__xD7fk","helperText":"FormField-module_helperText__D99kd","errorText":"FormField-module_errorText__8mXAJ","visuallyHidden":"FormField-module_visuallyHidden__YQc7S"};
735
735
 
736
736
  const FormField = React.forwardRef(({ label, helperText, error, required = false, hideLabel = false, className, as = 'input', inputProps, textareaProps, children, }, ref) => {
737
737
  const generatedId = React.useId();
@@ -750,15 +750,15 @@ const FormField = React.forwardRef(({ label, helperText, error, required = false
750
750
  return children;
751
751
  }
752
752
  if (as === 'textarea') {
753
- return (jsxRuntime.jsx(Textarea, { ref: ref, id: inputId, "aria-describedby": describedBy, "aria-invalid": hasError, "aria-required": required, ...textareaProps, className: `${styles$O.inputElement} ${hasError ? styles$O.inputError : ''} ${textareaProps?.className || ''}` }));
753
+ return (jsxRuntime.jsx(Textarea, { ref: ref, id: inputId, "aria-describedby": describedBy, "aria-invalid": hasError, "aria-required": required, ...textareaProps, className: `${styles$P.inputElement} ${hasError ? styles$P.inputError : ''} ${textareaProps?.className || ''}` }));
754
754
  }
755
- return (jsxRuntime.jsx(Input, { ref: ref, id: inputId, "aria-describedby": describedBy, "aria-invalid": hasError, "aria-required": required, ...inputProps, className: `${styles$O.inputElement} ${hasError ? styles$O.inputError : ''} ${inputProps?.className || ''}` }));
755
+ return (jsxRuntime.jsx(Input, { ref: ref, id: inputId, "aria-describedby": describedBy, "aria-invalid": hasError, "aria-required": required, ...inputProps, className: `${styles$P.inputElement} ${hasError ? styles$P.inputError : ''} ${inputProps?.className || ''}` }));
756
756
  };
757
- return (jsxRuntime.jsxs("div", { className: `${styles$O.formField} ${className || ''}`, children: [jsxRuntime.jsxs("label", { htmlFor: inputId, className: `${styles$O.label} ${hideLabel ? styles$O.visuallyHidden : ''}`, children: [label, required && jsxRuntime.jsx("span", { className: styles$O.required, "aria-hidden": "true", children: "*" })] }), renderInput(), helperText && !hasError && (jsxRuntime.jsx("p", { id: helperId, className: styles$O.helperText, children: helperText })), hasError && (jsxRuntime.jsx("p", { id: errorId, className: styles$O.errorText, role: "alert", children: error }))] }));
757
+ return (jsxRuntime.jsxs("div", { className: `${styles$P.formField} ${className || ''}`, children: [jsxRuntime.jsxs("label", { htmlFor: inputId, className: `${styles$P.label} ${hideLabel ? styles$P.visuallyHidden : ''}`, children: [label, required && jsxRuntime.jsx("span", { className: styles$P.required, "aria-hidden": "true", children: "*" })] }), renderInput(), helperText && !hasError && (jsxRuntime.jsx("p", { id: helperId, className: styles$P.helperText, children: helperText })), hasError && (jsxRuntime.jsx("p", { id: errorId, className: styles$P.errorText, role: "alert", children: error }))] }));
758
758
  });
759
759
  FormField.displayName = 'FormField';
760
760
 
761
- var styles$N = {"row":"FormRow-module_row__2ObP9","cols1":"FormRow-module_cols1__WsxX3","cols2":"FormRow-module_cols2__t548T","cols3":"FormRow-module_cols3__zjoSR","cols4":"FormRow-module_cols4__DbZL-","gapsm":"FormRow-module_gapsm__sl0ji","gapmd":"FormRow-module_gapmd__77Yp3","gaplg":"FormRow-module_gaplg__Yb-fh","stackMobile":"FormRow-module_stackMobile__6UluR"};
761
+ var styles$O = {"row":"FormRow-module_row__2ObP9","cols1":"FormRow-module_cols1__WsxX3","cols2":"FormRow-module_cols2__t548T","cols3":"FormRow-module_cols3__zjoSR","cols4":"FormRow-module_cols4__DbZL-","gapsm":"FormRow-module_gapsm__sl0ji","gapmd":"FormRow-module_gapmd__77Yp3","gaplg":"FormRow-module_gaplg__Yb-fh","stackMobile":"FormRow-module_stackMobile__6UluR"};
762
762
 
763
763
  /**
764
764
  * FormRow component for laying out form fields in a responsive grid.
@@ -768,16 +768,16 @@ const FormRow = ({ children, columns, gap = 'md', className, stackOnMobile = tru
768
768
  const childCount = React.Children.count(children);
769
769
  const colCount = columns || (childCount > 4 ? 4 : childCount);
770
770
  return (jsxRuntime.jsx("div", { className: `
771
- ${styles$N.row}
772
- ${styles$N[`cols${colCount}`]}
773
- ${styles$N[`gap${gap}`]}
774
- ${stackOnMobile ? styles$N.stackMobile : ''}
771
+ ${styles$O.row}
772
+ ${styles$O[`cols${colCount}`]}
773
+ ${styles$O[`gap${gap}`]}
774
+ ${stackOnMobile ? styles$O.stackMobile : ''}
775
775
  ${className || ''}
776
776
  `, children: children }));
777
777
  };
778
778
  FormRow.displayName = 'FormRow';
779
779
 
780
- var styles$M = {"section":"FormSection-module_section__T17Vg","header":"FormSection-module_header__2MkY6","icon":"FormSection-module_icon__uywPB","title":"FormSection-module_title__dlvYD","fieldset":"FormSection-module_fieldset__pDDIo","disabled":"FormSection-module_disabled__xC3-e","status":"FormSection-module_status__2XOyW","statusLabel":"FormSection-module_statusLabel__VAuDb","statusValue":"FormSection-module_statusValue__YKSc-","submitted":"FormSection-module_submitted__sS-zT","not-submitted":"FormSection-module_not-submitted__Kuk2i","draft":"FormSection-module_draft__XHq3-"};
780
+ var styles$N = {"section":"FormSection-module_section__T17Vg","header":"FormSection-module_header__2MkY6","icon":"FormSection-module_icon__uywPB","title":"FormSection-module_title__dlvYD","fieldset":"FormSection-module_fieldset__pDDIo","disabled":"FormSection-module_disabled__xC3-e","status":"FormSection-module_status__2XOyW","statusLabel":"FormSection-module_statusLabel__VAuDb","statusValue":"FormSection-module_statusValue__YKSc-","submitted":"FormSection-module_submitted__sS-zT","not-submitted":"FormSection-module_not-submitted__Kuk2i","draft":"FormSection-module_draft__XHq3-"};
781
781
 
782
782
  /**
783
783
  * FormSection component for grouping related form fields with a title and icon.
@@ -786,45 +786,45 @@ var styles$M = {"section":"FormSection-module_section__T17Vg","header":"FormSect
786
786
  const FormSection = ({ title, icon, status, disabled = false, children, className, id, }) => {
787
787
  const isSubmitted = status === 'submitted';
788
788
  const isDisabled = disabled || isSubmitted;
789
- return (jsxRuntime.jsxs("div", { className: `${styles$M.section} ${className || ''}`, id: id, children: [jsxRuntime.jsxs("div", { className: styles$M.header, children: [icon && jsxRuntime.jsx("span", { className: styles$M.icon, children: icon }), jsxRuntime.jsx("h2", { className: styles$M.title, children: title })] }), jsxRuntime.jsxs("fieldset", { disabled: isDisabled, className: `${styles$M.fieldset} ${isDisabled ? styles$M.disabled : ''}`, children: [status && (jsxRuntime.jsxs("div", { className: styles$M.status, children: [jsxRuntime.jsx("span", { className: styles$M.statusLabel, children: "Status:" }), jsxRuntime.jsx("span", { className: `${styles$M.statusValue} ${styles$M[status]}`, children: status === 'submitted' ? 'Submitted' : status === 'draft' ? 'Draft' : 'Not Submitted' })] })), children] })] }));
789
+ return (jsxRuntime.jsxs("div", { className: `${styles$N.section} ${className || ''}`, id: id, children: [jsxRuntime.jsxs("div", { className: styles$N.header, children: [icon && jsxRuntime.jsx("span", { className: styles$N.icon, children: icon }), jsxRuntime.jsx("h2", { className: styles$N.title, children: title })] }), jsxRuntime.jsxs("fieldset", { disabled: isDisabled, className: `${styles$N.fieldset} ${isDisabled ? styles$N.disabled : ''}`, children: [status && (jsxRuntime.jsxs("div", { className: styles$N.status, children: [jsxRuntime.jsx("span", { className: styles$N.statusLabel, children: "Status:" }), jsxRuntime.jsx("span", { className: `${styles$N.statusValue} ${styles$N[status]}`, children: status === 'submitted' ? 'Submitted' : status === 'draft' ? 'Draft' : 'Not Submitted' })] })), children] })] }));
790
790
  };
791
791
  FormSection.displayName = 'FormSection';
792
792
 
793
- var styles$L = {"stack":"FormStack-module_stack__SURjY","sm":"FormStack-module_sm__rt3tb","md":"FormStack-module_md__SRDmc","lg":"FormStack-module_lg__jql3j"};
793
+ var styles$M = {"stack":"FormStack-module_stack__SURjY","sm":"FormStack-module_sm__rt3tb","md":"FormStack-module_md__SRDmc","lg":"FormStack-module_lg__jql3j"};
794
794
 
795
795
  /** Standard vertical form-field rhythm used by Hub modal forms. */
796
- const FormStack = ({ children, gap = 'md', className = '' }) => (jsxRuntime.jsx("div", { className: [styles$L.stack, styles$L[gap], className].filter(Boolean).join(' '), children: children }));
796
+ const FormStack = ({ children, gap = 'md', className = '' }) => (jsxRuntime.jsx("div", { className: [styles$M.stack, styles$M[gap], className].filter(Boolean).join(' '), children: children }));
797
797
 
798
- var styles$K = {"toggle":"ManifestViewToggle-module_toggle__sHnAd","lockedToggle":"ManifestViewToggle-module_lockedToggle__m70h9","tab":"ManifestViewToggle-module_tab__qcwg7","active":"ManifestViewToggle-module_active__ln3B8","locked":"ManifestViewToggle-module_locked__Udun8","lockedActive":"ManifestViewToggle-module_lockedActive__kYSaF","count":"ManifestViewToggle-module_count__M-8a8"};
798
+ var styles$L = {"toggle":"ManifestViewToggle-module_toggle__sHnAd","lockedToggle":"ManifestViewToggle-module_lockedToggle__m70h9","tab":"ManifestViewToggle-module_tab__qcwg7","active":"ManifestViewToggle-module_active__ln3B8","locked":"ManifestViewToggle-module_locked__Udun8","lockedActive":"ManifestViewToggle-module_lockedActive__kYSaF","count":"ManifestViewToggle-module_count__M-8a8"};
799
799
 
800
800
  const ManifestViewToggle = ({ view, onView, paxCount, eqCount, locked, className = '', }) => {
801
801
  const tabs = [
802
802
  { key: 'passengers', label: 'Passengers', count: paxCount, icon: UsersIcon$1 },
803
803
  { key: 'equipment', label: 'Equipment', count: eqCount, icon: CubeIcon },
804
804
  ];
805
- return (jsxRuntime.jsx("div", { className: [styles$K.toggle, locked ? styles$K.lockedToggle : '', className].filter(Boolean).join(' '), role: "tablist", "aria-label": "Manifest view", children: tabs.map((tab) => {
805
+ return (jsxRuntime.jsx("div", { className: [styles$L.toggle, locked ? styles$L.lockedToggle : '', className].filter(Boolean).join(' '), role: "tablist", "aria-label": "Manifest view", children: tabs.map((tab) => {
806
806
  const active = view === tab.key;
807
807
  const Icon = locked ? LockIcon$1 : tab.icon;
808
808
  return (jsxRuntime.jsxs("button", { type: "button", role: "tab", "aria-selected": active, onClick: () => onView(tab.key), className: [
809
- styles$K.tab,
810
- active ? styles$K.active : '',
811
- locked ? styles$K.locked : '',
812
- locked && active ? styles$K.lockedActive : '',
813
- ].filter(Boolean).join(' '), children: [jsxRuntime.jsx(Icon, { size: 16 }), tab.label, jsxRuntime.jsx("span", { className: styles$K.count, children: tab.count })] }, tab.key));
809
+ styles$L.tab,
810
+ active ? styles$L.active : '',
811
+ locked ? styles$L.locked : '',
812
+ locked && active ? styles$L.lockedActive : '',
813
+ ].filter(Boolean).join(' '), children: [jsxRuntime.jsx(Icon, { size: 16 }), tab.label, jsxRuntime.jsx("span", { className: styles$L.count, children: tab.count })] }, tab.key));
814
814
  }) }));
815
815
  };
816
816
 
817
- var styles$J = {"navItem":"NavItem-module_navItem__4PpZU","disabled":"NavItem-module_disabled__uYqez","default":"NavItem-module_default__VB92P","active":"NavItem-module_active__3bcnW","pill":"NavItem-module_pill__pn5gl","icon":"NavItem-module_icon__j9VQ5","label":"NavItem-module_label__3S3KY","sm":"NavItem-module_sm__1oeZI","md":"NavItem-module_md__ySO90","lg":"NavItem-module_lg__OmaBw","collapsed":"NavItem-module_collapsed__ciZ6-","iconSm":"NavItem-module_iconSm__UvWnu","iconMd":"NavItem-module_iconMd__uAMlQ","iconLg":"NavItem-module_iconLg__PFPKD","badge":"NavItem-module_badge__oP9u2"};
817
+ var styles$K = {"navItem":"NavItem-module_navItem__4PpZU","disabled":"NavItem-module_disabled__uYqez","default":"NavItem-module_default__VB92P","active":"NavItem-module_active__3bcnW","pill":"NavItem-module_pill__pn5gl","icon":"NavItem-module_icon__j9VQ5","label":"NavItem-module_label__3S3KY","sm":"NavItem-module_sm__1oeZI","md":"NavItem-module_md__ySO90","lg":"NavItem-module_lg__OmaBw","collapsed":"NavItem-module_collapsed__ciZ6-","iconSm":"NavItem-module_iconSm__UvWnu","iconMd":"NavItem-module_iconMd__uAMlQ","iconLg":"NavItem-module_iconLg__PFPKD","badge":"NavItem-module_badge__oP9u2"};
818
818
 
819
819
  const NavItem = ({ icon, label, active = false, collapsed = false, variant = 'default', size = 'md', badge, badgeVariant = 'default', onClick, disabled = false, href, external = false, className, 'aria-label': ariaLabel, }) => {
820
- const content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [icon && jsxRuntime.jsx("span", { className: `${styles$J.icon} ${styles$J[`icon${size.charAt(0).toUpperCase()}${size.slice(1)}`]}`, "aria-hidden": "true", children: icon }), !collapsed && (jsxRuntime.jsx("span", { className: styles$J.label, children: label })), badge !== undefined && !collapsed && (jsxRuntime.jsx(Badge, { variant: badgeVariant, className: styles$J.badge, children: badge }))] }));
820
+ const content = (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [icon && jsxRuntime.jsx("span", { className: `${styles$K.icon} ${styles$K[`icon${size.charAt(0).toUpperCase()}${size.slice(1)}`]}`, "aria-hidden": "true", children: icon }), !collapsed && (jsxRuntime.jsx("span", { className: styles$K.label, children: label })), badge !== undefined && !collapsed && (jsxRuntime.jsx(Badge, { variant: badgeVariant, className: styles$K.badge, children: badge }))] }));
821
821
  const classNames = [
822
- styles$J.navItem,
823
- styles$J[variant],
824
- styles$J[size],
825
- active ? styles$J.active : '',
826
- collapsed ? styles$J.collapsed : '',
827
- disabled ? styles$J.disabled : '',
822
+ styles$K.navItem,
823
+ styles$K[variant],
824
+ styles$K[size],
825
+ active ? styles$K.active : '',
826
+ collapsed ? styles$K.collapsed : '',
827
+ disabled ? styles$K.disabled : '',
828
828
  className || '',
829
829
  ].filter(Boolean).join(' ');
830
830
  const commonProps = {
@@ -839,7 +839,7 @@ const NavItem = ({ icon, label, active = false, collapsed = false, variant = 'de
839
839
  return (jsxRuntime.jsx("button", { type: "button", onClick: disabled ? undefined : onClick, disabled: disabled, ...commonProps, children: content }));
840
840
  };
841
841
 
842
- var styles$I = {"barContainer":"Progress-module_barContainer__e4v8v","barTrack":"Progress-module_barTrack__tJsPO","barFill":"Progress-module_barFill__RbcDy","barxs":"Progress-module_barxs__TLS4q","barsm":"Progress-module_barsm__BFAiw","barmd":"Progress-module_barmd__QDW-h","barlg":"Progress-module_barlg__C-Mzw","barLabel":"Progress-module_barLabel__4PFJ7","circleContainer":"Progress-module_circleContainer__zyOTa","circleSvg":"Progress-module_circleSvg__0Tt1Q","circleTrack":"Progress-module_circleTrack__p4VWf","circleFill":"Progress-module_circleFill__6fU2M","circleLabel":"Progress-module_circleLabel__vHLfU","primary":"Progress-module_primary__H2wpc","success":"Progress-module_success__rmmnE","warning":"Progress-module_warning__68ovy","error":"Progress-module_error__ZXkH0"};
842
+ var styles$J = {"barContainer":"Progress-module_barContainer__e4v8v","barTrack":"Progress-module_barTrack__tJsPO","barFill":"Progress-module_barFill__RbcDy","barxs":"Progress-module_barxs__TLS4q","barsm":"Progress-module_barsm__BFAiw","barmd":"Progress-module_barmd__QDW-h","barlg":"Progress-module_barlg__C-Mzw","barLabel":"Progress-module_barLabel__4PFJ7","circleContainer":"Progress-module_circleContainer__zyOTa","circleSvg":"Progress-module_circleSvg__0Tt1Q","circleTrack":"Progress-module_circleTrack__p4VWf","circleFill":"Progress-module_circleFill__6fU2M","circleLabel":"Progress-module_circleLabel__vHLfU","primary":"Progress-module_primary__H2wpc","success":"Progress-module_success__rmmnE","warning":"Progress-module_warning__68ovy","error":"Progress-module_error__ZXkH0"};
843
843
 
844
844
  const dimensions = {
845
845
  xs: 32,
@@ -855,7 +855,7 @@ const strokeWidths = {
855
855
  };
856
856
  const ProgressBar = ({ value, max = 100, size = 'md', variant = 'primary', showLabel = false, className = '', }) => {
857
857
  const percentage = Math.min(Math.max((value / max) * 100, 0), 100);
858
- return (jsxRuntime.jsxs("div", { className: `${styles$I.barContainer} ${styles$I[`bar${size}`]} ${className}`, children: [jsxRuntime.jsx("div", { className: styles$I.barTrack, children: jsxRuntime.jsx("div", { className: `${styles$I.barFill} ${styles$I[variant]}`, style: { width: `${percentage}%` }, role: "progressbar", "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": max }) }), showLabel && (jsxRuntime.jsxs("span", { className: styles$I.barLabel, children: [Math.round(percentage), "%"] }))] }));
858
+ return (jsxRuntime.jsxs("div", { className: `${styles$J.barContainer} ${styles$J[`bar${size}`]} ${className}`, children: [jsxRuntime.jsx("div", { className: styles$J.barTrack, children: jsxRuntime.jsx("div", { className: `${styles$J.barFill} ${styles$J[variant]}`, style: { width: `${percentage}%` }, role: "progressbar", "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": max }) }), showLabel && (jsxRuntime.jsxs("span", { className: styles$J.barLabel, children: [Math.round(percentage), "%"] }))] }));
859
859
  };
860
860
  const ProgressCircle = ({ value, max = 100, size = 'md', variant = 'primary', showLabel = false, className = '', }) => {
861
861
  const percentage = Math.min(Math.max((value / max) * 100, 0), 100);
@@ -864,7 +864,7 @@ const ProgressCircle = ({ value, max = 100, size = 'md', variant = 'primary', sh
864
864
  const radius = (dimension - strokeWidth) / 2;
865
865
  const circumference = radius * 2 * Math.PI;
866
866
  const strokeDashoffset = circumference - (percentage / 100) * circumference;
867
- return (jsxRuntime.jsxs("div", { className: `${styles$I.circleContainer} ${className}`, style: { width: dimension, height: dimension }, children: [jsxRuntime.jsxs("svg", { width: dimension, height: dimension, className: styles$I.circleSvg, children: [jsxRuntime.jsx("circle", { className: styles$I.circleTrack, cx: dimension / 2, cy: dimension / 2, r: radius, strokeWidth: strokeWidth, fill: "transparent" }), jsxRuntime.jsx("circle", { className: `${styles$I.circleFill} ${styles$I[variant]}`, cx: dimension / 2, cy: dimension / 2, r: radius, strokeWidth: strokeWidth, fill: "transparent", strokeDasharray: circumference, strokeDashoffset: strokeDashoffset, strokeLinecap: "round", role: "progressbar", "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": max })] }), showLabel && (jsxRuntime.jsxs("span", { className: styles$I.circleLabel, style: { fontSize: size === 'xs' ? '8px' : size === 'sm' ? '10px' : size === 'md' ? '12px' : '14px' }, children: [Math.round(percentage), "%"] }))] }));
867
+ return (jsxRuntime.jsxs("div", { className: `${styles$J.circleContainer} ${className}`, style: { width: dimension, height: dimension }, children: [jsxRuntime.jsxs("svg", { width: dimension, height: dimension, className: styles$J.circleSvg, children: [jsxRuntime.jsx("circle", { className: styles$J.circleTrack, cx: dimension / 2, cy: dimension / 2, r: radius, strokeWidth: strokeWidth, fill: "transparent" }), jsxRuntime.jsx("circle", { className: `${styles$J.circleFill} ${styles$J[variant]}`, cx: dimension / 2, cy: dimension / 2, r: radius, strokeWidth: strokeWidth, fill: "transparent", strokeDasharray: circumference, strokeDashoffset: strokeDashoffset, strokeLinecap: "round", role: "progressbar", "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": max })] }), showLabel && (jsxRuntime.jsxs("span", { className: styles$J.circleLabel, style: { fontSize: size === 'xs' ? '8px' : size === 'sm' ? '10px' : size === 'md' ? '12px' : '14px' }, children: [Math.round(percentage), "%"] }))] }));
868
868
  };
869
869
  // Combined export
870
870
  const Progress = {
@@ -872,7 +872,7 @@ const Progress = {
872
872
  Circle: ProgressCircle,
873
873
  };
874
874
 
875
- var styles$H = {"toolbar":"RosterToolbar-module_toolbar__IHjs9","leftSection":"RosterToolbar-module_leftSection__baz7E","rightSection":"RosterToolbar-module_rightSection__R2b-D","dropdown":"RosterToolbar-module_dropdown__NKaWV","dropdownTrigger":"RosterToolbar-module_dropdownTrigger__nCoaZ","dropdownMenu":"RosterToolbar-module_dropdownMenu__7QuED","dropdownItem":"RosterToolbar-module_dropdownItem__mrsat","dropdownItemIcon":"RosterToolbar-module_dropdownItemIcon__gx5tx","lockButton":"RosterToolbar-module_lockButton__zw3s0","locked":"RosterToolbar-module_locked__DVnqB","saveButton":"RosterToolbar-module_saveButton__th1lq","spinner":"RosterToolbar-module_spinner__uWdPg"};
875
+ var styles$I = {"toolbar":"RosterToolbar-module_toolbar__IHjs9","leftSection":"RosterToolbar-module_leftSection__baz7E","rightSection":"RosterToolbar-module_rightSection__R2b-D","dropdown":"RosterToolbar-module_dropdown__NKaWV","dropdownTrigger":"RosterToolbar-module_dropdownTrigger__nCoaZ","dropdownMenu":"RosterToolbar-module_dropdownMenu__7QuED","dropdownItem":"RosterToolbar-module_dropdownItem__mrsat","dropdownItemIcon":"RosterToolbar-module_dropdownItemIcon__gx5tx","lockButton":"RosterToolbar-module_lockButton__zw3s0","locked":"RosterToolbar-module_locked__DVnqB","saveButton":"RosterToolbar-module_saveButton__th1lq","spinner":"RosterToolbar-module_spinner__uWdPg"};
876
876
 
877
877
  const ImportIcon = () => (jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }), jsxRuntime.jsx("polyline", { points: "17 8 12 3 7 8" }), jsxRuntime.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "15" })] }));
878
878
  const ExportIcon$1 = () => (jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }), jsxRuntime.jsx("polyline", { points: "7 10 12 15 17 10" }), jsxRuntime.jsx("line", { x1: "12", y1: "15", x2: "12", y2: "3" })] }));
@@ -880,23 +880,23 @@ const ChevronIcon$2 = () => (jsxRuntime.jsx("svg", { width: "12", height: "12",
880
880
  const LockIcon = () => (jsxRuntime.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }), jsxRuntime.jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })] }));
881
881
  const UnlockIcon = () => (jsxRuntime.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }), jsxRuntime.jsx("path", { d: "M7 11V7a5 5 0 0 1 9.9-1" })] }));
882
882
  const SaveIcon = () => (jsxRuntime.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("path", { d: "M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z" }), jsxRuntime.jsx("polyline", { points: "17 21 17 13 7 13 7 21" }), jsxRuntime.jsx("polyline", { points: "7 3 7 8 15 8" })] }));
883
- const SpinnerIcon = () => (jsxRuntime.jsx("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", className: styles$H.spinner, children: jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", strokeDasharray: "32", strokeDashoffset: "32" }) }));
883
+ const SpinnerIcon = () => (jsxRuntime.jsx("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", className: styles$I.spinner, children: jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", strokeDasharray: "32", strokeDashoffset: "32" }) }));
884
884
  const DropdownButton = ({ label, icon, options, }) => {
885
- return (jsxRuntime.jsxs("div", { className: styles$H.dropdown, children: [jsxRuntime.jsxs("button", { type: "button", className: styles$H.dropdownTrigger, children: [icon, jsxRuntime.jsx("span", { children: label }), jsxRuntime.jsx(ChevronIcon$2, {})] }), jsxRuntime.jsx("div", { className: styles$H.dropdownMenu, children: options.map((option, i) => (jsxRuntime.jsxs("button", { type: "button", className: styles$H.dropdownItem, onClick: option.onClick, disabled: option.disabled, children: [option.icon && jsxRuntime.jsx("span", { className: styles$H.dropdownItemIcon, children: option.icon }), option.label] }, i))) })] }));
885
+ return (jsxRuntime.jsxs("div", { className: styles$I.dropdown, children: [jsxRuntime.jsxs("button", { type: "button", className: styles$I.dropdownTrigger, children: [icon, jsxRuntime.jsx("span", { children: label }), jsxRuntime.jsx(ChevronIcon$2, {})] }), jsxRuntime.jsx("div", { className: styles$I.dropdownMenu, children: options.map((option, i) => (jsxRuntime.jsxs("button", { type: "button", className: styles$I.dropdownItem, onClick: option.onClick, disabled: option.disabled, children: [option.icon && jsxRuntime.jsx("span", { className: styles$I.dropdownItemIcon, children: option.icon }), option.label] }, i))) })] }));
886
886
  };
887
887
  /**
888
888
  * RosterToolbar - Toolbar for roster management with import/export/save actions
889
889
  */
890
890
  const RosterToolbar = ({ importOptions, exportOptions, lockToggle, saveButton, additionalActions, searchField, className = '', }) => {
891
- const toolbarClasses = [styles$H.toolbar, className].filter(Boolean).join(' ');
892
- return (jsxRuntime.jsxs("div", { className: toolbarClasses, children: [jsxRuntime.jsxs("div", { className: styles$H.leftSection, children: [searchField, additionalActions] }), jsxRuntime.jsxs("div", { className: styles$H.rightSection, children: [importOptions && importOptions.length > 0 && (jsxRuntime.jsx(DropdownButton, { label: "Import", icon: jsxRuntime.jsx(ImportIcon, {}), options: importOptions })), exportOptions && exportOptions.length > 0 && (jsxRuntime.jsx(DropdownButton, { label: "Export", icon: jsxRuntime.jsx(ExportIcon$1, {}), options: exportOptions })), lockToggle && (jsxRuntime.jsxs("button", { type: "button", className: [
893
- styles$H.lockButton,
894
- lockToggle.isLocked ? styles$H.locked : '',
895
- ].filter(Boolean).join(' '), onClick: () => lockToggle.onToggle(!lockToggle.isLocked), disabled: lockToggle.disabled, "aria-label": lockToggle.isLocked ? 'Unlock roster' : 'Lock roster', children: [lockToggle.isLocked ? jsxRuntime.jsx(LockIcon, {}) : jsxRuntime.jsx(UnlockIcon, {}), jsxRuntime.jsx("span", { children: lockToggle.isLocked ? 'Locked' : 'Unlocked' })] })), saveButton && (jsxRuntime.jsxs("button", { type: "button", className: styles$H.saveButton, onClick: saveButton.onClick, disabled: saveButton.disabled || saveButton.loading, children: [saveButton.loading ? jsxRuntime.jsx(SpinnerIcon, {}) : jsxRuntime.jsx(SaveIcon, {}), jsxRuntime.jsx("span", { children: saveButton.label || 'Save' })] }))] })] }));
891
+ const toolbarClasses = [styles$I.toolbar, className].filter(Boolean).join(' ');
892
+ return (jsxRuntime.jsxs("div", { className: toolbarClasses, children: [jsxRuntime.jsxs("div", { className: styles$I.leftSection, children: [searchField, additionalActions] }), jsxRuntime.jsxs("div", { className: styles$I.rightSection, children: [importOptions && importOptions.length > 0 && (jsxRuntime.jsx(DropdownButton, { label: "Import", icon: jsxRuntime.jsx(ImportIcon, {}), options: importOptions })), exportOptions && exportOptions.length > 0 && (jsxRuntime.jsx(DropdownButton, { label: "Export", icon: jsxRuntime.jsx(ExportIcon$1, {}), options: exportOptions })), lockToggle && (jsxRuntime.jsxs("button", { type: "button", className: [
893
+ styles$I.lockButton,
894
+ lockToggle.isLocked ? styles$I.locked : '',
895
+ ].filter(Boolean).join(' '), onClick: () => lockToggle.onToggle(!lockToggle.isLocked), disabled: lockToggle.disabled, "aria-label": lockToggle.isLocked ? 'Unlock roster' : 'Lock roster', children: [lockToggle.isLocked ? jsxRuntime.jsx(LockIcon, {}) : jsxRuntime.jsx(UnlockIcon, {}), jsxRuntime.jsx("span", { children: lockToggle.isLocked ? 'Locked' : 'Unlocked' })] })), saveButton && (jsxRuntime.jsxs("button", { type: "button", className: styles$I.saveButton, onClick: saveButton.onClick, disabled: saveButton.disabled || saveButton.loading, children: [saveButton.loading ? jsxRuntime.jsx(SpinnerIcon, {}) : jsxRuntime.jsx(SaveIcon, {}), jsxRuntime.jsx("span", { children: saveButton.label || 'Save' })] }))] })] }));
896
896
  };
897
897
  RosterToolbar.displayName = 'RosterToolbar';
898
898
 
899
- var styles$G = {"searchField":"SearchField-module_searchField__c7gUE","inputWrapper":"SearchField-module_inputWrapper__SUzHv","searchIcon":"SearchField-module_searchIcon__MOZ2m","input":"SearchField-module_input__abJcl","clearButton":"SearchField-module_clearButton__RMIg2","sm":"SearchField-module_sm__-sayT","lg":"SearchField-module_lg__QKacI"};
899
+ var styles$H = {"searchField":"SearchField-module_searchField__c7gUE","inputWrapper":"SearchField-module_inputWrapper__SUzHv","searchIcon":"SearchField-module_searchIcon__MOZ2m","input":"SearchField-module_input__abJcl","clearButton":"SearchField-module_clearButton__RMIg2","sm":"SearchField-module_sm__-sayT","lg":"SearchField-module_lg__QKacI"};
900
900
 
901
901
  const SearchField = React.forwardRef(({ placeholder = 'Search...', value, defaultValue = '', onChange, onSearch, onClear, size = 'md', disabled = false, showClear = true, showButton = true, className, id, 'aria-label': ariaLabel = 'Search', ...props }, ref) => {
902
902
  const [internalValue, setInternalValue] = React.useState(defaultValue);
@@ -924,25 +924,25 @@ const SearchField = React.forwardRef(({ placeholder = 'Search...', value, defaul
924
924
  onSearch?.(currentValue);
925
925
  }
926
926
  };
927
- return (jsxRuntime.jsxs("form", { className: `${styles$G.searchField} ${styles$G[size]} ${className || ''}`, onSubmit: handleSubmit, role: "search", children: [jsxRuntime.jsxs("div", { className: styles$G.inputWrapper, children: [jsxRuntime.jsx(SearchIcon$1, { className: styles$G.searchIcon, "aria-hidden": "true" }), jsxRuntime.jsx(Input, { ref: ref, id: id, type: "search", placeholder: placeholder, value: currentValue, onChange: handleChange, onKeyDown: handleKeyDown, disabled: disabled, className: styles$G.input, "aria-label": ariaLabel, ...props }), showClear && currentValue && (jsxRuntime.jsx("button", { type: "button", className: styles$G.clearButton, onClick: handleClear, disabled: disabled, "aria-label": "Clear search", children: jsxRuntime.jsx(CloseIcon, { size: 16 }) }))] }), showButton && (jsxRuntime.jsx(Button, { type: "submit", variant: "primary", size: size, disabled: disabled, children: "Search" }))] }));
927
+ return (jsxRuntime.jsxs("form", { className: `${styles$H.searchField} ${styles$H[size]} ${className || ''}`, onSubmit: handleSubmit, role: "search", children: [jsxRuntime.jsxs("div", { className: styles$H.inputWrapper, children: [jsxRuntime.jsx(SearchIcon$1, { className: styles$H.searchIcon, "aria-hidden": "true" }), jsxRuntime.jsx(Input, { ref: ref, id: id, type: "search", placeholder: placeholder, value: currentValue, onChange: handleChange, onKeyDown: handleKeyDown, disabled: disabled, className: styles$H.input, "aria-label": ariaLabel, ...props }), showClear && currentValue && (jsxRuntime.jsx("button", { type: "button", className: styles$H.clearButton, onClick: handleClear, disabled: disabled, "aria-label": "Clear search", children: jsxRuntime.jsx(CloseIcon, { size: 16 }) }))] }), showButton && (jsxRuntime.jsx(Button, { type: "submit", variant: "primary", size: size, disabled: disabled, children: "Search" }))] }));
928
928
  });
929
929
  SearchField.displayName = 'SearchField';
930
930
 
931
- var styles$F = {"form":"SchoolContactForm-module_form__-Mx7k","portalLabel":"SchoolContactForm-module_portalLabel__GAeV6","newContactLabel":"SchoolContactForm-module_newContactLabel__7S3Vw","divider":"SchoolContactForm-module_divider__ZSx-R","nameFields":"SchoolContactForm-module_nameFields__Fcjl8","phoneFields":"SchoolContactForm-module_phoneFields__-zRPe"};
931
+ var styles$G = {"form":"SchoolContactForm-module_form__-Mx7k","portalLabel":"SchoolContactForm-module_portalLabel__GAeV6","newContactLabel":"SchoolContactForm-module_newContactLabel__7S3Vw","divider":"SchoolContactForm-module_divider__ZSx-R","nameFields":"SchoolContactForm-module_nameFields__Fcjl8","phoneFields":"SchoolContactForm-module_phoneFields__-zRPe"};
932
932
 
933
933
  /**
934
934
  * Layout for Hub's school-contact editor. Field controls stay injectable so
935
935
  * consuming applications retain their form state, validation, and masking.
936
936
  */
937
- const SchoolContactForm = ({ mode, createFromPortalUser, firstNameField, middleInitialField, lastNameField, businessPhoneField, cellPhoneField, emailField, className = '', }) => (jsxRuntime.jsxs("div", { className: [styles$F.form, className].filter(Boolean).join(' '), children: [mode === 'Add' && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("label", { className: styles$F.portalLabel, children: "Create From Portal User" }), createFromPortalUser] }), jsxRuntime.jsx("div", { className: styles$F.divider, children: jsxRuntime.jsx("strong", { children: "OR" }) }), jsxRuntime.jsx("p", { className: styles$F.newContactLabel, children: "Create New Contact Without Portal Access" })] })), jsxRuntime.jsxs("div", { className: styles$F.nameFields, children: [firstNameField, middleInitialField, lastNameField] }), jsxRuntime.jsxs("div", { className: styles$F.phoneFields, children: [businessPhoneField, cellPhoneField] }), jsxRuntime.jsx("div", { children: emailField })] }));
937
+ const SchoolContactForm = ({ mode, createFromPortalUser, firstNameField, middleInitialField, lastNameField, businessPhoneField, cellPhoneField, emailField, className = '', }) => (jsxRuntime.jsxs("div", { className: [styles$G.form, className].filter(Boolean).join(' '), children: [mode === 'Add' && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("label", { className: styles$G.portalLabel, children: "Create From Portal User" }), createFromPortalUser] }), jsxRuntime.jsx("div", { className: styles$G.divider, children: jsxRuntime.jsx("strong", { children: "OR" }) }), jsxRuntime.jsx("p", { className: styles$G.newContactLabel, children: "Create New Contact Without Portal Access" })] })), jsxRuntime.jsxs("div", { className: styles$G.nameFields, children: [firstNameField, middleInitialField, lastNameField] }), jsxRuntime.jsxs("div", { className: styles$G.phoneFields, children: [businessPhoneField, cellPhoneField] }), jsxRuntime.jsx("div", { children: emailField })] }));
938
938
 
939
- var styles$E = {"segment":"Segment-module_segment__UF-SG","fullWidth":"Segment-module_fullWidth__Hi19i","option":"Segment-module_option__UJUhj","disabled":"Segment-module_disabled__CSxuQ","selected":"Segment-module_selected__gRnVj","sm":"Segment-module_sm__h8S7Z","md":"Segment-module_md__4uTae","lg":"Segment-module_lg__zL0Hv","icon":"Segment-module_icon__ZHRr6"};
939
+ var styles$F = {"segment":"Segment-module_segment__UF-SG","fullWidth":"Segment-module_fullWidth__Hi19i","option":"Segment-module_option__UJUhj","disabled":"Segment-module_disabled__CSxuQ","selected":"Segment-module_selected__gRnVj","sm":"Segment-module_sm__h8S7Z","md":"Segment-module_md__4uTae","lg":"Segment-module_lg__zL0Hv","icon":"Segment-module_icon__ZHRr6"};
940
940
 
941
941
  const Segment = ({ options, value, onChange, size = 'md', fullWidth = false, className = '', 'aria-label': ariaLabel, }) => {
942
- return (jsxRuntime.jsx("div", { className: `${styles$E.segment} ${styles$E[size]} ${fullWidth ? styles$E.fullWidth : ''} ${className}`, role: "radiogroup", "aria-label": ariaLabel, children: options.map((option) => (jsxRuntime.jsxs("button", { type: "button", className: `${styles$E.option} ${value === option.value ? styles$E.selected : ''} ${option.disabled ? styles$E.disabled : ''}`, onClick: () => !option.disabled && onChange(option.value), disabled: option.disabled, role: "radio", "aria-checked": value === option.value, children: [option.icon && jsxRuntime.jsx("span", { className: styles$E.icon, children: option.icon }), option.label] }, option.value))) }));
942
+ return (jsxRuntime.jsx("div", { className: `${styles$F.segment} ${styles$F[size]} ${fullWidth ? styles$F.fullWidth : ''} ${className}`, role: "radiogroup", "aria-label": ariaLabel, children: options.map((option) => (jsxRuntime.jsxs("button", { type: "button", className: `${styles$F.option} ${value === option.value ? styles$F.selected : ''} ${option.disabled ? styles$F.disabled : ''}`, onClick: () => !option.disabled && onChange(option.value), disabled: option.disabled, role: "radio", "aria-checked": value === option.value, children: [option.icon && jsxRuntime.jsx("span", { className: styles$F.icon, children: option.icon }), option.label] }, option.value))) }));
943
943
  };
944
944
 
945
- var styles$D = {"container":"SelectFilter-module_container__tCC9y","trigger":"SelectFilter-module_trigger__5WbMf","open":"SelectFilter-module_open__oo-Y6","disabled":"SelectFilter-module_disabled__JUdi3","triggerText":"SelectFilter-module_triggerText__LM07K","placeholder":"SelectFilter-module_placeholder__J0xyo","chevron":"SelectFilter-module_chevron__x-Pnr","dropdown":"SelectFilter-module_dropdown__52FPP","tabs":"SelectFilter-module_tabs__wp6on","tab":"SelectFilter-module_tab__JpnWo","activeTab":"SelectFilter-module_activeTab__ShP7x","actions":"SelectFilter-module_actions__phfFl","actionBtn":"SelectFilter-module_actionBtn__ppB--","options":"SelectFilter-module_options__p1iCX","option":"SelectFilter-module_option__0vwfy","selected":"SelectFilter-module_selected__2vxyT","checkbox":"SelectFilter-module_checkbox__qTUjy","optionLabel":"SelectFilter-module_optionLabel__L4CMA","footer":"SelectFilter-module_footer__aq4JP","applyBtn":"SelectFilter-module_applyBtn__RFKei"};
945
+ var styles$E = {"container":"SelectFilter-module_container__tCC9y","trigger":"SelectFilter-module_trigger__5WbMf","open":"SelectFilter-module_open__oo-Y6","disabled":"SelectFilter-module_disabled__JUdi3","triggerText":"SelectFilter-module_triggerText__LM07K","placeholder":"SelectFilter-module_placeholder__J0xyo","chevron":"SelectFilter-module_chevron__x-Pnr","dropdown":"SelectFilter-module_dropdown__52FPP","tabs":"SelectFilter-module_tabs__wp6on","tab":"SelectFilter-module_tab__JpnWo","activeTab":"SelectFilter-module_activeTab__ShP7x","actions":"SelectFilter-module_actions__phfFl","actionBtn":"SelectFilter-module_actionBtn__ppB--","options":"SelectFilter-module_options__p1iCX","option":"SelectFilter-module_option__0vwfy","selected":"SelectFilter-module_selected__2vxyT","checkbox":"SelectFilter-module_checkbox__qTUjy","optionLabel":"SelectFilter-module_optionLabel__L4CMA","footer":"SelectFilter-module_footer__aq4JP","applyBtn":"SelectFilter-module_applyBtn__RFKei"};
946
946
 
947
947
  const ChevronIcon$1 = () => (jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: jsxRuntime.jsx("polyline", { points: "6 9 12 15 18 9" }) }));
948
948
  const CheckIcon = () => (jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: jsxRuntime.jsx("polyline", { points: "20 6 9 17 4 12" }) }));
@@ -1015,11 +1015,11 @@ const SelectFilter = ({ label, options = [], groupedOptions = {}, value = [], on
1015
1015
  }
1016
1016
  return `${selected.length} selected`;
1017
1017
  };
1018
- return (jsxRuntime.jsxs("div", { ref: dropdownRef, className: `${styles$D.container} ${className}`, children: [jsxRuntime.jsxs("button", { type: "button", className: `${styles$D.trigger} ${disabled ? styles$D.disabled : ''} ${isOpen ? styles$D.open : ''}`, onClick: () => !disabled && setIsOpen(!isOpen), children: [jsxRuntime.jsx("span", { className: `${styles$D.triggerText} ${selectedValues.length === 0 ? styles$D.placeholder : ''}`, children: getDisplayText() }), jsxRuntime.jsx("span", { className: styles$D.chevron, children: jsxRuntime.jsx(ChevronIcon$1, {}) })] }), isOpen && (jsxRuntime.jsxs("div", { className: styles$D.dropdown, style: { width }, children: [grouped && tabs.length > 0 && (jsxRuntime.jsx("div", { className: styles$D.tabs, children: tabs.map(tab => (jsxRuntime.jsx("button", { type: "button", className: `${styles$D.tab} ${activeTab === tab ? styles$D.activeTab : ''}`, onClick: () => setActiveTab(tab), children: tab.charAt(0).toUpperCase() + tab.slice(1) }, tab))) })), multiselect && (jsxRuntime.jsxs("div", { className: styles$D.actions, children: [jsxRuntime.jsx("button", { type: "button", className: styles$D.actionBtn, onClick: handleSelectAll, children: "Select All" }), jsxRuntime.jsx("button", { type: "button", className: styles$D.actionBtn, onClick: handleClear, children: "Clear" })] })), jsxRuntime.jsx("div", { className: styles$D.options, children: currentOptions.map(option => (jsxRuntime.jsxs("div", { className: `${styles$D.option} ${selectedValues.includes(option.value) ? styles$D.selected : ''}`, onClick: () => handleSelect(option.value), children: [multiselect && (jsxRuntime.jsx("span", { className: styles$D.checkbox, children: selectedValues.includes(option.value) && jsxRuntime.jsx(CheckIcon, {}) })), jsxRuntime.jsx("span", { className: styles$D.optionLabel, children: option.label })] }, option.value))) }), multiselect && (jsxRuntime.jsx("div", { className: styles$D.footer, children: jsxRuntime.jsx("button", { type: "button", className: styles$D.applyBtn, onClick: () => setIsOpen(false), children: "Apply" }) }))] }))] }));
1018
+ return (jsxRuntime.jsxs("div", { ref: dropdownRef, className: `${styles$E.container} ${className}`, children: [jsxRuntime.jsxs("button", { type: "button", className: `${styles$E.trigger} ${disabled ? styles$E.disabled : ''} ${isOpen ? styles$E.open : ''}`, onClick: () => !disabled && setIsOpen(!isOpen), children: [jsxRuntime.jsx("span", { className: `${styles$E.triggerText} ${selectedValues.length === 0 ? styles$E.placeholder : ''}`, children: getDisplayText() }), jsxRuntime.jsx("span", { className: styles$E.chevron, children: jsxRuntime.jsx(ChevronIcon$1, {}) })] }), isOpen && (jsxRuntime.jsxs("div", { className: styles$E.dropdown, style: { width }, children: [grouped && tabs.length > 0 && (jsxRuntime.jsx("div", { className: styles$E.tabs, children: tabs.map(tab => (jsxRuntime.jsx("button", { type: "button", className: `${styles$E.tab} ${activeTab === tab ? styles$E.activeTab : ''}`, onClick: () => setActiveTab(tab), children: tab.charAt(0).toUpperCase() + tab.slice(1) }, tab))) })), multiselect && (jsxRuntime.jsxs("div", { className: styles$E.actions, children: [jsxRuntime.jsx("button", { type: "button", className: styles$E.actionBtn, onClick: handleSelectAll, children: "Select All" }), jsxRuntime.jsx("button", { type: "button", className: styles$E.actionBtn, onClick: handleClear, children: "Clear" })] })), jsxRuntime.jsx("div", { className: styles$E.options, children: currentOptions.map(option => (jsxRuntime.jsxs("div", { className: `${styles$E.option} ${selectedValues.includes(option.value) ? styles$E.selected : ''}`, onClick: () => handleSelect(option.value), children: [multiselect && (jsxRuntime.jsx("span", { className: styles$E.checkbox, children: selectedValues.includes(option.value) && jsxRuntime.jsx(CheckIcon, {}) })), jsxRuntime.jsx("span", { className: styles$E.optionLabel, children: option.label })] }, option.value))) }), multiselect && (jsxRuntime.jsx("div", { className: styles$E.footer, children: jsxRuntime.jsx("button", { type: "button", className: styles$E.applyBtn, onClick: () => setIsOpen(false), children: "Apply" }) }))] }))] }));
1019
1019
  };
1020
1020
  SelectFilter.displayName = 'SelectFilter';
1021
1021
 
1022
- var styles$C = {"list":"ServiceToggle-module_list__bBts8","item":"ServiceToggle-module_item__4wEbQ","labelContainer":"ServiceToggle-module_labelContainer__oz-I1","clickable":"ServiceToggle-module_clickable__yzQxe","icon":"ServiceToggle-module_icon__8IdST","label":"ServiceToggle-module_label__J98Ve"};
1022
+ var styles$D = {"list":"ServiceToggle-module_list__bBts8","item":"ServiceToggle-module_item__4wEbQ","labelContainer":"ServiceToggle-module_labelContainer__oz-I1","clickable":"ServiceToggle-module_clickable__yzQxe","icon":"ServiceToggle-module_icon__8IdST","label":"ServiceToggle-module_label__J98Ve"};
1023
1023
 
1024
1024
  /**
1025
1025
  * ServiceToggle component for a single service item.
@@ -1032,19 +1032,19 @@ const ServiceToggle = ({ label, icon, hasToggle = true, enabled = false, onToggl
1032
1032
  onClick();
1033
1033
  }
1034
1034
  };
1035
- return (jsxRuntime.jsxs("div", { className: styles$C.item, children: [jsxRuntime.jsxs("div", { className: `${styles$C.labelContainer} ${isClickable ? styles$C.clickable : ''}`, onClick: handleClick, children: [icon && jsxRuntime.jsx("span", { className: styles$C.icon, children: icon }), jsxRuntime.jsx("span", { className: styles$C.label, children: label })] }), hasToggle && (jsxRuntime.jsx(Toggle, { checked: enabled, onChange: (checked) => onToggle?.(checked), disabled: disabled, size: "sm" }))] }));
1035
+ return (jsxRuntime.jsxs("div", { className: styles$D.item, children: [jsxRuntime.jsxs("div", { className: `${styles$D.labelContainer} ${isClickable ? styles$D.clickable : ''}`, onClick: handleClick, children: [icon && jsxRuntime.jsx("span", { className: styles$D.icon, children: icon }), jsxRuntime.jsx("span", { className: styles$D.label, children: label })] }), hasToggle && (jsxRuntime.jsx(Toggle, { checked: enabled, onChange: (checked) => onToggle?.(checked), disabled: disabled, size: "sm" }))] }));
1036
1036
  };
1037
1037
  /**
1038
1038
  * ServiceToggleList component for displaying a list of services with toggles.
1039
1039
  * Used in travel request forms for service selection (Air, Hotel, Ground, etc.)
1040
1040
  */
1041
1041
  const ServiceToggleList = ({ services, enabledServices = {}, onToggle, onClick, className, }) => {
1042
- return (jsxRuntime.jsx("div", { className: `${styles$C.list} ${className || ''}`, children: services.map((service) => (jsxRuntime.jsx(ServiceToggle, { serviceKey: service.key, label: service.label, icon: service.icon, hasToggle: service.hasToggle, enabled: enabledServices[service.key] ?? false, onToggle: (enabled) => onToggle?.(service.key, enabled), onClick: () => onClick?.(service.key) }, service.key))) }));
1042
+ return (jsxRuntime.jsx("div", { className: `${styles$D.list} ${className || ''}`, children: services.map((service) => (jsxRuntime.jsx(ServiceToggle, { serviceKey: service.key, label: service.label, icon: service.icon, hasToggle: service.hasToggle, enabled: enabledServices[service.key] ?? false, onToggle: (enabled) => onToggle?.(service.key, enabled), onClick: () => onClick?.(service.key) }, service.key))) }));
1043
1043
  };
1044
1044
  ServiceToggle.displayName = 'ServiceToggle';
1045
1045
  ServiceToggleList.displayName = 'ServiceToggleList';
1046
1046
 
1047
- var styles$B = {"toggle":"SupplierTypeToggle-module_toggle__x4pTJ","active":"SupplierTypeToggle-module_active__8BGSe"};
1047
+ var styles$C = {"toggle":"SupplierTypeToggle-module_toggle__x4pTJ","active":"SupplierTypeToggle-module_active__8BGSe"};
1048
1048
 
1049
1049
  const SUPPLIER_TYPE_OPTIONS = [
1050
1050
  { value: 'A', label: 'Air' },
@@ -1065,10 +1065,10 @@ const SupplierTypeToggle = ({ value, defaultValue = '', onChange, disabled = fal
1065
1065
  setInternalValue(nextValue);
1066
1066
  onChange?.(nextValue);
1067
1067
  };
1068
- return (jsxRuntime.jsx("div", { className: [styles$B.toggle, className].filter(Boolean).join(' '), role: "group", "aria-label": "Supplier type", children: OPTIONS.map((option) => (jsxRuntime.jsx("button", { type: "button", disabled: disabled, "aria-pressed": activeValue === option.value, className: activeValue === option.value ? styles$B.active : '', onClick: () => handleSelect(option.value), children: option.label }, option.value || 'all'))) }));
1068
+ return (jsxRuntime.jsx("div", { className: [styles$C.toggle, className].filter(Boolean).join(' '), role: "group", "aria-label": "Supplier type", children: OPTIONS.map((option) => (jsxRuntime.jsx("button", { type: "button", disabled: disabled, "aria-pressed": activeValue === option.value, className: activeValue === option.value ? styles$C.active : '', onClick: () => handleSelect(option.value), children: option.label }, option.value || 'all'))) }));
1069
1069
  };
1070
1070
 
1071
- var styles$A = {"header":"TeamHeader-module_header__3Zx1c","left":"TeamHeader-module_left__yqug2","backButton":"TeamHeader-module_backButton__MqElX","titles":"TeamHeader-module_titles__m3Ne9","pretitle":"TeamHeader-module_pretitle__rZUD6","title":"TeamHeader-module_title__i3dmZ","actions":"TeamHeader-module_actions__ft1DN","subMenu":"TeamHeader-module_subMenu__oL-3Q","activeTab":"TeamHeader-module_activeTab__AUzdq"};
1071
+ var styles$B = {"header":"TeamHeader-module_header__3Zx1c","left":"TeamHeader-module_left__yqug2","backButton":"TeamHeader-module_backButton__MqElX","titles":"TeamHeader-module_titles__m3Ne9","pretitle":"TeamHeader-module_pretitle__rZUD6","title":"TeamHeader-module_title__i3dmZ","actions":"TeamHeader-module_actions__ft1DN","subMenu":"TeamHeader-module_subMenu__oL-3Q","activeTab":"TeamHeader-module_activeTab__AUzdq"};
1072
1072
 
1073
1073
  const BackIcon = () => (jsxRuntime.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("line", { x1: "19", y1: "12", x2: "5", y2: "12" }), jsxRuntime.jsx("polyline", { points: "12 19 5 12 12 5" })] }));
1074
1074
  /**
@@ -1076,7 +1076,7 @@ const BackIcon = () => (jsxRuntime.jsxs("svg", { width: "20", height: "20", view
1076
1076
  */
1077
1077
  const TeamHeader = ({ title: suppliedTitle, teamCode, teamName, pretitle = 'Team Management', backHref, onBack, actions, className = '', }) => {
1078
1078
  const headerClasses = [
1079
- styles$A.header,
1079
+ styles$B.header,
1080
1080
  className,
1081
1081
  ].filter(Boolean).join(' ');
1082
1082
  const title = suppliedTitle ?? (teamCode && teamName
@@ -1091,7 +1091,7 @@ const TeamHeader = ({ title: suppliedTitle, teamCode, teamName, pretitle = 'Team
1091
1091
  window.location.href = backHref;
1092
1092
  }
1093
1093
  };
1094
- return (jsxRuntime.jsxs("div", { className: headerClasses, children: [jsxRuntime.jsxs("div", { className: styles$A.left, children: [(backHref || onBack) && (jsxRuntime.jsx("button", { type: "button", className: styles$A.backButton, onClick: handleBack, "aria-label": "Go back", children: jsxRuntime.jsx(BackIcon, {}) })), jsxRuntime.jsxs("div", { className: styles$A.titles, children: [pretitle && jsxRuntime.jsx("span", { className: styles$A.pretitle, children: pretitle }), jsxRuntime.jsxs("h1", { className: styles$A.title, children: [title, "\u00A0"] })] })] }), actions && (jsxRuntime.jsx("div", { className: styles$A.actions, children: actions }))] }));
1094
+ return (jsxRuntime.jsxs("div", { className: headerClasses, children: [jsxRuntime.jsxs("div", { className: styles$B.left, children: [(backHref || onBack) && (jsxRuntime.jsx("button", { type: "button", className: styles$B.backButton, onClick: handleBack, "aria-label": "Go back", children: jsxRuntime.jsx(BackIcon, {}) })), jsxRuntime.jsxs("div", { className: styles$B.titles, children: [pretitle && jsxRuntime.jsx("span", { className: styles$B.pretitle, children: pretitle }), jsxRuntime.jsxs("h1", { className: styles$B.title, children: [title, "\u00A0"] })] })] }), actions && (jsxRuntime.jsx("div", { className: styles$B.actions, children: actions }))] }));
1095
1095
  };
1096
1096
  const DEFAULT_TABS$1 = [
1097
1097
  { id: 'profile', label: 'Profile' },
@@ -1100,11 +1100,11 @@ const DEFAULT_TABS$1 = [
1100
1100
  { id: 'user-access', label: 'User Access' },
1101
1101
  ];
1102
1102
  /** Router-agnostic counterpart of Hub's team-management submenu. */
1103
- const TeamSubMenu = ({ tabs = DEFAULT_TABS$1, activeTab, onTabChange, className = '' }) => (jsxRuntime.jsx("nav", { className: [styles$A.subMenu, className].filter(Boolean).join(' '), "aria-label": "Team management sections", children: tabs.map((tab) => (jsxRuntime.jsx("button", { type: "button", className: activeTab === tab.id ? styles$A.activeTab : '', "aria-current": activeTab === tab.id ? 'page' : undefined, onClick: () => onTabChange?.(tab.id), children: tab.label }, tab.id))) }));
1103
+ const TeamSubMenu = ({ tabs = DEFAULT_TABS$1, activeTab, onTabChange, className = '' }) => (jsxRuntime.jsx("nav", { className: [styles$B.subMenu, className].filter(Boolean).join(' '), "aria-label": "Team management sections", children: tabs.map((tab) => (jsxRuntime.jsx("button", { type: "button", className: activeTab === tab.id ? styles$B.activeTab : '', "aria-current": activeTab === tab.id ? 'page' : undefined, onClick: () => onTabChange?.(tab.id), children: tab.label }, tab.id))) }));
1104
1104
  TeamHeader.displayName = 'TeamHeader';
1105
1105
  TeamSubMenu.displayName = 'TeamSubMenu';
1106
1106
 
1107
- var styles$z = {"segment":"TripSegment-module_segment__jX-Nq","light":"TripSegment-module_light__hHSb3","dark":"TripSegment-module_dark__3Fuo7","empty":"TripSegment-module_empty__vmzg0","item":"TripSegment-module_item__S-RC1","itemHeader":"TripSegment-module_itemHeader__wFWMo","itemType":"TripSegment-module_itemType__NsDLe","itemName":"TripSegment-module_itemName__ysYsC","route":"TripSegment-module_route__Shyz0","location":"TripSegment-module_location__8VCMH","details":"TripSegment-module_details__4U4Km","dates":"TripSegment-module_dates__Wn4-k"};
1107
+ var styles$A = {"segment":"TripSegment-module_segment__jX-Nq","light":"TripSegment-module_light__hHSb3","dark":"TripSegment-module_dark__3Fuo7","empty":"TripSegment-module_empty__vmzg0","item":"TripSegment-module_item__S-RC1","itemHeader":"TripSegment-module_itemHeader__wFWMo","itemType":"TripSegment-module_itemType__NsDLe","itemName":"TripSegment-module_itemName__ysYsC","route":"TripSegment-module_route__Shyz0","location":"TripSegment-module_location__8VCMH","details":"TripSegment-module_details__4U4Km","dates":"TripSegment-module_dates__Wn4-k"};
1108
1108
 
1109
1109
  const PlaneIcon$3 = () => (jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: jsxRuntime.jsx("path", { d: "M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5Z" }) }));
1110
1110
  const BusIcon$2 = () => (jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("rect", { x: "4", y: "4", width: "16", height: "14", rx: "2" }), jsxRuntime.jsx("path", { d: "M8 6v6" }), jsxRuntime.jsx("path", { d: "M16 6v6" }), jsxRuntime.jsx("circle", { cx: "8", cy: "16", r: "1" }), jsxRuntime.jsx("circle", { cx: "16", cy: "16", r: "1" })] }));
@@ -1114,41 +1114,41 @@ const ArrowIcon = () => (jsxRuntime.jsxs("svg", { width: "12", height: "12", vie
1114
1114
  * Base TripSegment component wrapper
1115
1115
  */
1116
1116
  const TripSegment = ({ type: _type, variant = 'light', className = '', children, }) => {
1117
- return (jsxRuntime.jsx("div", { className: `${styles$z.segment} ${styles$z[variant]} ${className}`, children: children }));
1117
+ return (jsxRuntime.jsx("div", { className: `${styles$A.segment} ${styles$A[variant]} ${className}`, children: children }));
1118
1118
  };
1119
1119
  /**
1120
1120
  * AirSegment component for displaying flight information
1121
1121
  */
1122
1122
  const AirSegment = ({ flights, variant = 'light', className = '', }) => {
1123
1123
  if (!flights || flights.length === 0) {
1124
- return (jsxRuntime.jsx(TripSegment, { type: "air", variant: variant, className: className, children: jsxRuntime.jsx("span", { className: styles$z.empty, children: "No flights" }) }));
1124
+ return (jsxRuntime.jsx(TripSegment, { type: "air", variant: variant, className: className, children: jsxRuntime.jsx("span", { className: styles$A.empty, children: "No flights" }) }));
1125
1125
  }
1126
- return (jsxRuntime.jsx(TripSegment, { type: "air", variant: variant, className: className, children: flights.map((flight, i) => (jsxRuntime.jsxs("div", { className: styles$z.item, children: [jsxRuntime.jsxs("div", { className: styles$z.itemHeader, children: [jsxRuntime.jsx(PlaneIcon$3, {}), jsxRuntime.jsx("span", { className: styles$z.itemType, children: flight.type === 'charter' ? 'Charter' : 'Commercial' })] }), jsxRuntime.jsxs("div", { className: styles$z.route, children: [jsxRuntime.jsx("span", { className: styles$z.location, children: flight.departure }), jsxRuntime.jsx(ArrowIcon, {}), jsxRuntime.jsx("span", { className: styles$z.location, children: flight.arrival })] }), jsxRuntime.jsxs("div", { className: styles$z.details, children: [jsxRuntime.jsx("span", { children: flight.departureDate }), flight.departureTime && jsxRuntime.jsx("span", { children: flight.departureTime })] }), flight.airline && (jsxRuntime.jsxs("div", { className: styles$z.details, children: [jsxRuntime.jsx("span", { children: flight.airline }), flight.flightNumber && jsxRuntime.jsxs("span", { children: ["#", flight.flightNumber] })] }))] }, i))) }));
1126
+ return (jsxRuntime.jsx(TripSegment, { type: "air", variant: variant, className: className, children: flights.map((flight, i) => (jsxRuntime.jsxs("div", { className: styles$A.item, children: [jsxRuntime.jsxs("div", { className: styles$A.itemHeader, children: [jsxRuntime.jsx(PlaneIcon$3, {}), jsxRuntime.jsx("span", { className: styles$A.itemType, children: flight.type === 'charter' ? 'Charter' : 'Commercial' })] }), jsxRuntime.jsxs("div", { className: styles$A.route, children: [jsxRuntime.jsx("span", { className: styles$A.location, children: flight.departure }), jsxRuntime.jsx(ArrowIcon, {}), jsxRuntime.jsx("span", { className: styles$A.location, children: flight.arrival })] }), jsxRuntime.jsxs("div", { className: styles$A.details, children: [jsxRuntime.jsx("span", { children: flight.departureDate }), flight.departureTime && jsxRuntime.jsx("span", { children: flight.departureTime })] }), flight.airline && (jsxRuntime.jsxs("div", { className: styles$A.details, children: [jsxRuntime.jsx("span", { children: flight.airline }), flight.flightNumber && jsxRuntime.jsxs("span", { children: ["#", flight.flightNumber] })] }))] }, i))) }));
1127
1127
  };
1128
1128
  /**
1129
1129
  * GroundSegment component for displaying ground transportation
1130
1130
  */
1131
1131
  const GroundSegment = ({ segments, variant = 'light', className = '', }) => {
1132
1132
  if (!segments || segments.length === 0) {
1133
- return (jsxRuntime.jsx(TripSegment, { type: "ground", variant: variant, className: className, children: jsxRuntime.jsx("span", { className: styles$z.empty, children: "No ground transportation" }) }));
1133
+ return (jsxRuntime.jsx(TripSegment, { type: "ground", variant: variant, className: className, children: jsxRuntime.jsx("span", { className: styles$A.empty, children: "No ground transportation" }) }));
1134
1134
  }
1135
- return (jsxRuntime.jsx(TripSegment, { type: "ground", variant: variant, className: className, children: segments.map((segment, i) => (jsxRuntime.jsxs("div", { className: styles$z.item, children: [jsxRuntime.jsxs("div", { className: styles$z.itemHeader, children: [jsxRuntime.jsx(BusIcon$2, {}), jsxRuntime.jsx("span", { className: styles$z.itemType, children: segment.type.charAt(0).toUpperCase() + segment.type.slice(1) })] }), jsxRuntime.jsxs("div", { className: styles$z.route, children: [jsxRuntime.jsx("span", { className: styles$z.location, children: segment.pickupLocation }), jsxRuntime.jsx(ArrowIcon, {}), jsxRuntime.jsx("span", { className: styles$z.location, children: segment.dropoffLocation })] }), jsxRuntime.jsxs("div", { className: styles$z.details, children: [jsxRuntime.jsx("span", { children: segment.pickupDate }), segment.pickupTime && jsxRuntime.jsx("span", { children: segment.pickupTime })] }), segment.company && (jsxRuntime.jsxs("div", { className: styles$z.details, children: [jsxRuntime.jsx("span", { children: segment.company }), segment.vehicleCount && jsxRuntime.jsxs("span", { children: [segment.vehicleCount, " vehicles"] })] }))] }, i))) }));
1135
+ return (jsxRuntime.jsx(TripSegment, { type: "ground", variant: variant, className: className, children: segments.map((segment, i) => (jsxRuntime.jsxs("div", { className: styles$A.item, children: [jsxRuntime.jsxs("div", { className: styles$A.itemHeader, children: [jsxRuntime.jsx(BusIcon$2, {}), jsxRuntime.jsx("span", { className: styles$A.itemType, children: segment.type.charAt(0).toUpperCase() + segment.type.slice(1) })] }), jsxRuntime.jsxs("div", { className: styles$A.route, children: [jsxRuntime.jsx("span", { className: styles$A.location, children: segment.pickupLocation }), jsxRuntime.jsx(ArrowIcon, {}), jsxRuntime.jsx("span", { className: styles$A.location, children: segment.dropoffLocation })] }), jsxRuntime.jsxs("div", { className: styles$A.details, children: [jsxRuntime.jsx("span", { children: segment.pickupDate }), segment.pickupTime && jsxRuntime.jsx("span", { children: segment.pickupTime })] }), segment.company && (jsxRuntime.jsxs("div", { className: styles$A.details, children: [jsxRuntime.jsx("span", { children: segment.company }), segment.vehicleCount && jsxRuntime.jsxs("span", { children: [segment.vehicleCount, " vehicles"] })] }))] }, i))) }));
1136
1136
  };
1137
1137
  /**
1138
1138
  * HotelSegment component for displaying hotel information
1139
1139
  */
1140
1140
  const HotelSegment = ({ hotels, variant = 'light', className = '', }) => {
1141
1141
  if (!hotels || hotels.length === 0) {
1142
- return (jsxRuntime.jsx(TripSegment, { type: "hotel", variant: variant, className: className, children: jsxRuntime.jsx("span", { className: styles$z.empty, children: "No hotels" }) }));
1142
+ return (jsxRuntime.jsx(TripSegment, { type: "hotel", variant: variant, className: className, children: jsxRuntime.jsx("span", { className: styles$A.empty, children: "No hotels" }) }));
1143
1143
  }
1144
- return (jsxRuntime.jsx(TripSegment, { type: "hotel", variant: variant, className: className, children: hotels.map((hotel, i) => (jsxRuntime.jsxs("div", { className: styles$z.item, children: [jsxRuntime.jsxs("div", { className: styles$z.itemHeader, children: [jsxRuntime.jsx(HotelIcon$3, {}), jsxRuntime.jsx("span", { className: styles$z.itemName, children: hotel.name })] }), hotel.city && (jsxRuntime.jsx("div", { className: styles$z.details, children: jsxRuntime.jsx("span", { children: hotel.city }) })), jsxRuntime.jsxs("div", { className: styles$z.dates, children: [jsxRuntime.jsx("span", { children: hotel.checkIn }), jsxRuntime.jsx("span", { children: "\u2013" }), jsxRuntime.jsx("span", { children: hotel.checkOut })] }), hotel.roomCount && (jsxRuntime.jsx("div", { className: styles$z.details, children: jsxRuntime.jsxs("span", { children: [hotel.roomCount, " rooms"] }) }))] }, i))) }));
1144
+ return (jsxRuntime.jsx(TripSegment, { type: "hotel", variant: variant, className: className, children: hotels.map((hotel, i) => (jsxRuntime.jsxs("div", { className: styles$A.item, children: [jsxRuntime.jsxs("div", { className: styles$A.itemHeader, children: [jsxRuntime.jsx(HotelIcon$3, {}), jsxRuntime.jsx("span", { className: styles$A.itemName, children: hotel.name })] }), hotel.city && (jsxRuntime.jsx("div", { className: styles$A.details, children: jsxRuntime.jsx("span", { children: hotel.city }) })), jsxRuntime.jsxs("div", { className: styles$A.dates, children: [jsxRuntime.jsx("span", { children: hotel.checkIn }), jsxRuntime.jsx("span", { children: "\u2013" }), jsxRuntime.jsx("span", { children: hotel.checkOut })] }), hotel.roomCount && (jsxRuntime.jsx("div", { className: styles$A.details, children: jsxRuntime.jsxs("span", { children: [hotel.roomCount, " rooms"] }) }))] }, i))) }));
1145
1145
  };
1146
1146
  TripSegment.displayName = 'TripSegment';
1147
1147
  AirSegment.displayName = 'AirSegment';
1148
1148
  GroundSegment.displayName = 'GroundSegment';
1149
1149
  HotelSegment.displayName = 'HotelSegment';
1150
1150
 
1151
- var styles$y = {"sidenav":"Sidenav-module_sidenav__9DKVg","expanded":"Sidenav-module_expanded__TfkMs","collapsed":"Sidenav-module_collapsed__xyLkg","toggle":"Sidenav-module_toggle__JCoZu","logoContainer":"Sidenav-module_logoContainer__lLl0-","nav":"Sidenav-module_nav__ZwGrU","navItem":"Sidenav-module_navItem__HhFpj","active":"Sidenav-module_active__-oHUp","icon":"Sidenav-module_icon__7XJWf","label":"Sidenav-module_label__DJDBw","footer":"Sidenav-module_footer__EgrDk"};
1151
+ var styles$z = {"sidenav":"Sidenav-module_sidenav__9DKVg","expanded":"Sidenav-module_expanded__TfkMs","collapsed":"Sidenav-module_collapsed__xyLkg","toggle":"Sidenav-module_toggle__JCoZu","logoContainer":"Sidenav-module_logoContainer__lLl0-","nav":"Sidenav-module_nav__ZwGrU","navItem":"Sidenav-module_navItem__HhFpj","active":"Sidenav-module_active__-oHUp","icon":"Sidenav-module_icon__7XJWf","label":"Sidenav-module_label__DJDBw","footer":"Sidenav-module_footer__EgrDk"};
1152
1152
 
1153
1153
  /**
1154
1154
  * Sidenav component for main navigation.
@@ -1157,8 +1157,8 @@ var styles$y = {"sidenav":"Sidenav-module_sidenav__9DKVg","expanded":"Sidenav-mo
1157
1157
  const Sidenav = ({ logo, logoCollapsed, items, activeKey, onItemClick, defaultExpanded = true, footer, className = '', ...props }) => {
1158
1158
  const [expanded, setExpanded] = React.useState(defaultExpanded);
1159
1159
  const classNames = [
1160
- styles$y.sidenav,
1161
- expanded ? styles$y.expanded : styles$y.collapsed,
1160
+ styles$z.sidenav,
1161
+ expanded ? styles$z.expanded : styles$z.collapsed,
1162
1162
  className,
1163
1163
  ]
1164
1164
  .filter(Boolean)
@@ -1171,20 +1171,20 @@ const Sidenav = ({ logo, logoCollapsed, items, activeKey, onItemClick, defaultEx
1171
1171
  onItemClick(item.key);
1172
1172
  }
1173
1173
  };
1174
- return (jsxRuntime.jsxs("aside", { className: classNames, ...props, children: [jsxRuntime.jsx("button", { className: styles$y.toggle, onClick: () => setExpanded(!expanded), "aria-label": expanded ? 'Collapse sidebar' : 'Expand sidebar', children: expanded ? (jsxRuntime.jsx(ChevronLeftIcon, { size: 16 })) : (jsxRuntime.jsx(ChevronRightIcon$1, { size: 16 })) }), jsxRuntime.jsx("div", { className: styles$y.logoContainer, children: expanded ? logo : logoCollapsed || logo }), jsxRuntime.jsx("nav", { className: styles$y.nav, children: items.map((item) => {
1174
+ return (jsxRuntime.jsxs("aside", { className: classNames, ...props, children: [jsxRuntime.jsx("button", { className: styles$z.toggle, onClick: () => setExpanded(!expanded), "aria-label": expanded ? 'Collapse sidebar' : 'Expand sidebar', children: expanded ? (jsxRuntime.jsx(ChevronLeftIcon, { size: 16 })) : (jsxRuntime.jsx(ChevronRightIcon$1, { size: 16 })) }), jsxRuntime.jsx("div", { className: styles$z.logoContainer, children: expanded ? logo : logoCollapsed || logo }), jsxRuntime.jsx("nav", { className: styles$z.nav, children: items.map((item) => {
1175
1175
  const isActive = item.key === activeKey;
1176
1176
  const itemClasses = [
1177
- styles$y.navItem,
1178
- isActive ? styles$y.active : '',
1177
+ styles$z.navItem,
1178
+ isActive ? styles$z.active : '',
1179
1179
  ]
1180
1180
  .filter(Boolean)
1181
1181
  .join(' ');
1182
- return (jsxRuntime.jsxs("button", { className: itemClasses, onClick: () => handleItemClick(item), "aria-current": isActive ? 'page' : undefined, title: !expanded ? item.label : undefined, children: [jsxRuntime.jsx("span", { className: styles$y.icon, children: item.icon }), expanded && jsxRuntime.jsx("span", { className: styles$y.label, children: item.label })] }, item.key));
1183
- }) }), footer && jsxRuntime.jsx("div", { className: styles$y.footer, children: footer })] }));
1182
+ return (jsxRuntime.jsxs("button", { className: itemClasses, onClick: () => handleItemClick(item), "aria-current": isActive ? 'page' : undefined, title: !expanded ? item.label : undefined, children: [jsxRuntime.jsx("span", { className: styles$z.icon, children: item.icon }), expanded && jsxRuntime.jsx("span", { className: styles$z.label, children: item.label })] }, item.key));
1183
+ }) }), footer && jsxRuntime.jsx("div", { className: styles$z.footer, children: footer })] }));
1184
1184
  };
1185
1185
  Sidenav.displayName = 'Sidenav';
1186
1186
 
1187
- var styles$x = {"topbar":"Topbar-module_topbar__U9CDj","left":"Topbar-module_left__m4aap","accountWrapper":"Topbar-module_accountWrapper__5mjDZ","accountSelector":"Topbar-module_accountSelector__iqI--","open":"Topbar-module_open__2Xsp1","accountCode":"Topbar-module_accountCode__KMKWm","accountName":"Topbar-module_accountName__XZYjB","chevron":"Topbar-module_chevron__OSXcD","chevronOpen":"Topbar-module_chevronOpen__jVvEl","dropdown":"Topbar-module_dropdown__fA5Gw","dropdownSearch":"Topbar-module_dropdownSearch__9zqy3","searchIcon":"Topbar-module_searchIcon__sHGnK","searchInput":"Topbar-module_searchInput__1TSc3","dropdownList":"Topbar-module_dropdownList__P4q9b","dropdownItem":"Topbar-module_dropdownItem__w-eHf","selected":"Topbar-module_selected__MylKY","dropdownItemCode":"Topbar-module_dropdownItemCode__cUAn6","dropdownItemName":"Topbar-module_dropdownItemName__MYw3k","noResults":"Topbar-module_noResults__PkNfT","actions":"Topbar-module_actions__KtaiZ"};
1187
+ var styles$y = {"topbar":"Topbar-module_topbar__U9CDj","left":"Topbar-module_left__m4aap","accountWrapper":"Topbar-module_accountWrapper__5mjDZ","accountSelector":"Topbar-module_accountSelector__iqI--","open":"Topbar-module_open__2Xsp1","accountCode":"Topbar-module_accountCode__KMKWm","accountName":"Topbar-module_accountName__XZYjB","chevron":"Topbar-module_chevron__OSXcD","chevronOpen":"Topbar-module_chevronOpen__jVvEl","dropdown":"Topbar-module_dropdown__fA5Gw","dropdownSearch":"Topbar-module_dropdownSearch__9zqy3","searchIcon":"Topbar-module_searchIcon__sHGnK","searchInput":"Topbar-module_searchInput__1TSc3","dropdownList":"Topbar-module_dropdownList__P4q9b","dropdownItem":"Topbar-module_dropdownItem__w-eHf","selected":"Topbar-module_selected__MylKY","dropdownItemCode":"Topbar-module_dropdownItemCode__cUAn6","dropdownItemName":"Topbar-module_dropdownItemName__MYw3k","noResults":"Topbar-module_noResults__PkNfT","actions":"Topbar-module_actions__KtaiZ"};
1188
1188
 
1189
1189
  /**
1190
1190
  * Topbar component for the main header.
@@ -1195,7 +1195,7 @@ const Topbar = ({ account, accounts, onAccountSelect, onAccountClick, actions, l
1195
1195
  const [searchQuery, setSearchQuery] = React.useState('');
1196
1196
  const dropdownRef = React.useRef(null);
1197
1197
  const searchInputRef = React.useRef(null);
1198
- const classNames = [styles$x.topbar, className].filter(Boolean).join(' ');
1198
+ const classNames = [styles$y.topbar, className].filter(Boolean).join(' ');
1199
1199
  // Close dropdown on outside click
1200
1200
  React.useEffect(() => {
1201
1201
  if (!isOpen)
@@ -1244,27 +1244,27 @@ const Topbar = ({ account, accounts, onAccountSelect, onAccountClick, actions, l
1244
1244
  const filteredAccounts = accounts?.filter(acc => acc.name.toLowerCase().includes(searchQuery.toLowerCase()) ||
1245
1245
  acc.code.toLowerCase().includes(searchQuery.toLowerCase())) || [];
1246
1246
  const hasDropdown = accounts && accounts.length > 0;
1247
- return (jsxRuntime.jsxs("header", { className: classNames, ...props, children: [jsxRuntime.jsxs("div", { className: styles$x.left, children: [leftContent, account && (jsxRuntime.jsxs("div", { className: styles$x.accountWrapper, ref: dropdownRef, children: [jsxRuntime.jsxs("button", { className: `${styles$x.accountSelector} ${isOpen ? styles$x.open : ''}`, onClick: handleToggle, "aria-expanded": isOpen, "aria-haspopup": hasDropdown ? 'listbox' : undefined, children: [jsxRuntime.jsx("span", { className: styles$x.accountCode, children: account.code }), jsxRuntime.jsx("span", { className: styles$x.accountName, children: account.name }), hasDropdown && (jsxRuntime.jsx(ChevronDownIcon$1, { size: 16, className: `${styles$x.chevron} ${isOpen ? styles$x.chevronOpen : ''}` }))] }), isOpen && hasDropdown && (jsxRuntime.jsxs("div", { className: styles$x.dropdown, role: "listbox", children: [jsxRuntime.jsxs("div", { className: styles$x.dropdownSearch, children: [jsxRuntime.jsxs("svg", { className: styles$x.searchIcon, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "8" }), jsxRuntime.jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })] }), jsxRuntime.jsx("input", { ref: searchInputRef, type: "text", value: searchQuery, onChange: (e) => setSearchQuery(e.target.value), placeholder: "Search accounts...", className: styles$x.searchInput })] }), jsxRuntime.jsx("div", { className: styles$x.dropdownList, children: filteredAccounts.length > 0 ? (filteredAccounts.map((acc) => (jsxRuntime.jsxs("button", { className: `${styles$x.dropdownItem} ${acc.code === account.code ? styles$x.selected : ''}`, onClick: () => handleSelectAccount(acc), role: "option", "aria-selected": acc.code === account.code, children: [jsxRuntime.jsx("span", { className: styles$x.dropdownItemCode, children: acc.code }), jsxRuntime.jsx("span", { className: styles$x.dropdownItemName, children: acc.name })] }, acc.code)))) : (jsxRuntime.jsx("div", { className: styles$x.noResults, children: "No accounts found" })) })] }))] }))] }), actions && jsxRuntime.jsx("div", { className: styles$x.actions, children: actions })] }));
1247
+ return (jsxRuntime.jsxs("header", { className: classNames, ...props, children: [jsxRuntime.jsxs("div", { className: styles$y.left, children: [leftContent, account && (jsxRuntime.jsxs("div", { className: styles$y.accountWrapper, ref: dropdownRef, children: [jsxRuntime.jsxs("button", { className: `${styles$y.accountSelector} ${isOpen ? styles$y.open : ''}`, onClick: handleToggle, "aria-expanded": isOpen, "aria-haspopup": hasDropdown ? 'listbox' : undefined, children: [jsxRuntime.jsx("span", { className: styles$y.accountCode, children: account.code }), jsxRuntime.jsx("span", { className: styles$y.accountName, children: account.name }), hasDropdown && (jsxRuntime.jsx(ChevronDownIcon$1, { size: 16, className: `${styles$y.chevron} ${isOpen ? styles$y.chevronOpen : ''}` }))] }), isOpen && hasDropdown && (jsxRuntime.jsxs("div", { className: styles$y.dropdown, role: "listbox", children: [jsxRuntime.jsxs("div", { className: styles$y.dropdownSearch, children: [jsxRuntime.jsxs("svg", { className: styles$y.searchIcon, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "8" }), jsxRuntime.jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })] }), jsxRuntime.jsx("input", { ref: searchInputRef, type: "text", value: searchQuery, onChange: (e) => setSearchQuery(e.target.value), placeholder: "Search accounts...", className: styles$y.searchInput })] }), jsxRuntime.jsx("div", { className: styles$y.dropdownList, children: filteredAccounts.length > 0 ? (filteredAccounts.map((acc) => (jsxRuntime.jsxs("button", { className: `${styles$y.dropdownItem} ${acc.code === account.code ? styles$y.selected : ''}`, onClick: () => handleSelectAccount(acc), role: "option", "aria-selected": acc.code === account.code, children: [jsxRuntime.jsx("span", { className: styles$y.dropdownItemCode, children: acc.code }), jsxRuntime.jsx("span", { className: styles$y.dropdownItemName, children: acc.name })] }, acc.code)))) : (jsxRuntime.jsx("div", { className: styles$y.noResults, children: "No accounts found" })) })] }))] }))] }), actions && jsxRuntime.jsx("div", { className: styles$y.actions, children: actions })] }));
1248
1248
  };
1249
1249
  Topbar.displayName = 'Topbar';
1250
1250
 
1251
- var styles$w = {"appLayout":"AppLayout-module_appLayout__NFbZk","mainArea":"AppLayout-module_mainArea__t-6oq","content":"AppLayout-module_content__5kV7S"};
1251
+ var styles$x = {"appLayout":"AppLayout-module_appLayout__NFbZk","mainArea":"AppLayout-module_mainArea__t-6oq","content":"AppLayout-module_content__5kV7S"};
1252
1252
 
1253
1253
  const AppLayout = ({ navItems = [], activeNavKey, logo, collapsedLogo, account, defaultExpanded = true, onNavItemClick, onAccountClick, children, navFooter, topbarActions, className, }) => {
1254
- return (jsxRuntime.jsxs("div", { className: `${styles$w.appLayout} ${className || ''}`, children: [jsxRuntime.jsx(Sidenav, { items: navItems, activeKey: activeNavKey, defaultExpanded: defaultExpanded, onItemClick: onNavItemClick, logo: logo, logoCollapsed: collapsedLogo, footer: navFooter }), jsxRuntime.jsxs("div", { className: styles$w.mainArea, children: [jsxRuntime.jsx(Topbar, { account: account, onAccountClick: onAccountClick, actions: topbarActions }), jsxRuntime.jsx("main", { className: styles$w.content, children: children })] })] }));
1254
+ return (jsxRuntime.jsxs("div", { className: `${styles$x.appLayout} ${className || ''}`, children: [jsxRuntime.jsx(Sidenav, { items: navItems, activeKey: activeNavKey, defaultExpanded: defaultExpanded, onItemClick: onNavItemClick, logo: logo, logoCollapsed: collapsedLogo, footer: navFooter }), jsxRuntime.jsxs("div", { className: styles$x.mainArea, children: [jsxRuntime.jsx(Topbar, { account: account, onAccountClick: onAccountClick, actions: topbarActions }), jsxRuntime.jsx("main", { className: styles$x.content, children: children })] })] }));
1255
1255
  };
1256
1256
 
1257
- var styles$v = {"card":"Card-module_card__Ak6-W","default":"Card-module_default__e-M3H","bordered":"Card-module_bordered__pUL4k","elevated":"Card-module_elevated__8f-WS","interactive":"Card-module_interactive__6B4fH","padding-none":"Card-module_padding-none__c1qKN","padding-sm":"Card-module_padding-sm__Uejon","padding-md":"Card-module_padding-md__kR4F9","padding-lg":"Card-module_padding-lg__MleX9","header":"Card-module_header__NiVTV","headerContent":"Card-module_headerContent__LyJRB","title":"Card-module_title__3DN1v","subtitle":"Card-module_subtitle__gE5L-","actions":"Card-module_actions__gHmpq","body":"Card-module_body__BU4oo","footer":"Card-module_footer__zjjTd"};
1257
+ var styles$w = {"card":"Card-module_card__Ak6-W","default":"Card-module_default__e-M3H","bordered":"Card-module_bordered__pUL4k","elevated":"Card-module_elevated__8f-WS","interactive":"Card-module_interactive__6B4fH","padding-none":"Card-module_padding-none__c1qKN","padding-sm":"Card-module_padding-sm__Uejon","padding-md":"Card-module_padding-md__kR4F9","padding-lg":"Card-module_padding-lg__MleX9","header":"Card-module_header__NiVTV","headerContent":"Card-module_headerContent__LyJRB","title":"Card-module_title__3DN1v","subtitle":"Card-module_subtitle__gE5L-","actions":"Card-module_actions__gHmpq","body":"Card-module_body__BU4oo","footer":"Card-module_footer__zjjTd"};
1258
1258
 
1259
1259
  /**
1260
1260
  * Card component for grouping related content.
1261
1261
  */
1262
1262
  const Card = React.forwardRef(({ variant = 'default', padding = 'md', interactive = false, className = '', children, ...props }, ref) => {
1263
1263
  const classNames = [
1264
- styles$v.card,
1265
- styles$v[variant],
1266
- styles$v[`padding-${padding}`],
1267
- interactive ? styles$v.interactive : '',
1264
+ styles$w.card,
1265
+ styles$w[variant],
1266
+ styles$w[`padding-${padding}`],
1267
+ interactive ? styles$w.interactive : '',
1268
1268
  className,
1269
1269
  ]
1270
1270
  .filter(Boolean)
@@ -1273,22 +1273,22 @@ const Card = React.forwardRef(({ variant = 'default', padding = 'md', interactiv
1273
1273
  });
1274
1274
  Card.displayName = 'Card';
1275
1275
  const CardHeader = ({ title, subtitle, actions, className = '', children, ...props }) => {
1276
- const classNames = [styles$v.header, className].filter(Boolean).join(' ');
1277
- return (jsxRuntime.jsxs("div", { className: classNames, ...props, children: [jsxRuntime.jsxs("div", { className: styles$v.headerContent, children: [title && jsxRuntime.jsx("h3", { className: styles$v.title, children: title }), subtitle && jsxRuntime.jsx("p", { className: styles$v.subtitle, children: subtitle }), children] }), actions && jsxRuntime.jsx("div", { className: styles$v.actions, children: actions })] }));
1276
+ const classNames = [styles$w.header, className].filter(Boolean).join(' ');
1277
+ return (jsxRuntime.jsxs("div", { className: classNames, ...props, children: [jsxRuntime.jsxs("div", { className: styles$w.headerContent, children: [title && jsxRuntime.jsx("h3", { className: styles$w.title, children: title }), subtitle && jsxRuntime.jsx("p", { className: styles$w.subtitle, children: subtitle }), children] }), actions && jsxRuntime.jsx("div", { className: styles$w.actions, children: actions })] }));
1278
1278
  };
1279
1279
  CardHeader.displayName = 'CardHeader';
1280
1280
  const CardBody = ({ className = '', children, ...props }) => {
1281
- const classNames = [styles$v.body, className].filter(Boolean).join(' ');
1281
+ const classNames = [styles$w.body, className].filter(Boolean).join(' ');
1282
1282
  return (jsxRuntime.jsx("div", { className: classNames, ...props, children: children }));
1283
1283
  };
1284
1284
  CardBody.displayName = 'CardBody';
1285
1285
  const CardFooter = ({ className = '', children, ...props }) => {
1286
- const classNames = [styles$v.footer, className].filter(Boolean).join(' ');
1286
+ const classNames = [styles$w.footer, className].filter(Boolean).join(' ');
1287
1287
  return (jsxRuntime.jsx("div", { className: classNames, ...props, children: children }));
1288
1288
  };
1289
1289
  CardFooter.displayName = 'CardFooter';
1290
1290
 
1291
- var styles$u = {"container":"ContactList-module_container__1kjze","alert":"ContactList-module_alert__KC0tz","card":"ContactList-module_card__TOyp2","header":"ContactList-module_header__QysLx","titleRow":"ContactList-module_titleRow__tUDMS","title":"ContactList-module_title__R-IOd","tooltip":"ContactList-module_tooltip__DDMka","list":"ContactList-module_list__6tjo-","contactItem":"ContactList-module_contactItem__4SoW-","contactInfo":"ContactList-module_contactInfo__6cQpi","contactName":"ContactList-module_contactName__z748K","badge":"ContactList-module_badge__USFpb","badgeSecondary":"ContactList-module_badgeSecondary__OSwqF","contactRole":"ContactList-module_contactRole__6kfuQ","contactDetails":"ContactList-module_contactDetails__ihY0M","contactLink":"ContactList-module_contactLink__sWGp9","contactPhone":"ContactList-module_contactPhone__dUn6z","contactActions":"ContactList-module_contactActions__6WT-z","actionButton":"ContactList-module_actionButton__aPnGZ","actionButtonDanger":"ContactList-module_actionButtonDanger__yRBz0","empty":"ContactList-module_empty__bRTDB","footer":"ContactList-module_footer__18gB-","addButton":"ContactList-module_addButton__STUhp"};
1291
+ var styles$v = {"container":"ContactList-module_container__1kjze","alert":"ContactList-module_alert__KC0tz","card":"ContactList-module_card__TOyp2","header":"ContactList-module_header__QysLx","titleRow":"ContactList-module_titleRow__tUDMS","title":"ContactList-module_title__R-IOd","tooltip":"ContactList-module_tooltip__DDMka","list":"ContactList-module_list__6tjo-","contactItem":"ContactList-module_contactItem__4SoW-","contactInfo":"ContactList-module_contactInfo__6cQpi","contactName":"ContactList-module_contactName__z748K","badge":"ContactList-module_badge__USFpb","badgeSecondary":"ContactList-module_badgeSecondary__OSwqF","contactRole":"ContactList-module_contactRole__6kfuQ","contactDetails":"ContactList-module_contactDetails__ihY0M","contactLink":"ContactList-module_contactLink__sWGp9","contactPhone":"ContactList-module_contactPhone__dUn6z","contactActions":"ContactList-module_contactActions__6WT-z","actionButton":"ContactList-module_actionButton__aPnGZ","actionButtonDanger":"ContactList-module_actionButtonDanger__yRBz0","empty":"ContactList-module_empty__bRTDB","footer":"ContactList-module_footer__18gB-","addButton":"ContactList-module_addButton__STUhp"};
1292
1292
 
1293
1293
  const InfoIcon = () => (jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }), jsxRuntime.jsx("line", { x1: "12", y1: "16", x2: "12", y2: "12" }), jsxRuntime.jsx("line", { x1: "12", y1: "8", x2: "12.01", y2: "8" })] }));
1294
1294
  const EditIcon$1 = () => (jsxRuntime.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [jsxRuntime.jsx("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }), jsxRuntime.jsx("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })] }));
@@ -1299,18 +1299,18 @@ const PlusIcon$1 = () => (jsxRuntime.jsxs("svg", { width: "16", height: "16", vi
1299
1299
  */
1300
1300
  const ContactList = ({ title = 'Contacts', tooltip, contacts, onEdit, onRemove, onAdd, showAdd = true, addLabel = 'Add Contact', alert, className = '', }) => {
1301
1301
  const listClasses = [
1302
- styles$u.container,
1302
+ styles$v.container,
1303
1303
  className,
1304
1304
  ].filter(Boolean).join(' ');
1305
- return (jsxRuntime.jsxs("div", { className: listClasses, children: [alert && (jsxRuntime.jsx("div", { className: styles$u.alert, children: alert })), jsxRuntime.jsxs("div", { className: styles$u.card, children: [jsxRuntime.jsx("div", { className: styles$u.header, children: jsxRuntime.jsxs("div", { className: styles$u.titleRow, children: [jsxRuntime.jsx("h3", { className: styles$u.title, children: title }), tooltip && (jsxRuntime.jsx("span", { className: styles$u.tooltip, children: jsxRuntime.jsx(InfoIcon, {}) }))] }) }), jsxRuntime.jsxs("div", { className: styles$u.list, children: [contacts.map((contact) => (jsxRuntime.jsxs("div", { className: styles$u.contactItem, children: [jsxRuntime.jsxs("div", { className: styles$u.contactInfo, children: [jsxRuntime.jsxs("div", { className: styles$u.contactName, children: [contact.name, contact.isPrimary && (jsxRuntime.jsx("span", { className: styles$u.badge, children: "Primary" })), contact.isSecondary && (jsxRuntime.jsx("span", { className: `${styles$u.badge} ${styles$u.badgeSecondary}`, children: "Secondary" }))] }), contact.role && (jsxRuntime.jsx("div", { className: styles$u.contactRole, children: contact.role })), jsxRuntime.jsxs("div", { className: styles$u.contactDetails, children: [contact.email && (jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, className: styles$u.contactLink, children: contact.email })), contact.phone && (jsxRuntime.jsx("span", { className: styles$u.contactPhone, children: contact.phone }))] })] }), jsxRuntime.jsxs("div", { className: styles$u.contactActions, children: [onEdit && (jsxRuntime.jsx("button", { type: "button", className: styles$u.actionButton, onClick: () => onEdit(contact), "aria-label": "Edit contact", children: jsxRuntime.jsx(EditIcon$1, {}) })), onRemove && (jsxRuntime.jsx("button", { type: "button", className: `${styles$u.actionButton} ${styles$u.actionButtonDanger}`, onClick: () => onRemove(contact), "aria-label": "Remove contact", children: jsxRuntime.jsx(TrashIcon$1, {}) }))] })] }, contact.id))), contacts.length === 0 && (jsxRuntime.jsx("div", { className: styles$u.empty, children: "No contacts added" }))] }), showAdd && onAdd && (jsxRuntime.jsx("div", { className: styles$u.footer, children: jsxRuntime.jsxs("button", { type: "button", className: styles$u.addButton, onClick: onAdd, children: [jsxRuntime.jsx(PlusIcon$1, {}), addLabel] }) }))] })] }));
1305
+ return (jsxRuntime.jsxs("div", { className: listClasses, children: [alert && (jsxRuntime.jsx("div", { className: styles$v.alert, children: alert })), jsxRuntime.jsxs("div", { className: styles$v.card, children: [jsxRuntime.jsx("div", { className: styles$v.header, children: jsxRuntime.jsxs("div", { className: styles$v.titleRow, children: [jsxRuntime.jsx("h3", { className: styles$v.title, children: title }), tooltip && (jsxRuntime.jsx("span", { className: styles$v.tooltip, children: jsxRuntime.jsx(InfoIcon, {}) }))] }) }), jsxRuntime.jsxs("div", { className: styles$v.list, children: [contacts.map((contact) => (jsxRuntime.jsxs("div", { className: styles$v.contactItem, children: [jsxRuntime.jsxs("div", { className: styles$v.contactInfo, children: [jsxRuntime.jsxs("div", { className: styles$v.contactName, children: [contact.name, contact.isPrimary && (jsxRuntime.jsx("span", { className: styles$v.badge, children: "Primary" })), contact.isSecondary && (jsxRuntime.jsx("span", { className: `${styles$v.badge} ${styles$v.badgeSecondary}`, children: "Secondary" }))] }), contact.role && (jsxRuntime.jsx("div", { className: styles$v.contactRole, children: contact.role })), jsxRuntime.jsxs("div", { className: styles$v.contactDetails, children: [contact.email && (jsxRuntime.jsx("a", { href: `mailto:${contact.email}`, className: styles$v.contactLink, children: contact.email })), contact.phone && (jsxRuntime.jsx("span", { className: styles$v.contactPhone, children: contact.phone }))] })] }), jsxRuntime.jsxs("div", { className: styles$v.contactActions, children: [onEdit && (jsxRuntime.jsx("button", { type: "button", className: styles$v.actionButton, onClick: () => onEdit(contact), "aria-label": "Edit contact", children: jsxRuntime.jsx(EditIcon$1, {}) })), onRemove && (jsxRuntime.jsx("button", { type: "button", className: `${styles$v.actionButton} ${styles$v.actionButtonDanger}`, onClick: () => onRemove(contact), "aria-label": "Remove contact", children: jsxRuntime.jsx(TrashIcon$1, {}) }))] })] }, contact.id))), contacts.length === 0 && (jsxRuntime.jsx("div", { className: styles$v.empty, children: "No contacts added" }))] }), showAdd && onAdd && (jsxRuntime.jsx("div", { className: styles$v.footer, children: jsxRuntime.jsxs("button", { type: "button", className: styles$v.addButton, onClick: onAdd, children: [jsxRuntime.jsx(PlusIcon$1, {}), addLabel] }) }))] })] }));
1306
1306
  };
1307
1307
  ContactList.displayName = 'ContactList';
1308
1308
 
1309
- var styles$t = {"container":"Drawer-module_container__hXuOY","backdrop":"Drawer-module_backdrop__MIipQ","fadeIn":"Drawer-module_fadeIn__QsuvQ","backdropOpen":"Drawer-module_backdropOpen__YpH--","drawer":"Drawer-module_drawer__EHbbs","right":"Drawer-module_right__x6P6Q","drawerOpen":"Drawer-module_drawerOpen__KTgFg","left":"Drawer-module_left__aVF9t","top":"Drawer-module_top__wuvhi","bottom":"Drawer-module_bottom__rt-VZ","sizeSm":"Drawer-module_sizeSm__LFrm3","sizeMd":"Drawer-module_sizeMd__A1QTQ","sizeLg":"Drawer-module_sizeLg__6laD8","sizeXl":"Drawer-module_sizeXl__FY9mZ","sizeFull":"Drawer-module_sizeFull__BGQ1q","header":"Drawer-module_header__MpR14","headerContent":"Drawer-module_headerContent__dFcLH","title":"Drawer-module_title__0AmOX","closeButton":"Drawer-module_closeButton__VuXsE","body":"Drawer-module_body__GLUGo","footer":"Drawer-module_footer__K5ekS"};
1309
+ var styles$u = {"container":"Drawer-module_container__hXuOY","backdrop":"Drawer-module_backdrop__MIipQ","fadeIn":"Drawer-module_fadeIn__QsuvQ","backdropOpen":"Drawer-module_backdropOpen__YpH--","drawer":"Drawer-module_drawer__EHbbs","right":"Drawer-module_right__x6P6Q","drawerOpen":"Drawer-module_drawerOpen__KTgFg","left":"Drawer-module_left__aVF9t","top":"Drawer-module_top__wuvhi","bottom":"Drawer-module_bottom__rt-VZ","sizeSm":"Drawer-module_sizeSm__LFrm3","sizeMd":"Drawer-module_sizeMd__A1QTQ","sizeLg":"Drawer-module_sizeLg__6laD8","sizeXl":"Drawer-module_sizeXl__FY9mZ","sizeFull":"Drawer-module_sizeFull__BGQ1q","header":"Drawer-module_header__MpR14","headerContent":"Drawer-module_headerContent__dFcLH","title":"Drawer-module_title__0AmOX","closeButton":"Drawer-module_closeButton__VuXsE","body":"Drawer-module_body__GLUGo","footer":"Drawer-module_footer__K5ekS"};
1310
1310
 
1311
- const DrawerHeader = ({ title, children, showClose = true, onClose, className = '', }) => (jsxRuntime.jsxs("div", { className: `${styles$t.header} ${className}`, children: [jsxRuntime.jsxs("div", { className: styles$t.headerContent, children: [title && jsxRuntime.jsx("h2", { className: styles$t.title, children: title }), children] }), showClose && (jsxRuntime.jsx("button", { type: "button", className: styles$t.closeButton, onClick: onClose, "aria-label": "Close drawer", children: jsxRuntime.jsx("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) }))] }));
1312
- const DrawerBody = ({ children, className = '' }) => (jsxRuntime.jsx("div", { className: `${styles$t.body} ${className}`, children: children }));
1313
- const DrawerFooter = ({ children, className = '' }) => (jsxRuntime.jsx("div", { className: `${styles$t.footer} ${className}`, children: children }));
1311
+ const DrawerHeader = ({ title, children, showClose = true, onClose, className = '', }) => (jsxRuntime.jsxs("div", { className: `${styles$u.header} ${className}`, children: [jsxRuntime.jsxs("div", { className: styles$u.headerContent, children: [title && jsxRuntime.jsx("h2", { className: styles$u.title, children: title }), children] }), showClose && (jsxRuntime.jsx("button", { type: "button", className: styles$u.closeButton, onClick: onClose, "aria-label": "Close drawer", children: jsxRuntime.jsx("svg", { width: "20", height: "20", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) }))] }));
1312
+ const DrawerBody = ({ children, className = '' }) => (jsxRuntime.jsx("div", { className: `${styles$u.body} ${className}`, children: children }));
1313
+ const DrawerFooter = ({ children, className = '' }) => (jsxRuntime.jsx("div", { className: `${styles$u.footer} ${className}`, children: children }));
1314
1314
  const Drawer = ({ isOpen, onClose, position = 'right', size = 'md', children, closeOnBackdropClick = true, closeOnEscape = true, showBackdrop = true, className = '', }) => {
1315
1315
  const handleEscape = React.useCallback((e) => {
1316
1316
  if (closeOnEscape && e.key === 'Escape') {
@@ -1334,7 +1334,7 @@ const Drawer = ({ isOpen, onClose, position = 'right', size = 'md', children, cl
1334
1334
  };
1335
1335
  if (!isOpen)
1336
1336
  return null;
1337
- return (jsxRuntime.jsxs("div", { className: styles$t.container, children: [showBackdrop && (jsxRuntime.jsx("div", { className: `${styles$t.backdrop} ${isOpen ? styles$t.backdropOpen : ''}`, onClick: handleBackdropClick })), jsxRuntime.jsx("div", { className: `${styles$t.drawer} ${styles$t[position]} ${styles$t[`size${size.charAt(0).toUpperCase()}${size.slice(1)}`]} ${isOpen ? styles$t.drawerOpen : ''} ${className}`, role: "dialog", "aria-modal": "true", children: React.Children.map(children, (child) => {
1337
+ return (jsxRuntime.jsxs("div", { className: styles$u.container, children: [showBackdrop && (jsxRuntime.jsx("div", { className: `${styles$u.backdrop} ${isOpen ? styles$u.backdropOpen : ''}`, onClick: handleBackdropClick })), jsxRuntime.jsx("div", { className: `${styles$u.drawer} ${styles$u[position]} ${styles$u[`size${size.charAt(0).toUpperCase()}${size.slice(1)}`]} ${isOpen ? styles$u.drawerOpen : ''} ${className}`, role: "dialog", "aria-modal": "true", children: React.Children.map(children, (child) => {
1338
1338
  if (React.isValidElement(child) && child.type === DrawerHeader) {
1339
1339
  return React.cloneElement(child, {
1340
1340
  onClose,
@@ -1347,7 +1347,7 @@ Drawer.Header = DrawerHeader;
1347
1347
  Drawer.Body = DrawerBody;
1348
1348
  Drawer.Footer = DrawerFooter;
1349
1349
 
1350
- var styles$s = {"drawer":"DueDatesDrawer-module_drawer__TqC4Q","open":"DueDatesDrawer-module_open__Yblf3","body":"DueDatesDrawer-module_body__OwwF-","search":"DueDatesDrawer-module_search__g7-Rl","cards":"DueDatesDrawer-module_cards__bFG90","empty":"DueDatesDrawer-module_empty__K2ULN","card":"DueDatesDrawer-module_card__4Os-5","cardTitle":"DueDatesDrawer-module_cardTitle__fU-cP","status":"DueDatesDrawer-module_status__dXifz","completed":"DueDatesDrawer-module_completed__jWoYi","pastDue":"DueDatesDrawer-module_pastDue__TSikC","tags":"DueDatesDrawer-module_tags__8P87y","completion":"DueDatesDrawer-module_completion__mIrWm"};
1350
+ var styles$t = {"drawer":"DueDatesDrawer-module_drawer__TqC4Q","open":"DueDatesDrawer-module_open__Yblf3","body":"DueDatesDrawer-module_body__OwwF-","search":"DueDatesDrawer-module_search__g7-Rl","cards":"DueDatesDrawer-module_cards__bFG90","empty":"DueDatesDrawer-module_empty__K2ULN","card":"DueDatesDrawer-module_card__4Os-5","cardTitle":"DueDatesDrawer-module_cardTitle__fU-cP","status":"DueDatesDrawer-module_status__dXifz","completed":"DueDatesDrawer-module_completed__jWoYi","pastDue":"DueDatesDrawer-module_pastDue__TSikC","tags":"DueDatesDrawer-module_tags__8P87y","completion":"DueDatesDrawer-module_completion__mIrWm"};
1351
1351
 
1352
1352
  const isTravelDueDateCompleted = (item) => item.status.trim().toLowerCase() === 'completed' || !!item.completeddatetime;
1353
1353
  const parseLocalDate$1 = (value) => {
@@ -1363,7 +1363,7 @@ const DueDateCard = ({ item, onToggle, onTaskClick }) => {
1363
1363
  const completed = isTravelDueDateCompleted(item);
1364
1364
  const dueDate = parseLocalDate$1(item.duedate);
1365
1365
  const pastDue = !!dueDate && dueDate < new Date() && !completed;
1366
- return (jsxRuntime.jsxs("article", { className: styles$s.card, children: [jsxRuntime.jsxs("div", { className: styles$s.cardTitle, children: [jsxRuntime.jsx("button", { type: "button", "aria-label": `${completed ? 'Reopen' : 'Complete'} ${item.tasktitle}`, className: [styles$s.status, completed ? styles$s.completed : pastDue ? styles$s.pastDue : ''].filter(Boolean).join(' '), onClick: () => onToggle?.(item), children: completed ? jsxRuntime.jsx(CheckIcon$2, { size: 12 }) : null }), jsxRuntime.jsx("h5", { children: item.tasktitle })] }), item.description && jsxRuntime.jsx("p", { children: item.description }), jsxRuntime.jsxs("div", { className: styles$s.tags, children: [jsxRuntime.jsx("span", { style: { backgroundColor: sportColor(item.sportCode) }, children: item.sportCode }), jsxRuntime.jsx("button", { type: "button", disabled: !item.masterTripGUID || !onTaskClick, onClick: () => item.masterTripGUID && onTaskClick?.(item.masterTripGUID), children: item.tripName })] }), completed && item.completeddatetime && jsxRuntime.jsxs("div", { className: styles$s.completion, children: [jsxRuntime.jsx(CheckIcon$2, { size: 14 }), jsxRuntime.jsxs("span", { children: [jsxRuntime.jsx("em", { children: "on" }), " ", formatDate$2(item.completeddatetime, { month: 'numeric', day: 'numeric', year: '2-digit' }), " ", jsxRuntime.jsx("em", { children: "by" }), " ", item.completedby] })] })] }));
1366
+ return (jsxRuntime.jsxs("article", { className: styles$t.card, children: [jsxRuntime.jsxs("div", { className: styles$t.cardTitle, children: [jsxRuntime.jsx("button", { type: "button", "aria-label": `${completed ? 'Reopen' : 'Complete'} ${item.tasktitle}`, className: [styles$t.status, completed ? styles$t.completed : pastDue ? styles$t.pastDue : ''].filter(Boolean).join(' '), onClick: () => onToggle?.(item), children: completed ? jsxRuntime.jsx(CheckIcon$2, { size: 12 }) : null }), jsxRuntime.jsx("h5", { children: item.tasktitle })] }), item.description && jsxRuntime.jsx("p", { children: item.description }), jsxRuntime.jsxs("div", { className: styles$t.tags, children: [jsxRuntime.jsx("span", { style: { backgroundColor: sportColor(item.sportCode) }, children: item.sportCode }), jsxRuntime.jsx("button", { type: "button", disabled: !item.masterTripGUID || !onTaskClick, onClick: () => item.masterTripGUID && onTaskClick?.(item.masterTripGUID), children: item.tripName })] }), completed && item.completeddatetime && jsxRuntime.jsxs("div", { className: styles$t.completion, children: [jsxRuntime.jsx(CheckIcon$2, { size: 14 }), jsxRuntime.jsxs("span", { children: [jsxRuntime.jsx("em", { children: "on" }), " ", formatDate$2(item.completeddatetime, { month: 'numeric', day: 'numeric', year: '2-digit' }), " ", jsxRuntime.jsx("em", { children: "by" }), " ", item.completedby] })] })] }));
1367
1367
  };
1368
1368
  /** Hub's searchable, status-aware due-dates drawer. */
1369
1369
  const DueDatesDrawer = ({ isOpen, dueDates, selectedDate, selectedTrip, onClose, onToggle, onTaskClick, className = '' }) => {
@@ -1375,7 +1375,46 @@ const DueDatesDrawer = ({ isOpen, dueDates, selectedDate, selectedTrip, onClose,
1375
1375
  const matches = items.filter((item) => (!selectedTrip || item.masterTripGUID === String(selectedTrip)) && (!normalized || item.tasktitle.toLowerCase().includes(normalized) || item.sportCode.toLowerCase().includes(normalized) || item.description.toLowerCase().includes(normalized)));
1376
1376
  return matches.length ? [[date, matches]] : [];
1377
1377
  })), [dueDates, search, selectedDate, selectedTrip]);
1378
- return (jsxRuntime.jsxs("aside", { className: [styles$s.drawer, isOpen ? styles$s.open : '', className].filter(Boolean).join(' '), "aria-hidden": !isOpen, "aria-label": "Due Dates", children: [jsxRuntime.jsxs("header", { children: [jsxRuntime.jsx("h3", { children: "Due Dates" }), jsxRuntime.jsx("button", { type: "button", "aria-label": "Close due dates", onClick: onClose, children: jsxRuntime.jsx(CloseIcon, { size: 24 }) })] }), jsxRuntime.jsxs("div", { className: styles$s.body, children: [jsxRuntime.jsxs("label", { className: styles$s.search, children: [jsxRuntime.jsx(SearchIcon$1, { size: 16 }), jsxRuntime.jsx("input", { type: "search", placeholder: "Search", value: search, onChange: (event) => setSearch(event.target.value) })] }), !Object.keys(filtered).length ? jsxRuntime.jsx("div", { className: styles$s.empty, children: "No due dates found." }) : Object.entries(filtered).map(([date, items]) => (jsxRuntime.jsxs("section", { children: [jsxRuntime.jsx("h4", { children: formatDate$2(date, { month: 'long', day: 'numeric', year: 'numeric' }) }), jsxRuntime.jsx("div", { className: styles$s.cards, children: items.map((item) => jsxRuntime.jsx(DueDateCard, { item: item, onToggle: onToggle, onTaskClick: onTaskClick }, `${date}-${item.taskid}`)) })] }, date)))] })] }));
1378
+ return (jsxRuntime.jsxs("aside", { className: [styles$t.drawer, isOpen ? styles$t.open : '', className].filter(Boolean).join(' '), "aria-hidden": !isOpen, "aria-label": "Due Dates", children: [jsxRuntime.jsxs("header", { children: [jsxRuntime.jsx("h3", { children: "Due Dates" }), jsxRuntime.jsx("button", { type: "button", "aria-label": "Close due dates", onClick: onClose, children: jsxRuntime.jsx(CloseIcon, { size: 24 }) })] }), jsxRuntime.jsxs("div", { className: styles$t.body, children: [jsxRuntime.jsxs("label", { className: styles$t.search, children: [jsxRuntime.jsx(SearchIcon$1, { size: 16 }), jsxRuntime.jsx("input", { type: "search", placeholder: "Search", value: search, onChange: (event) => setSearch(event.target.value) })] }), !Object.keys(filtered).length ? jsxRuntime.jsx("div", { className: styles$t.empty, children: "No due dates found." }) : Object.entries(filtered).map(([date, items]) => (jsxRuntime.jsxs("section", { children: [jsxRuntime.jsx("h4", { children: formatDate$2(date, { month: 'long', day: 'numeric', year: 'numeric' }) }), jsxRuntime.jsx("div", { className: styles$t.cards, children: items.map((item) => jsxRuntime.jsx(DueDateCard, { item: item, onToggle: onToggle, onTaskClick: onTaskClick }, `${date}-${item.taskid}`)) })] }, date)))] })] }));
1379
+ };
1380
+
1381
+ var styles$s = {"shell":"HubAppShell-module_shell__Y13Fo","main":"HubAppShell-module_main__OvnjA","beta":"HubAppShell-module_beta__V8Dzh","sidebar":"HubAppShell-module_sidebar__73gt6","shellExpanded":"HubAppShell-module_shellExpanded__z9cLL","expandButton":"HubAppShell-module_expandButton__hyYi-","logo":"HubAppShell-module_logo__iylLM","defaultLogo":"HubAppShell-module_defaultLogo__tVCz-","desktopNav":"HubAppShell-module_desktopNav__-ZRGD","navItem":"HubAppShell-module_navItem__FKkXN","active":"HubAppShell-module_active__zu1-B","navIcon":"HubAppShell-module_navIcon__QRImh","disabledNav":"HubAppShell-module_disabledNav__zj07n","sidebarFooter":"HubAppShell-module_sidebarFooter__kA2bq","profile":"HubAppShell-module_profile__JCGL5","avatar":"HubAppShell-module_avatar__V-lFG","profileMenu":"HubAppShell-module_profileMenu__qqWSu","topbar":"HubAppShell-module_topbar__U4w0A","defaultAccount":"HubAppShell-module_defaultAccount__3vohz","defaultActions":"HubAppShell-module_defaultActions__wAEJb","desktopActions":"HubAppShell-module_desktopActions__uVRKY","mobileActions":"HubAppShell-module_mobileActions__W6Rf9","content":"HubAppShell-module_content__yCgGs","contentDisabled":"HubAppShell-module_contentDisabled__btmCY","mobileNav":"HubAppShell-module_mobileNav__X0zBs","mobileNavItem":"HubAppShell-module_mobileNavItem__1x94j","mobileExtras":"HubAppShell-module_mobileExtras__xo3qI","mobileBooking":"HubAppShell-module_mobileBooking__-Jz9h","mobilePrimary":"HubAppShell-module_mobilePrimary__p5PCn","mobileFooter":"HubAppShell-module_mobileFooter__QvsE-","loading":"HubAppShell-module_loading__V8RiG"};
1382
+
1383
+ const HUB_INDIVIDUAL_TRAVEL_ITEM = { key: 'individual-travel', label: 'Individual Travel', path: '/individual-travel', icon: jsxRuntime.jsx(UserIcon, { size: 24 }) };
1384
+ const HUB_NAV_ITEMS = [
1385
+ { key: 'home', label: 'Home', path: '/home', icon: jsxRuntime.jsx(HomeIcon, { size: 24 }) },
1386
+ { key: 'team-travel-calendar', label: 'Team Travel Calendar', path: '/team-travel-calendar', icon: jsxRuntime.jsx(CalendarIcon$1, { size: 24 }) },
1387
+ { key: 'team-schedule', label: 'Team Travel Schedules', path: '/team-schedule', icon: jsxRuntime.jsx(GridIcon, { size: 24 }) },
1388
+ { key: 'team-management', label: 'Team Management', path: '/team-management', icon: jsxRuntime.jsx(UsersIcon$1, { size: 24 }) },
1389
+ ];
1390
+ const HUB_ADMIN_ITEM = { key: 'administration', label: 'Administration', path: '/administration', icon: jsxRuntime.jsx(SettingsIcon, { size: 24 }) };
1391
+ const DefaultLogo = ({ expanded }) => jsxRuntime.jsxs("div", { className: styles$s.defaultLogo, children: [jsxRuntime.jsx(LogoIcon, { size: expanded ? 38 : 32 }), expanded && jsxRuntime.jsxs("span", { children: [jsxRuntime.jsx("strong", { children: "SHORT'S" }), jsxRuntime.jsx("small", { children: "TRAVEL MANAGEMENT" })] })] });
1392
+ const DefaultAccount = () => jsxRuntime.jsxs("button", { type: "button", className: styles$s.defaultAccount, children: [jsxRuntime.jsx("span", { children: "UNI" }), jsxRuntime.jsx("strong", { children: "University of Northern Iowa" })] });
1393
+ const DefaultActions = ({ isMobileNavOpen, toggleMobileNav }) => (jsxRuntime.jsxs("div", { className: styles$s.defaultActions, children: [jsxRuntime.jsxs("div", { className: styles$s.desktopActions, children: [jsxRuntime.jsx(Button, { size: "lg", leftIcon: jsxRuntime.jsx(ArrowUpRightIcon, { size: 18 }), children: "Book Team Travel" }), jsxRuntime.jsx(Button, { variant: "secondary", size: "lg", square: true, "aria-label": "Provide Feedback", children: jsxRuntime.jsx(LightbulbIcon, { size: 18 }) }), jsxRuntime.jsx(Button, { variant: "secondary", size: "lg", square: true, "aria-label": "Announcements", children: jsxRuntime.jsx(MegaphoneIcon, { size: 18 }) }), jsxRuntime.jsx(Button, { variant: "secondary", size: "lg", square: true, "aria-label": "Contact Us", children: jsxRuntime.jsx(PhoneIcon, { size: 18 }) })] }), jsxRuntime.jsxs("div", { className: styles$s.mobileActions, children: [jsxRuntime.jsx(Button, { variant: "ghost", size: "lg", square: true, "aria-label": "Announcements", children: jsxRuntime.jsx(MegaphoneIcon, { size: 20 }) }), jsxRuntime.jsx(Button, { variant: "ghost", size: "lg", square: true, "aria-label": isMobileNavOpen ? 'Close navigation' : 'Open navigation', onClick: toggleMobileNav, children: isMobileNavOpen ? jsxRuntime.jsx(CloseIcon, { size: 22 }) : jsxRuntime.jsx(MenuIcon, { size: 22 }) })] })] }));
1394
+ /** The shared application navigation and content shell used by Hub and its Storybook pages. */
1395
+ const HubAppShell = ({ children, navItems = HUB_NAV_ITEMS, individualTravelItem = HUB_INDIVIDUAL_TRAVEL_ITEM, adminItem = HUB_ADMIN_ITEM, activeNavKey, onNavigate, onLogoClick, onLegacyPortal, accountSelector, renderTopbarActions, renderMobileExtras, mobileFooter, profileMenu, userInitials = 'KM', isAdmin = true, navigationDisabled = false, loading = false, contentDisabled = false, showContent = true, logo, defaultExpanded = false, betaLabel = 'Beta Version', className = '', }) => {
1396
+ const [expanded, setExpanded] = React.useState(defaultExpanded);
1397
+ const [isMobileNavOpen, setIsMobileNavOpen] = React.useState(false);
1398
+ const [isProfileOpen, setIsProfileOpen] = React.useState(false);
1399
+ const profileRef = React.useRef(null);
1400
+ const actions = { isMobileNavOpen, toggleMobileNav: () => setIsMobileNavOpen((value) => !value) };
1401
+ const closeMobileNav = () => setIsMobileNavOpen(false);
1402
+ React.useEffect(() => {
1403
+ if (!isProfileOpen)
1404
+ return;
1405
+ const close = (event) => {
1406
+ if (profileRef.current && !profileRef.current.contains(event.target))
1407
+ setIsProfileOpen(false);
1408
+ };
1409
+ document.addEventListener('mousedown', close);
1410
+ return () => document.removeEventListener('mousedown', close);
1411
+ }, [isProfileOpen]);
1412
+ const navigate = (item) => {
1413
+ onNavigate?.(item);
1414
+ closeMobileNav();
1415
+ };
1416
+ const renderNavItem = (item, mobile = false) => (jsxRuntime.jsxs("button", { type: "button", className: [styles$s.navItem, activeNavKey === item.key ? styles$s.active : '', mobile ? styles$s.mobileNavItem : ''].filter(Boolean).join(' '), "aria-current": activeNavKey === item.key ? 'page' : undefined, "aria-label": item.label, title: item.label, onClick: () => navigate(item), children: [jsxRuntime.jsx("span", { className: styles$s.navIcon, children: item.icon }), (expanded || mobile) && jsxRuntime.jsx("span", { children: item.label })] }, item.key));
1417
+ return (jsxRuntime.jsxs("div", { className: [styles$s.shell, expanded ? styles$s.shellExpanded : '', className].filter(Boolean).join(' '), children: [loading && jsxRuntime.jsx("div", { className: styles$s.loading, role: "status", "aria-label": "Loading", "data-testid": "loading-overlay", children: jsxRuntime.jsx("span", {}) }), betaLabel && jsxRuntime.jsx("div", { className: styles$s.beta, children: betaLabel }), jsxRuntime.jsxs("aside", { className: styles$s.sidebar, "data-expanded": expanded, children: [jsxRuntime.jsx("button", { type: "button", className: styles$s.expandButton, "aria-label": expanded ? 'Collapse sidebar' : 'Expand sidebar', onClick: () => setExpanded((value) => !value), children: expanded ? jsxRuntime.jsx(ChevronLeftIcon, { size: 16 }) : jsxRuntime.jsx(ChevronRightIcon$1, { size: 16 }) }), jsxRuntime.jsx("button", { type: "button", className: styles$s.logo, "aria-label": "Go to Home", onClick: onLogoClick, children: logo ?? jsxRuntime.jsx(DefaultLogo, { expanded: expanded }) }), jsxRuntime.jsxs("nav", { className: styles$s.desktopNav, "aria-label": "Hub navigation", children: [jsxRuntime.jsxs("button", { type: "button", className: styles$s.navItem, "aria-label": "Old Portal", title: "Old Portal", onClick: onLegacyPortal, children: [jsxRuntime.jsx("span", { className: styles$s.navIcon, children: jsxRuntime.jsx(ArrowUpRightIcon, { size: 24 }) }), expanded && jsxRuntime.jsx("span", { children: "Old Portal" })] }), renderNavItem(individualTravelItem), jsxRuntime.jsx("div", { className: navigationDisabled ? styles$s.disabledNav : '', children: navItems.map((item) => renderNavItem(item)) })] }), jsxRuntime.jsxs("div", { className: styles$s.sidebarFooter, children: [isAdmin && renderNavItem(adminItem), jsxRuntime.jsxs("div", { className: styles$s.profile, ref: profileRef, children: [jsxRuntime.jsx("button", { type: "button", className: styles$s.avatar, "aria-label": "User Information", onClick: () => setIsProfileOpen((value) => !value), children: userInitials }), isProfileOpen && profileMenu && jsxRuntime.jsx("div", { className: styles$s.profileMenu, children: profileMenu })] })] })] }), jsxRuntime.jsxs("div", { className: styles$s.main, children: [jsxRuntime.jsxs("header", { className: styles$s.topbar, children: [jsxRuntime.jsx("div", { children: accountSelector ?? jsxRuntime.jsx(DefaultAccount, {}) }), renderTopbarActions?.(actions) ?? jsxRuntime.jsx(DefaultActions, { ...actions })] }), isMobileNavOpen && jsxRuntime.jsxs("div", { className: styles$s.mobileNav, children: [jsxRuntime.jsx("nav", { "aria-label": "Mobile Hub navigation", children: navItems.map((item) => renderNavItem(item, true)) }), jsxRuntime.jsxs("div", { className: styles$s.mobileExtras, role: "group", "aria-label": "Mobile navigation actions", children: [renderMobileExtras?.(closeMobileNav) ?? jsxRuntime.jsxs("button", { type: "button", className: styles$s.mobileBooking, onClick: closeMobileNav, children: [jsxRuntime.jsx(ArrowUpRightIcon, { size: 20 }), jsxRuntime.jsx("span", { children: "Book Team Travel" })] }), jsxRuntime.jsxs("button", { type: "button", className: styles$s.mobilePrimary, onClick: () => { onLegacyPortal?.(); closeMobileNav(); }, children: [jsxRuntime.jsx(ArrowUpRightIcon, { size: 20 }), jsxRuntime.jsx("span", { children: "Legacy Portal" })] })] }), mobileFooter && jsxRuntime.jsx("div", { className: styles$s.mobileFooter, children: mobileFooter })] }), showContent && jsxRuntime.jsx("main", { className: [styles$s.content, contentDisabled ? styles$s.contentDisabled : ''].filter(Boolean).join(' '), children: children })] })] }));
1379
1418
  };
1380
1419
 
1381
1420
  var styles$r = {"container":"MembershipPrograms-module_container__qsGZu","loading":"MembershipPrograms-module_loading__tjDtr","alert":"MembershipPrograms-module_alert__GZc0f","header":"MembershipPrograms-module_header__ywXOE","title":"MembershipPrograms-module_title__WZGyt","addButton":"MembershipPrograms-module_addButton__rNlNb","empty":"MembershipPrograms-module_empty__pYrHW","list":"MembershipPrograms-module_list__8A9MG","group":"MembershipPrograms-module_group__v1Vc6","groupHeader":"MembershipPrograms-module_groupHeader__I5KJO","groupIcon":"MembershipPrograms-module_groupIcon__e1LIq","groupLabel":"MembershipPrograms-module_groupLabel__Wqift","programs":"MembershipPrograms-module_programs__hxHXQ","program":"MembershipPrograms-module_program__S3HTM","programInfo":"MembershipPrograms-module_programInfo__RJruG","programProvider":"MembershipPrograms-module_programProvider__c7enz","programName":"MembershipPrograms-module_programName__TN42s","programNumber":"MembershipPrograms-module_programNumber__GKav4","programStatus":"MembershipPrograms-module_programStatus__2imvX","programActions":"MembershipPrograms-module_programActions__36LkY","actionButton":"MembershipPrograms-module_actionButton__y-GI4","removeButton":"MembershipPrograms-module_removeButton__cTTuZ"};
@@ -2460,9 +2499,13 @@ exports.FormStack = FormStack;
2460
2499
  exports.GridIcon = GridIcon;
2461
2500
  exports.GroundSegment = GroundSegment;
2462
2501
  exports.GroupTravelRequestPage = GroupTravelRequestPage;
2502
+ exports.HUB_ADMIN_ITEM = HUB_ADMIN_ITEM;
2503
+ exports.HUB_INDIVIDUAL_TRAVEL_ITEM = HUB_INDIVIDUAL_TRAVEL_ITEM;
2504
+ exports.HUB_NAV_ITEMS = HUB_NAV_ITEMS;
2463
2505
  exports.HomeIcon = HomeIcon;
2464
2506
  exports.HotelIcon = HotelIcon$4;
2465
2507
  exports.HotelSegment = HotelSegment;
2508
+ exports.HubAppShell = HubAppShell;
2466
2509
  exports.Icons = Icons;
2467
2510
  exports.IndividualTravelPage = IndividualTravelPage;
2468
2511
  exports.InfoCenterPage = InfoCenterPage;