@solostylist/ui-kit 1.0.216 → 1.0.217
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArrowUpward-O4lRvSII.js → ArrowUpward-Di0RvTdn.js} +2 -2
- package/dist/Box-BK8kyPwb.js +45 -0
- package/dist/{ButtonBase-1qqPHJym.js → ButtonBase-Pxs48joz.js} +282 -172
- package/dist/{ChevronLeft-CJ94-qgQ.js → ChevronLeft-Cq8Rj_mj.js} +2 -2
- package/dist/{ChevronRight-CK4Iv1Xx.js → ChevronRight-DgJMX1PW.js} +2 -2
- package/dist/{Close-CSIi_IPN.js → Close-BrK64qcq.js} +2 -2
- package/dist/Collapse-BlDm9KX-.js +259 -0
- package/dist/{ContentCopy-SAMH7bs7.js → ContentCopy-C3hTb2aA.js} +2 -2
- package/dist/{Download-BefdWd5q.js → Download-BxH0i9Ni.js} +2 -2
- package/dist/{ExpandMore-DZANUF9W.js → ExpandMore-C7Hl31nD.js} +2 -2
- package/dist/{Favorite-BwMGKQJf.js → Favorite-DNaf3wqS.js} +2 -2
- package/dist/List-CtVrgES0.js +1049 -0
- package/dist/LocalizationProvider-DtVmtZ15.js +111 -0
- package/dist/Menu-DklEkm6T.js +497 -0
- package/dist/MenuItem-B9utw6PO.js +222 -0
- package/dist/MenuList-BbO85Qmd.js +404 -0
- package/dist/{Paper-CI9lXZk-.js → Paper-B_hHPO5k.js} +15 -15
- package/dist/Stack-D5D_RRtN.js +157 -0
- package/dist/Typography-Dy5dAg2u.js +166 -0
- package/dist/{avatar-CKEYVp9W.js → avatar-C1jUiSkJ.js} +1 -1
- package/dist/buttonBaseClasses-BLZbMisL.js +13 -0
- package/dist/{checkbox-CMvDozaV.js → checkbox-ByoYYQb_.js} +4 -4
- package/dist/{clsx-BTH_sxEO.js → clsx-69XFQeWf.js} +4 -4
- package/dist/{createSimplePaletteValueFilter-D5kxdvJe.js → createSimplePaletteValueFilter-GHK52GLU.js} +1 -1
- package/dist/{createSvgIcon-BfZYaiXo.js → createSvgIcon-BmN7SAhg.js} +15 -15
- package/dist/{createTheme-hnicUJQa.js → createTheme-YGsrOe_4.js} +624 -545
- package/dist/defaultTheme-DCktV_zC.js +5 -0
- package/dist/{generateUtilityClass-D4Rn9MbW.js → generateUtilityClass-tRYNDrlH.js} +1 -1
- package/dist/generateUtilityClasses-XrPHiTcM.js +10 -0
- package/dist/{iconButtonClasses-UNZ6hKTU.js → iconButtonClasses-9jjSQ9-U.js} +3 -3
- package/dist/inputLabelClasses-CC5i2Dsg.js +659 -0
- package/dist/memoTheme-BmiT8U43.js +150 -0
- package/dist/{mergeSlotProps-CVIr4jSm.js → mergeSlotProps-BX66hWLa.js} +3 -6
- package/dist/{outlinedInputClasses-ClI9bkEy.js → outlinedInputClasses-Di4lUV1O.js} +5 -10
- package/dist/{resolveProps-D6-j1wov.js → resolveProps-CP_X7XKa.js} +3 -3
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +1 -1
- package/dist/{s-accordion-Coc1zFV6.js → s-accordion-CeJZz1Ln.js} +107 -116
- package/dist/s-action-overlay/s-action-overlay.js +18 -14
- package/dist/s-avatar/s-avatar.js +6 -4
- package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.js +1 -1
- package/dist/{s-carousel-Btja2Hvn.js → s-carousel-DyaNkTeX.js} +2 -2
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +1 -1
- package/dist/{s-chat-input-DF3eBvRY.js → s-chat-input-B_qRssy8.js} +41 -29
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +1 -1
- package/dist/{s-chat-message-tzIfAqAc.js → s-chat-message-gzoc72Ti.js} +45 -41
- package/dist/s-checkbox/s-checkbox.js +6 -3
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +1 -1
- package/dist/{s-chips-CMivbDg_.js → s-chips-D8H_w9Xa.js} +15 -11
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/{s-code-block-BrwHh2oS.js → s-code-block-B1mdb-IQ.js} +1 -1
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +1 -1
- package/dist/{s-comment-message-Db-f_KOq.js → s-comment-message-CsQej8Et.js} +18 -14
- package/dist/s-copyable-text/s-copyable-text.js +8 -9
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +1 -1
- package/dist/s-data-table-DeFNG6GB.js +893 -0
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.d.ts +1 -1
- package/dist/s-date-picker/s-date-picker.js +1 -1
- package/dist/{s-date-picker-C-FOMdpa.js → s-date-picker-Fo7ezXTV.js} +161 -115
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
- package/dist/{s-datetime-picker-qg0m55tj.js → s-datetime-picker-BcpyhYZf.js} +1051 -1033
- package/dist/s-dialog/s-dialog.js +3 -3
- package/dist/s-dialog-confirm/s-dialog-confirm.js +4 -4
- package/dist/s-dialog-message/s-dialog-message.js +4 -4
- package/dist/s-empty/s-empty.js +4 -2
- package/dist/s-error/s-error.js +4 -2
- package/dist/s-error-layout/s-error-layout.js +1 -2
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
- package/dist/{s-file-dropzone-BFTqdCaX.js → s-file-dropzone-yel7KInt.js} +9 -9
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-flex-box/s-flex-box.d.ts +10 -2
- package/dist/s-flex-box/s-flex-box.js +15 -5
- package/dist/s-glow-button/s-glow-button.js +1 -1
- package/dist/s-image-comparison/s-image-comparison.js +2 -2
- package/dist/s-image-modal/s-image-modal.js +4 -4
- package/dist/s-item-not-found/s-item-not-found.js +9 -7
- package/dist/s-label/index.js +1 -1
- package/dist/s-label/s-label.js +1 -1
- package/dist/{s-label-BYT4eG6o.js → s-label-B9mgEpfz.js} +8 -7
- package/dist/s-language-switcher/index.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.js +1 -1
- package/dist/{s-language-switcher-mD1mK1he.js → s-language-switcher-BI0ARsS8.js} +18 -17
- package/dist/s-lazy-image/s-lazy-image.js +4 -2
- package/dist/s-link/s-link.d.ts +1 -1
- package/dist/s-link/s-link.js +1 -1
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/{s-localization-provider-CIACI235.js → s-localization-provider-zUNjKqvJ.js} +41 -59
- package/dist/s-moving-border/s-moving-border.d.ts +8 -0
- package/dist/s-moving-border/s-moving-border.js +26 -21
- package/dist/s-multi-select/index.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +1 -1
- package/dist/{s-multi-select-CmB-l3n5.js → s-multi-select-CVyeHDlc.js} +10 -10
- package/dist/s-nav-item/s-nav-item.js +2 -2
- package/dist/s-nav-item/s-nav-items.js +5 -5
- package/dist/s-no-ssr/s-no-ssr.js +1 -1
- package/dist/s-pagination/s-pagination.js +6 -4
- package/dist/s-pixel-reveal/s-pixel-reveal.js +1 -1
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +1 -1
- package/dist/{s-review-D29of4xC.js → s-review-BoTotzrP.js} +14 -10
- package/dist/s-scroll-to-top/s-scroll-to-top.js +3 -3
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +1 -1
- package/dist/{s-select-DH-t7jkk.js → s-select-BHnfqAGl.js} +7 -7
- package/dist/s-select-list/s-select-list.js +1 -1
- package/dist/s-stripe/s-stripe.js +1 -1
- package/dist/s-switch/s-switch.js +5 -3
- package/dist/s-tabs/s-tabs.js +6 -6
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
- package/dist/s-text-editor/s-text-editor.js +2 -2
- package/dist/s-text-editor-toolbar-ZxamcKpn.js +2105 -0
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/{s-text-field-UI_UjTUa.js → s-text-field-w4T9VXLw.js} +2 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +2 -2
- package/dist/s-theme-demo/index.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.js +1 -1
- package/dist/{s-theme-demo-C0v-IOB-.js → s-theme-demo-C0BGeh2P.js} +80 -48
- package/dist/s-theme-provider/s-theme-provider.js +1 -1
- package/dist/s-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/{s-theme-switch-COBORL4a.js → s-theme-switch-Cz5QBl69.js} +2 -2
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +1 -1
- package/dist/{s-tip-BI58w2uh.js → s-tip-CqLspVS4.js} +5 -5
- package/dist/s-tool-bar/index.js +1 -1
- package/dist/s-tool-bar/s-tool-bar.js +1 -1
- package/dist/{s-tool-bar-KrLaAaBO.js → s-tool-bar-RTPBIgcd.js} +5 -5
- package/dist/s-two-pane-layout/s-two-pane-layout.js +1 -1
- package/dist/{select-BT9USOXL.js → select-D7W-VU2F.js} +2 -2
- package/dist/styled-BRk8Ukg1.js +164 -0
- package/dist/{esm-BYRX9r8n.js → styled-engine-DOxAQ3qw.js} +2 -2
- package/dist/{svgIconClasses-BhRa1KyZ.js → svgIconClasses-D46YUMKp.js} +3 -3
- package/dist/{tabClasses-Duc8s_po.js → tabClasses-KqPlYv0c.js} +3 -4
- package/dist/theme/components/accordion-summary.d.ts +2 -2
- package/dist/theme/components/accordion-summary.js +1 -1
- package/dist/theme/components/accordion.d.ts +2 -2
- package/dist/theme/components/alert.js +1 -1
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/button.d.ts +2 -2
- package/dist/theme/components/button.js +30 -22
- package/dist/theme/components/card.js +2 -2
- package/dist/theme/components/checkbox.js +1 -1
- package/dist/theme/components/chip.js +122 -124
- package/dist/theme/components/components.js +5 -5
- package/dist/theme/components/icon-button.d.ts +2 -2
- package/dist/theme/components/icon-button.js +1 -1
- package/dist/theme/components/linear-progress.js +1 -1
- package/dist/theme/components/link.d.ts +2 -2
- package/dist/theme/components/link.js +2 -2
- package/dist/theme/components/list-item-button.d.ts +2 -2
- package/dist/theme/components/list-item-button.js +1 -1
- package/dist/theme/components/list-item.d.ts +2 -2
- package/dist/theme/components/list-item.js +3 -3
- package/dist/theme/components/outlined-input.js +3 -3
- package/dist/theme/components/pagination-item.d.ts +2 -2
- package/dist/theme/components/select.js +1 -1
- package/dist/theme/components/step-icon.js +1 -1
- package/dist/theme/components/tab.d.ts +2 -2
- package/dist/theme/components/tab.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/tabs.d.ts +4 -4
- package/dist/theme/components/toggle-button-group.js +1 -1
- package/dist/theme/components/toggle-button.d.ts +2 -2
- package/dist/theme/components/toggle-button.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{theme-primitives-qhf0z_Er.js → theme-primitives-DHiY0aFC.js} +1 -1
- package/dist/{toggle-button-sCvdUHdS.js → toggle-button-DIEv06gW.js} +3 -3
- package/dist/{toggle-button-group-C_qpJa3z.js → toggle-button-group-CERACXGm.js} +4 -6
- package/dist/{typographyClasses-CBI3nZde.js → typographyClasses-CyjIdezx.js} +4 -5
- package/dist/{useControlled-BQ6-yabk.js → useControlled-2-C6cXjG.js} +2 -5
- package/dist/useControlled-DXKqhylj.js +5 -0
- package/dist/{useEnhancedEffect-DcMMtOdE.js → useEnhancedEffect-Dsu5K7-Z.js} +1 -1
- package/dist/useFormControl-CUs308br.js +18 -0
- package/dist/{useMobilePicker-C5bImMb9.js → useMobilePicker-6o6QRlWL.js} +3019 -3472
- package/dist/{useSlot-BfqKgBbE.js → useSlot-CugRM0KJ.js} +37 -32
- package/dist/{useThemeProps-DtrsMbkY.js → useThemeProps-DdB9M8DE.js} +4 -4
- package/dist/{utils-BqJ3HDtA.js → utils-DNv5CBQM.js} +21 -5
- package/package.json +13 -13
- package/dist/Box-BQIZeo25.js +0 -46
- package/dist/Collapse-BUAO-GTT.js +0 -264
- package/dist/LocalizationProvider-C07_J3LH.js +0 -111
- package/dist/Menu-qKMfgdfr.js +0 -1664
- package/dist/MenuItem-DA2pGXuL.js +0 -214
- package/dist/Select-D-aLJXW9.js +0 -2552
- package/dist/Stack-BrIUVvqB.js +0 -158
- package/dist/Typography-Ci004UCT.js +0 -187
- package/dist/buttonBaseClasses-D1dQFqBk.js +0 -13
- package/dist/defaultTheme-CW25vqGj.js +0 -5
- package/dist/extendSxProp-0kulJXZl.js +0 -29
- package/dist/generateUtilityClasses-CX1nR7K3.js +0 -10
- package/dist/memoTheme-DiKnacj0.js +0 -154
- package/dist/s-data-table-BdEn2Nhf.js +0 -897
- package/dist/s-text-editor-toolbar-Sw0qn88u.js +0 -177
- package/dist/styled-C0_N3zFx.js +0 -168
- package/dist/useFormControl-DvExOQVA.js +0 -11
- /package/dist/{extends-DtvfmDTb.js → extends-D8CDMpIy.js} +0 -0
- /package/dist/{objectWithoutPropertiesLoose-Cq334jkZ.js → objectWithoutPropertiesLoose-BpY-kC5L.js} +0 -0
- /package/dist/{utils-CKGB5_56.js → utils-B5Rl6Zwv.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
1
|
+
import { t as e } from "./createSvgIcon-BmN7SAhg.js";
|
|
2
2
|
import { SIconButton as t } from "./s-icon-button/s-icon-button.js";
|
|
3
3
|
import { Children as n, forwardRef as r, useCallback as i, useEffect as a, useMemo as o, useRef as s, useState as c } from "react";
|
|
4
4
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
5
5
|
import { Box as f, styled as p, useTheme as m } from "@mui/material";
|
|
6
|
-
//#region ../../node_modules/@mui/icons-material/
|
|
6
|
+
//#region ../../node_modules/@mui/icons-material/ArrowBackIosNew.mjs
|
|
7
7
|
var h = e(/* @__PURE__ */ u("path", { d: "M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z" }), "ArrowBackIosNew"), g = e(/* @__PURE__ */ u("path", { d: "M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z" }), "ArrowForwardIos"), _ = {
|
|
8
8
|
active: !0,
|
|
9
9
|
breakpoints: {},
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chat-input-
|
|
1
|
+
import { t as e } from "../s-chat-input-B_qRssy8.js";
|
|
2
2
|
export { e as SChatInput, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chat-input-
|
|
1
|
+
import { t as e } from "../s-chat-input-B_qRssy8.js";
|
|
2
2
|
export { e as SChatInput, e as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
2
|
-
import { t } from "./ArrowUpward-
|
|
3
|
-
import { t as n } from "./Close-
|
|
4
|
-
import { t as r } from "./s-text-field-
|
|
1
|
+
import { t as e } from "./createSvgIcon-BmN7SAhg.js";
|
|
2
|
+
import { t } from "./ArrowUpward-Di0RvTdn.js";
|
|
3
|
+
import { t as n } from "./Close-BrK64qcq.js";
|
|
4
|
+
import { t as r } from "./s-text-field-w4T9VXLw.js";
|
|
5
5
|
import { SIconButton as i } from "./s-icon-button/s-icon-button.js";
|
|
6
6
|
import { SFileIcon as a } from "./s-file-icon/s-file-icon.js";
|
|
7
7
|
import { forwardRef as o, useEffect as s, useId as c, useState as l } from "react";
|
|
8
8
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
9
9
|
import { Box as p, ClickAwayListener as m, Popper as h, Typography as g, outlinedInputClasses as _ } from "@mui/material";
|
|
10
10
|
import v from "emoji-picker-react";
|
|
11
|
-
//#region ../../node_modules/@mui/icons-material/
|
|
11
|
+
//#region ../../node_modules/@mui/icons-material/AttachFile.mjs
|
|
12
12
|
var y = e(/* @__PURE__ */ d("path", { d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6z" }), "AttachFile"), b = e(/* @__PURE__ */ d("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8M12 18c-2.28 0-4.22-1.66-5-4h10c-.78 2.34-2.72 4-5 4m3.5-7c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5" }), "EmojiEmotions"), x = o(({ onSubmit: e, onFileSelect: o, disabled: x, acceptedFileTypes: S, maxFileSize: C, hideEmojiPicker: w, hideFileAttachment: T, ...E }, D) => {
|
|
13
13
|
let [O, k] = l(""), [A, j] = l([]), [M, N] = l(/* @__PURE__ */ new Map()), [P, F] = l(!1), [I, L] = l(null), R = c(), z = (e) => e.type.startsWith("image/"), B = (e) => {
|
|
14
14
|
let t = `${e.name}-${e.size}-${e.lastModified}`;
|
|
@@ -43,10 +43,12 @@ var y = e(/* @__PURE__ */ d("path", { d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79
|
|
|
43
43
|
return s(() => () => {
|
|
44
44
|
M.forEach((e) => URL.revokeObjectURL(e));
|
|
45
45
|
}, [M]), /* @__PURE__ */ f(p, {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
sx: {
|
|
47
|
+
border: "1px solid",
|
|
48
|
+
borderColor: "divider",
|
|
49
|
+
borderRadius: 2,
|
|
50
|
+
padding: "8px 12px"
|
|
51
|
+
},
|
|
50
52
|
children: [
|
|
51
53
|
/* @__PURE__ */ d(r, {
|
|
52
54
|
placeholder: "Enter your message here...",
|
|
@@ -74,14 +76,14 @@ var y = e(/* @__PURE__ */ d("path", { d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79
|
|
|
74
76
|
...E
|
|
75
77
|
}),
|
|
76
78
|
A.length > 0 && /* @__PURE__ */ d(p, {
|
|
77
|
-
mt: 1,
|
|
79
|
+
sx: { mt: 1 },
|
|
78
80
|
children: A.map((e, t) => {
|
|
79
81
|
let r = z(e), o = e.name.split(".").pop();
|
|
80
82
|
return /* @__PURE__ */ f(p, {
|
|
81
|
-
display: "flex",
|
|
82
|
-
alignItems: "center",
|
|
83
|
-
justifyContent: "space-between",
|
|
84
83
|
sx: {
|
|
84
|
+
display: "flex",
|
|
85
|
+
alignItems: "center",
|
|
86
|
+
justifyContent: "space-between",
|
|
85
87
|
bgcolor: "background.paper",
|
|
86
88
|
border: "1px solid",
|
|
87
89
|
borderColor: "divider",
|
|
@@ -90,9 +92,11 @@ var y = e(/* @__PURE__ */ d("path", { d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79
|
|
|
90
92
|
mb: .5
|
|
91
93
|
},
|
|
92
94
|
children: [/* @__PURE__ */ f(p, {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
sx: {
|
|
96
|
+
display: "flex",
|
|
97
|
+
alignItems: "center",
|
|
98
|
+
gap: 1
|
|
99
|
+
},
|
|
96
100
|
children: [r ? /* @__PURE__ */ d(p, {
|
|
97
101
|
component: "img",
|
|
98
102
|
src: B(e),
|
|
@@ -106,15 +110,19 @@ var y = e(/* @__PURE__ */ d("path", { d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79
|
|
|
106
110
|
borderColor: "divider"
|
|
107
111
|
}
|
|
108
112
|
}) : /* @__PURE__ */ d(a, { extension: o }), /* @__PURE__ */ f(p, {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
+
sx: {
|
|
114
|
+
display: "flex",
|
|
115
|
+
flexDirection: "row",
|
|
116
|
+
alignItems: "center",
|
|
117
|
+
gap: 1
|
|
118
|
+
},
|
|
113
119
|
children: [/* @__PURE__ */ d(g, {
|
|
114
120
|
variant: "subtitle2",
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
121
|
+
sx: {
|
|
122
|
+
textOverflow: "ellipsis",
|
|
123
|
+
overflow: "hidden",
|
|
124
|
+
whiteSpace: "nowrap"
|
|
125
|
+
},
|
|
118
126
|
children: e.name
|
|
119
127
|
}), /* @__PURE__ */ d("div", { children: /* @__PURE__ */ f(g, {
|
|
120
128
|
variant: "caption",
|
|
@@ -137,13 +145,17 @@ var y = e(/* @__PURE__ */ d("path", { d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79
|
|
|
137
145
|
})
|
|
138
146
|
}),
|
|
139
147
|
/* @__PURE__ */ f(p, {
|
|
140
|
-
|
|
141
|
-
justifyContent: "space-between",
|
|
142
|
-
alignItems: "center",
|
|
143
|
-
mt: 1,
|
|
144
|
-
children: [/* @__PURE__ */ f(p, {
|
|
148
|
+
sx: {
|
|
145
149
|
display: "flex",
|
|
146
|
-
|
|
150
|
+
justifyContent: "space-between",
|
|
151
|
+
alignItems: "center",
|
|
152
|
+
mt: 1
|
|
153
|
+
},
|
|
154
|
+
children: [/* @__PURE__ */ f(p, {
|
|
155
|
+
sx: {
|
|
156
|
+
display: "flex",
|
|
157
|
+
gap: 1
|
|
158
|
+
},
|
|
147
159
|
children: [!T && /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d("input", {
|
|
148
160
|
type: "file",
|
|
149
161
|
multiple: !0,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chat-message-
|
|
1
|
+
import { t as e } from "../s-chat-message-gzoc72Ti.js";
|
|
2
2
|
export { e as SChatMessage, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chat-message-
|
|
1
|
+
import { t as e } from "../s-chat-message-gzoc72Ti.js";
|
|
2
2
|
export { e as SChatMessage, e as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e, r as t } from "./utils-
|
|
2
|
-
import { t as n } from "./createSvgIcon-
|
|
3
|
-
import { t as r } from "./Download-
|
|
1
|
+
import { n as e, r as t } from "./utils-B5Rl6Zwv.js";
|
|
2
|
+
import { t as n } from "./createSvgIcon-BmN7SAhg.js";
|
|
3
|
+
import { t as r } from "./Download-BxH0i9Ni.js";
|
|
4
4
|
import i from "./s-lazy-image/s-lazy-image.js";
|
|
5
5
|
import { SSkeleton as a } from "./s-skeleton/s-skeleton.js";
|
|
6
6
|
import { SAvatar as o } from "./s-avatar/s-avatar.js";
|
|
@@ -8,19 +8,18 @@ import { SImageModal as s } from "./s-image-modal/s-image-modal.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/
|
|
12
|
-
var h = n(/* @__PURE__ */ l("path", { d: "
|
|
13
|
-
display: "flex",
|
|
14
|
-
flexDirection: e ? "row-reverse" : "row",
|
|
15
|
-
alignItems: "flex-start",
|
|
16
|
-
gap: 1,
|
|
17
|
-
mb: 1,
|
|
18
|
-
sx: {
|
|
19
|
-
maxWidth: i,
|
|
20
|
-
alignSelf: e ? "flex-end" : "flex-start",
|
|
21
|
-
...o
|
|
22
|
-
},
|
|
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: o, ...s }) => /* @__PURE__ */ u(d, {
|
|
23
13
|
...s,
|
|
14
|
+
sx: [{
|
|
15
|
+
display: "flex",
|
|
16
|
+
flexDirection: e ? "row-reverse" : "row",
|
|
17
|
+
alignItems: "flex-start",
|
|
18
|
+
gap: 1,
|
|
19
|
+
mb: 1,
|
|
20
|
+
maxWidth: i,
|
|
21
|
+
alignSelf: e ? "flex-end" : "flex-start"
|
|
22
|
+
}, ...Array.isArray(o) ? o : [o]],
|
|
24
23
|
children: [
|
|
25
24
|
t && !e && /* @__PURE__ */ l(a, {
|
|
26
25
|
component: "rounded-avatar",
|
|
@@ -28,11 +27,13 @@ var h = n(/* @__PURE__ */ l("path", { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47
|
|
|
28
27
|
height: 36
|
|
29
28
|
}),
|
|
30
29
|
/* @__PURE__ */ u(d, {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
sx: {
|
|
31
|
+
display: "flex",
|
|
32
|
+
flexDirection: "column",
|
|
33
|
+
alignItems: e ? "flex-end" : "flex-start",
|
|
34
|
+
gap: .5,
|
|
35
|
+
minWidth: 0
|
|
36
|
+
},
|
|
36
37
|
children: [
|
|
37
38
|
r && !e && /* @__PURE__ */ l(a, {
|
|
38
39
|
width: 100,
|
|
@@ -94,17 +95,16 @@ var h = n(/* @__PURE__ */ l("path", { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47
|
|
|
94
95
|
sx: M,
|
|
95
96
|
...N
|
|
96
97
|
}) : /* @__PURE__ */ u(d, {
|
|
97
|
-
display: "flex",
|
|
98
|
-
flexDirection: R ? "row-reverse" : "row",
|
|
99
|
-
alignItems: "flex-start",
|
|
100
|
-
gap: 1,
|
|
101
|
-
mb: 1,
|
|
102
|
-
sx: {
|
|
103
|
-
maxWidth: w,
|
|
104
|
-
alignSelf: R ? "flex-end" : "flex-start",
|
|
105
|
-
...M
|
|
106
|
-
},
|
|
107
98
|
...N,
|
|
99
|
+
sx: [{
|
|
100
|
+
display: "flex",
|
|
101
|
+
flexDirection: R ? "row-reverse" : "row",
|
|
102
|
+
alignItems: "flex-start",
|
|
103
|
+
gap: 1,
|
|
104
|
+
mb: 1,
|
|
105
|
+
maxWidth: w,
|
|
106
|
+
alignSelf: R ? "flex-end" : "flex-start"
|
|
107
|
+
}, ...Array.isArray(M) ? M : [M]],
|
|
108
108
|
children: [
|
|
109
109
|
S && !R && /* @__PURE__ */ l(o, {
|
|
110
110
|
avatar: b,
|
|
@@ -112,11 +112,13 @@ var h = n(/* @__PURE__ */ l("path", { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47
|
|
|
112
112
|
size: 36
|
|
113
113
|
}),
|
|
114
114
|
/* @__PURE__ */ u(d, {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
115
|
+
sx: {
|
|
116
|
+
display: "flex",
|
|
117
|
+
flexDirection: "column",
|
|
118
|
+
alignItems: R ? "flex-end" : "flex-start",
|
|
119
|
+
gap: .5,
|
|
120
|
+
minWidth: 0
|
|
121
|
+
},
|
|
120
122
|
children: [
|
|
121
123
|
x && !R && /* @__PURE__ */ l(m, { children: x }),
|
|
122
124
|
/* @__PURE__ */ u(d, {
|
|
@@ -133,12 +135,12 @@ var h = n(/* @__PURE__ */ l("path", { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47
|
|
|
133
135
|
children: [
|
|
134
136
|
V.length > 0 && /* @__PURE__ */ l(d, {
|
|
135
137
|
sx: {
|
|
138
|
+
minWidth: 200,
|
|
136
139
|
display: "grid",
|
|
137
140
|
gridTemplateColumns: V.length === 1 ? "1fr" : "repeat(2, 1fr)",
|
|
138
141
|
gap: .5,
|
|
139
142
|
p: .5
|
|
140
143
|
},
|
|
141
|
-
minWidth: 200,
|
|
142
144
|
children: V.map((e) => /* @__PURE__ */ l(d, {
|
|
143
145
|
sx: {
|
|
144
146
|
position: "relative",
|
|
@@ -228,14 +230,16 @@ var h = n(/* @__PURE__ */ l("path", { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47
|
|
|
228
230
|
children: t(y)
|
|
229
231
|
}),
|
|
230
232
|
O && /* @__PURE__ */ u(d, {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
sx: {
|
|
234
|
+
display: "flex",
|
|
235
|
+
alignItems: "center",
|
|
236
|
+
gap: .5,
|
|
237
|
+
color: "error.main"
|
|
238
|
+
},
|
|
235
239
|
children: [
|
|
236
240
|
/* @__PURE__ */ l(h, { sx: { fontSize: "1rem" } }),
|
|
237
241
|
/* @__PURE__ */ l(m, {
|
|
238
|
-
color: "inherit",
|
|
242
|
+
sx: { color: "inherit" },
|
|
239
243
|
children: k
|
|
240
244
|
}),
|
|
241
245
|
A && /* @__PURE__ */ l(f, {
|
|
@@ -5,10 +5,12 @@ import { Checkbox as i, Stack as a, Typography as o } from "@mui/material";
|
|
|
5
5
|
var s = e(({ content: e, ...s }, c) => {
|
|
6
6
|
let l = t(), u = s.id ?? l;
|
|
7
7
|
return /* @__PURE__ */ r(a, {
|
|
8
|
-
alignItems: "center",
|
|
9
8
|
direction: "row",
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
sx: {
|
|
10
|
+
alignItems: "center",
|
|
11
|
+
display: "flex",
|
|
12
|
+
justifyContent: "start"
|
|
13
|
+
},
|
|
12
14
|
children: [/* @__PURE__ */ n(i, {
|
|
13
15
|
ref: c,
|
|
14
16
|
...s,
|
|
@@ -17,6 +19,7 @@ var s = e(({ content: e, ...s }, c) => {
|
|
|
17
19
|
htmlFor: u,
|
|
18
20
|
children: /* @__PURE__ */ n(o, {
|
|
19
21
|
variant: "body2",
|
|
22
|
+
sx: { cursor: "pointer" },
|
|
20
23
|
children: e
|
|
21
24
|
})
|
|
22
25
|
})]
|
package/dist/s-chips/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chips-
|
|
1
|
+
import { t as e } from "../s-chips-D8H_w9Xa.js";
|
|
2
2
|
export { e as SChips, e as default };
|
package/dist/s-chips/s-chips.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-chips-
|
|
1
|
+
import { t as e } from "../s-chips-D8H_w9Xa.js";
|
|
2
2
|
export { e as SChips, e as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
1
|
+
import { t as e } from "./createSvgIcon-BmN7SAhg.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";
|
|
5
|
-
//#region ../../node_modules/@mui/icons-material/
|
|
5
|
+
//#region ../../node_modules/@mui/icons-material/Done.mjs
|
|
6
6
|
var u = e(/* @__PURE__ */ a("path", { d: "M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z" }), "Done"), d = ({ chips: e, overflow: d = !0, onClick: f, overflowText: p = "keywords", color: m = "primary", variant: h = "filled", size: g = "medium", gap: _ = 8, selectedChips: v, onSelectionChange: y }) => {
|
|
7
7
|
let b = r(null), [x, S] = i([]), [C, w] = i([]), [T, E] = i(0), D = (e) => {
|
|
8
8
|
y && v !== void 0 && y(v.includes(e) ? v.filter((t) => t !== e) : [...v, e]), f?.(e);
|
|
@@ -45,11 +45,13 @@ var u = e(/* @__PURE__ */ a("path", { d: "M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4
|
|
|
45
45
|
} : {};
|
|
46
46
|
return /* @__PURE__ */ o(s, {
|
|
47
47
|
ref: b,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
sx: [{
|
|
49
|
+
display: "flex",
|
|
50
|
+
maxWidth: "100%",
|
|
51
|
+
flexWrap: d ? "nowrap" : "wrap",
|
|
52
|
+
gap: `${_}px`,
|
|
53
|
+
...j
|
|
54
|
+
}],
|
|
53
55
|
children: [(d ? x : e).map((e) => {
|
|
54
56
|
let t = v?.includes(e) ?? !1;
|
|
55
57
|
return /* @__PURE__ */ a(c, {
|
|
@@ -66,10 +68,12 @@ var u = e(/* @__PURE__ */ a("path", { d: "M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4
|
|
|
66
68
|
arrow: !0,
|
|
67
69
|
placement: "top",
|
|
68
70
|
title: /* @__PURE__ */ a(s, {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
sx: {
|
|
72
|
+
display: "flex",
|
|
73
|
+
gap: 1,
|
|
74
|
+
maxWidth: "240px",
|
|
75
|
+
flexWrap: "wrap"
|
|
76
|
+
},
|
|
73
77
|
children: C.map((e) => /* @__PURE__ */ a(c, {
|
|
74
78
|
label: e.trim(),
|
|
75
79
|
color: m,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-code-block-
|
|
1
|
+
import { t as e } from "../s-code-block-B1mdb-IQ.js";
|
|
2
2
|
export { e as SCodeBlock, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-code-block-
|
|
1
|
+
import { t as e } from "../s-code-block-B1mdb-IQ.js";
|
|
2
2
|
export { e as SCodeBlock, e as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, t } from "./ContentCopy-
|
|
1
|
+
import { n as e, t } from "./ContentCopy-C3hTb2aA.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, useColorScheme as s } from "@mui/material";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-comment-message-
|
|
1
|
+
import { t as e } from "../s-comment-message-CsQej8Et.js";
|
|
2
2
|
export { e as SCommentMessage, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-comment-message-
|
|
1
|
+
import { t as e } from "../s-comment-message-CsQej8Et.js";
|
|
2
2
|
export { e as SCommentMessage, e as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { i as e } from "./utils-
|
|
2
|
-
import { t } from "./createSvgIcon-
|
|
3
|
-
import { t as n } from "./ExpandMore-
|
|
4
|
-
import { t as r } from "./Favorite-
|
|
1
|
+
import { i as e } from "./utils-B5Rl6Zwv.js";
|
|
2
|
+
import { t } from "./createSvgIcon-BmN7SAhg.js";
|
|
3
|
+
import { t as n } from "./ExpandMore-C7Hl31nD.js";
|
|
4
|
+
import { t as r } from "./Favorite-DNaf3wqS.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";
|
|
8
8
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
9
9
|
import { Box as d, Button as f, Collapse as p, IconButton as m, Stack as h, Typography as g } from "@mui/material";
|
|
10
|
-
//#region ../../node_modules/@mui/icons-material/
|
|
10
|
+
//#region ../../node_modules/@mui/icons-material/ExpandLess.mjs
|
|
11
11
|
var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z" }), "ExpandLess"), v = t(/* @__PURE__ */ l("path", { d: "M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3m-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05" }), "FavoriteBorder"), y = t(/* @__PURE__ */ l("path", { d: "M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11" }), "Reply"), b = ({ id: t, userName: x, userAvatar: S, commentContent: C, datetime: w, likes: T = 0, isLiked: E = !1, replies: D = [], totalReplies: O, onLike: k, onReply: A, onToggleReplies: j, showReplies: M = !0, avatarSize: N = 48, level: P = 0, maxLevel: F = 3, loading: I = !1, children: L, sx: R = {} }) => {
|
|
12
12
|
let z = s(), B = t ?? z, [V, H] = c(T), [U, W] = c(E), [G, K] = c(!1), q = () => {
|
|
13
13
|
U ? (H((e) => Math.max(0, e - 1)), W(!1)) : (H((e) => e + 1), W(!0)), k && k(B);
|
|
@@ -29,7 +29,7 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
|
|
|
29
29
|
children: /* @__PURE__ */ u(h, {
|
|
30
30
|
direction: "row",
|
|
31
31
|
spacing: 2,
|
|
32
|
-
alignItems: "flex-start",
|
|
32
|
+
sx: { alignItems: "flex-start" },
|
|
33
33
|
children: [/* @__PURE__ */ l(i, {
|
|
34
34
|
component: "rounded-avatar",
|
|
35
35
|
width: N,
|
|
@@ -39,9 +39,11 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
|
|
|
39
39
|
children: [
|
|
40
40
|
/* @__PURE__ */ u(h, {
|
|
41
41
|
direction: "row",
|
|
42
|
-
alignItems: "center",
|
|
43
42
|
spacing: 2,
|
|
44
|
-
|
|
43
|
+
sx: {
|
|
44
|
+
alignItems: "center",
|
|
45
|
+
mb: 1
|
|
46
|
+
},
|
|
45
47
|
children: [/* @__PURE__ */ l(i, {
|
|
46
48
|
width: 120,
|
|
47
49
|
height: 20
|
|
@@ -67,7 +69,7 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
|
|
|
67
69
|
/* @__PURE__ */ u(h, {
|
|
68
70
|
direction: "row",
|
|
69
71
|
spacing: 1,
|
|
70
|
-
alignItems: "center",
|
|
72
|
+
sx: { alignItems: "center" },
|
|
71
73
|
children: [
|
|
72
74
|
/* @__PURE__ */ l(i, { component: "icon-button" }),
|
|
73
75
|
/* @__PURE__ */ l(i, {
|
|
@@ -90,7 +92,7 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
|
|
|
90
92
|
children: [/* @__PURE__ */ u(h, {
|
|
91
93
|
direction: "row",
|
|
92
94
|
spacing: 2,
|
|
93
|
-
alignItems: "flex-start",
|
|
95
|
+
sx: { alignItems: "flex-start" },
|
|
94
96
|
children: [/* @__PURE__ */ l(a, {
|
|
95
97
|
avatar: S,
|
|
96
98
|
name: x,
|
|
@@ -100,12 +102,14 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
|
|
|
100
102
|
children: [
|
|
101
103
|
/* @__PURE__ */ u(h, {
|
|
102
104
|
direction: "row",
|
|
103
|
-
alignItems: "center",
|
|
104
105
|
spacing: 2,
|
|
105
|
-
|
|
106
|
+
sx: {
|
|
107
|
+
alignItems: "center",
|
|
108
|
+
mb: 1
|
|
109
|
+
},
|
|
106
110
|
children: [/* @__PURE__ */ l(g, {
|
|
107
111
|
variant: "subtitle2",
|
|
108
|
-
fontWeight: "600",
|
|
112
|
+
sx: { fontWeight: "600" },
|
|
109
113
|
children: x
|
|
110
114
|
}), /* @__PURE__ */ l("div", { children: /* @__PURE__ */ l(g, {
|
|
111
115
|
variant: "caption",
|
|
@@ -123,7 +127,7 @@ var _ = t(/* @__PURE__ */ l("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
|
|
|
123
127
|
/* @__PURE__ */ u(h, {
|
|
124
128
|
direction: "row",
|
|
125
129
|
spacing: 1,
|
|
126
|
-
alignItems: "center",
|
|
130
|
+
sx: { alignItems: "center" },
|
|
127
131
|
children: [
|
|
128
132
|
/* @__PURE__ */ l(m, {
|
|
129
133
|
onClick: q,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as e, t } from "../ContentCopy-
|
|
1
|
+
import { n as e, t } from "../ContentCopy-C3hTb2aA.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";
|
|
5
5
|
//#region lib/s-copyable-text/s-copyable-text.tsx
|
|
6
6
|
var l = ({ text: l, typographyProps: u, onCopied: d, paperProps: f }) => {
|
|
7
|
-
let [p, m] = n(!1), h = async () => {
|
|
7
|
+
let [p, m] = n(!1), { sx: h, ...g } = u ?? {}, _ = async () => {
|
|
8
8
|
if (l) try {
|
|
9
9
|
await navigator.clipboard.writeText(l), m(!0), setTimeout(() => m(!1), 2e3), d?.();
|
|
10
10
|
} catch (e) {
|
|
@@ -21,7 +21,7 @@ var l = ({ text: l, typographyProps: u, onCopied: d, paperProps: f }) => {
|
|
|
21
21
|
children: /* @__PURE__ */ i(a, {
|
|
22
22
|
sx: { position: "relative" },
|
|
23
23
|
children: [/* @__PURE__ */ r(o, {
|
|
24
|
-
onClick:
|
|
24
|
+
onClick: _,
|
|
25
25
|
sx: {
|
|
26
26
|
position: "absolute",
|
|
27
27
|
top: "50%",
|
|
@@ -33,13 +33,12 @@ var l = ({ text: l, typographyProps: u, onCopied: d, paperProps: f }) => {
|
|
|
33
33
|
children: r(p ? e : t, {})
|
|
34
34
|
}), /* @__PURE__ */ r(c, {
|
|
35
35
|
variant: "body1",
|
|
36
|
-
|
|
36
|
+
...g,
|
|
37
|
+
sx: [{
|
|
38
|
+
color: "text.secondary",
|
|
37
39
|
whiteSpace: "pre-wrap",
|
|
38
|
-
wordBreak: "break-word"
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
color: "text.secondary",
|
|
42
|
-
...u,
|
|
40
|
+
wordBreak: "break-word"
|
|
41
|
+
}, ...Array.isArray(h) ? h : [h]],
|
|
43
42
|
children: l
|
|
44
43
|
})]
|
|
45
44
|
})
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-data-table-
|
|
1
|
+
import { t as e } from "../s-data-table-DeFNG6GB.js";
|
|
2
2
|
export { e as SDataTable, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-data-table-
|
|
1
|
+
import { t as e } from "../s-data-table-DeFNG6GB.js";
|
|
2
2
|
export { e as SDataTable, e as default };
|