@pathscale/ui 0.0.142 → 0.0.143

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.
Files changed (76) hide show
  1. package/dist/components/accordion/index.d.ts +1 -1
  2. package/dist/components/alert/index.d.ts +1 -1
  3. package/dist/components/background/index.d.ts +1 -1
  4. package/dist/components/badge/index.d.ts +1 -1
  5. package/dist/components/bottom-sheet/BottomSheet.d.ts +1 -1
  6. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +1 -1
  7. package/dist/components/breadcrumbs/index.d.ts +1 -0
  8. package/dist/components/button/index.d.ts +1 -1
  9. package/dist/components/card/index.d.ts +1 -1
  10. package/dist/components/chatbubble/index.d.ts +1 -1
  11. package/dist/components/checkbox/index.d.ts +1 -1
  12. package/dist/components/codemockup/CodeMockup.d.ts +1 -1
  13. package/dist/components/codemockup/index.d.ts +1 -1
  14. package/dist/components/collapse/index.d.ts +1 -1
  15. package/dist/components/confirm-dialog/ConfirmDialog.d.ts +3 -3
  16. package/dist/components/connectionstatus/ConnectionStatus.d.ts +2 -2
  17. package/dist/components/countdown/index.d.ts +1 -1
  18. package/dist/components/diff/index.d.ts +1 -1
  19. package/dist/components/divider/index.d.ts +1 -0
  20. package/dist/components/dropdown/index.d.ts +1 -0
  21. package/dist/components/dropdown-select/DropdownSelect.d.ts +2 -0
  22. package/dist/components/empty-state/EmptyState.d.ts +1 -0
  23. package/dist/components/fieldset/Fieldset.d.ts +11 -0
  24. package/dist/components/fieldset/index.d.ts +2 -0
  25. package/dist/components/fileinput/index.d.ts +1 -1
  26. package/dist/components/flex/index.d.ts +1 -1
  27. package/dist/components/grid/index.d.ts +1 -1
  28. package/dist/components/kbd/index.d.ts +1 -1
  29. package/dist/components/link/index.d.ts +1 -1
  30. package/dist/components/loading/index.d.ts +1 -1
  31. package/dist/components/mask/index.d.ts +1 -0
  32. package/dist/components/pagination/Pagination.d.ts +2 -1
  33. package/dist/components/progress/index.d.ts +1 -1
  34. package/dist/components/radialprogress/index.d.ts +1 -1
  35. package/dist/components/radio/index.d.ts +1 -1
  36. package/dist/components/radio-group/RadioGroup.d.ts +2 -1
  37. package/dist/components/radio-group/index.d.ts +2 -1
  38. package/dist/components/range/index.d.ts +1 -1
  39. package/dist/components/range-slider/RangeSlider.d.ts +5 -5
  40. package/dist/components/range-slider/index.d.ts +2 -2
  41. package/dist/components/select/index.d.ts +1 -1
  42. package/dist/components/skeleton/index.d.ts +1 -1
  43. package/dist/components/skip-link/SkipLink.d.ts +3 -3
  44. package/dist/components/stat-card/index.d.ts +1 -1
  45. package/dist/components/stats/index.d.ts +1 -1
  46. package/dist/components/steps/index.d.ts +1 -0
  47. package/dist/components/swap/index.d.ts +1 -1
  48. package/dist/components/switch-field/SwitchField.d.ts +19 -0
  49. package/dist/components/switch-field/index.d.ts +2 -0
  50. package/dist/components/textarea/index.d.ts +1 -1
  51. package/dist/components/timeline/Timeline.d.ts +1 -1
  52. package/dist/components/timeline/index.d.ts +1 -1
  53. package/dist/components/toast/index.d.ts +1 -1
  54. package/dist/components/toastcontainer/ToastContainer.d.ts +2 -1
  55. package/dist/components/toggle/index.d.ts +1 -1
  56. package/dist/components/tooltip/index.d.ts +1 -1
  57. package/dist/glow-card/GlowCard.css +9 -1
  58. package/dist/index.css +9 -1
  59. package/dist/index.d.ts +3 -8
  60. package/dist/index.js +402 -552
  61. package/dist/styles/icons/generated-icons.css +1 -1
  62. package/package.json +4 -3
  63. package/dist/components/duration-badge/DurationBadge.d.ts +0 -14
  64. package/dist/components/duration-badge/index.d.ts +0 -2
  65. package/dist/components/form-section/FormSection.d.ts +0 -9
  66. package/dist/components/form-section/index.d.ts +0 -2
  67. package/dist/components/form-status/FormStatus.d.ts +0 -10
  68. package/dist/components/form-status/index.d.ts +0 -2
  69. package/dist/components/level-meter/LevelMeter.d.ts +0 -10
  70. package/dist/components/level-meter/index.d.ts +0 -2
  71. package/dist/components/media-toggle-controls/MediaToggleControls.d.ts +0 -15
  72. package/dist/components/media-toggle-controls/index.d.ts +0 -2
  73. package/dist/components/section-card/SectionCard.d.ts +0 -10
  74. package/dist/components/section-card/index.d.ts +0 -2
  75. package/dist/components/toggle-setting/ToggleSetting.d.ts +0 -17
  76. package/dist/components/toggle-setting/index.d.ts +0 -2
package/dist/index.js CHANGED
@@ -4205,7 +4205,7 @@ const BottomSheet = (props)=>{
4205
4205
  "function" == typeof _ref$2 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$2, _el$2) : sheetRef = _el$2;
4206
4206
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$2, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
4207
4207
  get ["class"] () {
4208
- return clsx("bg-base-300 text-base-content fixed bottom-0 left-0 right-0 rounded-t-2xl shadow-lg z-50 transition-transform duration-300 ease-out", local.isOpen ? "translate-y-0" : "translate-y-full");
4208
+ return twMerge(clsx("bg-base-300 text-base-content fixed bottom-0 left-0 right-0 rounded-t-2xl shadow-lg z-50 transition-transform duration-300 ease-out", local.isOpen ? "translate-y-0" : "translate-y-full"), local.class, local.className);
4209
4209
  },
4210
4210
  get style () {
4211
4211
  return {
@@ -5682,28 +5682,41 @@ const Icon = (props)=>{
5682
5682
  const icon_Icon = Icon;
5683
5683
  var Calendar_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div class=dropdown><button type=button>"), Calendar_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><div class=w-full><calendar-date><calendar-month>", true, false, false), Calendar_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="fixed inset-0 z-40">'), _tmpl$4 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><calendar-date><calendar-month>", true, false, false);
5684
5684
  const Calendar_Calendar = (props)=>{
5685
- const [selectedValue, setSelectedValue] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)(props.value || "");
5685
+ const [local] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
5686
+ "size",
5687
+ "value",
5688
+ "onDateSelect",
5689
+ "asInput",
5690
+ "placeholder",
5691
+ "disabled",
5692
+ "children",
5693
+ "dataTheme",
5694
+ "class",
5695
+ "className",
5696
+ "style"
5697
+ ]);
5698
+ const [selectedValue, setSelectedValue] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)(local.value || "");
5686
5699
  const [isOpen, setIsOpen] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)(false);
5687
5700
  const uniqueId = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createUniqueId)();
5688
5701
  const inputId = `calendar-input-${uniqueId}`;
5689
5702
  let calendarRef;
5690
5703
  let inputRef;
5691
5704
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createEffect)(()=>{
5692
- if (void 0 !== props.value) setSelectedValue(props.value);
5705
+ if (void 0 !== local.value) setSelectedValue(local.value);
5693
5706
  });
5694
5707
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createEffect)(()=>{
5695
5708
  if (calendarRef && calendarRef.value !== selectedValue()) calendarRef.value = selectedValue();
5696
5709
  });
5697
5710
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createEffect)(()=>{
5698
- const shouldSetupListeners = props.asInput ? isOpen() && calendarRef : calendarRef;
5711
+ const shouldSetupListeners = local.asInput ? isOpen() && calendarRef : calendarRef;
5699
5712
  if (shouldSetupListeners) {
5700
5713
  const handleChange = (e)=>{
5701
5714
  const target = e.target;
5702
5715
  const newValue = target.value;
5703
5716
  if (newValue && newValue !== selectedValue()) {
5704
5717
  setSelectedValue(newValue);
5705
- if (props.onDateSelect) props.onDateSelect(newValue);
5706
- if (props.asInput) setIsOpen(false);
5718
+ if (local.onDateSelect) local.onDateSelect(newValue);
5719
+ if (local.asInput) setIsOpen(false);
5707
5720
  }
5708
5721
  };
5709
5722
  const handleClick = (e)=>{
@@ -5711,8 +5724,8 @@ const Calendar_Calendar = (props)=>{
5711
5724
  const value = calendarRef.value;
5712
5725
  if (value && value !== selectedValue()) {
5713
5726
  setSelectedValue(value);
5714
- if (props.onDateSelect) props.onDateSelect(value);
5715
- if (props.asInput) setIsOpen(false);
5727
+ if (local.onDateSelect) local.onDateSelect(value);
5728
+ if (local.asInput) setIsOpen(false);
5716
5729
  }
5717
5730
  }, 100);
5718
5731
  };
@@ -5726,24 +5739,24 @@ const Calendar_Calendar = (props)=>{
5726
5739
  };
5727
5740
  }
5728
5741
  });
5729
- const calendarClasses = ()=>twMerge("cally", !props.asInput && "bg-base-100 border border-base-300 shadow-lg rounded-box", "[&_[slot=heading]]:text-xs [&_[slot=heading]]:font-medium", "[&_.cally-month-header]:text-xs [&_.cally-year]:text-xs", "text-sm", props.asInput && "w-full max-w-full", "[&_table]:w-full [&_td]:p-1 [&_th]:p-1", "[&_button]:p-1 [&_button]:min-h-0 [&_button]:h-auto", props.class, props.className, clsx({
5730
- "text-base [&_[slot=heading]]:text-sm": "lg" === props.size,
5731
- "text-sm [&_[slot=heading]]:text-xs": "md" === props.size || !props.size,
5732
- "text-xs [&_[slot=heading]]:text-xs [&_button]:text-xs": "sm" === props.size,
5733
- "text-xs [&_button]:text-xs": "xs" === props.size
5742
+ const calendarClasses = ()=>twMerge("cally", !local.asInput && "bg-base-100 border border-base-300 shadow-lg rounded-box", "[&_[slot=heading]]:text-xs [&_[slot=heading]]:font-medium", "[&_.cally-month-header]:text-xs [&_.cally-year]:text-xs", "text-sm", local.asInput && "w-full max-w-full", "[&_table]:w-full [&_td]:p-1 [&_th]:p-1", "[&_button]:p-1 [&_button]:min-h-0 [&_button]:h-auto", local.class, local.className, clsx({
5743
+ "text-base [&_[slot=heading]]:text-sm": "lg" === local.size,
5744
+ "text-sm [&_[slot=heading]]:text-xs": "md" === local.size || !local.size,
5745
+ "text-xs [&_[slot=heading]]:text-xs [&_button]:text-xs": "sm" === local.size,
5746
+ "text-xs [&_button]:text-xs": "xs" === local.size
5734
5747
  }));
5735
5748
  const inputClasses = ()=>twMerge("input input-bordered cursor-pointer", "w-72", clsx({
5736
- "input-lg w-80": "lg" === props.size,
5737
- "input-md w-72": "md" === props.size || !props.size,
5738
- "input-sm w-64": "sm" === props.size,
5739
- "input-xs w-56": "xs" === props.size,
5740
- "input-disabled cursor-not-allowed": props.disabled
5749
+ "input-lg w-80": "lg" === local.size,
5750
+ "input-md w-72": "md" === local.size || !local.size,
5751
+ "input-sm w-64": "sm" === local.size,
5752
+ "input-xs w-56": "xs" === local.size,
5753
+ "input-disabled cursor-not-allowed": local.disabled
5741
5754
  }));
5742
5755
  const dropdownClasses = ()=>twMerge("dropdown-content bg-base-100 rounded-box shadow-lg z-50 p-2", "w-auto", clsx({
5743
- "w-80": "lg" === props.size,
5744
- "w-72": "md" === props.size || !props.size,
5745
- "w-64": "sm" === props.size,
5746
- "w-56": "xs" === props.size
5756
+ "w-80": "lg" === local.size,
5757
+ "w-72": "md" === local.size || !local.size,
5758
+ "w-64": "sm" === local.size,
5759
+ "w-56": "xs" === local.size
5747
5760
  }));
5748
5761
  const ArrowLeftIcon = ()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(icon_Icon, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
5749
5762
  name: "icon-[mdi-light--chevron-left]",
@@ -5762,15 +5775,15 @@ const Calendar_Calendar = (props)=>{
5762
5775
  slot: "next"
5763
5776
  }));
5764
5777
  const formatDisplayDate = (value)=>{
5765
- if (!value) return props.placeholder || "Pick a date";
5778
+ if (!value) return local.placeholder || "Pick a date";
5766
5779
  try {
5767
5780
  const date = new Date(value);
5768
5781
  return date.toLocaleDateString();
5769
5782
  } catch {
5770
- return props.placeholder || "Pick a date";
5783
+ return local.placeholder || "Pick a date";
5771
5784
  }
5772
5785
  };
5773
- if (props.asInput) return (()=>{
5786
+ if (local.asInput) return (()=>{
5774
5787
  var _el$ = Calendar_tmpl$(), _el$2 = _el$.firstChild;
5775
5788
  _el$2.$$click = ()=>setIsOpen(!isOpen());
5776
5789
  var _ref$ = inputRef;
@@ -5809,9 +5822,9 @@ const Calendar_Calendar = (props)=>{
5809
5822
  return _el$7;
5810
5823
  })();
5811
5824
  })(), null);
5812
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>props.children, null);
5825
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children, null);
5813
5826
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
5814
- var _v$ = props.dataTheme, _v$2 = props.style, _v$3 = inputClasses(), _v$4 = props.disabled;
5827
+ var _v$ = local.dataTheme, _v$2 = local.style, _v$3 = inputClasses(), _v$4 = local.disabled;
5815
5828
  _v$ !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "data-theme", _p$.e = _v$);
