@solostylist/ui-kit 1.0.225 → 1.0.227

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 (246) hide show
  1. package/dist/{ArrowUpward-BMKLosZj.js → ArrowUpward-CNiENJp2.js} +1 -1
  2. package/dist/{ButtonBase-Bo6ysVGS.js → ButtonBase-BDefit5I.js} +100 -99
  3. package/dist/{ChevronRight-OLNOfW9P.js → ChevronRight-gZJ3kc6N.js} +1 -1
  4. package/dist/{Close-Bj2HYB9Q.js → Close-CJu3iF1p.js} +1 -1
  5. package/dist/{Collapse-CnXmaDqT.js → Collapse-JUd84Z9O.js} +4 -3
  6. package/dist/{ContentCopy-Br2p19dq.js → ContentCopy-BMQ2JTA0.js} +1 -1
  7. package/dist/{Download-BhSXOhCI.js → Download-SNal6U7j.js} +1 -1
  8. package/dist/{ExpandMore-Bu7_1g6Q.js → ExpandMore-DIsT5FOp.js} +1 -1
  9. package/dist/{Favorite-BJSuHe0H.js → Favorite-CbvuQfe4.js} +1 -1
  10. package/dist/{FormControl-DYkaP-oD.js → FormControl-BbzvApma.js} +6 -6
  11. package/dist/{InfoOutlined-C1AW3f5V.js → InfoOutlined-BCzG-5py.js} +1 -1
  12. package/dist/{Menu-C-0KEauj.js → Menu-Ct_sL_Dg.js} +20 -20
  13. package/dist/{MenuItem-DWivWkNb.js → MenuItem-CwAhn4sd.js} +8 -8
  14. package/dist/{MenuList-5HOyYdgq.js → MenuList-5C2nFAWS.js} +45 -45
  15. package/dist/{Modal-C1VRVWBZ.js → Modal-Cu5Cgh-q.js} +109 -108
  16. package/dist/{Paper-BY4X6-u_.js → Paper-CPC6sMxx.js} +1 -1
  17. package/dist/{Typography-EsraKPZO.js → Typography-CZ_MYa-E.js} +2 -2
  18. package/dist/{UnfoldMoreRounded-pz7NMMy3.js → UnfoldMoreRounded-tvqQS6eb.js} +1 -1
  19. package/dist/{autocomplete-qLj7AqcP.js → autocomplete-Dd4zjpaF.js} +1 -1
  20. package/dist/{avatar-BuMhUthq.js → avatar-DFQ5F7pY.js} +2 -2
  21. package/dist/{checkbox-B95Vlykq.js → checkbox-B5GlJYcB.js} +17 -17
  22. package/dist/{createSvgIcon-BdNZIlKS.js → createSvgIcon-HW-tbFcL.js} +1 -1
  23. package/dist/{mergeSlotProps-DBBJwoun.js → mergeSlotProps-slENzJO5.js} +1 -1
  24. package/dist/monthCalendarClasses-BLfBep-t.js +14 -0
  25. package/dist/s-accordion/index.js +1 -1
  26. package/dist/s-accordion/s-accordion.js +1 -1
  27. package/dist/{s-accordion-CXHBadZ_.js → s-accordion-xPDelTvP.js} +7 -7
  28. package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
  29. package/dist/s-carousel/index.js +1 -1
  30. package/dist/s-carousel/s-carousel.js +1 -1
  31. package/dist/{s-carousel-BUJYCigy.js → s-carousel-CvmWl6Sc.js} +7 -9
  32. package/dist/s-category-card/s-category-card.js +0 -1
  33. package/dist/s-chat-input/index.js +1 -1
  34. package/dist/s-chat-input/s-chat-input.js +1 -1
  35. package/dist/s-chat-input-BHMymKij.js +352 -0
  36. package/dist/s-chat-message/index.js +1 -1
  37. package/dist/s-chat-message/s-chat-message.js +1 -1
  38. package/dist/{s-chat-message-Cb1npIQO.js → s-chat-message-B9JOBvzP.js} +67 -73
  39. package/dist/s-chips/index.js +1 -1
  40. package/dist/s-chips/s-chips.js +1 -1
  41. package/dist/{s-chips-DelHx6zM.js → s-chips-CAC_vVd0.js} +1 -1
  42. package/dist/s-code-block/index.js +1 -1
  43. package/dist/s-code-block/s-code-block.js +1 -1
  44. package/dist/{s-code-block-sjt0AQb_.js → s-code-block-B5k-1Acd.js} +9 -1
  45. package/dist/s-comment-message/index.js +1 -1
  46. package/dist/s-comment-message/s-comment-message.js +1 -1
  47. package/dist/{s-comment-message-DzjXXLZQ.js → s-comment-message-BPE5a6p6.js} +12 -23
  48. package/dist/s-copyable-text/s-copyable-text.js +1 -2
  49. package/dist/s-data-table/index.js +1 -1
  50. package/dist/s-data-table/s-data-table.js +1 -1
  51. package/dist/{s-data-table-TrCdKq9r.js → s-data-table-D-esZw_W.js} +47 -49
  52. package/dist/s-date-picker/index.js +1 -1
  53. package/dist/s-date-picker/picker-action-bar.d.ts +12 -0
  54. package/dist/s-date-picker/picker-action-bar.js +52 -0
  55. package/dist/s-date-picker/s-date-picker.d.ts +1 -4
  56. package/dist/s-date-picker/s-date-picker.js +1 -1
  57. package/dist/s-date-picker-CdH1pta6.js +640 -0
  58. package/dist/s-datetime-picker/index.js +1 -1
  59. package/dist/s-datetime-picker/s-datetime-picker.d.ts +1 -4
  60. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  61. package/dist/{s-datetime-picker-rCWovez1.js → s-datetime-picker-BHkWSJKj.js} +806 -799
  62. package/dist/s-dialog/s-dialog.js +2 -3
  63. package/dist/s-dialog-confirm/s-dialog-confirm.js +3 -4
  64. package/dist/s-dialog-message/s-dialog-message.js +3 -4
  65. package/dist/s-empty/s-empty.js +2 -5
  66. package/dist/s-error/s-error.js +1 -1
  67. package/dist/s-error-layout/s-error-layout.d.ts +1 -1
  68. package/dist/s-error-layout/s-error-layout.js +3 -2
  69. package/dist/s-file-dropzone/index.js +1 -1
  70. package/dist/s-file-dropzone/s-file-dropzone.d.ts +1 -4
  71. package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
  72. package/dist/{s-file-dropzone-oaQoRV92.js → s-file-dropzone-C4_hCsN8.js} +47 -42
  73. package/dist/s-gallery/gallery-grid-item.d.ts +17 -0
  74. package/dist/s-gallery/gallery-grid-item.js +112 -0
  75. package/dist/s-gallery/gallery-layout.d.ts +16 -0
  76. package/dist/s-gallery/gallery-layout.js +50 -0
  77. package/dist/s-gallery/gallery-media-item.d.ts +15 -0
  78. package/dist/s-gallery/gallery-media-item.js +112 -0
  79. package/dist/s-gallery/index.d.ts +5 -2
  80. package/dist/s-gallery/index.js +2 -1
  81. package/dist/s-gallery/s-gallery.d.ts +1 -17
  82. package/dist/s-gallery/s-gallery.js +38 -284
  83. package/dist/s-image-comparison/s-image-comparison.js +46 -42
  84. package/dist/s-image-modal/default-media-item.d.ts +9 -0
  85. package/dist/s-image-modal/default-media-item.js +34 -0
  86. package/dist/s-image-modal/image-modal-thumbnail-dock.d.ts +11 -0
  87. package/dist/s-image-modal/image-modal-thumbnail-dock.js +102 -0
  88. package/dist/s-image-modal/index.d.ts +2 -2
  89. package/dist/s-image-modal/index.js +2 -1
  90. package/dist/s-image-modal/s-image-modal.d.ts +1 -58
  91. package/dist/s-image-modal/s-image-modal.js +2 -2
  92. package/dist/s-image-modal/types.d.ts +52 -0
  93. package/dist/s-image-modal/types.js +0 -0
  94. package/dist/s-image-modal/use-image-modal-navigation.d.ts +29 -0
  95. package/dist/s-image-modal/use-image-modal-navigation.js +57 -0
  96. package/dist/s-image-modal-D-Jh-5b3.js +243 -0
  97. package/dist/s-label/s-label.js +1 -1
  98. package/dist/s-language-switcher/index.js +1 -1
  99. package/dist/s-language-switcher/s-language-switcher.js +1 -1
  100. package/dist/{s-language-switcher-vievp2VS.js → s-language-switcher-UgSBC_n_.js} +4 -4
  101. package/dist/s-localization-provider/index.js +1 -1
  102. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  103. package/dist/{s-localization-provider-YCsec18c.js → s-localization-provider-l5J7myJJ.js} +4 -4
  104. package/dist/s-nav-item/s-nav-item.js +1 -1
  105. package/dist/s-nav-items/s-nav-items.js +4 -7
  106. package/dist/s-pagination/s-pagination.js +12 -15
  107. package/dist/s-review/index.js +1 -1
  108. package/dist/s-review/s-review.js +1 -1
  109. package/dist/{s-review-DjvDY-h4.js → s-review-CRnakHRo.js} +18 -27
  110. package/dist/s-scroll-reveal/s-scroll-reveal.js +1 -1
  111. package/dist/s-scroll-to-top/s-scroll-to-top.js +1 -1
  112. package/dist/s-select/index.js +1 -1
  113. package/dist/s-select/s-select.js +1 -1
  114. package/dist/{s-select-B-dEcddK.js → s-select-HMWY7frm.js} +1 -1
  115. package/dist/s-select-list/s-select-list.js +2 -11
  116. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +23 -15
  117. package/dist/s-stripe/s-stripe-cvc.d.ts +1 -5
  118. package/dist/s-stripe/s-stripe-cvc.js +11 -11
  119. package/dist/s-stripe/s-stripe-expiry.d.ts +1 -5
  120. package/dist/s-stripe/s-stripe-expiry.js +11 -11
  121. package/dist/s-stripe/s-stripe-number.d.ts +1 -5
  122. package/dist/s-stripe/s-stripe-number.js +11 -11
  123. package/dist/s-stripe/s-stripe.d.ts +11 -4
  124. package/dist/s-stripe/s-stripe.js +19 -17
  125. package/dist/s-stripe/stripe-input.js +41 -32
  126. package/dist/s-text-editor/index.js +1 -1
  127. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  128. package/dist/s-text-editor/s-text-editor.d.ts +1 -4
  129. package/dist/s-text-editor/s-text-editor.js +21 -24
  130. package/dist/{s-text-editor-toolbar-DP0MkICo.js → s-text-editor-toolbar-BEFVwZ-B.js} +560 -559
  131. package/dist/s-text-field/index.js +1 -1
  132. package/dist/s-text-field/s-text-field.d.ts +1 -4
  133. package/dist/s-text-field/s-text-field.js +1 -1
  134. package/dist/{s-text-field-GqcwXwta.js → s-text-field-DD6nnwwU.js} +20 -19
  135. package/dist/s-text-truncation/s-text-truncation.js +11 -16
  136. package/dist/s-theme-demo/index.js +1 -1
  137. package/dist/s-theme-demo/s-theme-demo.js +1 -1
  138. package/dist/{s-theme-demo-BpeyFRKt.js → s-theme-demo-Fktc-UlY.js} +4 -4
  139. package/dist/s-theme-provider/s-theme-provider.js +26 -25
  140. package/dist/s-theme-switch/index.js +1 -1
  141. package/dist/s-theme-switch/s-theme-switch.js +1 -1
  142. package/dist/{s-theme-switch-V3Q58mkG.js → s-theme-switch-DzXoVmQH.js} +1 -1
  143. package/dist/s-tip/index.js +1 -1
  144. package/dist/s-tip/s-tip.js +1 -1
  145. package/dist/{s-tip-Dwu5T2u0.js → s-tip-BOGEH1v8.js} +2 -2
  146. package/dist/s-tool-bar/index.d.ts +1 -1
  147. package/dist/s-tool-bar/index.js +1 -1
  148. package/dist/s-tool-bar/s-tool-bar.d.ts +1 -155
  149. package/dist/s-tool-bar/s-tool-bar.js +114 -2
  150. package/dist/s-tool-bar/tool-bar-action-buttons.d.ts +15 -0
  151. package/dist/s-tool-bar/tool-bar-action-buttons.js +2 -0
  152. package/dist/s-tool-bar/tool-bar-image-input.d.ts +8 -0
  153. package/dist/s-tool-bar/tool-bar-image-input.js +2 -0
  154. package/dist/s-tool-bar/tool-bar-inputs.d.ts +3 -0
  155. package/dist/s-tool-bar/tool-bar-inputs.js +139 -0
  156. package/dist/s-tool-bar/types.d.ts +170 -0
  157. package/dist/s-tool-bar/types.js +0 -0
  158. package/dist/s-tool-bar/utils.d.ts +10 -0
  159. package/dist/s-tool-bar/utils.js +22 -0
  160. package/dist/switch-BSg1TGWH.js +62 -0
  161. package/dist/theme/components/accordion-summary.js +2 -2
  162. package/dist/theme/components/accordion.js +1 -1
  163. package/dist/theme/components/alert.d.ts +1 -1
  164. package/dist/theme/components/alert.js +1 -1
  165. package/dist/theme/components/autocomplete.js +1 -1
  166. package/dist/theme/components/avatar.d.ts +10 -1
  167. package/dist/theme/components/avatar.js +1 -1
  168. package/dist/theme/components/card.js +4 -4
  169. package/dist/theme/components/checkbox.js +1 -1
  170. package/dist/theme/components/chip.js +17 -6
  171. package/dist/theme/components/components.js +136 -118
  172. package/dist/theme/components/date-calendar.d.ts +13 -0
  173. package/dist/theme/components/date-calendar.js +7 -0
  174. package/dist/theme/components/day-calendar.d.ts +14 -1
  175. package/dist/theme/components/day-calendar.js +14 -1
  176. package/dist/theme/components/dialog-actions.js +1 -1
  177. package/dist/theme/components/dialog-content.d.ts +13 -0
  178. package/dist/theme/components/dialog-content.js +7 -0
  179. package/dist/theme/components/dialog-title.d.ts +21 -0
  180. package/dist/theme/components/dialog-title.js +7 -0
  181. package/dist/theme/components/form-label.js +1 -1
  182. package/dist/theme/components/icon-button.d.ts +5 -1
  183. package/dist/theme/components/icon-button.js +18 -24
  184. package/dist/theme/components/linear-progress.js +2 -2
  185. package/dist/theme/components/link.d.ts +1 -1
  186. package/dist/theme/components/link.js +2 -2
  187. package/dist/theme/components/list-item-button.js +2 -2
  188. package/dist/theme/components/list-item.js +3 -3
  189. package/dist/theme/components/month-calendar.d.ts +43 -0
  190. package/dist/theme/components/month-calendar.js +28 -0
  191. package/dist/theme/components/multi-section-digital-clock-section.js +25 -0
  192. package/dist/theme/components/outlined-input.js +6 -6
  193. package/dist/theme/components/picker-day.d.ts +16 -2
  194. package/dist/theme/components/picker-day.js +13 -1
  195. package/dist/theme/components/pickers-arrow-switcher.d.ts +12 -0
  196. package/dist/theme/components/pickers-arrow-switcher.js +4 -0
  197. package/dist/theme/components/pickers-calendar-header.d.ts +38 -0
  198. package/dist/theme/components/pickers-calendar-header.js +24 -0
  199. package/dist/theme/components/select.js +2 -2
  200. package/dist/theme/components/slider.d.ts +29 -2
  201. package/dist/theme/components/slider.js +14 -2
  202. package/dist/theme/components/step-connector.d.ts +1 -1
  203. package/dist/theme/components/step-connector.js +1 -1
  204. package/dist/theme/components/step-icon.js +1 -1
  205. package/dist/theme/components/switch.d.ts +1032 -0
  206. package/dist/theme/components/switch.js +2 -0
  207. package/dist/theme/components/tab.js +1 -1
  208. package/dist/theme/components/table-pagination.js +1 -1
  209. package/dist/theme/components/toggle-button-group.js +1 -1
  210. package/dist/theme/components/toggle-button.js +1 -1
  211. package/dist/theme/components/year-calendar.d.ts +45 -0
  212. package/dist/theme/components/year-calendar.js +30 -0
  213. package/dist/theme/theme-primitives.d.ts +38 -0
  214. package/dist/theme/theme-primitives.js +2 -2
  215. package/dist/{theme-primitives-D2vHHGiX.js → theme-primitives-CiQYd9Cc.js} +14 -5
  216. package/dist/{toggle-button-BUsRxHn0.js → toggle-button-TmtJ4nSp.js} +3 -3
  217. package/dist/{toggle-button-group-ABwIhV4P.js → toggle-button-group-BCkdd3Jj.js} +4 -4
  218. package/dist/tool-bar-action-buttons-CSXNDen6.js +50 -0
  219. package/dist/tool-bar-image-input-IdA6l71Y.js +138 -0
  220. package/dist/{useControlled-DXKqhylj.js → useControlled-BtZNCHV0.js} +1 -1
  221. package/dist/useForkRef-yOYCJHzF.js +29 -0
  222. package/dist/{useMobilePicker-ujH2nH2-.js → useMobilePicker-Dw1IxoE6.js} +7657 -7674
  223. package/dist/{useSlot-Dkc1Mj31.js → useSlot-IwEDsR9t.js} +107 -133
  224. package/dist/{utils-CCnIUPad.js → utils-CU6O7jrX.js} +5 -5
  225. package/dist/{LocalizationProvider-BdaUKqz3.js → warning-CFMmJJnf.js} +51 -51
  226. package/dist/yearCalendarClasses-DypEe_Vn.js +14 -0
  227. package/package.json +1 -1
  228. package/dist/s-chat-input-cOCqPTUS.js +0 -299
  229. package/dist/s-date-picker-BkZIEZoz.js +0 -634
  230. package/dist/s-image-modal-Za71QD3d.js +0 -397
  231. package/dist/s-tool-bar-DaZ2wT09.js +0 -454
  232. /package/dist/{buttonBaseClasses-BLZbMisL.js → buttonBaseClasses-BVDyR-hz.js} +0 -0
  233. /package/dist/{checkboxClasses-DSyvUOsN.js → checkboxClasses-DANc9lnq.js} +0 -0
  234. /package/dist/{createSimplePaletteValueFilter-GHK52GLU.js → createSimplePaletteValueFilter-5v48HHyU.js} +0 -0
  235. /package/dist/{extends-D8CDMpIy.js → extends-DM-C9PwL.js} +0 -0
  236. /package/dist/{formLabelClasses-Cv7W0Roi.js → formLabelClasses-LXZqWZfM.js} +0 -0
  237. /package/dist/{iconButtonClasses-9jjSQ9-U.js → iconButtonClasses-LyjwljJq.js} +0 -0
  238. /package/dist/{inputAdornmentClasses-VKwluNTs.js → inputAdornmentClasses-ZoGTcUz5.js} +0 -0
  239. /package/dist/{objectWithoutPropertiesLoose-BpY-kC5L.js → objectWithoutPropertiesLoose-kj3TmhoA.js} +0 -0
  240. /package/dist/{outlinedInputClasses-Cz4pnn0X.js → outlinedInputClasses-DPwt_pSZ.js} +0 -0
  241. /package/dist/{selectClasses-DvT1febA.js → selectClasses-C-QpiLPi.js} +0 -0
  242. /package/dist/{svgIconClasses-D46YUMKp.js → svgIconClasses-BtHvkhy5.js} +0 -0
  243. /package/dist/{tabClasses-KqPlYv0c.js → tabClasses-CmFw6sbs.js} +0 -0
  244. /package/dist/{typographyClasses-CFf0OFiD.js → typographyClasses-CiDYRanL.js} +0 -0
  245. /package/dist/{useControlled-2-C6cXjG.js → useControlled-DuSwFVhD.js} +0 -0
  246. /package/dist/{useFormControl-B4z6ONhx.js → useFormControl-CUs308br.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import { n as e, r as t } from "./utils-B5Rl6Zwv.js";
2
- import { t as n } from "./createSvgIcon-BdNZIlKS.js";
3
- import { n as r } from "./s-image-modal-Za71QD3d.js";
4
- import { t as i } from "./Download-BhSXOhCI.js";
2
+ import { t as n } from "./createSvgIcon-HW-tbFcL.js";
3
+ import { t as r } from "./s-image-modal-D-Jh-5b3.js";
4
+ import { t as i } from "./Download-SNal6U7j.js";
5
5
  import a from "./s-lazy-image/s-lazy-image.js";
6
6
  import { SSkeleton as o } from "./s-skeleton/s-skeleton.js";
7
7
  import { SAvatar as s } from "./s-avatar/s-avatar.js";
8
8
  import { useState as c } from "react";
9
9
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
10
10
  import { Box as d, IconButton as f, Paper as p, Typography as m } from "@mui/material";
11
- //#region ../../node_modules/@mui/icons-material/ErrorOutlined.mjs
12
- var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z" }), "ErrorOutlined"), g = n(/* @__PURE__ */ l("path", { d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z" }), "InsertDriveFile"), _ = n(/* @__PURE__ */ l("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z" }), "Refresh"), v = ({ isSent: e, showAvatar: t, showTimestamp: n, senderName: r, maxWidth: i, sx: a, ...s }) => /* @__PURE__ */ u(d, {
11
+ //#region ../../node_modules/@mui/icons-material/InsertDriveFile.mjs
12
+ var h = n(/* @__PURE__ */ l("path", { d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z" }), "InsertDriveFile"), g = n(/* @__PURE__ */ l("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z" }), "Refresh"), _ = ({ isSent: e, showAvatar: t, showTimestamp: n, senderName: r, maxWidth: i, sx: a, ...s }) => /* @__PURE__ */ u(d, {
13
13
  ...s,
14
14
  sx: [{
15
15
  display: "flex",
@@ -80,47 +80,47 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
80
80
  height: 36
81
81
  })
82
82
  ]
83
- }), y = ({ message: n, variant: o = "received", timestamp: y, avatar: b, senderName: x, showAvatar: S = !0, showTimestamp: C = !1, maxWidth: w = "70%", attachments: T = [], onAttachmentClick: E, onDownload: D, hasError: O = !1, errorMessage: k = "Failed to send message", onRetry: A, loading: j = !1, sx: M, ...N }) => {
84
- let [P, F] = c(null), [I, L] = c(!1), R = o === "sent", z = (e) => {
85
- E ? E(e) : (F(e), L(!0));
86
- }, B = (e) => {
87
- E ? E(e) : D && D(e);
88
- }, V = T.filter((e) => e.type === "image"), H = T.filter((e) => e.type === "file");
89
- return j ? /* @__PURE__ */ l(v, {
90
- isSent: R,
91
- showAvatar: S,
92
- showTimestamp: C,
93
- senderName: x,
94
- maxWidth: w,
95
- sx: M,
96
- ...N
83
+ }), v = ({ message: n, variant: o = "received", timestamp: v, avatar: y, senderName: b, showAvatar: x = !0, showTimestamp: S = !1, maxWidth: C = "70%", attachments: w = [], onAttachmentClick: T, onDownload: E, hasError: D = !1, errorMessage: O = "Failed to send message", onRetry: k, loading: A = !1, sx: j, ...M }) => {
84
+ let [N, P] = c(null), [F, I] = c(!1), L = o === "sent", R = (e) => {
85
+ T ? T(e) : (P(e), I(!0));
86
+ }, z = (e) => {
87
+ T ? T(e) : E && E(e);
88
+ }, B = w.filter((e) => e.type === "image"), V = w.filter((e) => e.type === "file");
89
+ return A ? /* @__PURE__ */ l(_, {
90
+ isSent: L,
91
+ showAvatar: x,
92
+ showTimestamp: S,
93
+ senderName: b,
94
+ maxWidth: C,
95
+ sx: j,
96
+ ...M
97
97
  }) : /* @__PURE__ */ u(d, {
98
- ...N,
98
+ ...M,
99
99
  sx: [{
100
100
  display: "flex",
101
- flexDirection: R ? "row-reverse" : "row",
101
+ flexDirection: L ? "row-reverse" : "row",
102
102
  alignItems: "flex-start",
103
103
  gap: 1,
104
104
  mb: 1,
105
- maxWidth: w,
106
- alignSelf: R ? "flex-end" : "flex-start"
107
- }, ...Array.isArray(M) ? M : [M]],
105
+ maxWidth: C,
106
+ alignSelf: L ? "flex-end" : "flex-start"
107
+ }, ...Array.isArray(j) ? j : [j]],
108
108
  children: [
109
- S && !R && /* @__PURE__ */ l(s, {
110
- avatar: b,
111
- name: x,
109
+ x && !L && /* @__PURE__ */ l(s, {
110
+ avatar: y,
111
+ name: b,
112
112
  size: 36
113
113
  }),
114
114
  /* @__PURE__ */ u(d, {
115
115
  sx: {
116
116
  display: "flex",
117
117
  flexDirection: "column",
118
- alignItems: R ? "flex-end" : "flex-start",
118
+ alignItems: L ? "flex-end" : "flex-start",
119
119
  gap: .5,
120
120
  minWidth: 0
121
121
  },
122
122
  children: [
123
- x && !R && /* @__PURE__ */ l(m, { children: x }),
123
+ b && !L && /* @__PURE__ */ l(m, { children: b }),
124
124
  /* @__PURE__ */ u(d, {
125
125
  sx: {
126
126
  display: "inline-block",
@@ -128,28 +128,28 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
128
128
  wordBreak: "break-word",
129
129
  maxWidth: "100%",
130
130
  border: "1px solid",
131
- borderColor: O ? "error.main" : "divider",
132
- ...O && { opacity: .7 },
131
+ borderColor: D ? "error.main" : "divider",
132
+ ...D && { opacity: .7 },
133
133
  overflow: "hidden"
134
134
  },
135
135
  children: [
136
- V.length > 0 && /* @__PURE__ */ l(d, {
136
+ B.length > 0 && /* @__PURE__ */ l(d, {
137
137
  sx: {
138
138
  minWidth: 200,
139
139
  display: "grid",
140
- gridTemplateColumns: V.length === 1 ? "1fr" : "repeat(2, 1fr)",
140
+ gridTemplateColumns: B.length === 1 ? "1fr" : "repeat(2, 1fr)",
141
141
  gap: .5,
142
142
  p: .5
143
143
  },
144
- children: V.map((e) => /* @__PURE__ */ l(d, {
144
+ children: B.map((e) => /* @__PURE__ */ l(d, {
145
145
  sx: {
146
146
  position: "relative",
147
- paddingTop: V.length === 1 ? "66.67%" : "100%",
147
+ paddingTop: B.length === 1 ? "66.67%" : "100%",
148
148
  cursor: "pointer",
149
149
  overflow: "hidden",
150
150
  "&:hover": { opacity: .9 }
151
151
  },
152
- onClick: () => z(e),
152
+ onClick: () => R(e),
153
153
  children: /* @__PURE__ */ l(a, {
154
154
  src: e.thumbnailUrl ?? e.url,
155
155
  alt: e.name ?? "Image",
@@ -162,9 +162,9 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
162
162
  })
163
163
  }, e.id))
164
164
  }),
165
- H.length > 0 && /* @__PURE__ */ l(d, {
165
+ V.length > 0 && /* @__PURE__ */ l(d, {
166
166
  sx: { p: 1.5 },
167
- children: H.map((t, n) => /* @__PURE__ */ u(p, {
167
+ children: V.map((t, n) => /* @__PURE__ */ u(p, {
168
168
  variant: "outlined",
169
169
  sx: {
170
170
  display: "flex",
@@ -174,9 +174,9 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
174
174
  mt: +(n > 0),
175
175
  cursor: "pointer"
176
176
  },
177
- onClick: () => B(t),
177
+ onClick: () => z(t),
178
178
  children: [
179
- /* @__PURE__ */ l(g, { sx: { fontSize: 36 } }),
179
+ /* @__PURE__ */ l(h, { sx: { fontSize: 36 } }),
180
180
  /* @__PURE__ */ u(d, {
181
181
  sx: {
182
182
  flex: 1,
@@ -192,13 +192,12 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
192
192
  children: t.name ?? "Unnamed File"
193
193
  }), t.size && /* @__PURE__ */ l(m, {
194
194
  variant: "caption",
195
- sx: { fontSize: "0.75rem" },
196
195
  children: e(t.size)
197
196
  })]
198
197
  }),
199
- D && /* @__PURE__ */ l(f, {
198
+ E && /* @__PURE__ */ l(f, {
200
199
  onClick: (e) => {
201
- e.stopPropagation(), D(t);
200
+ e.stopPropagation(), E(t);
202
201
  },
203
202
  children: /* @__PURE__ */ l(i, {})
204
203
  })
@@ -209,61 +208,56 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
209
208
  sx: {
210
209
  px: 2,
211
210
  py: 1.5,
212
- pt: T.length > 0 ? 0 : 1.5
211
+ pt: w.length > 0 ? 0 : 1.5
213
212
  },
214
213
  children: /* @__PURE__ */ l(m, {
215
- variant: "body2",
214
+ variant: "body1",
216
215
  sx: {
217
- fontSize: "0.875rem",
218
216
  whiteSpace: "pre-wrap",
219
- color: O ? "error.main" : "inherit"
217
+ color: D ? "error.main" : "inherit"
220
218
  },
221
219
  children: n
222
220
  })
223
221
  })
224
222
  ]
225
223
  }),
226
- C && y && /* @__PURE__ */ l(m, {
224
+ S && v && /* @__PURE__ */ l(m, {
227
225
  variant: "caption",
228
- children: t(y)
226
+ children: t(v)
229
227
  }),
230
- O && /* @__PURE__ */ u(d, {
228
+ D && /* @__PURE__ */ u(d, {
231
229
  sx: {
232
230
  display: "flex",
233
231
  alignItems: "center",
234
232
  gap: .5,
235
233
  color: "error.main"
236
234
  },
237
- children: [
238
- /* @__PURE__ */ l(h, {}),
239
- /* @__PURE__ */ l(m, {
240
- sx: { color: "inherit" },
241
- variant: "caption",
242
- children: k
243
- }),
244
- A && /* @__PURE__ */ l(f, {
245
- onClick: A,
246
- children: /* @__PURE__ */ l(_, {})
247
- })
248
- ]
235
+ children: [/* @__PURE__ */ l(m, {
236
+ sx: { color: "inherit" },
237
+ variant: "caption",
238
+ children: O
239
+ }), k && /* @__PURE__ */ l(f, {
240
+ onClick: k,
241
+ children: /* @__PURE__ */ l(g, {})
242
+ })]
249
243
  })
250
244
  ]
251
245
  }),
252
- S && R && /* @__PURE__ */ l(s, {
253
- avatar: b,
254
- name: x,
246
+ x && L && /* @__PURE__ */ l(s, {
247
+ avatar: y,
248
+ name: b,
255
249
  size: 36
256
250
  }),
257
- P && /* @__PURE__ */ l(r, {
258
- isOpen: I,
251
+ N && /* @__PURE__ */ l(r, {
252
+ isOpen: F,
259
253
  onClose: () => {
260
- L(!1), F(null);
254
+ I(!1), P(null);
261
255
  },
262
256
  selectedItem: {
263
- id: P.id,
257
+ id: N.id,
264
258
  type: "image",
265
- url: P.url,
266
- title: P.name
259
+ url: N.url,
260
+ title: N.name
267
261
  },
268
262
  showNavigation: !1,
269
263
  showThumbnailDock: !1
@@ -271,6 +265,6 @@ var h = n(/* @__PURE__ */ l("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10
271
265
  ]
272
266
  });
273
267
  };
274
- y.displayName = "SChatMessage";
268
+ v.displayName = "SChatMessage";
275
269
  //#endregion
276
- export { y as t };
270
+ export { v as t };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-chips-DelHx6zM.js";
1
+ import { t as e } from "../s-chips-CAC_vVd0.js";
2
2
  export { e as SChips, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-chips-DelHx6zM.js";
1
+ import { t as e } from "../s-chips-CAC_vVd0.js";
2
2
  export { e as SChips, e as default };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createSvgIcon-BdNZIlKS.js";
1
+ import { t as e } from "./createSvgIcon-HW-tbFcL.js";
2
2
  import { useCallback as t, useEffect as n, useRef as r, useState as i } from "react";
3
3
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
4
4
  import { Box as s, Chip as c, Tooltip as l } from "@mui/material";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-code-block-sjt0AQb_.js";
1
+ import { t as e } from "../s-code-block-B5k-1Acd.js";
2
2
  export { e as SCodeBlock, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-code-block-sjt0AQb_.js";
1
+ import { t as e } from "../s-code-block-B5k-1Acd.js";
2
2
  export { e as SCodeBlock, e as default };
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./ContentCopy-Br2p19dq.js";
1
+ import { n as e, t } from "./ContentCopy-BMQ2JTA0.js";
2
2
  import { useMemo as n, useState as r } from "react";
3
3
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
4
4
  import { Box as o, IconButton as s, useColorScheme as c } from "@mui/material";
@@ -565,6 +565,14 @@ var u = {
565
565
  let e = b === "dark" ? u : d;
566
566
  return {
567
567
  ...e,
568
+ "pre[class*=\"language-\"]": {
569
+ ...e["pre[class*=\"language-\"]"],
570
+ background: "transparent"
571
+ },
572
+ "code[class*=\"language-\"]": {
573
+ ...e["code[class*=\"language-\"]"],
574
+ background: "transparent"
575
+ },
568
576
  linenumber: {
569
577
  ...e.linenumber,
570
578
  fontStyle: "normal"
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-comment-message-DzjXXLZQ.js";
1
+ import { t as e } from "../s-comment-message-BPE5a6p6.js";
2
2
  export { e as SCommentMessage, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-comment-message-DzjXXLZQ.js";
1
+ import { t as e } from "../s-comment-message-BPE5a6p6.js";
2
2
  export { e as SCommentMessage, e as default };
@@ -1,7 +1,7 @@
1
1
  import { i as e } from "./utils-B5Rl6Zwv.js";
2
- import { t } from "./createSvgIcon-BdNZIlKS.js";
3
- import { t as n } from "./ExpandMore-Bu7_1g6Q.js";
4
- import { t as r } from "./Favorite-BJSuHe0H.js";
2
+ import { t } from "./createSvgIcon-HW-tbFcL.js";
3
+ import { t as n } from "./ExpandMore-DIsT5FOp.js";
4
+ import { t as r } from "./Favorite-CbvuQfe4.js";
5
5
  import { SSkeleton as i } from "./s-skeleton/s-skeleton.js";
6
6
  import { SAvatar as a } from "./s-avatar/s-avatar.js";
7
7
  import { useEffect as o, useId as s, useState as c } from "react";
@@ -100,26 +100,18 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
100
100
  }), /* @__PURE__ */ u(d, {
101
101
  sx: { flex: 1 },
102
102
  children: [
103
- /* @__PURE__ */ u(h, {
104
- direction: "row",
105
- spacing: 2,
106
- sx: {
107
- alignItems: "center",
108
- mb: 1
109
- },
110
- children: [/* @__PURE__ */ l(g, { children: x }), /* @__PURE__ */ l(g, {
111
- variant: "caption",
112
- children: X
113
- })]
103
+ /* @__PURE__ */ l(g, {
104
+ variant: "subtitle1",
105
+ children: x
114
106
  }),
115
107
  /* @__PURE__ */ l(g, {
116
- variant: "body2",
117
- sx: {
118
- mb: 2,
119
- lineHeight: 1.6
120
- },
108
+ variant: "body1",
121
109
  children: C
122
110
  }),
111
+ /* @__PURE__ */ l(g, {
112
+ variant: "caption",
113
+ children: X
114
+ }),
123
115
  /* @__PURE__ */ u(h, {
124
116
  direction: "row",
125
117
  spacing: 1,
@@ -152,10 +144,7 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
152
144
  })
153
145
  ]
154
146
  }),
155
- L && /* @__PURE__ */ l(d, {
156
- sx: { mt: 2 },
157
- children: L
158
- })
147
+ L && /* @__PURE__ */ l(d, { children: L })
159
148
  ]
160
149
  })]
161
150
  }), Q && M && /* @__PURE__ */ l(p, {
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "../ContentCopy-Br2p19dq.js";
1
+ import { n as e, t } from "../ContentCopy-BMQ2JTA0.js";
2
2
  import { useState as n } from "react";
3
3
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
4
4
  import { Box as a, IconButton as o, Paper as s, Typography as c } from "@mui/material";
@@ -35,7 +35,6 @@ var l = ({ text: l, typographyProps: u, onCopied: d, paperProps: f }) => {
35
35
  variant: "body1",
36
36
  ...g,
37
37
  sx: [{
38
- color: "text.secondary",
39
38
  whiteSpace: "pre-wrap",
40
39
  wordBreak: "break-word"
41
40
  }, ...Array.isArray(h) ? h : [h]],
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-data-table-TrCdKq9r.js";
1
+ import { t as e } from "../s-data-table-D-esZw_W.js";
2
2
  export { e as SDataTable, e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../s-data-table-TrCdKq9r.js";
1
+ import { t as e } from "../s-data-table-D-esZw_W.js";
2
2
  export { e as SDataTable, e as default };
@@ -6,23 +6,21 @@ import { t as s } from "./generateUtilityClass-tRYNDrlH.js";
6
6
  import { t as c } from "./Box-BlmynALm.js";
7
7
  import { t as l } from "./generateUtilityClasses-XrPHiTcM.js";
8
8
  import { n as u, t as d } from "./styled-BTDmdi4c.js";
9
- import { t as f } from "./ButtonBase-Bo6ysVGS.js";
10
- import { t as p } from "./useSlot-Dkc1Mj31.js";
11
- import { t as m } from "./createSimplePaletteValueFilter-GHK52GLU.js";
12
- import { t as h } from "./createSvgIcon-BdNZIlKS.js";
13
- import { t as g } from "./useControlled-DXKqhylj.js";
14
- import { t as _ } from "./mergeSlotProps-DBBJwoun.js";
15
- import { t as v } from "./useFormControl-B4z6ONhx.js";
16
- import { t as y } from "./ArrowUpward-BMKLosZj.js";
17
- import { n as b, t as x } from "./checkboxClasses-DSyvUOsN.js";
9
+ import { t as f } from "./ButtonBase-BDefit5I.js";
10
+ import { t as p } from "./useSlot-IwEDsR9t.js";
11
+ import { t as m } from "./createSimplePaletteValueFilter-5v48HHyU.js";
12
+ import { t as h } from "./createSvgIcon-HW-tbFcL.js";
13
+ import { t as g } from "./useControlled-BtZNCHV0.js";
14
+ import { t as _ } from "./mergeSlotProps-slENzJO5.js";
15
+ import { t as v } from "./useFormControl-CUs308br.js";
16
+ import { t as y } from "./ArrowUpward-CNiENJp2.js";
17
+ import { n as b, t as x } from "./checkboxClasses-DANc9lnq.js";
18
18
  import { SEmpty as S } from "./s-empty/s-empty.js";
19
19
  import * as C from "react";
20
20
  import { jsx as w, jsxs as T } from "react/jsx-runtime";
21
- //#region ../../node_modules/@mui/icons-material/ArrowDownward.mjs
22
- var E = /* @__PURE__ */ e(t(), 1), D = h(/* @__PURE__ */ w("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), ee = h(/* @__PURE__ */ w("path", { d: "M16 17.01V10h-2v7.01h-3L15 21l4-3.99zM9 3 5 6.99h3V14h2V6.99h3z" }), "SwapVert");
23
- //#endregion
24
21
  //#region ../../node_modules/@mui/material/internal/switchBaseClasses.mjs
25
- function O(e) {
22
+ var E = /* @__PURE__ */ e(t(), 1);
23
+ function D(e) {
26
24
  return s("PrivateSwitchBase", e);
27
25
  }
28
26
  l("PrivateSwitchBase", [
@@ -35,7 +33,7 @@ l("PrivateSwitchBase", [
35
33
  ]);
36
34
  //#endregion
37
35
  //#region ../../node_modules/@mui/material/internal/SwitchBase.mjs
38
- var te = (e) => {
36
+ var ee = (e) => {
39
37
  let { classes: t, checked: i, disabled: a, edge: o } = e;
40
38
  return r({
41
39
  root: [
@@ -45,8 +43,8 @@ var te = (e) => {
45
43
  o && `edge${n(o)}`
46
44
  ],
47
45
  input: ["input"]
48
- }, O, t);
49
- }, ne = d(f, { name: "MuiSwitchBase" })({
46
+ }, D, t);
47
+ }, te = d(f, { name: "MuiSwitchBase" })({
50
48
  padding: 9,
51
49
  borderRadius: "50%",
52
50
  variants: [
@@ -73,7 +71,7 @@ var te = (e) => {
73
71
  style: { marginRight: -12 }
74
72
  }
75
73
  ]
76
- }), re = d("input", {
74
+ }), ne = d("input", {
77
75
  name: "MuiSwitchBase",
78
76
  shouldForwardProp: u
79
77
  })({
@@ -87,48 +85,48 @@ var te = (e) => {
87
85
  margin: 0,
88
86
  padding: 0,
89
87
  zIndex: 1
90
- }), k = /* @__PURE__ */ C.forwardRef(function(e, t) {
91
- let { autoFocus: n, checked: r, checkedIcon: i, defaultChecked: a, disabled: o, disableFocusRipple: s = !1, edge: c = !1, icon: l, id: u, name: d, onBlur: f, onChange: m, onFocus: h, readOnly: _, required: y = !1, tabIndex: b, type: x, value: S, slots: C = {}, slotProps: E = {}, ...D } = e, { nativeButton: ee, ...O } = D, [k, A] = g({
88
+ }), O = /* @__PURE__ */ C.forwardRef(function(e, t) {
89
+ let { autoFocus: n, checked: r, checkedIcon: i, defaultChecked: a, disabled: o, disableFocusRipple: s = !1, edge: c = !1, icon: l, id: u, name: d, onBlur: f, onChange: m, onFocus: h, readOnly: _, required: y = !1, tabIndex: b, type: x, value: S, slots: C = {}, slotProps: E = {}, ...D } = e, { nativeButton: O, ...k } = D, [A, j] = g({
92
90
  controlled: r,
93
91
  default: !!a,
94
92
  name: "SwitchBase",
95
93
  state: "checked"
96
- }), j = v(), M = (e) => {
97
- h && h(e), j && j.onFocus && j.onFocus(e);
98
- }, N = (e) => {
99
- f && f(e), j && j.onBlur && j.onBlur(e);
94
+ }), M = v(), N = (e) => {
95
+ h && h(e), M && M.onFocus && M.onFocus(e);
96
+ }, re = (e) => {
97
+ f && f(e), M && M.onBlur && M.onBlur(e);
100
98
  }, P = (e) => {
101
99
  if (e.nativeEvent.defaultPrevented || _) return;
102
100
  let t = e.target.checked;
103
- A(t), m && m(e, t);
101
+ j(t), m && m(e, t);
104
102
  }, F = o;
105
- j && F === void 0 && (F = j.disabled);
103
+ M && F === void 0 && (F = M.disabled);
106
104
  let I = x === "checkbox" || x === "radio", L = {
107
105
  ...e,
108
- checked: k,
106
+ checked: A,
109
107
  disabled: F,
110
108
  disableFocusRipple: s,
111
109
  edge: c
112
- }, R = te(L), z = {
110
+ }, R = ee(L), z = {
113
111
  slots: C,
114
112
  slotProps: E
115
113
  }, [B, V] = p("root", {
116
114
  ref: t,
117
- elementType: ne,
115
+ elementType: te,
118
116
  className: R.root,
119
117
  shouldForwardComponentProp: !0,
120
118
  externalForwardedProps: {
121
119
  ...z,
122
120
  component: "span",
123
- ...O
121
+ ...k
124
122
  },
125
123
  getSlotProps: (e) => ({
126
124
  ...e,
127
125
  onFocus: (t) => {
128
- e.onFocus?.(t), M(t);
126
+ e.onFocus?.(t), N(t);
129
127
  },
130
128
  onBlur: (t) => {
131
- e.onBlur?.(t), N(t);
129
+ e.onBlur?.(t), re(t);
132
130
  }
133
131
  }),
134
132
  ownerState: L,
@@ -139,7 +137,7 @@ var te = (e) => {
139
137
  tabIndex: null
140
138
  }
141
139
  }), [H, U] = p("input", {
142
- elementType: re,
140
+ elementType: ne,
143
141
  className: R.input,
144
142
  externalForwardedProps: z,
145
143
  getSlotProps: (e) => ({
@@ -165,10 +163,10 @@ var te = (e) => {
165
163
  });
166
164
  return /* @__PURE__ */ T(B, {
167
165
  ...V,
168
- children: [/* @__PURE__ */ w(H, { ...U }), k ? i : l]
166
+ children: [/* @__PURE__ */ w(H, { ...U }), A ? i : l]
169
167
  });
170
168
  });
171
- process.env.NODE_ENV !== "production" && (k.propTypes = {
169
+ process.env.NODE_ENV !== "production" && (O.propTypes = {
172
170
  autoFocus: E.default.bool,
173
171
  checked: E.default.bool,
174
172
  checkedIcon: E.default.node.isRequired,
@@ -204,8 +202,8 @@ process.env.NODE_ENV !== "production" && (k.propTypes = {
204
202
  value: E.default.any
205
203
  });
206
204
  //#endregion
207
- //#region ../../node_modules/@mui/material/internal/svg-icons/CheckBoxOutlineBlank.mjs
208
- var A = h(/* @__PURE__ */ w("path", { d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" }), "CheckBoxOutlineBlank"), j = h(/* @__PURE__ */ w("path", { d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" }), "CheckBox"), M = h(/* @__PURE__ */ w("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z" }), "IndeterminateCheckBox"), N = (e) => {
205
+ //#region ../../node_modules/@mui/icons-material/ArrowDownward.mjs
206
+ var k = h(/* @__PURE__ */ w("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), A = h(/* @__PURE__ */ w("path", { d: "M16 17.01V10h-2v7.01h-3L15 21l4-3.99zM9 3 5 6.99h3V14h2V6.99h3z" }), "SwapVert"), j = h(/* @__PURE__ */ w("path", { d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" }), "CheckBoxOutlineBlank"), M = h(/* @__PURE__ */ w("path", { d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" }), "CheckBox"), N = h(/* @__PURE__ */ w("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z" }), "IndeterminateCheckBox"), re = (e) => {
209
207
  let { classes: t, indeterminate: i, color: a, size: o } = e, s = r({ root: [
210
208
  "root",
211
209
  i && "indeterminate",
@@ -216,7 +214,7 @@ var A = h(/* @__PURE__ */ w("path", { d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v
216
214
  ...t,
217
215
  ...s
218
216
  };
219
- }, P = d(k, {
217
+ }, P = d(O, {
220
218
  shouldForwardProp: (e) => u(e) || e === "classes",
221
219
  name: "MuiCheckbox",
222
220
  slot: "Root",
@@ -258,7 +256,7 @@ var A = h(/* @__PURE__ */ w("path", { d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v
258
256
  style: { "&:hover": { "@media (hover: none)": { backgroundColor: "transparent" } } }
259
257
  }
260
258
  ]
261
- }))), F = /* @__PURE__ */ w(j, {}), I = /* @__PURE__ */ w(A, {}), L = /* @__PURE__ */ w(M, {}), R = /* @__PURE__ */ C.forwardRef(function(e, t) {
259
+ }))), F = /* @__PURE__ */ w(M, {}), I = /* @__PURE__ */ w(j, {}), L = /* @__PURE__ */ w(N, {}), R = /* @__PURE__ */ C.forwardRef(function(e, t) {
262
260
  let n = i({
263
261
  props: e,
264
262
  name: "MuiCheckbox"
@@ -268,7 +266,7 @@ var A = h(/* @__PURE__ */ w("path", { d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v
268
266
  color: a,
269
267
  indeterminate: c,
270
268
  size: u
271
- }, x = N(b), S = h.input, [T, E] = p("root", {
269
+ }, x = re(b), S = h.input, [T, E] = p("root", {
272
270
  ref: t,
273
271
  elementType: P,
274
272
  className: o(x.root, f),
@@ -803,15 +801,15 @@ process.env.NODE_ENV !== "production" && (Q.propTypes = {
803
801
  });
804
802
  //#endregion
805
803
  //#region lib/s-data-table/s-data-table.tsx
806
- function $(e) {
804
+ function be(e) {
807
805
  return e.sortKey ?? e.field ?? e.name;
808
806
  }
809
- function be(e, t, n) {
807
+ function xe(e, t, n) {
810
808
  return e.formatter ? e.formatter(t, n) : e.field ? t[e.field] : null;
811
809
  }
812
- var xe = ({ columns: e, hideHead: t, hover: n, onClick: r, onDeselectAll: i, onDeselectOne: a, onSelectOne: o, onSelectAll: s, onSort: l, rows: u, selectable: d, selected: f, sortBy: p, sortDirection: m, uniqueRowId: h, ...g }) => {
810
+ var $ = ({ columns: e, hideHead: t, hover: n, onClick: r, onDeselectAll: i, onDeselectOne: a, onSelectOne: o, onSelectAll: s, onSort: l, rows: u, selectable: d, selected: f, sortBy: p, sortDirection: m, uniqueRowId: h, ...g }) => {
813
811
  let _ = (f?.size ?? 0) > 0 && (f?.size ?? 0) < u.length, v = u.length > 0 && f?.size === u.length, b = (e, t) => `${String(e.field ?? e.name ?? "column")}-${t}`, x = (e) => {
814
- let t = $(e);
812
+ let t = be(e);
815
813
  l?.(t, p === t && m === "asc" ? "desc" : "asc");
816
814
  };
817
815
  return /* @__PURE__ */ T(W, {
@@ -841,7 +839,7 @@ var xe = ({ columns: e, hideHead: t, hover: n, onClick: r, onDeselectAll: i, onD
841
839
  }
842
840
  })
843
841
  }) : null, e.map((e, t) => {
844
- let n = e.sortable && p === $(e), r = n ? m === "asc" ? "ascending" : "descending" : void 0, i = e.hideName ? null : e.name;
842
+ let n = e.sortable && p === be(e), r = n ? m === "asc" ? "ascending" : "descending" : void 0, i = e.hideName ? null : e.name;
845
843
  return /* @__PURE__ */ w(q, {
846
844
  "aria-sort": r,
847
845
  sortDirection: n ? m : !1,
@@ -874,11 +872,11 @@ var xe = ({ columns: e, hideHead: t, hover: n, onClick: r, onDeselectAll: i, onD
874
872
  color: n ? "primary.main" : "inherit",
875
873
  "&:hover .s-sort-icon": { color: n ? "primary.main" : "text.secondary" }
876
874
  },
877
- children: [i, n ? w(m === "asc" ? y : D, {
875
+ children: [i, n ? w(m === "asc" ? y : k, {
878
876
  className: "s-sort-icon",
879
877
  fontSize: "small",
880
878
  sx: { color: "primary.main" }
881
- }) : /* @__PURE__ */ w(ee, {
879
+ }) : /* @__PURE__ */ w(A, {
882
880
  className: "s-sort-icon",
883
881
  fontSize: "small",
884
882
  sx: { color: "text.disabled" }
@@ -908,7 +906,7 @@ var xe = ({ columns: e, hideHead: t, hover: n, onClick: r, onDeselectAll: i, onD
908
906
  })
909
907
  }) : null, e.map((e, n) => /* @__PURE__ */ w(q, {
910
908
  sx: { ...e.align && { textAlign: e.align } },
911
- children: be(e, t, i)
909
+ children: xe(e, t, i)
912
910
  }, b(e, n)))]
913
911
  }, s ?? i);
914
912
  }) : /* @__PURE__ */ w(Q, { children: /* @__PURE__ */ w(q, {
@@ -918,6 +916,6 @@ var xe = ({ columns: e, hideHead: t, hover: n, onClick: r, onDeselectAll: i, onD
918
916
  }) }) })]
919
917
  });
920
918
  };
921
- xe.displayName = "SDataTable";
919
+ $.displayName = "SDataTable";
922
920
  //#endregion
923
- export { xe as t };
921
+ export { $ as t };