@layers-app/shared 0.4.8 → 0.4.9
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/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts +2 -0
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.js +22 -17
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.d.ts +15 -0
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/AttachmentVideoPlayer.js +36 -0
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +22 -22
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.d.ts +14 -0
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/LegacyAttachmentVideoPlayer.js +31 -0
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.js +179 -120
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.d.ts +18 -0
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/StatusVideoPlayer.js +35 -0
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.d.ts +34 -0
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.js +71 -0
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +31 -27
- package/dist/components/CommentComposer/CommentComposer.module.css.js +13 -9
- package/dist/components/CommentComposer/index.d.ts +2 -1
- package/dist/components/CommentComposer/index.d.ts.map +1 -1
- package/dist/components/CommentComposer/index.js +343 -325
- package/dist/components/CommentComposer/types.d.ts +4 -0
- package/dist/components/CommentComposer/types.d.ts.map +1 -1
- package/dist/components/VideoPlayer/VideoPlayer.d.ts +24 -0
- package/dist/components/VideoPlayer/VideoPlayer.d.ts.map +1 -0
- package/dist/components/VideoPlayer/VideoPlayer.js +727 -0
- package/dist/components/VideoPlayer/components/MobileDrawer/index.d.ts +8 -0
- package/dist/components/VideoPlayer/components/MobileDrawer/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/MobileDrawer/index.js +67 -0
- package/dist/components/VideoPlayer/components/SelectListOptionButton.d.ts +7 -0
- package/dist/components/VideoPlayer/components/SelectListOptionButton.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/SelectListOptionButton.js +44 -0
- package/dist/components/VideoPlayer/components/StoryboardPreview.d.ts +9 -0
- package/dist/components/VideoPlayer/components/StoryboardPreview.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/StoryboardPreview.js +38 -0
- package/dist/components/VideoPlayer/components/VideoCustomControls.d.ts +33 -0
- package/dist/components/VideoPlayer/components/VideoCustomControls.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoCustomControls.js +601 -0
- package/dist/components/VideoPlayer/components/VideoIcons.d.ts +25 -0
- package/dist/components/VideoPlayer/components/VideoIcons.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoIcons.js +145 -0
- package/dist/components/VideoPlayer/components/VideoMenu.d.ts +27 -0
- package/dist/components/VideoPlayer/components/VideoMenu.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoMenu.js +77 -0
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.d.ts +17 -0
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoMobileSettingsDrawer.js +289 -0
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoQualityMenu/index.js +55 -0
- package/dist/components/VideoPlayer/components/VideoSelect.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoSelect.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSelect.js +168 -0
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.d.ts +12 -0
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsMenu/index.js +48 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.d.ts +25 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ChaptersSection.js +384 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.d.ts +21 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/CoverSection.js +264 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/FooterActions.js +39 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts +14 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/ManualSubtitlesPanel.js +360 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitleTrackRow.d.ts +16 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitleTrackRow.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitlesSection.d.ts +14 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/SubtitlesSection.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.d.ts +4 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/context.js +14 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.d.ts +22 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSettingsModal/index.js +211 -0
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.d.ts +11 -0
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSpeedMenu/index.js +41 -0
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.d.ts +10 -0
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/components/VideoSubtitlesMenu/index.js +69 -0
- package/dist/components/VideoPlayer/hooks/useStoryboard.d.ts +21 -0
- package/dist/components/VideoPlayer/hooks/useStoryboard.d.ts.map +1 -0
- package/dist/components/VideoPlayer/hooks/useStoryboard.js +91 -0
- package/dist/components/VideoPlayer/index.d.ts +11 -0
- package/dist/components/VideoPlayer/index.d.ts.map +1 -0
- package/dist/components/VideoPlayer/types.d.ts +101 -0
- package/dist/components/VideoPlayer/types.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/chapters.d.ts +8 -0
- package/dist/components/VideoPlayer/utils/chapters.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/chapters.js +38 -0
- package/dist/components/VideoPlayer/utils/storyboard.d.ts +5 -0
- package/dist/components/VideoPlayer/utils/storyboard.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/storyboard.js +47 -0
- package/dist/components/VideoPlayer/utils/subtitles.d.ts +18 -0
- package/dist/components/VideoPlayer/utils/subtitles.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/subtitles.js +23 -0
- package/dist/components/VideoPlayer/utils/touch.d.ts +3 -0
- package/dist/components/VideoPlayer/utils/touch.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/touch.js +5 -0
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.d.ts +10 -0
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/videoPlayerUtils.js +22 -0
- package/dist/components/VideoPlayer/utils/videoSettings.d.ts +69 -0
- package/dist/components/VideoPlayer/utils/videoSettings.d.ts.map +1 -0
- package/dist/components/VideoPlayer/utils/videoSettings.js +90 -0
- package/dist/helpers/getFileType.d.ts +1 -1
- package/dist/helpers/getFileType.d.ts.map +1 -1
- package/dist/helpers/getFileType.js +3 -2
- package/dist/hooks/useDateUtils.d.ts +3 -1
- package/dist/hooks/useDateUtils.d.ts.map +1 -1
- package/dist/hooks/useDateUtils.js +23 -18
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +585 -567
- package/dist/lang/locales/ui_en.json.js +9 -7
- package/dist/lang/locales/ui_es.json.js +6 -4
- package/dist/lang/locales/ui_ru.json.js +8 -6
- package/dist/videoSettings/createVideoSettingsDataSource.d.ts +19 -0
- package/dist/videoSettings/createVideoSettingsDataSource.d.ts.map +1 -0
- package/dist/videoSettings/createVideoSettingsDataSource.js +127 -0
- package/package.json +2 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as s, useEffect as t } from "react";
|
|
3
|
+
import y from "../styles.module.css.js";
|
|
4
|
+
import { VideoPlayer as m } from "../../VideoPlayer/VideoPlayer.js";
|
|
5
|
+
const U = ({
|
|
6
|
+
attachmentId: d,
|
|
7
|
+
status: e,
|
|
8
|
+
isActive: o,
|
|
9
|
+
autoPlay: l
|
|
10
|
+
}) => {
|
|
11
|
+
const i = s(null), c = e.isProcessing, a = e.playback.optimizedReady ? e.playback.primaryUrl ?? null : null, n = e.playback.rawUrl ?? null;
|
|
12
|
+
return t(() => {
|
|
13
|
+
const r = i.current?.querySelector("video");
|
|
14
|
+
r && (o ? l !== !1 && r.play().catch(() => {
|
|
15
|
+
}) : r.pause());
|
|
16
|
+
}, [o, l, a, n]), /* @__PURE__ */ p("div", { ref: i, className: y.videoPlayerFill, children: /* @__PURE__ */ p(
|
|
17
|
+
m,
|
|
18
|
+
{
|
|
19
|
+
videoId: d,
|
|
20
|
+
source: {
|
|
21
|
+
streamUrl: a,
|
|
22
|
+
nativeUrl: n,
|
|
23
|
+
posterUrl: e.posterUrl ?? null,
|
|
24
|
+
optimizedReady: !!e.playback.optimizedReady,
|
|
25
|
+
isProcessing: c
|
|
26
|
+
},
|
|
27
|
+
subtitles: e.subtitles,
|
|
28
|
+
chapters: c || e.chaptersDisabled ? void 0 : e.chapters,
|
|
29
|
+
storyboard: e.storyboard
|
|
30
|
+
}
|
|
31
|
+
) });
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
U as StatusVideoPlayer
|
|
35
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { Chapter, Storyboard, Subtitle } from '../../VideoPlayer';
|
|
2
|
+
export type AttachmentVideoStatus = {
|
|
3
|
+
videoId?: string;
|
|
4
|
+
state?: string;
|
|
5
|
+
isProcessing: boolean;
|
|
6
|
+
processingPercent?: number;
|
|
7
|
+
posterUrl?: string;
|
|
8
|
+
chaptersDisabled?: boolean;
|
|
9
|
+
autogenDisabled?: boolean;
|
|
10
|
+
playback: {
|
|
11
|
+
primaryUrl?: string | null;
|
|
12
|
+
rawUrl?: string | null;
|
|
13
|
+
optimizedReady?: boolean;
|
|
14
|
+
};
|
|
15
|
+
subtitles?: Subtitle[];
|
|
16
|
+
chapters?: Chapter[];
|
|
17
|
+
storyboard?: Storyboard | null;
|
|
18
|
+
};
|
|
19
|
+
type Result = {
|
|
20
|
+
status: AttachmentVideoStatus | null;
|
|
21
|
+
loaded: boolean;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Fetches (and, while processing, polls) the video status for an attachment.
|
|
25
|
+
* Pipeline videos resolve here via the videoId → sourceAttachmentId fallback and
|
|
26
|
+
* carry their own playback URLs + subtitles/chapters/storyboard — so the rich
|
|
27
|
+
* player needs no `/vod` polling. While the backend is still transcoding the
|
|
28
|
+
* status is re-polled so the processing banner, HLS switch and subtitles appear
|
|
29
|
+
* without reopening. Old attachments (no VideoAsset) return 404 → `status` stays
|
|
30
|
+
* null and the caller falls back to the legacy `/vod` flow.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useAttachmentVideoStatus(attachmentId?: string, refreshKey?: number): Result;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=useAttachmentVideoStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAttachmentVideoStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/AttachmentsGalleryModal/components/useAttachmentVideoStatus.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGvE,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE;QACR,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,cAAc,CAAC,EAAE,OAAO,CAAC;KAC1B,CAAC;IACF,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,UAAU,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;CAChC,CAAC;AAEF,KAAK,MAAM,GAAG;IACZ,MAAM,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACrC,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAgFF;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACtC,YAAY,CAAC,EAAE,MAAM,EACrB,UAAU,CAAC,EAAE,MAAM,GAClB,MAAM,CA2DR"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { useState as m, useEffect as f } from "react";
|
|
2
|
+
import { getEnvConfig as b } from "../../../config/envConfig.js";
|
|
3
|
+
import { normalizeSubtitleTrack as A } from "../../VideoPlayer/utils/subtitles.js";
|
|
4
|
+
const U = 3e3, v = 200, h = () => {
|
|
5
|
+
const t = b().apiBaseUrl || "";
|
|
6
|
+
return t.endsWith("/") ? t.slice(0, -1) : t;
|
|
7
|
+
}, a = (t, e) => t ? new URL(t, e).toString() : void 0, g = (t, e) => {
|
|
8
|
+
const n = Array.isArray(t.subtitles) ? t.subtitles.map(A).filter((o) => o.id).map((o) => ({ ...o, url: a(o.url, e) })) : void 0, s = t.storyboard ? {
|
|
9
|
+
...t.storyboard,
|
|
10
|
+
vttUrl: a(t.storyboard.vttUrl, e),
|
|
11
|
+
metaUrl: a(t.storyboard.metaUrl, e)
|
|
12
|
+
} : null, l = t.playback?.optimizedReady ?? !1, r = t.processingAvailable === !1 || t.pipelineMode === "UPLOAD_ONLY";
|
|
13
|
+
return {
|
|
14
|
+
videoId: t.videoId,
|
|
15
|
+
state: t.state,
|
|
16
|
+
isProcessing: !l && !r,
|
|
17
|
+
processingPercent: t.processing?.percent,
|
|
18
|
+
posterUrl: a(t.cover?.url, e),
|
|
19
|
+
chaptersDisabled: t.chaptersDisabled === !0,
|
|
20
|
+
autogenDisabled: t.autogenDisabled === !0,
|
|
21
|
+
playback: {
|
|
22
|
+
primaryUrl: a(t.playback?.primaryUrl, e),
|
|
23
|
+
rawUrl: a(t.playback?.rawUrl, e),
|
|
24
|
+
optimizedReady: t.playback?.optimizedReady
|
|
25
|
+
},
|
|
26
|
+
subtitles: n,
|
|
27
|
+
chapters: Array.isArray(t.chapters) ? t.chapters : void 0,
|
|
28
|
+
storyboard: s
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
function P(t, e) {
|
|
32
|
+
const [n, s] = m({ status: null, loaded: !1 });
|
|
33
|
+
return f(() => {
|
|
34
|
+
if (s({ status: null, loaded: !1 }), !t) {
|
|
35
|
+
s({ status: null, loaded: !0 });
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
let l = !1, r = null, o = 0;
|
|
39
|
+
const c = h() || window.location.origin, d = async () => {
|
|
40
|
+
o += 1;
|
|
41
|
+
try {
|
|
42
|
+
const i = await fetch(`${c}/v1/videos/${t}/status`, {
|
|
43
|
+
method: "GET",
|
|
44
|
+
credentials: "include",
|
|
45
|
+
headers: { Accept: "application/json" }
|
|
46
|
+
});
|
|
47
|
+
if (l) return;
|
|
48
|
+
if (!i.ok) {
|
|
49
|
+
s(
|
|
50
|
+
(p) => p.loaded ? p : { status: null, loaded: !0 }
|
|
51
|
+
);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const y = await i.json();
|
|
55
|
+
if (l) return;
|
|
56
|
+
const u = g(y, c);
|
|
57
|
+
s({ status: u, loaded: !0 }), u.isProcessing && o < v && (r = setTimeout(d, U));
|
|
58
|
+
} catch {
|
|
59
|
+
l || s(
|
|
60
|
+
(i) => i.loaded ? i : { status: null, loaded: !0 }
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
return d(), () => {
|
|
65
|
+
l = !0, r && clearTimeout(r);
|
|
66
|
+
};
|
|
67
|
+
}, [t, e]), n;
|
|
68
|
+
}
|
|
69
|
+
export {
|
|
70
|
+
P as useAttachmentVideoStatus
|
|
71
|
+
};
|
|
@@ -1,41 +1,45 @@
|
|
|
1
|
-
const
|
|
2
|
-
container:
|
|
3
|
-
root:
|
|
1
|
+
const o = "_container_bzmkz_1", n = "_root_bzmkz_13", t = "_carouselRoot_bzmkz_27", e = "_carouselViewport_bzmkz_35", a = "_carouselSlide_bzmkz_43", _ = "_navButton_bzmkz_57", i = "_navButtonPrev_bzmkz_83", r = "_navButtonNext_bzmkz_91", z = "_headerAction_bzmkz_99", c = "_modalContent_bzmkz_127", s = "_modalBody_bzmkz_137", m = "_videoContainer_bzmkz_149", d = "_videoPlayerFill_bzmkz_169", l = "_processingText_bzmkz_185", u = "_imageContainer_bzmkz_207", b = "_pdfContainer_bzmkz_221", k = "_pdfFrame_bzmkz_237", v = "_audioContainer_bzmkz_251", C = "_audioName_bzmkz_281", p = "_audioElement_bzmkz_297", B = {
|
|
2
|
+
container: o,
|
|
3
|
+
root: n,
|
|
4
4
|
carouselRoot: t,
|
|
5
5
|
carouselViewport: e,
|
|
6
6
|
carouselSlide: a,
|
|
7
7
|
navButton: _,
|
|
8
|
-
navButtonPrev:
|
|
9
|
-
navButtonNext:
|
|
10
|
-
headerAction:
|
|
11
|
-
modalContent:
|
|
8
|
+
navButtonPrev: i,
|
|
9
|
+
navButtonNext: r,
|
|
10
|
+
headerAction: z,
|
|
11
|
+
modalContent: c,
|
|
12
12
|
modalBody: s,
|
|
13
|
-
videoContainer:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
videoContainer: m,
|
|
14
|
+
videoPlayerFill: d,
|
|
15
|
+
processingText: l,
|
|
16
|
+
imageContainer: u,
|
|
17
|
+
pdfContainer: b,
|
|
18
|
+
pdfFrame: k,
|
|
19
|
+
audioContainer: v,
|
|
20
|
+
audioName: C,
|
|
21
|
+
audioElement: p
|
|
20
22
|
};
|
|
21
23
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
v as audioContainer,
|
|
25
|
+
p as audioElement,
|
|
26
|
+
C as audioName,
|
|
25
27
|
t as carouselRoot,
|
|
26
28
|
a as carouselSlide,
|
|
27
29
|
e as carouselViewport,
|
|
28
|
-
|
|
30
|
+
o as container,
|
|
29
31
|
B as default,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
z as headerAction,
|
|
33
|
+
u as imageContainer,
|
|
32
34
|
s as modalBody,
|
|
33
|
-
|
|
35
|
+
c as modalContent,
|
|
34
36
|
_ as navButton,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
r as navButtonNext,
|
|
38
|
+
i as navButtonPrev,
|
|
39
|
+
b as pdfContainer,
|
|
40
|
+
k as pdfFrame,
|
|
41
|
+
l as processingText,
|
|
42
|
+
n as root,
|
|
43
|
+
m as videoContainer,
|
|
44
|
+
d as videoPlayerFill
|
|
41
45
|
};
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
const o = "
|
|
1
|
+
const o = "_commentComposerWrapper_ate6h_1", t = "_commentComposerFloat_ate6h_135", e = "_composerContainer_ate6h_193", a = "_editorWrapper_ate6h_225", r = "_editMode_ate6h_383", m = "_compact_ate6h_409", c = "_attachmentsSlot_ate6h_441", p = {
|
|
2
2
|
commentComposerWrapper: o,
|
|
3
|
-
commentComposerFloat:
|
|
4
|
-
composerContainer:
|
|
5
|
-
editorWrapper:
|
|
6
|
-
editMode:
|
|
3
|
+
commentComposerFloat: t,
|
|
4
|
+
composerContainer: e,
|
|
5
|
+
editorWrapper: a,
|
|
6
|
+
editMode: r,
|
|
7
|
+
compact: m,
|
|
8
|
+
attachmentsSlot: c
|
|
7
9
|
};
|
|
8
10
|
export {
|
|
9
|
-
|
|
11
|
+
c as attachmentsSlot,
|
|
12
|
+
t as commentComposerFloat,
|
|
10
13
|
o as commentComposerWrapper,
|
|
11
|
-
|
|
14
|
+
m as compact,
|
|
15
|
+
e as composerContainer,
|
|
12
16
|
p as default,
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
r as editMode,
|
|
18
|
+
a as editorWrapper
|
|
15
19
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { CommentComposerProps } from './types';
|
|
2
|
-
export declare const CommentComposer: ({ children, onSubmit, initialDraft, updateLocation, onBlur, setEdit, ns, autoFocus, }: CommentComposerProps) => import("react/jsx-runtime").JSX.Element
|
|
3
|
+
export declare const CommentComposer: React.MemoExoticComponent<({ children, onSubmit, initialDraft, updateLocation, onBlur, setEdit, ns, compact, placeholder: placeholderProp, autoFocus, }: CommentComposerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAsBf,OAAO,EAAE,oBAAoB,EAAwB,MAAM,SAAS,CAAC;AA0CrE,eAAO,MAAM,eAAe,2JAYvB,oBAAoB,6CAydxB,CAAC"}
|