5816
5829
  _p$.t = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$, _v$2, _p$.t);
5817
5830
  _v$3 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$2, _p$.a = _v$3);
@@ -5833,9 +5846,9 @@ const Calendar_Calendar = (props)=>{
5833
5846
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$9, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(ArrowLeftIcon, {}), _el$0);
5834
5847
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$9, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(ArrowRightIcon, {}), _el$0);
5835
5848
  _el$0._$owner = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.getOwner)();
5836
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$8, ()=>props.children, null);
5849
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$8, ()=>local.children, null);
5837
5850
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
5838
- var _v$7 = props.dataTheme, _v$8 = props.style, _v$9 = calendarClasses();
5851
+ var _v$7 = local.dataTheme, _v$8 = local.style, _v$9 = calendarClasses();
5839
5852
  _v$7 !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$8, "data-theme", _p$.e = _v$7);
5840
5853
  _p$.t = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$8, _v$8, _p$.t);
5841
5854
  _v$9 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$9, _p$.a = _v$9);
@@ -8695,12 +8708,13 @@ const modal_Modal = Object.assign(Modal, {
8695
8708
  });
8696
8709
  var ConfirmDialog_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
8697
8710
  function ConfirmDialog(props) {
8698
- const [local] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
8711
+ const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
8699
8712
  "open",
8700
8713
  "onClose",
8701
8714
  "onConfirm",
8702
8715
  "title",
8703
8716
  "message",
8717
+ "children",
8704
8718
  "confirmText",
8705
8719
  "cancelText",
8706
8720
  "confirmColor",
@@ -8709,8 +8723,10 @@ function ConfirmDialog(props) {
8709
8723
  "class",
8710
8724
  "className"
8711
8725
  ]);
8726
+ const titleId = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createUniqueId)();
8712
8727
  const messageId = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createUniqueId)();
8713
- return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(modal_Modal, {
8728
+ const hasBody = ()=>null != local.children || null != local.message;
8729
+ return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(modal_Modal, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
8714
8730
  get open () {
8715
8731
  return local.open;
8716
8732
  },
@@ -8719,19 +8735,21 @@ function ConfirmDialog(props) {
8719
8735
  },
8720
8736
  responsive: true,
8721
8737
  role: "alertdialog",
8722
- "aria-describedby": messageId,
8738
+ "aria-labelledby": titleId,
8739
+ get ["aria-describedby"] () {
8740
+ return hasBody() ? messageId : void 0;
8741
+ },
8723
8742
  get dataTheme () {
8724
8743
  return local.dataTheme;
8725
8744
  },
8726
8745
  get ["class"] () {
8727
- return local.class;
8728
- },
8729
- get className () {
8730
- return local.className;
8731
- },
8746
+ return twMerge(local.class, local.className);
8747
+ }
8748
+ }, others, {
8732
8749
  get children () {
8733
8750
  return [
8734
8751
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(modal_Modal.Header, {
8752
+ id: titleId,
8735
8753
  get children () {
8736
8754
  return local.title;
8737
8755
  }
@@ -8740,7 +8758,7 @@ function ConfirmDialog(props) {
8740
8758
  get children () {
8741
8759
  var _el$ = ConfirmDialog_tmpl$();
8742
8760
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "id", messageId);
8743
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.message);
8761
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children ?? local.message);
8744
8762
  return _el$;
8745
8763
  }
8746
8764
  }),
@@ -8782,7 +8800,7 @@ function ConfirmDialog(props) {
8782
8800
  })
8783
8801
  ];
8784
8802
  }
8785
- });
8803
+ }));
8786
8804
  }
8787
8805
  const breakpoints = [
8788
8806
  "base",
@@ -9224,14 +9242,21 @@ const CopyButton = CopyButton_CopyButton;
9224
9242
  ]);
9225
9243
  var Countdown_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<span role=timer><span>");
9226
9244
  const Countdown = (props)=>{
9227
- const { class: className, className: classNameAlt, dataTheme, ...rest } = props;
9228
- const displayedValue = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>Math.min(99, Math.max(0, props.value)));
9245
+ const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
9246
+ "class",
9247
+ "className",
9248
+ "dataTheme",
9249
+ "value"
9250
+ ]);
9251
+ const displayedValue = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>Math.min(99, Math.max(0, local.value)));
9229
9252
  return (()=>{
9230
9253
  var _el$ = Countdown_tmpl$(), _el$2 = _el$.firstChild;
9231
9254
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(rest, {
9232
- "data-theme": dataTheme,
9255
+ get ["data-theme"] () {
9256
+ return local.dataTheme;
9257
+ },
9233
9258
  get ["class"] () {
9234
- return twMerge("countdown", className, classNameAlt);
9259
+ return twMerge("countdown", local.class, local.className);
9235
9260
  }
9236
9261
  }), false, true);
9237
9262
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
@@ -9958,6 +9983,8 @@ const DropdownSelectInner = (props)=>{
9958
9983
  const dropdownCtx = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.useContext)(DropdownContext);
9959
9984
  const [highlightedIndex, setHighlightedIndex] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)(-1);
9960
9985
  const listboxId = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createUniqueId)();
9986
+ let typeaheadBuffer = "";
9987
+ let typeaheadTimer;
9961
9988
  const getOptionId = (index)=>`${listboxId}-option-${index}`;
9962
9989
  const selectedLabel = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>{
9963
9990
  const opt = props.options.find((o)=>o.value === props.value);
@@ -9993,12 +10020,28 @@ const DropdownSelectInner = (props)=>{
9993
10020
  setHighlightedIndex(currentIdx >= 0 ? currentIdx : findFirstEnabledIndex());
9994
10021
  }
9995
10022
  };
10023
+ const handleTypeahead = (char)=>{
10024
+ if (void 0 !== typeaheadTimer) clearTimeout(typeaheadTimer);
10025
+ typeaheadBuffer += char.toLowerCase();
10026
+ typeaheadTimer = setTimeout(()=>{
10027
+ typeaheadBuffer = "";
10028
+ typeaheadTimer = void 0;
10029
+ }, 500);
10030
+ const matchIndex = props.options.findIndex((o)=>!o.disabled && o.label.toLowerCase().startsWith(typeaheadBuffer));
10031
+ if (matchIndex >= 0) setHighlightedIndex(matchIndex);
10032
+ };
9996
10033
  const handleKeyDown = (e)=>{
9997
10034
  if (props.disabled) return;
9998
10035
  if (!isOpen()) {
9999
10036
  if ("Enter" === e.key || " " === e.key || "ArrowDown" === e.key || "ArrowUp" === e.key) {
10000
10037
  e.preventDefault();
10001
10038
  openMenu();
10039
+ return;
10040
+ }
10041
+ if (1 === e.key.length && !e.ctrlKey && !e.metaKey && !e.altKey) {
10042
+ e.preventDefault();
10043
+ openMenu();
10044
+ handleTypeahead(e.key);
10002
10045
  }
10003
10046
  return;
10004
10047
  }
@@ -10031,6 +10074,12 @@ const DropdownSelectInner = (props)=>{
10031
10074
  e.stopPropagation();
10032
10075
  if (highlightedIndex() >= 0) selectOption(highlightedIndex());
10033
10076
  break;
10077
+ default:
10078
+ if (1 === e.key.length && !e.ctrlKey && !e.metaKey && !e.altKey) {
10079
+ e.preventDefault();
10080
+ handleTypeahead(e.key);
10081
+ }
10082
+ break;
10034
10083
  }
10035
10084
  };
10036
10085
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createEffect)(()=>{
@@ -10064,7 +10113,10 @@ const DropdownSelectInner = (props)=>{
10064
10113
  return [
10065
10114
  (()=>{
10066
10115
  var _el$ = DropdownSelect_tmpl$();
10067
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, selectedLabel);
10116
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (()=>{
10117
+ var _c$ = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>!!props.labelRenderer);
10118
+ return ()=>_c$() ? props.labelRenderer(selectedLabel(), props.options.find((o)=>o.value === props.value)) : selectedLabel();
10119
+ })());
10068
10120
  return _el$;
10069
10121
  })(),
10070
10122
  DropdownSelect_tmpl$2()
@@ -10104,20 +10156,22 @@ const DropdownSelectInner = (props)=>{
10104
10156
  return props.value === option.value;
10105
10157
  },
10106
10158
  get children () {
10107
- var _el$3 = DropdownSelect_tmpl$3(), _el$4 = _el$3.firstChild;
10108
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, (()=>{
10109
- var _c$ = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>!!props.showCheckmark);
10110
- return ()=>_c$() && (()=>{
10111
- var _el$5 = DropdownSelect_tmpl$4();
10112
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$5, "class", dist_clsx("h-4 w-4 shrink-0", {
10113
- "opacity-100": props.value === option.value,
10114
- "opacity-0": props.value !== option.value
10115
- })));
10116
- return _el$5;
10117
- })();
10118
- })(), _el$4);
10119
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, ()=>option.label);
10120
- return _el$3;
10159
+ return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>!!props.optionRenderer)() ? props.optionRenderer(option, props.value === option.value, highlightedIndex() === index()) : (()=>{
10160
+ var _el$3 = DropdownSelect_tmpl$3(), _el$4 = _el$3.firstChild;
10161
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, (()=>{
10162
+ var _c$2 = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>!!props.showCheckmark);
10163
+ return ()=>_c$2() && (()=>{
10164
+ var _el$5 = DropdownSelect_tmpl$4();
10165
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$5, "class", dist_clsx("h-4 w-4 shrink-0", {
10166
+ "opacity-100": props.value === option.value,
10167
+ "opacity-0": props.value !== option.value
10168
+ })));
10169
+ return _el$5;
10170
+ })();
10171
+ })(), _el$4);
10172
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, ()=>option.label);
10173
+ return _el$3;
10174
+ })();
10121
10175
  }
10122
10176
  })
10123
10177
  });
@@ -10139,12 +10193,15 @@ const DropdownSelect_DropdownSelect = (props)=>{
10139
10193
  "class",
10140
10194
  "className",
10141
10195
  "dataTheme",
10142
- "style"
10196
+ "style",
10197
+ "labelRenderer",
10198
+ "optionRenderer"
10143
10199
  ]);
10144
10200
  const placeholder = ()=>local.placeholder ?? "Select...";
10145
10201
  const showCheckmark = ()=>local.showCheckmark ?? true;
10146
10202
  const size = ()=>local.size ?? "md";
10147
10203
  return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(dropdown_Dropdown, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
10204
+ role: "none",
10148
10205
  get ["class"] () {
10149
10206
  return twMerge(local.class, local.className);
10150
10207
  },
@@ -10179,95 +10236,24 @@ const DropdownSelect_DropdownSelect = (props)=>{
10179
10236
  },
10180
10237
  get disabled () {
10181
10238
  return local.disabled;
10239
+ },
10240
+ get labelRenderer () {
10241
+ return local.labelRenderer;
10242
+ },
10243
+ get optionRenderer () {
10244
+ return local.optionRenderer;
10182
10245
  }
10183
10246
  });
10184
10247
  }
10185
10248
  }));
10186
10249
  };
10187
10250
  const DropdownSelect = DropdownSelect_DropdownSelect;
10188
- var DurationBadge_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<span class="relative inline-flex h-2 w-2"><span></span><span>'), DurationBadge_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<span>"), DurationBadge_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<span><span>");
10189
- const colorMap = {
10190
- neutral: "bg-neutral",
10191
- primary: "bg-primary",
10192
- secondary: "bg-secondary",
10193
- accent: "bg-accent",
10194
- info: "bg-info",
10195
- success: "bg-success",
10196
- warning: "bg-warning",
10197
- error: "bg-error",
10198
- ghost: "bg-base-content"
10199
- };
10200
- const formatDuration = (seconds)=>{
10201
- const mins = Math.floor(seconds / 60);
10202
- const secs = Math.floor(seconds % 60);
10203
- return `${mins}:${secs.toString().padStart(2, "0")}`;
10204
- };
10205
- const DurationBadge = (props)=>{
10206
- const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
10207
- "duration",
10208
- "color",
10209
- "pulseDot",
10210
- "label",
10211
- "class",
10212
- "className",
10213
- "style",
10214
- "dataTheme"
10215
- ]);
10216
- const color = ()=>local.color ?? "error";
10217
- const showDot = ()=>false !== local.pulseDot;
10218
- const containerClasses = ()=>twMerge("inline-flex items-center gap-1.5 font-mono tabular-nums", local.class, local.className);
10219
- const dotClasses = ()=>clsx("relative inline-flex h-2 w-2 rounded-full", colorMap[color()]);
10220
- return (()=>{
10221
- var _el$ = DurationBadge_tmpl$3(), _el$6 = _el$.firstChild;
10222
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
10223
- get ["class"] () {
10224
- return containerClasses();
10225
- },
10226
- get style () {
10227
- return local.style;
10228
- },
10229
- get ["data-theme"] () {
10230
- return local.dataTheme;
10231
- }
10232
- }), false, true);
10233
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
10234
- get when () {
10235
- return showDot();
10236
- },
10237
- get children () {
10238
- var _el$2 = DurationBadge_tmpl$(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
10239
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
10240
- var _v$ = clsx("absolute inline-flex h-full w-full animate-ping rounded-full opacity-75", colorMap[color()]), _v$2 = dotClasses();
10241
- _v$ !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$3, _p$.e = _v$);
10242
- _v$2 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$4, _p$.t = _v$2);
10243
- return _p$;
10244
- }, {
10245
- e: void 0,
10246
- t: void 0
10247
- });
10248
- return _el$2;
10249
- }
10250
- }), _el$6);
10251
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
10252
- get when () {
10253
- return local.label;
10254
- },
10255
- get children () {
10256
- var _el$5 = DurationBadge_tmpl$2();
10257
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$5, ()=>local.label);
10258
- return _el$5;
10259
- }
10260
- }), _el$6);
10261
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$6, ()=>formatDuration(local.duration));
10262
- return _el$;
10263
- })();
10264
- };
10265
- const duration_badge_DurationBadge = DurationBadge;
10266
- var EmptyState_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="text-lg font-semibold">'), EmptyState_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="text-sm text-base-content/70">'), EmptyState_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
10251
+ var EmptyState_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<h3 class="text-lg font-semibold text-base-content/80 text-center">'), EmptyState_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="text-sm text-base-content/70">'), EmptyState_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
10267
10252
  const EmptyState_EmptyState = (props)=>{
10268
10253
  const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
10269
10254
  "icon",
10270
10255
  "iconSize",
10256
+ "image",
10271
10257
  "title",
10272
10258
  "description",
10273
10259
  "dataTheme",
@@ -10277,10 +10263,11 @@ const EmptyState_EmptyState = (props)=>{
10277
10263
  "children"
10278
10264
  ]);
10279
10265
  const iconSize = ()=>local.iconSize ?? 48;
10280
- const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("flex flex-col items-center justify-center gap-3 py-12 opacity-60", local.class, local.className));
10266
+ const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("flex flex-col items-center justify-center gap-3 py-12", local.class, local.className));
10281
10267
  return (()=>{
10282
10268
  var _el$ = EmptyState_tmpl$3();
10283
10269
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
10270
+ role: "status",
10284
10271
  get ["data-theme"] () {
10285
10272
  return local.dataTheme;
10286
10273
  },
@@ -10293,7 +10280,15 @@ const EmptyState_EmptyState = (props)=>{
10293
10280
  }), false, true);
10294
10281
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
10295
10282
  get when () {
10296
- return local.icon;
10283
+ return local.image;
10284
+ },
10285
+ get children () {
10286
+ return local.image;
10287
+ }
10288
+ }), null);
10289
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
10290
+ get when () {
10291
+ return !local.image && local.icon;
10297
10292
  },
10298
10293
  get children () {
10299
10294
  return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(icon_Icon, {
@@ -10305,7 +10300,9 @@ const EmptyState_EmptyState = (props)=>{
10305
10300
  },
10306
10301
  get height () {
10307
10302
  return iconSize();
10308
- }
10303
+ },
10304
+ class: "opacity-60",
10305
+ "aria-hidden": "true"
10309
10306
  });
10310
10307
  }
10311
10308
  }), null);
@@ -10950,13 +10947,17 @@ function GlowCard(props) {
10950
10947
  "class",
10951
10948
  "className",
10952
10949
  "dataTheme",
10953
- "onMouseMove"
10950
+ "onMouseMove",
10951
+ "style"
10954
10952
  ]);
10955
10953
  const handleMouseMove = (e)=>{
10956
10954
  const rect = e.currentTarget.getBoundingClientRect();
10957
10955
  e.currentTarget.style.setProperty("--mouse-x", `${e.clientX - rect.left}px`);
10958
10956
  e.currentTarget.style.setProperty("--mouse-y", `${e.clientY - rect.top}px`);
10959
- if ("function" == typeof local.onMouseMove) local.onMouseMove(e);
10957
+ if (Array.isArray(local.onMouseMove)) {
10958
+ const [handler, data] = local.onMouseMove;
10959
+ handler(data, e);
10960
+ } else if ("function" == typeof local.onMouseMove) local.onMouseMove(e);
10960
10961
  };
10961
10962
  return (()=>{
10962
10963
  var _el$ = GlowCard_tmpl$();
@@ -10965,9 +10966,16 @@ function GlowCard(props) {
10965
10966
  return local.dataTheme;
10966
10967
  },
10967
10968
  get ["class"] () {
10968
- return twMerge(clsx("glow-card", local.class, local.className));
10969
+ return twMerge(clsx("glow-card isolate", local.class, local.className));
10970
+ },
10971
+ get style () {
10972
+ return local.style;
10969
10973
  },
10970
- onMouseMove: handleMouseMove
10974
+ onMouseMove: handleMouseMove,
10975
+ onMouseLeave: (e)=>{
10976
+ e.currentTarget.style.setProperty("--mouse-x", "50%");
10977
+ e.currentTarget.style.setProperty("--mouse-y", "50%");
10978
+ }
10971
10979
  }), false, true);
10972
10980
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children);
10973
10981
  return _el$;
@@ -11059,6 +11067,9 @@ const FormActions = (props)=>{
11059
11067
  get disabled () {
11060
11068
  return !isValid() || local.isLoading;
11061
11069
  },
11070
+ get ["aria-busy"] () {
11071
+ return local.isLoading;
11072
+ },
11062
11073
  get children () {
11063
11074
  return submitText();
11064
11075
  }
@@ -11081,6 +11092,8 @@ const FormActions = (props)=>{
11081
11092
  get children () {
11082
11093
  var _el$ = FormActions_tmpl$();
11083
11094
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
11095
+ role: "group",
11096
+ "aria-label": "Form actions",
11084
11097
  get ["data-theme"] () {
11085
11098
  return local.dataTheme;
11086
11099
  },
@@ -11102,6 +11115,8 @@ const FormActions = (props)=>{
11102
11115
  get children () {
11103
11116
  var _el$2 = FormActions_tmpl$();
11104
11117
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$2, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
11118
+ role: "group",
11119
+ "aria-label": "Form actions",
11105
11120
  get ["data-theme"] () {
11106
11121
  return local.dataTheme;
11107
11122
  },
@@ -11137,6 +11152,8 @@ const FormActions = (props)=>{
11137
11152
  get children () {
11138
11153
  var _el$3 = FormActions_tmpl$2(), _el$4 = _el$3.firstChild;
11139
11154
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$3, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
11155
+ role: "group",
11156
+ "aria-label": "Form actions",
11140
11157
  get ["data-theme"] () {
11141
11158
  return local.dataTheme;
11142
11159
  },
@@ -11158,7 +11175,7 @@ const FormActions = (props)=>{
11158
11175
  });
11159
11176
  };
11160
11177
  const form_actions_FormActions = FormActions;
11161
- var FormSection_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<h3 class="text-lg font-semibold">'), FormSection_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
11178
+ var Fieldset_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<legend class="text-lg font-semibold">'), Fieldset_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<p class="text-sm text-base-content/60 mt-1">'), Fieldset_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<fieldset>");
11162
11179
  const GAP_MAP = {
11163
11180
  none: "gap-0",
11164
11181
  xs: "gap-1",
@@ -11167,9 +11184,12 @@ const GAP_MAP = {
11167
11184
  lg: "gap-6",
11168
11185
  xl: "gap-8"
11169
11186
  };
11170
- const FormSection = (props)=>{
11187
+ const Fieldset_Fieldset = (props)=>{
11188
+ const descriptionId = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createUniqueId)();
11171
11189
  const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
11172
- "title",
11190
+ "legend",
11191
+ "description",
11192
+ "disabled",
11173
11193
  "gap",
11174
11194
  "children",
11175
11195
  "class",
@@ -11180,7 +11200,7 @@ const FormSection = (props)=>{
11180
11200
  const gap = ()=>local.gap ?? "md";
11181
11201
  const classes = ()=>twMerge("flex flex-col", GAP_MAP[gap()], local.class, local.className);
11182
11202
  return (()=>{
11183
- var _el$ = FormSection_tmpl$2();
11203
+ var _el$ = Fieldset_tmpl$3();
11184
11204
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
11185
11205
  get ["class"] () {
11186
11206
  return classes();
@@ -11190,81 +11210,40 @@ const FormSection = (props)=>{
11190
11210
  },
11191
11211
  get style () {
11192
11212
  return local.style;
11213
+ },
11214
+ get disabled () {
11215
+ return local.disabled;
11216
+ },
11217
+ get ["aria-describedby"] () {
11218
+ return local.description ? descriptionId : void 0;
11193
11219
  }
11194
11220
  }), false, true);
11195
11221
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
11196
11222
  get when () {
11197
- return local.title;
11223
+ return local.legend;
11198
11224
  },
11199
11225
  get children () {
11200
- var _el$2 = FormSection_tmpl$();
11201
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, ()=>local.title);
11226
+ var _el$2 = Fieldset_tmpl$();
11227
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, ()=>local.legend);
11202
11228
  return _el$2;
11203
11229
  }
11204
11230
  }), null);
11231
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
11232
+ get when () {
11233
+ return local.description;
11234
+ },
11235
+ get children () {
11236
+ var _el$3 = Fieldset_tmpl$2();
11237
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "id", descriptionId);
11238
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, ()=>local.description);
11239
+ return _el$3;
11240
+ }
11241
+ }), null);
11205
11242
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children, null);
11206
11243
  return _el$;
11207
11244
  })();
11208
11245
  };
11209
- const form_section_FormSection = FormSection;
11210
- var FormStatus_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
11211
- const FormStatus = (props)=>{
11212
- const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
11213
- "error",
11214
- "success",
11215
- "loading",
11216
- "loadingMessage",
11217
- "dataTheme",
11218
- "class",
11219
- "className",
11220
- "style"
11221
- ]);
11222
- const message = ()=>{
11223
- if (local.error) return local.error;
11224
- if (local.success) return local.success;
11225
- if (local.loading) return local.loadingMessage ?? "Processing...";
11226
- return null;
11227
- };
11228
- const role = ()=>{
11229
- if (local.error) return "alert";
11230
- return "status";
11231
- };
11232
- const ariaLive = ()=>{
11233
- if (local.error) return "assertive";
11234
- return "polite";
11235
- };
11236
- const classes = ()=>twMerge("rounded-lg px-4 py-3 text-sm", local.error && "bg-error/10 text-error", local.success && !local.error && "bg-success/10 text-success", local.loading && !local.error && !local.success && "bg-info/10 text-info", local.class, local.className);
11237
- const visible = ()=>!!(local.error || local.success || local.loading);
11238
- return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
11239
- get when () {
11240
- return visible();
11241
- },
11242
- get children () {
11243
- var _el$ = FormStatus_tmpl$();
11244
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
11245
- get role () {
11246
- return role();
11247
- },
11248
- get ["aria-live"] () {
11249
- return ariaLive();
11250
- }
11251
- }, others, {
11252
- get ["data-theme"] () {
11253
- return local.dataTheme;
11254
- },
11255
- get ["class"] () {
11256
- return classes();
11257
- },
11258
- get style () {
11259
- return local.style;
11260
- }
11261
- }), false, true);
11262
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, message);
11263
- return _el$;
11264
- }
11265
- });
11266
- };
11267
- const form_status_FormStatus = FormStatus;
11246
+ const Fieldset = Fieldset_Fieldset;
11268
11247
  var Label_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<label><span class="label-text cursor-pointer">');
11269
11248
  const Label = (props)=>{
11270
11249
  const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
@@ -13912,83 +13891,6 @@ const LiveChatBubble = (props)=>{
13912
13891
  ];
13913
13892
  };
13914
13893
  const live_chat_LiveChatBubble = LiveChatBubble;
13915
- var LevelMeter_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><div>");
13916
- const LevelMeter_colorMap = {
13917
- neutral: "bg-neutral",
13918
- primary: "bg-primary",
13919
- secondary: "bg-secondary",
13920
- accent: "bg-accent",
13921
- info: "bg-info",
13922
- success: "bg-success",
13923
- warning: "bg-warning",
13924
- error: "bg-error",
13925
- ghost: "bg-ghost"
13926
- };
13927
- const LevelMeter = (props)=>{
13928
- const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
13929
- "level",
13930
- "color",
13931
- "direction",
13932
- "class",
13933
- "className",
13934
- "dataTheme",
13935
- "style",
13936
- "aria-label"
13937
- ]);
13938
- const direction = ()=>local.direction ?? "vertical";
13939
- const color = ()=>local.color ?? "primary";
13940
- const clampedLevel = ()=>Math.min(1, Math.max(0, local.level));
13941
- const trackClasses = ()=>twMerge("bg-base-200 relative overflow-hidden", dist_clsx({
13942
- "w-4 h-full": "vertical" === direction(),
13943
- "h-4 w-full": "horizontal" === direction()
13944
- }), local.class, local.className);
13945
- const fillClasses = ()=>twMerge("absolute transition-all duration-300 ease-in-out", LevelMeter_colorMap[color()] ?? "bg-primary", dist_clsx({
13946
- "bottom-0 left-0 w-full": "vertical" === direction(),
13947
- "top-0 left-0 h-full": "horizontal" === direction()
13948
- }));
13949
- const fillStyle = ()=>{
13950
- if ("vertical" === direction()) return {
13951
- height: `${100 * clampedLevel()}%`
13952
- };
13953
- return {
13954
- width: `${100 * clampedLevel()}%`
13955
- };
13956
- };
13957
- return (()=>{
13958
- var _el$ = LevelMeter_tmpl$(), _el$2 = _el$.firstChild;
13959
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
13960
- role: "meter",
13961
- get ["aria-valuenow"] () {
13962
- return Math.round(100 * clampedLevel());
13963
- },
13964
- "aria-valuemin": 0,
13965
- "aria-valuemax": 100,
13966
- get ["aria-label"] () {
13967
- return local["aria-label"];
13968
- },
13969
- get ["class"] () {
13970
- return trackClasses();
13971
- },
13972
- get style () {
13973
- return local.style;
13974
- },
13975
- get ["data-theme"] () {
13976
- return local.dataTheme;
13977
- }
13978
- }), false, true);
13979
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
13980
- var _v$ = fillClasses(), _v$2 = fillStyle();
13981
- _v$ !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$2, _p$.e = _v$);
13982
- _p$.t = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$2, _v$2, _p$.t);
13983
- return _p$;
13984
- }, {
13985
- e: void 0,
13986
- t: void 0
13987
- });
13988
- return _el$;
13989
- })();
13990
- };
13991
- const level_meter_LevelMeter = LevelMeter;
13992
13894
  var LanguageSwitcher_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<span class="text-xs font-bold uppercase"aria-hidden=true>');
13993
13895
  const LanguageSwitcher = (props)=>{
13994
13896
  const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
@@ -14222,87 +14124,6 @@ const Mask_Mask = (props)=>{
14222
14124
  Mask_Mask.className = maskClassName;
14223
14125
  const Mask = Mask_Mask;
14224
14126
  const mask = Mask;
14225
- var MediaToggleControls_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
14226
- const MediaToggleControls = (props)=>{
14227
- const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
14228
- "isAudioEnabled",
14229
- "isVideoEnabled",
14230
- "onToggleAudio",
14231
- "onToggleVideo",
14232
- "size",
14233
- "disabled",
14234
- "class",
14235
- "className",
14236
- "style",
14237
- "dataTheme"
14238
- ]);
14239
- return (()=>{
14240
- var _el$ = MediaToggleControls_tmpl$();
14241
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
14242
- get ["class"] () {
14243
- return twMerge("flex gap-2", local.class, local.className);
14244
- },
14245
- get style () {
14246
- return local.style;
14247
- },
14248
- get ["data-theme"] () {
14249
- return local.dataTheme;
14250
- }
14251
- }, others), false, true);
14252
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(button_Button, {
14253
- shape: "circle",
14254
- get size () {
14255
- return local.size;
14256
- },
14257
- get color () {
14258
- return local.isVideoEnabled() ? "primary" : "error";
14259
- },
14260
- get disabled () {
14261
- return local.disabled;
14262
- },
14263
- get onClick () {
14264
- return local.onToggleVideo;
14265
- },
14266
- get ["aria-label"] () {
14267
- return local.isVideoEnabled() ? "Disable camera" : "Enable camera";
14268
- },
14269
- get children () {
14270
- return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(icon_Icon, {
14271
- get name () {
14272
- return local.isVideoEnabled() ? "icon-[mdi--video]" : "icon-[mdi--video-off]";
14273
- }
14274
- });
14275
- }
14276
- }), null);
14277
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(button_Button, {
14278
- shape: "circle",
14279
- get size () {
14280
- return local.size;
14281
- },
14282
- get color () {
14283
- return local.isAudioEnabled() ? "primary" : "error";
14284
- },
14285
- get disabled () {
14286
- return local.disabled;
14287
- },
14288
- get onClick () {
14289
- return local.onToggleAudio;
14290
- },
14291
- get ["aria-label"] () {
14292
- return local.isAudioEnabled() ? "Disable microphone" : "Enable microphone";
14293
- },
14294
- get children () {
14295
- return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(icon_Icon, {
14296
- get name () {
14297
- return local.isAudioEnabled() ? "icon-[mdi--microphone]" : "icon-[mdi--microphone-off]";
14298
- }
14299
- });
14300
- }
14301
- }), null);
14302
- return _el$;
14303
- })();
14304
- };
14305
- const media_toggle_controls_MediaToggleControls = MediaToggleControls;
14306
14127
  var MenuTitle_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<li>");
14307
14128
  const MenuTitle = (props)=>{
14308
14129
  const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
@@ -14631,7 +14452,7 @@ const navbar_Navbar = Object.assign(Navbar, {
14631
14452
  Stack: NavbarStack,
14632
14453
  Row: navbar_NavbarRow
14633
14454
  });
14634
- var NoiseBackground_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div><div class="absolute inset-0"></div><div class="absolute inset-0"></div><div class="absolute inset-0"></div><div class="absolute inset-x-0 top-0 h-1 opacity-80 blur-sm"></div><div class="pointer-events-none absolute inset-0 overflow-hidden"><img alt class="h-full w-full object-cover"></div><div>');
14455
+ var NoiseBackground_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div><div class="absolute inset-0 opacity-40"></div><div class="absolute inset-0 opacity-30"></div><div class="absolute inset-0 opacity-25"></div><div class="absolute inset-x-0 top-0 h-1 opacity-80 blur-sm"></div><div class="pointer-events-none absolute inset-0 overflow-hidden"><img alt class="h-full w-full object-cover"></div><div>');
14635
14456
  function NoiseBackground_createSpring(initial, stiffness = 100, damping = 30) {
14636
14457
  let current = initial;
14637
14458
  let velocity = 0;
@@ -14795,13 +14616,10 @@ const NoiseBackground = (rawProps)=>{
14795
14616
  }, others), false, true);
14796
14617
  var _ref$2 = layer0;
14797
14618
  "function" == typeof _ref$2 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$2, _el$2) : layer0 = _el$2;
14798
- _el$2.style.setProperty("opacity", "0.4");
14799
14619
  var _ref$3 = layer1;
14800
14620
  "function" == typeof _ref$3 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$3, _el$3) : layer1 = _el$3;
14801
- _el$3.style.setProperty("opacity", "0.3");
14802
14621
  var _ref$4 = layer2;
14803
14622
  "function" == typeof _ref$4 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$4, _el$4) : layer2 = _el$4;
14804
- _el$4.style.setProperty("opacity", "0.25");
14805
14623
  var _ref$5 = stripEl;
14806
14624
  "function" == typeof _ref$5 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$5, _el$5) : stripEl = _el$5;
14807
14625
  _el$7.style.setProperty("opacity", "var(--noise-opacity, 0.2)");
@@ -14824,8 +14642,18 @@ const NoiseBackground = (rawProps)=>{
14824
14642
  })();
14825
14643
  };
14826
14644
  const noise_background_NoiseBackground = NoiseBackground;
14827
- const Pagination = join_Join;
14828
- const pagination_Pagination = Pagination;
14645
+ const Pagination_Pagination = (props)=>{
14646
+ const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
14647
+ "class",
14648
+ "className"
14649
+ ]);
14650
+ return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(join_Join, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
14651
+ get ["class"] () {
14652
+ return twMerge(local.class, local.className);
14653
+ }
14654
+ }));
14655
+ };
14656
+ const Pagination = Pagination_Pagination;
14829
14657
  var PhoneMockup_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div aria-label="Phone mockup"><div class=mockup-phone-camera></div><div class=mockup-phone-display><div>');
14830
14658
  const PhoneMockup = (props)=>{
14831
14659
  const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
@@ -15090,7 +14918,7 @@ const Radio = (props)=>{
15090
14918
  })();
15091
14919
  };
15092
14920
  const radio_Radio = Radio;
15093
- var RadioGroup_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<fieldset role=radiogroup><div>"), RadioGroup_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<legend class="mb-1 font-semibold">'), RadioGroup_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<label class="flex items-center gap-2 cursor-pointer"><input type=radio><span>');
14921
+ var RadioGroup_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<p role=alert class="mt-1 text-sm text-error">'), RadioGroup_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<fieldset role=radiogroup><div>"), RadioGroup_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<legend class="mb-1 font-semibold">'), RadioGroup_tmpl$4 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<label class="flex items-center gap-2 cursor-pointer"><input type=radio><span>');
15094
14922
  const RadioGroup = (props)=>{
15095
14923
  const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
15096
14924
  "name",
@@ -15101,11 +14929,13 @@ const RadioGroup = (props)=>{
15101
14929
  "size",
15102
14930
  "color",
15103
14931
  "direction",
14932
+ "error",
15104
14933
  "dataTheme",
15105
14934
  "class",
15106
14935
  "className",
15107
14936
  "style"
15108
14937
  ]);
14938
+ const errorId = `${props.name}-error`;
15109
14939
  const radioClasses = ()=>twMerge("radio", clsx({
15110
14940
  "radio-xl": "xl" === local.size,
15111
14941
  "radio-lg": "lg" === local.size,
@@ -15126,8 +14956,14 @@ const RadioGroup = (props)=>{
15126
14956
  "flex-col": "horizontal" !== local.direction
15127
14957
  }));
15128
14958
  return (()=>{
15129
- var _el$ = RadioGroup_tmpl$(), _el$2 = _el$.firstChild;
14959
+ var _el$ = RadioGroup_tmpl$2(), _el$2 = _el$.firstChild;
15130
14960
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
14961
+ get ["aria-orientation"] () {
14962
+ return "horizontal" === local.direction ? "horizontal" : "vertical";
14963
+ },
14964
+ get ["aria-describedby"] () {
14965
+ return local.error ? errorId : void 0;
14966
+ },
15131
14967
  get ["data-theme"] () {
15132
14968
  return local.dataTheme;
15133
14969
  },
@@ -15138,9 +14974,9 @@ const RadioGroup = (props)=>{
15138
14974
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (()=>{
15139
14975
  var _c$ = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>!!local.label);
15140
14976
  return ()=>_c$() && (()=>{
15141
- var _el$3 = RadioGroup_tmpl$2();
15142
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, ()=>local.label);
15143
- return _el$3;
14977
+ var _el$4 = RadioGroup_tmpl$3();
14978
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, ()=>local.label);
14979
+ return _el$4;
15144
14980
  })();
15145
14981
  })(), _el$2);
15146
14982
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.For, {
@@ -15148,25 +14984,36 @@ const RadioGroup = (props)=>{
15148
14984
  return local.options;
15149
14985
  },
15150
14986
  children: (option)=>(()=>{
15151
- var _el$4 = RadioGroup_tmpl$3(), _el$5 = _el$4.firstChild, _el$6 = _el$5.nextSibling;
15152
- _el$5.addEventListener("change", ()=>local.onChange?.(option.value));
15153
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$6, ()=>option.label);
14987
+ var _el$5 = RadioGroup_tmpl$4(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling;
14988
+ _el$6.addEventListener("change", ()=>local.onChange?.(option.value));
14989
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$7, ()=>option.label);
15154
14990
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
15155
14991
  var _v$ = local.name, _v$2 = radioClasses(), _v$3 = option.disabled;
15156
- _v$ !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$5, "name", _p$.e = _v$);
15157
- _v$2 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$5, _p$.t = _v$2);
15158
- _v$3 !== _p$.a && (_el$5.disabled = _p$.a = _v$3);
14992
+ _v$ !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$6, "name", _p$.e = _v$);
14993
+ _v$2 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$6, _p$.t = _v$2);
14994
+ _v$3 !== _p$.a && (_el$6.disabled = _p$.a = _v$3);
15159
14995
  return _p$;
15160
14996
  }, {
15161
14997
  e: void 0,
15162
14998
  t: void 0,
15163
14999
  a: void 0
15164
15000
  });
15165
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>_el$5.value = option.value);
15166
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>_el$5.checked = local.value === option.value);
15167
- return _el$4;
15001
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>_el$6.value = option.value);
15002
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>_el$6.checked = local.value === option.value);
15003
+ return _el$5;
15168
15004
  })()
15169
15005
  }));
15006
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
15007
+ get when () {
15008
+ return local.error;
15009
+ },
15010
+ get children () {
15011
+ var _el$3 = RadioGroup_tmpl$();
15012
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "id", errorId);
15013
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, ()=>local.error);
15014
+ return _el$3;
15015
+ }
15016
+ }), null);
15170
15017
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$2, containerClasses()));
15171
15018
  return _el$;
15172
15019
  })();
@@ -15251,8 +15098,8 @@ const Range = (props)=>{
15251
15098
  ];
15252
15099
  };
15253
15100
  const range_Range = Range;
15254
- var RangeSlider_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div><div class="flex items-center justify-between"><label class="text-sm font-medium"></label><span class=text-sm aria-live=polite></span></div><input>');
15255
- const RangeSlider = (props)=>{
15101
+ var RangeSlider_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="flex items-center justify-between"><label class="text-sm font-medium"></label><span class=text-sm aria-live=polite>'), RangeSlider_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><input>");
15102
+ const SliderField = (props)=>{
15256
15103
  const [local, inputRest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
15257
15104
  "label",
15258
15105
  "value",
@@ -15289,18 +15136,26 @@ const RangeSlider = (props)=>{
15289
15136
  "range-error": "error" === local.color
15290
15137
  }));
15291
15138
  const containerClasses = ()=>twMerge("flex flex-col gap-1", local.class, local.className);
15292
- const inputId = ()=>`range-slider-${local.label.replace(/\s+/g, "-").toLowerCase()}`;
15139
+ const inputId = `range-slider-${(0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createUniqueId)()}`;
15293
15140
  const handleInput = (e)=>{
15294
15141
  local.onChange(Number(e.currentTarget.value));
15295
15142
  };
15296
15143
  return (()=>{
15297
- var _el$ = RangeSlider_tmpl$(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$2.nextSibling;
15298
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, ()=>local.label);
15299
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, formattedValue);
15300
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$5, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(inputRest, {
15301
- get id () {
15302
- return inputId();
15144
+ var _el$ = RangeSlider_tmpl$2(), _el$5 = _el$.firstChild;
15145
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
15146
+ get when () {
15147
+ return local.label;
15303
15148
  },
15149
+ get children () {
15150
+ var _el$2 = RangeSlider_tmpl$(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
15151
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "for", inputId);
15152
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, ()=>local.label);
15153
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, formattedValue);
15154
+ return _el$2;
15155
+ }
15156
+ }), _el$5);
15157
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$5, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(inputRest, {
15158
+ id: inputId,
15304
15159
  type: "range",
15305
15160
  get ["class"] () {
15306
15161
  return rangeClasses();
@@ -15335,22 +15190,20 @@ const RangeSlider = (props)=>{
15335
15190
  }
15336
15191
  }), false, false);
15337
15192
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
15338
- var _v$ = local.dataTheme, _v$2 = containerClasses(), _v$3 = local.style, _v$4 = inputId();
15193
+ var _v$ = local.dataTheme, _v$2 = containerClasses(), _v$3 = local.style;
15339
15194
  _v$ !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "data-theme", _p$.e = _v$);
15340
15195
  _v$2 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$, _p$.t = _v$2);
15341
15196
  _p$.a = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$, _v$3, _p$.a);
15342
- _v$4 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "for", _p$.o = _v$4);
15343
15197
  return _p$;
15344
15198
  }, {
15345
15199
  e: void 0,
15346
15200
  t: void 0,
15347
- a: void 0,
15348
- o: void 0
15201
+ a: void 0
15349
15202
  });
15350
15203
  return _el$;
15351
15204
  })();
15352
15205
  };
15353
- const range_slider_RangeSlider = RangeSlider;
15206
+ const RangeSlider = SliderField;
15354
15207
  var RatingHidden_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<input>");
15355
15208
  const RatingHidden = (props)=>{
15356
15209
  const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
@@ -15477,77 +15330,6 @@ const Rating = Object.assign(Rating_Rating, {
15477
15330
  Item: rating_RatingItem,
15478
15331
  Hidden: rating_RatingHidden
15479
15332
  });
15480
- var SectionCard_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<h3 class="text-lg font-semibold">'), SectionCard_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="flex items-center gap-2 ml-auto">'), SectionCard_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="flex items-center justify-between mb-4">'), SectionCard_tmpl$4 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<section>");
15481
- const PADDING_MAP = {
15482
- default: "p-6",
15483
- tight: "p-3",
15484
- none: "p-0"
15485
- };
15486
- const SectionCard = (props)=>{
15487
- const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
15488
- "title",
15489
- "actions",
15490
- "padding",
15491
- "children",
15492
- "class",
15493
- "className",
15494
- "dataTheme",
15495
- "style"
15496
- ]);
15497
- const titleId = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createUniqueId)();
15498
- const padding = ()=>local.padding ?? "default";
15499
- const classes = ()=>twMerge("bg-base-100/85 backdrop-blur-xl border border-base-content/15 shadow-2xl rounded-box", PADDING_MAP[padding()], local.class, local.className);
15500
- return (()=>{
15501
- var _el$ = SectionCard_tmpl$4();
15502
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
15503
- get ["class"] () {
15504
- return classes();
15505
- },
15506
- get ["data-theme"] () {
15507
- return local.dataTheme;
15508
- },
15509
- get style () {
15510
- return local.style;
15511
- },
15512
- get ["aria-labelledby"] () {
15513
- return local.title ? titleId : void 0;
15514
- }
15515
- }), false, true);
15516
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
15517
- get when () {
15518
- return local.title || local.actions;
15519
- },
15520
- get children () {
15521
- var _el$2 = SectionCard_tmpl$3();
15522
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
15523
- get when () {
15524
- return local.title;
15525
- },
15526
- get children () {
15527
- var _el$3 = SectionCard_tmpl$();
15528
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "id", titleId);
15529
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, ()=>local.title);
15530
- return _el$3;
15531
- }
15532
- }), null);
15533
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
15534
- get when () {
15535
- return local.actions;
15536
- },
15537
- get children () {
15538
- var _el$4 = SectionCard_tmpl$2();
15539
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, ()=>local.actions);
15540
- return _el$4;
15541
- }
15542
- }), null);
15543
- return _el$2;
15544
- }
15545
- }), null);
15546
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children, null);
15547
- return _el$;
15548
- })();
15549
- };
15550
- const section_card_SectionCard = SectionCard;
15551
15333
  var Select_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<select><option value disabled hidden>");
15552
15334
  const Select = (props)=>{
15553
15335
  const merged = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.mergeProps)({
@@ -15973,7 +15755,10 @@ function SkipLink(props) {
15973
15755
  const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
15974
15756
  "href",
15975
15757
  "children",
15976
- "class"
15758
+ "class",
15759
+ "className",
15760
+ "style",
15761
+ "dataTheme"
15977
15762
  ]);
15978
15763
  return (()=>{
15979
15764
  var _el$ = SkipLink_tmpl$();
@@ -15982,7 +15767,13 @@ function SkipLink(props) {
15982
15767
  return local.href ?? "#main-content";
15983
15768
  },
15984
15769
  get ["class"] () {
15985
- return twMerge("sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:rounded focus:bg-primary focus:text-primary-content focus:outline-none", local.class);
15770
+ return twMerge("sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:rounded focus:bg-primary focus:text-primary-content focus:outline-none", local.class, local.className);
15771
+ },
15772
+ get style () {
15773
+ return local.style;
15774
+ },
15775
+ get ["data-theme"] () {
15776
+ return local.dataTheme;
15986
15777
  }
15987
15778
  }, rest), false, true);
15988
15779
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children ?? "Skip to main content");
@@ -16383,7 +16174,7 @@ const steps_Steps = Object.assign(Steps, {
16383
16174
  Step: steps_Step
16384
16175
  });
16385
16176
  const steps = steps_Steps;
16386
- var SvgBackground_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><ellipse></svg>", false, true, false), SvgBackground_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle></svg>", false, true, false), SvgBackground_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=0 cy=0 r=100 opacity=0.7></svg>", false, true, false), SvgBackground_tmpl$4 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=400 cy=0 r=120></svg>", false, true, false), SvgBackground_tmpl$5 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=0 cy=400 r=100 opacity=0.7></svg>", false, true, false), SvgBackground_tmpl$6 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=400 cy=400 r=120></svg>", false, true, false), SvgBackground_tmpl$7 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=0 cy=200 r=70 opacity=0.6></svg>", false, true, false), SvgBackground_tmpl$8 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=200 cy=0 r=100></svg>", false, true, false), SvgBackground_tmpl$9 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=400 cy=200 r=100></svg>", false, true, false), SvgBackground_tmpl$0 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=200 cy=400 r=100></svg>", false, true, false), _tmpl$1 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div><div><svg viewBox="0 0 400 400"xmlns=http://www.w3.org/2000/svg><rect width=400 height=400></rect></svg></div><canvas></canvas><div class="relative z-10 h-full w-full">'), _tmpl$10 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="absolute inset-0 z-5">');
16177
+ var SvgBackground_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><ellipse></svg>", false, true, false), SvgBackground_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle></svg>", false, true, false), SvgBackground_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=0 cy=0 r=100 opacity=0.7></svg>", false, true, false), SvgBackground_tmpl$4 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=400 cy=0 r=120></svg>", false, true, false), SvgBackground_tmpl$5 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=0 cy=400 r=100 opacity=0.7></svg>", false, true, false), SvgBackground_tmpl$6 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=400 cy=400 r=120></svg>", false, true, false), SvgBackground_tmpl$7 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=0 cy=200 r=70 opacity=0.6></svg>", false, true, false), SvgBackground_tmpl$8 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=200 cy=0 r=100></svg>", false, true, false), SvgBackground_tmpl$9 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=400 cy=200 r=100></svg>", false, true, false), SvgBackground_tmpl$0 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=200 cy=400 r=100></svg>", false, true, false), _tmpl$1 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div><div class=hidden><svg viewBox="0 0 400 400"xmlns=http://www.w3.org/2000/svg><rect width=400 height=400></rect></svg></div><canvas></canvas><div class="relative z-10 h-full w-full">'), _tmpl$10 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="absolute inset-0 z-5">');
16387
16178
  function SvgBackground_hexToRgb(hex) {
16388
16179
  hex = hex.replace(/^#/, "");
16389
16180
  const bigint = Number.parseInt(hex, 16);
@@ -16397,21 +16188,32 @@ function SvgBackground_hexToRgb(hex) {
16397
16188
  };
16398
16189
  }
16399
16190
  function SvgBackground(props) {
16400
- const { colorStart = "#6366f1", colorEnd = "#4f46e5", backgroundColor = "#000000", opacity = 1, blurIntensity = 40, density = 5, darkness = 0, class: className = "", style = {}, children } = props;
16191
+ const [local] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
16192
+ "colorStart",
16193
+ "colorEnd",
16194
+ "backgroundColor",
16195
+ "opacity",
16196
+ "blurIntensity",
16197
+ "density",
16198
+ "darkness",
16199
+ "class",
16200
+ "style",
16201
+ "children"
16202
+ ]);
16401
16203
  let containerRef;
16402
16204
  let svgRef;
16403
16205
  let canvasRef;
16404
16206
  const [isBackgroundReady, setBackgroundReady] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)(false);
16405
16207
  const getIntermediateColor = (t)=>{
16406
- const start = SvgBackground_hexToRgb(colorStart);
16407
- const end = SvgBackground_hexToRgb(colorEnd);
16208
+ const start = SvgBackground_hexToRgb(local.colorStart ?? "#6366f1");
16209
+ const end = SvgBackground_hexToRgb(local.colorEnd ?? "#4f46e5");
16408
16210
  const r = Math.round(start.r + (end.r - start.r) * t);
16409
16211
  const g = Math.round(start.g + (end.g - start.g) * t);
16410
16212
  const b = Math.round(start.b + (end.b - start.b) * t);
16411
16213
  return `#${r.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${b.toString(16).padStart(2, "0")}`;
16412
16214
  };
16413
16215
  const generateShapes = ()=>{
16414
- const normalizedDensity = Math.max(1, density);
16216
+ const normalizedDensity = Math.max(1, local.density ?? 5);
16415
16217
  const maxShapes = Math.min(200, Math.max(10, Math.ceil(15 + 8 * Math.sqrt(normalizedDensity))));
16416
16218
  const colors = [];
16417
16219
  for(let i = 0; i < maxShapes; i++){
@@ -16529,7 +16331,7 @@ function SvgBackground(props) {
16529
16331
  const edgeShapes = [
16530
16332
  (()=>{
16531
16333
  var _el$4 = SvgBackground_tmpl$3();
16532
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$4, "fill", colorStart);
16334
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$4, "fill", local.colorStart ?? "#6366f1"));
16533
16335
  return _el$4;
16534
16336
  })(),
16535
16337
  (()=>{
@@ -16544,7 +16346,7 @@ function SvgBackground(props) {
16544
16346
  })(),
16545
16347
  (()=>{
16546
16348
  var _el$7 = SvgBackground_tmpl$6();
16547
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$7, "fill", colorEnd);
16349
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$7, "fill", local.colorEnd ?? "#4f46e5"));
16548
16350
  return _el$7;
16549
16351
  })(),
16550
16352
  (()=>{
@@ -16694,16 +16496,17 @@ function SvgBackground(props) {
16694
16496
  if (!canvasRef) return;
16695
16497
  if (containerRef) {
16696
16498
  const rect = containerRef.getBoundingClientRect();
16697
- const blurPadding = Math.ceil(2 * blurIntensity);
16499
+ const blurPadding = Math.ceil((local.blurIntensity ?? 40) * 2);
16698
16500
  canvasRef.width = rect.width + 2 * blurPadding;
16699
16501
  canvasRef.height = rect.height + 2 * blurPadding;
16700
16502
  }
16701
16503
  const ctx = canvasRef.getContext("2d");
16702
16504
  if (!ctx) return;
16703
16505
  ctx.clearRect(0, 0, canvasRef.width, canvasRef.height);
16704
- ctx.fillStyle = backgroundColor;
16506
+ ctx.fillStyle = local.backgroundColor ?? "#000000";
16705
16507
  ctx.fillRect(0, 0, canvasRef.width, canvasRef.height);
16706
- ctx.drawImage(img, 2 * -blurIntensity, 2 * -blurIntensity, canvasRef.width + 4 * blurIntensity, canvasRef.height + 4 * blurIntensity);
16508
+ const blur = local.blurIntensity ?? 40;
16509
+ ctx.drawImage(img, 2 * -blur, 2 * -blur, canvasRef.width + 4 * blur, canvasRef.height + 4 * blur);
16707
16510
  URL.revokeObjectURL(svgUrl);
16708
16511
  setBackgroundReady(true);
16709
16512
  };
@@ -16721,6 +16524,7 @@ function SvgBackground(props) {
16721
16524
  renderSvgToCanvas();
16722
16525
  });
16723
16526
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createEffect)(()=>{
16527
+ local.colorStart, local.colorEnd, local.backgroundColor, local.opacity, local.blurIntensity, local.density;
16724
16528
  setTimeout(()=>{
16725
16529
  renderSvgToCanvas();
16726
16530
  }, 0);
@@ -16728,45 +16532,53 @@ function SvgBackground(props) {
16728
16532
  const backgroundStyle = ()=>({
16729
16533
  position: "relative",
16730
16534
  overflow: "hidden",
16731
- ...style
16535
+ ...local.style
16732
16536
  });
16733
- const canvasStyle = ()=>({
16537
+ const canvasStyle = ()=>{
16538
+ const blur = local.blurIntensity ?? 40;
16539
+ const op = local.opacity ?? 1;
16540
+ return {
16734
16541
  position: "absolute",
16735
- top: `-${2 * blurIntensity}px`,
16736
- left: `-${2 * blurIntensity}px`,
16737
- width: `calc(100% + ${4 * blurIntensity}px)`,
16738
- height: `calc(100% + ${4 * blurIntensity}px)`,
16542
+ top: `-${2 * blur}px`,
16543
+ left: `-${2 * blur}px`,
16544
+ width: `calc(100% + ${4 * blur}px)`,
16545
+ height: `calc(100% + ${4 * blur}px)`,
16739
16546
  "z-index": "0",
16740
- opacity: opacity.toString(),
16741
- filter: `blur(${blurIntensity}px)`
16742
- });
16547
+ opacity: op.toString(),
16548
+ filter: `blur(${blur}px)`
16549
+ };
16550
+ };
16743
16551
  return (()=>{
16744
16552
  var _el$14 = _tmpl$1(), _el$15 = _el$14.firstChild, _el$16 = _el$15.firstChild, _el$17 = _el$16.firstChild, _el$18 = _el$15.nextSibling, _el$19 = _el$18.nextSibling;
16745
16553
  var _ref$ = containerRef;
16746
16554
  "function" == typeof _ref$ ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$, _el$14) : containerRef = _el$14;
16747
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$14, `relative flex items-center justify-center ${className}`);
16748
- _el$15.style.setProperty("display", "none");
16749
16555
  var _ref$2 = svgRef;
16750
16556
  "function" == typeof _ref$2 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$2, _el$16) : svgRef = _el$16;
16751
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$17, "fill", backgroundColor);
16752
16557
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$16, generateShapes, null);
16753
16558
  var _ref$3 = canvasRef;
16754
16559
  "function" == typeof _ref$3 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$3, _el$18) : canvasRef = _el$18;
16755
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$14, darkness > 0 && (()=>{
16756
- var _el$20 = _tmpl$10();
16757
- _el$20.style.setProperty("background-color", `rgba(0, 0, 0, ${darkness})`);
16758
- _el$20.style.setProperty("pointer-events", "none");
16759
- return _el$20;
16560
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$14, (()=>{
16561
+ var _c$ = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>(local.darkness ?? 0) > 0);
16562
+ return ()=>_c$() && (()=>{
16563
+ var _el$20 = _tmpl$10();
16564
+ _el$20.style.setProperty("pointer-events", "none");
16565
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_$p)=>(_$p = `rgba(0, 0, 0, ${local.darkness ?? 0})`, _el$20.style.setProperty("background-color", _$p)));
16566
+ return _el$20;
16567
+ })();
16760
16568
  })(), _el$19);
16761
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$19, children);
16569
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$19, ()=>local.children);
16762
16570
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
16763
- var _v$33 = backgroundStyle(), _v$34 = canvasStyle();
16764
- _p$.e = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$14, _v$33, _p$.e);
16765
- _p$.t = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$18, _v$34, _p$.t);
16571
+ var _v$33 = twMerge("relative flex items-center justify-center", local.class), _v$34 = backgroundStyle(), _v$35 = local.backgroundColor ?? "#000000", _v$36 = canvasStyle();
16572
+ _v$33 !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$14, _p$.e = _v$33);
16573
+ _p$.t = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$14, _v$34, _p$.t);
16574
+ _v$35 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$17, "fill", _p$.a = _v$35);
16575
+ _p$.o = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$18, _v$36, _p$.o);
16766
16576
  return _p$;
16767
16577
  }, {
16768
16578
  e: void 0,
16769
- t: void 0
16579
+ t: void 0,
16580
+ a: void 0,
16581
+ o: void 0
16770
16582
  });
16771
16583
  return _el$14;
16772
16584
  })();
@@ -17858,7 +17670,9 @@ const StreamingTable = (props)=>{
17858
17670
  "pageSize",
17859
17671
  "initialPage",
17860
17672
  "enableSorting",
17861
- "initialSorting"
17673
+ "initialSorting",
17674
+ "class",
17675
+ "className"
17862
17676
  ]);
17863
17677
  const store = createStreamingTableStore();
17864
17678
  const [sortingState, setSortingState] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)(local.initialSorting ?? {
@@ -17874,9 +17688,9 @@ const StreamingTable = (props)=>{
17874
17688
  };
17875
17689
  const resolveId = (row)=>{
17876
17690
  if (local.getRowId) return local.getRowId(row);
17877
- const anyRow = row;
17878
- if (null != anyRow.id) return String(anyRow.id);
17879
- return JSON.stringify(anyRow);
17691
+ const rowWithId = row;
17692
+ if (null != rowWithId.id) return String(rowWithId.id);
17693
+ return JSON.stringify(row);
17880
17694
  };
17881
17695
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createEffect)(()=>{
17882
17696
  const incoming = local.data ?? [];
@@ -18077,9 +17891,7 @@ const StreamingTable = (props)=>{
18077
17891
  get colSpan () {
18078
17892
  return local.columns.length;
18079
17893
  },
18080
- style: {
18081
- "text-align": "center"
18082
- },
17894
+ class: "text-center",
18083
17895
  children: "No data"
18084
17896
  });
18085
17897
  }
@@ -18123,7 +17935,7 @@ const StreamingTable = (props)=>{
18123
17935
  get children () {
18124
17936
  var _el$3 = StreamingTable_tmpl$2(), _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$7 = _el$5.nextSibling;
18125
17937
  _el$7.nextSibling;
18126
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(pagination_Pagination, {
17938
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(Pagination, {
18127
17939
  get children () {
18128
17940
  return [
18129
17941
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(button_Button, {
@@ -18169,6 +17981,7 @@ const StreamingTable = (props)=>{
18169
17981
  return _el$3;
18170
17982
  }
18171
17983
  }), null);
17984
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$, twMerge(local.class, local.className)));
18172
17985
  return _el$;
18173
17986
  })();
18174
17987
  };
@@ -18823,20 +18636,30 @@ function hueToColorValue(hue, sat) {
18823
18636
  };
18824
18637
  }
18825
18638
  const ThemeColorPicker_ThemeColorPicker = (props)=>{
18639
+ const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
18640
+ "storagePrefix",
18641
+ "onColorChange",
18642
+ "aria-label",
18643
+ "children",
18644
+ "class",
18645
+ "className",
18646
+ "style",
18647
+ "dataTheme"
18648
+ ]);
18826
18649
  const [isOpen, setIsOpen] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)(false);
18827
18650
  const [featureAvailable, setFeatureAvailable] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createSignal)(true);
18828
18651
  let containerRef;
18829
- const store = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>createHueShiftStore(props.storagePrefix ?? "theme"));
18652
+ const store = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>createHueShiftStore(local.storagePrefix ?? "theme"));
18830
18653
  const colorValue = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>hueToColorValue(store().hueShift(), store().hueSaturation()));
18831
18654
  const handleColorChange = (color)=>{
18832
18655
  const hue = color.hsl.h;
18833
18656
  const saturation = color.hsl.s;
18834
18657
  if (saturation < 10 && color.hsl.l > 90) {
18835
18658
  store().setHueShift(null);
18836
- props.onColorChange?.(null, 100);
18659
+ local.onColorChange?.(null, 100);
18837
18660
  } else {
18838
18661
  store().setHueShift(hue, saturation);
18839
- props.onColorChange?.(hue, saturation);
18662
+ local.onColorChange?.(hue, saturation);
18840
18663
  }
18841
18664
  };
18842
18665
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createEffect)(()=>{
@@ -18868,7 +18691,7 @@ const ThemeColorPicker_ThemeColorPicker = (props)=>{
18868
18691
  onChange: handleColorChange,
18869
18692
  onFormatChange: ()=>{}
18870
18693
  });
18871
- const classes = ()=>twMerge("relative", clsx(props.class, props.className));
18694
+ const classes = ()=>twMerge("relative", clsx(local.class, local.className));
18872
18695
  return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
18873
18696
  get when () {
18874
18697
  return featureAvailable();
@@ -18878,18 +18701,26 @@ const ThemeColorPicker_ThemeColorPicker = (props)=>{
18878
18701
  _el$.$$keydown = handleKeyDown;
18879
18702
  var _ref$ = containerRef;
18880
18703
  "function" == typeof _ref$ ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$, _el$) : containerRef = _el$;
18704
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
18705
+ get ["class"] () {
18706
+ return classes();
18707
+ },
18708
+ get style () {
18709
+ return local.style;
18710
+ }
18711
+ }, others), false, true);
18881
18712
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(button_Button, {
18882
18713
  type: "button",
18883
18714
  size: "sm",
18884
18715
  onClick: ()=>setIsOpen(!isOpen()),
18885
18716
  get ["aria-label"] () {
18886
- return props["aria-label"] ?? "Change theme color";
18717
+ return local["aria-label"] ?? "Change theme color";
18887
18718
  },
18888
18719
  get ["aria-expanded"] () {
18889
18720
  return isOpen();
18890
18721
  },
18891
18722
  get children () {
18892
- return props.children ?? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(icon_Icon, {
18723
+ return local.children ?? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(icon_Icon, {
18893
18724
  name: "icon-[mdi--palette]",
18894
18725
  width: 16,
18895
18726
  height: 16,
@@ -18918,15 +18749,6 @@ const ThemeColorPicker_ThemeColorPicker = (props)=>{
18918
18749
  return _el$2;
18919
18750
  }
18920
18751
  }), null);
18921
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
18922
- var _v$ = classes(), _v$2 = props.style;
18923
- _v$ !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$, _p$.e = _v$);
18924
- _p$.t = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$, _v$2, _p$.t);
18925
- return _p$;
18926
- }, {
18927
- e: void 0,
18928
- t: void 0
18929
- });
18930
18752
  return _el$;
18931
18753
  }
18932
18754
  });
@@ -19226,6 +19048,7 @@ const defaultRenderToast = (toast, dismiss)=>(0, __WEBPACK_EXTERNAL_MODULE_solid
19226
19048
  });
19227
19049
  const ToastStack_ToastStack = (props)=>{
19228
19050
  const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
19051
+ "class",
19229
19052
  "motionPreset",
19230
19053
  "motionPresetName",
19231
19054
  "reduceMotion",
@@ -19269,6 +19092,9 @@ const ToastStack_ToastStack = (props)=>{
19269
19092
  });
19270
19093
  const renderToast = ()=>local.renderToast ?? defaultRenderToast;
19271
19094
  return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(toast_Toast, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(rest, {
19095
+ get ["class"] () {
19096
+ return twMerge(local.class);
19097
+ },
19272
19098
  get children () {
19273
19099
  var _el$2 = ToastStack_tmpl$2();
19274
19100
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.For, {
@@ -19352,7 +19178,16 @@ const ToastStack = ToastStack_ToastStack;
19352
19178
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.delegateEvents)([
19353
19179
  "click"
19354
19180
  ]);
19355
- const ToastContainer = ()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(ToastStack, {});
19181
+ const ToastContainer = (props)=>{
19182
+ const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
19183
+ "class"
19184
+ ]);
19185
+ return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(ToastStack, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(rest, {
19186
+ get ["class"] () {
19187
+ return twMerge(local.class);
19188
+ }
19189
+ }));
19190
+ };
19356
19191
  var Toggle_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<input>");
19357
19192
  const Toggle = (props)=>{
19358
19193
  const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
@@ -19421,12 +19256,12 @@ const Toggle = (props)=>{
19421
19256
  })();
19422
19257
  };
19423
19258
  const toggle_Toggle = Toggle;
19424
- var ToggleSetting_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div><div class="flex flex-col"><label class="text-sm font-medium cursor-pointer">'), ToggleSetting_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<span class="text-xs opacity-60">');
19425
- const ToggleSetting = (props)=>{
19259
+ var SwitchField_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<span role=alert class="text-error text-xs">'), SwitchField_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div><div class="flex flex-col"><label>'), SwitchField_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<span class="text-xs opacity-60">');
19260
+ const SwitchField = (props)=>{
19426
19261
  const id = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createUniqueId)();
19427
- const toggleId = `toggle-setting-input-${id}`;
19428
- const labelId = `toggle-setting-label-${id}`;
19429
- const descriptionId = `toggle-setting-desc-${id}`;
19262
+ const toggleId = `switch-field-input-${id}`;
19263
+ const descriptionId = `switch-field-desc-${id}`;
19264
+ const errorId = `switch-field-error-${id}`;
19430
19265
  const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
19431
19266
  "label",
19432
19267
  "description",
@@ -19434,6 +19269,8 @@ const ToggleSetting = (props)=>{
19434
19269
  "onChange",
19435
19270
  "disabled",
19436
19271
  "size",
19272
+ "color",
19273
+ "error",
19437
19274
  "dataTheme",
19438
19275
  "class",
19439
19276
  "className",
@@ -19443,7 +19280,7 @@ const ToggleSetting = (props)=>{
19443
19280
  "opacity-50": local.disabled
19444
19281
  }));
19445
19282
  return (()=>{
19446
- var _el$ = ToggleSetting_tmpl$(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild;
19283
+ var _el$ = SwitchField_tmpl$2(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild;
19447
19284
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
19448
19285
  get ["data-theme"] () {
19449
19286
  return local.dataTheme;
@@ -19455,18 +19292,28 @@ const ToggleSetting = (props)=>{
19455
19292
  return local.style;
19456
19293
  }
19457
19294
  }), false, true);
19458
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "id", labelId);
19459
19295
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "for", toggleId);
19460
19296
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, ()=>local.label);
19461
19297
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, (()=>{
19462
19298
  var _c$ = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>!!local.description);
19463
19299
  return ()=>_c$() && (()=>{
19464
- var _el$4 = ToggleSetting_tmpl$2();
19465
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$4, "id", descriptionId);
19466
- (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, ()=>local.description);
19467
- return _el$4;
19300
+ var _el$5 = SwitchField_tmpl$3();
19301
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$5, "id", descriptionId);
19302
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$5, ()=>local.description);
19303
+ return _el$5;
19468
19304
  })();
19469
19305
  })(), null);
19306
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.Show, {
19307
+ get when () {
19308
+ return local.error;
19309
+ },
19310
+ get children () {
19311
+ var _el$4 = SwitchField_tmpl$();
19312
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$4, "id", errorId);
19313
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, ()=>local.error);
19314
+ return _el$4;
19315
+ }
19316
+ }), null);
19470
19317
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(toggle_Toggle, {
19471
19318
  id: toggleId,
19472
19319
  get checked () {
@@ -19478,16 +19325,22 @@ const ToggleSetting = (props)=>{
19478
19325
  get size () {
19479
19326
  return local.size;
19480
19327
  },
19481
- "aria-labelledby": labelId,
19328
+ get color () {
19329
+ return local.color;
19330
+ },
19482
19331
  get ["aria-describedby"] () {
19483
- return local.description ? descriptionId : void 0;
19332
+ return [
19333
+ local.description ? descriptionId : "",
19334
+ local.error ? errorId : ""
19335
+ ].filter(Boolean).join(" ") || void 0;
19484
19336
  },
19485
19337
  onChange: (e)=>local.onChange?.(e.currentTarget.checked)
19486
19338
  }), null);
19339
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$3, clsx("text-sm font-medium", local.disabled ? "cursor-not-allowed" : "cursor-pointer")));
19487
19340
  return _el$;
19488
19341
  })();
19489
19342
  };
19490
- const toggle_setting_ToggleSetting = ToggleSetting;
19343
+ const switch_field_SwitchField = SwitchField;
19491
19344
  var VideoPreview_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<video>");
19492
19345
  const VideoPreview = (props)=>{
19493
19346
  const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
@@ -19527,13 +19380,10 @@ const VideoPreview = (props)=>{
19527
19380
  return local.dataTheme;
19528
19381
  },
19529
19382
  get ["class"] () {
19530
- return twMerge(local.class, local.className);
19383
+ return twMerge(mirror() && "-scale-x-100", local.class, local.className);
19531
19384
  },
19532
19385
  get style () {
19533
- return {
19534
- ...local.style ?? {},
19535
- transform: mirror() ? "scaleX(-1)" : void 0
19536
- };
19386
+ return local.style;
19537
19387
  }
19538
19388
  }), false, false);
19539
19389
  return _el$;
@@ -19702,4 +19552,4 @@ const createRouteTransitionResolver = (options)=>{
19702
19552
  return fallback ?? noMotion;
19703
19553
  };
19704
19554
  };
19705
- export { accordion_Accordion as Accordion, alert_Alert as Alert, AlphaSlider, artboard_Artboard as Artboard, avatar as Avatar, background_Background as Background, Badge, bottom_sheet_BottomSheet as BottomSheet, Breadcrumbs, breadcrumbs_BreadcrumbsItem as BreadcrumbsItem, browsermockup_BrowserMockup as BrowserMockup, button_Button as Button, Calendar, card_Card as Card, carousel_Carousel as Carousel, chatbubble_ChatBubble as ChatBubble, checkbox_Checkbox as Checkbox, codemockup_CodeMockup as CodeMockup, CodeMockupLine, collapse_Collapse as Collapse, CollapseContent, CollapseDetails, CollapseTitle, colorpicker_ColorInput as ColorInput, colorpicker_ColorPicker as ColorPicker, ColorPickerContext, ColorPickerFlowerSelector, colorpicker_ColorPickerGradientSelector as ColorPickerGradientSelector, ColorPickerWheelSelector, colorpicker_ColorPreview as ColorPreview, colorpicker_ColorSwatches as ColorSwatches, ColorWheel, colorpicker_ColorWheelFlower as ColorWheelFlower, ConfirmDialog, connectionstatus_ConnectionStatus as ConnectionStatus, CookieConsent, CopyButton, countdown_Countdown as Countdown, diff_Diff as Diff, divider as Divider, dock as Dock, Drawer, dropdown as Dropdown, DropdownSelect, duration_badge_DurationBadge as DurationBadge, EmptyState, EnhancedTable, FileInput, FirefoxPWABanner, flex_Flex as Flex, floating_dock_FloatingDock as FloatingDock, footer_Footer as Footer, form_Form as Form, form_actions_FormActions as FormActions, form_section_FormSection as FormSection, form_status_FormStatus as FormStatus, glass_panel_GlassPanel as GlassPanel, GlowCard, Grid, hero_Hero as Hero, colorpicker_HueSlider as HueSlider, I18nContext, I18nProvider, icon_Icon as Icon, immersive_landing_ImmersiveLanding as ImmersiveLanding, ImmersiveLandingContext, indicator_Indicator as Indicator, input as Input, join_Join as Join, kbd_Kbd as Kbd, language_switcher_LanguageSwitcher as LanguageSwitcher, level_meter_LevelMeter as LevelMeter, LightnessSlider, link_Link as Link, live_chat_LiveChatBubble as LiveChatBubble, LiveChatPanel, loading_Loading as Loading, mask as Mask, media_toggle_controls_MediaToggleControls as MediaToggleControls, menu_Menu as Menu, modal_Modal as Modal, MotionDiv, navbar_Navbar as Navbar, noise_background_NoiseBackground as NoiseBackground, PWAInstallPrompt, pagination_Pagination as Pagination, phonemockup_PhoneMockup as PhoneMockup, Progress, props_table_PropsTable as PropsTable, radialprogress_RadialProgress as RadialProgress, radio_Radio as Radio, radio_group_RadioGroup as RadioGroup, range_Range as Range, range_slider_RangeSlider as RangeSlider, Rating, colorpicker_SaturationBrightness as SaturationBrightness, section_card_SectionCard as SectionCard, select_Select as Select, showcase_ShowcaseBlock as ShowcaseBlock, ShowcaseSection, sidenav_Sidenav as Sidenav, sidenav_SidenavButton as SidenavButton, sidenav_SidenavGroup as SidenavGroup, sidenav_SidenavItem as SidenavItem, sidenav_SidenavLink as SidenavLink, sidenav_SidenavMenu as SidenavMenu, skeleton_Skeleton as Skeleton, SkipLink, Stack, stat_card_StatCard as StatCard, stats_Stats as Stats, status_Status as Status, steps as Steps, streaming_table_StreamingTable as StreamingTable, Summary, SvgBackground, Swap, table_Table as Table, tabs_Tabs as Tabs, textarea_Textarea as Textarea, ThemeColorPicker, Timeline, timeline_TimelineEnd as TimelineEnd, timeline_TimelineItem as TimelineItem, timeline_TimelineMiddle as TimelineMiddle, timeline_TimelineStart as TimelineStart, toast_Toast as Toast, ToastContainer, ToastStack_ToastStack as ToastStack, toggle_Toggle as Toggle, toggle_setting_ToggleSetting as ToggleSetting, tooltip_Tooltip as Tooltip, video_preview_VideoPreview as VideoPreview, windowmockup_WindowMockup as WindowMockup, createHueShiftStore, createI18n, createMotionPresets, createMotionSystem, createPopmotionDriver, createRouteTransitionResolver, createStreamingTableStore, connectionstatus_ConnectionStatus as default, defaultMotionTokens, enablePopmotion, getDefaultHueShiftStore, getMotionDriver, presets_getPreset as getPreset, immediateDriver, mergeMotionTokens, motionDistances, motionDurations, motionEasings, motionPresets, noMotion, prefersReducedMotion, presets_registerPreset as registerPreset, resetHueShift, resolveEase, presets_resolvePreset as resolvePreset, routeTransition, runMotion, setMotionDriver, toastStore, useColorPickerContext, useDesktop, useFormValidation, useI18n, useImmersiveLanding, useImmersiveLandingContext };
19555
+ export { accordion_Accordion as Accordion, alert_Alert as Alert, AlphaSlider, artboard_Artboard as Artboard, avatar as Avatar, background_Background as Background, Badge, bottom_sheet_BottomSheet as BottomSheet, Breadcrumbs, breadcrumbs_BreadcrumbsItem as BreadcrumbsItem, browsermockup_BrowserMockup as BrowserMockup, button_Button as Button, Calendar, card_Card as Card, carousel_Carousel as Carousel, chatbubble_ChatBubble as ChatBubble, checkbox_Checkbox as Checkbox, codemockup_CodeMockup as CodeMockup, CodeMockupLine, collapse_Collapse as Collapse, CollapseContent, CollapseDetails, CollapseTitle, colorpicker_ColorInput as ColorInput, colorpicker_ColorPicker as ColorPicker, ColorPickerContext, ColorPickerFlowerSelector, colorpicker_ColorPickerGradientSelector as ColorPickerGradientSelector, ColorPickerWheelSelector, colorpicker_ColorPreview as ColorPreview, colorpicker_ColorSwatches as ColorSwatches, ColorWheel, colorpicker_ColorWheelFlower as ColorWheelFlower, ConfirmDialog, connectionstatus_ConnectionStatus as ConnectionStatus, CookieConsent, CopyButton, countdown_Countdown as Countdown, diff_Diff as Diff, divider as Divider, dock as Dock, Drawer, dropdown as Dropdown, DropdownSelect, EmptyState, EnhancedTable, Fieldset, FileInput, FirefoxPWABanner, flex_Flex as Flex, floating_dock_FloatingDock as FloatingDock, footer_Footer as Footer, form_Form as Form, form_actions_FormActions as FormActions, glass_panel_GlassPanel as GlassPanel, GlowCard, Grid, hero_Hero as Hero, colorpicker_HueSlider as HueSlider, I18nContext, I18nProvider, icon_Icon as Icon, immersive_landing_ImmersiveLanding as ImmersiveLanding, ImmersiveLandingContext, indicator_Indicator as Indicator, input as Input, join_Join as Join, kbd_Kbd as Kbd, language_switcher_LanguageSwitcher as LanguageSwitcher, LightnessSlider, link_Link as Link, live_chat_LiveChatBubble as LiveChatBubble, LiveChatPanel, loading_Loading as Loading, mask as Mask, menu_Menu as Menu, modal_Modal as Modal, MotionDiv, navbar_Navbar as Navbar, noise_background_NoiseBackground as NoiseBackground, PWAInstallPrompt, Pagination, phonemockup_PhoneMockup as PhoneMockup, Progress, props_table_PropsTable as PropsTable, radialprogress_RadialProgress as RadialProgress, radio_Radio as Radio, radio_group_RadioGroup as RadioGroup, range_Range as Range, Rating, colorpicker_SaturationBrightness as SaturationBrightness, select_Select as Select, showcase_ShowcaseBlock as ShowcaseBlock, ShowcaseSection, sidenav_Sidenav as Sidenav, sidenav_SidenavButton as SidenavButton, sidenav_SidenavGroup as SidenavGroup, sidenav_SidenavItem as SidenavItem, sidenav_SidenavLink as SidenavLink, sidenav_SidenavMenu as SidenavMenu, skeleton_Skeleton as Skeleton, SkipLink, RangeSlider as SliderField, Stack, stat_card_StatCard as StatCard, stats_Stats as Stats, status_Status as Status, steps as Steps, streaming_table_StreamingTable as StreamingTable, Summary, SvgBackground, Swap, switch_field_SwitchField as SwitchField, table_Table as Table, tabs_Tabs as Tabs, textarea_Textarea as Textarea, ThemeColorPicker, Timeline, timeline_TimelineEnd as TimelineEnd, timeline_TimelineItem as TimelineItem, timeline_TimelineMiddle as TimelineMiddle, timeline_TimelineStart as TimelineStart, toast_Toast as Toast, ToastContainer, ToastStack_ToastStack as ToastStack, toggle_Toggle as Toggle, tooltip_Tooltip as Tooltip, video_preview_VideoPreview as VideoPreview, windowmockup_WindowMockup as WindowMockup, createHueShiftStore, createI18n, createMotionPresets, createMotionSystem, createPopmotionDriver, createRouteTransitionResolver, createStreamingTableStore, connectionstatus_ConnectionStatus as default, defaultMotionTokens, enablePopmotion, getDefaultHueShiftStore, getMotionDriver, presets_getPreset as getPreset, immediateDriver, mergeMotionTokens, motionDistances, motionDurations, motionEasings, motionPresets, noMotion, prefersReducedMotion, presets_registerPreset as registerPreset, resetHueShift, resolveEase, presets_resolvePreset as resolvePreset, routeTransition, runMotion, setMotionDriver, toastStore, useColorPickerContext, useDesktop, useFormValidation, useI18n, useImmersiveLanding, useImmersiveLandingContext };