@pstdio/ui 0.24.2 → 0.26.0
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/README.md +8 -1
- package/dist/{MermaidComponent-DSvPk-J8.js → MermaidComponent-X__B6qib.js} +3 -3
- package/dist/{MermaidComponent-DSvPk-J8.js.map → MermaidComponent-X__B6qib.js.map} +1 -1
- package/dist/activity-timeline-BynMjXSB.js +283 -0
- package/dist/activity-timeline-BynMjXSB.js.map +1 -0
- package/dist/alert-ubcrW24X.js +33 -0
- package/dist/alert-ubcrW24X.js.map +1 -0
- package/dist/browser-storage-BinyFNJX.js +40 -0
- package/dist/browser-storage-BinyFNJX.js.map +1 -0
- package/dist/chat-ui.js +1515 -1428
- package/dist/chat-ui.js.map +1 -1
- package/dist/components/activity/activity-comment.d.ts +10 -2
- package/dist/components/chat-ui/components/chat-history-story.d.ts +14 -0
- package/dist/components/chat-ui/components/chat-input-history.d.ts +6 -0
- package/dist/components/chat-ui/components/chat-input.d.ts +2 -0
- package/dist/components/chat-ui/components/chat-panel-composer.d.ts +49 -0
- package/dist/components/chat-ui/components/use-chat-input-history.d.ts +16 -0
- package/dist/components/diff-viewer/code-editor.d.ts +2 -0
- package/dist/components/rich-text/index.d.ts +2 -0
- package/dist/components/rich-text/markdown-editor/markdown-editor-scrolling.play.d.ts +4 -0
- package/dist/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.d.ts +3 -1
- package/dist/components/rich-text/prompt-input/plugins/keyboard-shortcuts.d.ts +2 -0
- package/dist/components/rich-text/prompt-input/prompt-input.d.ts +2 -0
- package/dist/components/rich-text/resource-activity-feed/resource-activity-feed.d.ts +58 -0
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/should-show-floating-toolbar.d.ts +1 -0
- package/dist/data-table.js +6 -6
- package/dist/diff.js +524 -522
- package/dist/diff.js.map +1 -1
- package/dist/{edit-mode-data-table-2E4GSOou.js → edit-mode-data-table-Nfmfi7bz.js} +23 -22
- package/dist/{edit-mode-data-table-2E4GSOou.js.map → edit-mode-data-table-Nfmfi7bz.js.map} +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1619 -1852
- package/dist/index.js.map +1 -1
- package/dist/{kanban-renderer-toolbar-Dcbxujbk.js → kanban-renderer-toolbar-Buek4icz.js} +34 -33
- package/dist/{kanban-renderer-toolbar-Dcbxujbk.js.map → kanban-renderer-toolbar-Buek4icz.js.map} +1 -1
- package/dist/kanban-renderer.js +31 -30
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/lazy-markdown-editor-PzIBc9-l.js +42 -0
- package/dist/lazy-markdown-editor-PzIBc9-l.js.map +1 -0
- package/dist/{list-row-BDoV_iMV.js → list-row-DHzRa9-O.js} +2 -2
- package/dist/{list-row-BDoV_iMV.js.map → list-row-DHzRa9-O.js.map} +1 -1
- package/dist/{markdown-Cli3KGu9.js → markdown-BCfPxNpb.js} +322 -302
- package/dist/markdown-BCfPxNpb.js.map +1 -0
- package/dist/markdown-editor-CsJ4KNGu.js +1034 -0
- package/dist/markdown-editor-CsJ4KNGu.js.map +1 -0
- package/dist/{mermaid-renderer-CVnuKs-A.js → mermaid-renderer-D0YP0FmJ.js} +3 -3
- package/dist/{mermaid-renderer-CVnuKs-A.js.map → mermaid-renderer-D0YP0FmJ.js.map} +1 -1
- package/dist/mermaid.js +1 -1
- package/dist/{param-editor-CaRflJ3e.js → param-editor-CFM2Nf3l.js} +2 -2
- package/dist/{param-editor-CaRflJ3e.js.map → param-editor-CFM2Nf3l.js.map} +1 -1
- package/dist/param-editor-field-Bj-AGUY6.js +1728 -0
- package/dist/param-editor-field-Bj-AGUY6.js.map +1 -0
- package/dist/param-editor.d.ts +2 -0
- package/dist/param-editor.js +47 -0
- package/dist/param-editor.js.map +1 -0
- package/dist/prism-n5gcERyD.js +202 -0
- package/dist/prism-n5gcERyD.js.map +1 -0
- package/dist/radio-BfjibByI.js +51 -0
- package/dist/radio-BfjibByI.js.map +1 -0
- package/dist/rich-message-q6Y6QJOq.js +633 -0
- package/dist/rich-message-q6Y6QJOq.js.map +1 -0
- package/dist/rich-text.js +342 -177
- package/dist/rich-text.js.map +1 -1
- package/dist/scroll-area-BMbg1WcD.js +91 -0
- package/dist/scroll-area-BMbg1WcD.js.map +1 -0
- package/dist/slider-DBHjdxsU.js +1092 -0
- package/dist/slider-DBHjdxsU.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/terminal.js +96 -93
- package/dist/terminal.js.map +1 -1
- package/dist/theme/primitives/colors.d.ts +0 -23
- package/dist/theme/recipes/activity-comment.d.ts +36 -0
- package/dist/theme/recipes/alert.d.ts +1 -1
- package/dist/theme/recipes/dialog.d.ts +1 -1
- package/dist/theme/recipes/drawer.d.ts +1 -1
- package/dist/theme/recipes/menu.d.ts +1 -1
- package/dist/theme/recipes/popover.d.ts +1 -1
- package/dist/theme/recipes/progress-circle.d.ts +3 -3
- package/dist/theme/recipes/switch.d.ts +1 -1
- package/dist/theme/recipes/timeline.d.ts +10 -1
- package/dist/theme/recipes/tooltip.d.ts +1 -1
- package/dist/theme/recipes/window-title-bar.d.ts +1 -1
- package/dist/{theme-B5OVwYEU.js → theme-AzJH4Om3.js} +127 -808
- package/dist/theme-AzJH4Om3.js.map +1 -0
- package/dist/{theme-preference-Bpobguh4.js → theme-preference-DxGW1qg-.js} +2 -2
- package/dist/{theme-preference-Bpobguh4.js.map → theme-preference-DxGW1qg-.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{tree-list-CZvcg3_6.js → tree-list-CPjbGTvs.js} +2 -2
- package/dist/{tree-list-CZvcg3_6.js.map → tree-list-CPjbGTvs.js.map} +1 -1
- package/dist/{workspace-badge-BR_GgsAG.js → workspace-badge-CuOcmnZc.js} +2 -2
- package/dist/{workspace-badge-BR_GgsAG.js.map → workspace-badge-CuOcmnZc.js.map} +1 -1
- package/package.json +7 -2
- package/dist/browser-storage-DPtOQJx0.js +0 -127
- package/dist/browser-storage-DPtOQJx0.js.map +0 -1
- package/dist/lazy-markdown-editor-DSlelhHV.js +0 -235
- package/dist/lazy-markdown-editor-DSlelhHV.js.map +0 -1
- package/dist/markdown-Cli3KGu9.js.map +0 -1
- package/dist/markdown-editor-BHoRATej.js +0 -1019
- package/dist/markdown-editor-BHoRATej.js.map +0 -1
- package/dist/param-editor-field-DVQlXbid.js +0 -2810
- package/dist/param-editor-field-DVQlXbid.js.map +0 -1
- package/dist/radio-cLMEBBZk.js +0 -76
- package/dist/radio-cLMEBBZk.js.map +0 -1
- package/dist/rich-message-gWYlm8Ji.js +0 -628
- package/dist/rich-message-gWYlm8Ji.js.map +0 -1
- package/dist/theme/recipes/landing-story.d.ts +0 -10
- package/dist/theme/recipes/landing-tool-demo.d.ts +0 -1
- package/dist/theme/recipes/landing.d.ts +0 -23
- package/dist/theme-B5OVwYEU.js.map +0 -1
package/dist/rich-text.js
CHANGED
|
@@ -1,28 +1,33 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { e as
|
|
4
|
-
import { Box as
|
|
5
|
-
import { LexicalCollaboration as
|
|
6
|
-
import { CollaborationPluginV2__EXPERIMENTAL as
|
|
7
|
-
import { LexicalComposer as
|
|
8
|
-
import { LexicalErrorBoundary as
|
|
9
|
-
import { HorizontalRulePlugin as
|
|
10
|
-
import { LinkPlugin as
|
|
11
|
-
import { ListPlugin as
|
|
12
|
-
import { RichTextPlugin as
|
|
13
|
-
import { TabIndentationPlugin as
|
|
14
|
-
import { useRef as
|
|
15
|
-
import { WebsocketProvider as
|
|
16
|
-
import * as
|
|
17
|
-
import { C as
|
|
18
|
-
import { M as
|
|
19
|
-
import { L as
|
|
20
|
-
import { R as
|
|
21
|
-
import {
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import { jsx as o, jsxs as M } from "react/jsx-runtime";
|
|
2
|
+
import { c as I } from "react/compiler-runtime";
|
|
3
|
+
import { e as ie, a as le, C as re, I as ae, E as se, b as ce } from "./markdown-BCfPxNpb.js";
|
|
4
|
+
import { Box as X, Flex as de, HStack as Q, Spinner as me, Text as W, Button as K, Icon as fe, Stack as pe, Table as H, Textarea as ue } from "@chakra-ui/react";
|
|
5
|
+
import { LexicalCollaboration as he } from "@lexical/react/LexicalCollaborationContext";
|
|
6
|
+
import { CollaborationPluginV2__EXPERIMENTAL as ge } from "@lexical/react/LexicalCollaborationPlugin";
|
|
7
|
+
import { LexicalComposer as be } from "@lexical/react/LexicalComposer";
|
|
8
|
+
import { LexicalErrorBoundary as xe } from "@lexical/react/LexicalErrorBoundary";
|
|
9
|
+
import { HorizontalRulePlugin as ye } from "@lexical/react/LexicalHorizontalRulePlugin";
|
|
10
|
+
import { LinkPlugin as ve } from "@lexical/react/LexicalLinkPlugin";
|
|
11
|
+
import { ListPlugin as Se } from "@lexical/react/LexicalListPlugin";
|
|
12
|
+
import { RichTextPlugin as we } from "@lexical/react/LexicalRichTextPlugin";
|
|
13
|
+
import { TabIndentationPlugin as Ce } from "@lexical/react/LexicalTabIndentationPlugin";
|
|
14
|
+
import { useRef as ke, useState as G, useEffect as ee } from "react";
|
|
15
|
+
import { WebsocketProvider as Ae } from "y-websocket";
|
|
16
|
+
import * as Te from "yjs";
|
|
17
|
+
import { C as Ee, F as Le } from "./markdown-editor-CsJ4KNGu.js";
|
|
18
|
+
import { M as Mt } from "./markdown-editor-CsJ4KNGu.js";
|
|
19
|
+
import { L as jt } from "./lazy-markdown-editor-PzIBc9-l.js";
|
|
20
|
+
import { R as ze } from "./rich-message-q6Y6QJOq.js";
|
|
21
|
+
import { P as Ft, g as It, a as Nt } from "./rich-message-q6Y6QJOq.js";
|
|
22
|
+
import { Sparkles as Re, ScanSearch as _e, MessageCircle as Pe, Info as Me, GitBranch as $e, ExternalLink as je, Component as Be, CircleAlert as Fe, Bell as Ie, Activity as Ne } from "lucide-react";
|
|
23
|
+
import { A as We, a as He, b as De, c as Oe } from "./activity-timeline-BynMjXSB.js";
|
|
24
|
+
import { A as Ve } from "./alert-ubcrW24X.js";
|
|
25
|
+
import { E as Xe } from "./empty-state-Bo4HVrgr.js";
|
|
26
|
+
import { S as oe } from "./scroll-area-BMbg1WcD.js";
|
|
27
|
+
function qe() {
|
|
28
|
+
const n = I(1);
|
|
24
29
|
let e;
|
|
25
|
-
return
|
|
30
|
+
return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ o("style", { children: `
|
|
26
31
|
.collaboration-cursor-container {
|
|
27
32
|
position: relative;
|
|
28
33
|
display: inline;
|
|
@@ -56,170 +61,329 @@ function ve() {
|
|
|
56
61
|
pointer-events: none;
|
|
57
62
|
opacity: 0.25;
|
|
58
63
|
}
|
|
59
|
-
` }),
|
|
64
|
+
` }), n[0] = e) : e = n[0], e;
|
|
60
65
|
}
|
|
61
|
-
function
|
|
62
|
-
const e =
|
|
63
|
-
roomId:
|
|
64
|
-
wsUrl:
|
|
65
|
-
wsParams:
|
|
66
|
-
userName:
|
|
66
|
+
function At(n) {
|
|
67
|
+
const e = I(42), {
|
|
68
|
+
roomId: t,
|
|
69
|
+
wsUrl: i,
|
|
70
|
+
wsParams: s,
|
|
71
|
+
userName: c,
|
|
67
72
|
userColor: a,
|
|
68
|
-
placeholder:
|
|
69
|
-
} =
|
|
70
|
-
let
|
|
71
|
-
e[0] !==
|
|
72
|
-
const
|
|
73
|
-
let
|
|
74
|
-
e[2] !==
|
|
75
|
-
const
|
|
76
|
-
params:
|
|
73
|
+
placeholder: l
|
|
74
|
+
} = n;
|
|
75
|
+
let d;
|
|
76
|
+
e[0] !== s ? (d = s === void 0 ? {} : s, e[0] = s, e[1] = d) : d = e[1];
|
|
77
|
+
const m = d, r = c === void 0 ? "Anonymous" : c, y = a === void 0 ? "#30bced" : a, p = ke(null), [f, b] = G(null), [A, L] = G(!1), [h] = G(Ue);
|
|
78
|
+
let S;
|
|
79
|
+
e[2] !== h || e[3] !== t || e[4] !== m || e[5] !== i ? (S = () => {
|
|
80
|
+
const Z = new Ae(i, t, h, {
|
|
81
|
+
params: m,
|
|
77
82
|
connect: !1
|
|
78
83
|
});
|
|
79
|
-
return
|
|
80
|
-
|
|
81
|
-
}),
|
|
82
|
-
}, e[2] =
|
|
83
|
-
const [
|
|
84
|
-
let
|
|
85
|
-
e[7] !==
|
|
86
|
-
|
|
87
|
-
}),
|
|
88
|
-
let
|
|
89
|
-
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
90
|
-
|
|
91
|
-
},
|
|
92
|
-
let
|
|
93
|
-
e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
84
|
+
return Z.on("sync", (ne) => {
|
|
85
|
+
ne && L(!0);
|
|
86
|
+
}), Z;
|
|
87
|
+
}, e[2] = h, e[3] = t, e[4] = m, e[5] = i, e[6] = S) : S = e[6];
|
|
88
|
+
const [u] = G(S);
|
|
89
|
+
let C, g;
|
|
90
|
+
e[7] !== u ? (C = () => (u.connect(), () => {
|
|
91
|
+
u.disconnect();
|
|
92
|
+
}), g = [u], e[7] = u, e[8] = C, e[9] = g) : (C = e[8], g = e[9]), ee(C, g);
|
|
93
|
+
let v, w;
|
|
94
|
+
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = () => {
|
|
95
|
+
b(p.current);
|
|
96
|
+
}, w = [], e[10] = v, e[11] = w) : (v = e[10], w = e[11]), ee(v, w);
|
|
97
|
+
let k;
|
|
98
|
+
e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = {
|
|
94
99
|
namespace: "COLLABORATIVE_EDITOR",
|
|
95
|
-
nodes:
|
|
100
|
+
nodes: le,
|
|
96
101
|
editorState: null,
|
|
97
|
-
onError:
|
|
102
|
+
onError: Ye,
|
|
98
103
|
editable: !0,
|
|
99
|
-
theme:
|
|
100
|
-
}, e[12] =
|
|
101
|
-
const
|
|
102
|
-
let
|
|
103
|
-
e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
104
|
-
const
|
|
105
|
-
let
|
|
106
|
-
e[14] !==
|
|
107
|
-
let
|
|
108
|
-
e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
109
|
-
let
|
|
110
|
-
e[26] !==
|
|
104
|
+
theme: ie
|
|
105
|
+
}, e[12] = k) : k = e[12];
|
|
106
|
+
const j = k;
|
|
107
|
+
let z;
|
|
108
|
+
e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ o(qe, {}), e[13] = z) : z = e[13];
|
|
109
|
+
const R = u;
|
|
110
|
+
let T;
|
|
111
|
+
e[14] !== h || e[15] !== t || e[16] !== R || e[17] !== y || e[18] !== r ? (T = /* @__PURE__ */ o(ge, { id: t, doc: h, provider: R, __shouldBootstrapUnsafe: !1, username: r, cursorColor: y }), e[14] = h, e[15] = t, e[16] = R, e[17] = y, e[18] = r, e[19] = T) : T = e[19];
|
|
112
|
+
let $, N, _, P, B, x;
|
|
113
|
+
e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = /* @__PURE__ */ o(ve, {}), N = /* @__PURE__ */ o(Se, {}), _ = /* @__PURE__ */ o(Ce, { maxIndent: 7 }), P = /* @__PURE__ */ o(ye, {}), B = /* @__PURE__ */ o(re, {}), x = /* @__PURE__ */ o(ae, {}), e[20] = $, e[21] = N, e[22] = _, e[23] = P, e[24] = B, e[25] = x) : ($ = e[20], N = e[21], _ = e[22], P = e[23], B = e[24], x = e[25]);
|
|
114
|
+
let E;
|
|
115
|
+
e[26] !== f ? (E = /* @__PURE__ */ o(Ee, { anchorElem: f }), e[26] = f, e[27] = E) : E = e[27];
|
|
116
|
+
let F;
|
|
117
|
+
e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ o(se, {}), e[28] = F) : F = e[28];
|
|
118
|
+
let Y;
|
|
119
|
+
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ o(ce, { fullWidth: !1 }), e[29] = Y) : Y = e[29];
|
|
111
120
|
let D;
|
|
112
|
-
e[
|
|
121
|
+
e[30] !== l || e[31] !== A ? (D = A && l ? /* @__PURE__ */ o(X, { position: "absolute", top: "0", color: "fg.muted", pointerEvents: "none", userSelect: "none", textStyle: "paragraph/M/regular", children: l }) : null, e[30] = l, e[31] = A, e[32] = D) : D = e[32];
|
|
113
122
|
let O;
|
|
114
|
-
e[
|
|
115
|
-
let P;
|
|
116
|
-
e[30] !== w || e[31] !== C ? (P = C && w ? /* @__PURE__ */ o(j, { position: "absolute", top: "0", color: "fg.muted", pointerEvents: "none", userSelect: "none", textStyle: "paragraph/M/regular", children: w }) : null, e[30] = w, e[31] = C, e[32] = P) : P = e[32];
|
|
117
|
-
let z;
|
|
118
|
-
e[33] !== P ? (z = /* @__PURE__ */ o(he, { contentEditable: O, placeholder: P, ErrorBoundary: me }), e[33] = P, e[34] = z) : z = e[34];
|
|
119
|
-
let R;
|
|
120
|
-
e[35] !== r ? (R = r ? /* @__PURE__ */ o(we, { anchorElem: r }) : null, e[35] = r, e[36] = R) : R = e[36];
|
|
123
|
+
e[33] !== D ? (O = /* @__PURE__ */ o(we, { contentEditable: Y, placeholder: D, ErrorBoundary: xe }), e[33] = D, e[34] = O) : O = e[34];
|
|
121
124
|
let V;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
125
|
+
e[35] !== f ? (V = f ? /* @__PURE__ */ o(Le, { anchorElem: f }) : null, e[35] = f, e[36] = V) : V = e[36];
|
|
126
|
+
let U;
|
|
127
|
+
return e[37] !== T || e[38] !== E || e[39] !== O || e[40] !== V ? (U = /* @__PURE__ */ M(de, { ref: p, className: "rich-text", justifyContent: "space-between", width: "100%", maxWidth: "100%", height: "100%", position: "relative", direction: "column", overflow: "visible", children: [
|
|
128
|
+
z,
|
|
129
|
+
/* @__PURE__ */ o(be, { initialConfig: j, children: /* @__PURE__ */ M(he, { children: [
|
|
130
|
+
T,
|
|
131
|
+
$,
|
|
129
132
|
N,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
_,
|
|
134
|
+
P,
|
|
135
|
+
B,
|
|
136
|
+
x,
|
|
137
|
+
E,
|
|
138
|
+
F,
|
|
139
|
+
O,
|
|
140
|
+
V
|
|
136
141
|
] }) })
|
|
137
|
-
] }), e[37] =
|
|
142
|
+
] }), e[37] = T, e[38] = E, e[39] = O, e[40] = V, e[41] = U) : U = e[41], U;
|
|
138
143
|
}
|
|
139
|
-
function
|
|
140
|
-
return console.error(
|
|
144
|
+
function Ye(n) {
|
|
145
|
+
return console.error(n);
|
|
141
146
|
}
|
|
142
|
-
function
|
|
143
|
-
return new
|
|
147
|
+
function Ue() {
|
|
148
|
+
return new Te.Doc();
|
|
144
149
|
}
|
|
145
|
-
const
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
150
|
+
const Ge = {
|
|
151
|
+
activity: Ne,
|
|
152
|
+
bell: Ie,
|
|
153
|
+
"circle-alert": Fe,
|
|
154
|
+
component: Be,
|
|
155
|
+
"external-link": je,
|
|
156
|
+
"git-branch": $e,
|
|
157
|
+
info: Me,
|
|
158
|
+
"message-circle": Pe,
|
|
159
|
+
"scan-search": _e,
|
|
160
|
+
sparkles: Re
|
|
161
|
+
}, J = (n) => {
|
|
162
|
+
const e = I(2), t = Ge[n.name];
|
|
163
|
+
let i;
|
|
164
|
+
return e[0] !== t ? (i = /* @__PURE__ */ o(fe, { as: t, boxSize: "13px" }), e[0] = t, e[1] = i) : i = e[1], i;
|
|
165
|
+
}, te = (n) => {
|
|
166
|
+
const e = I(12), {
|
|
167
|
+
item: t,
|
|
168
|
+
size: i,
|
|
169
|
+
onActionSelect: s,
|
|
170
|
+
onRelatedResourceSelect: c
|
|
171
|
+
} = n, a = t.kind === "message" ? t.attention?.actions : void 0;
|
|
172
|
+
if (!t.relatedResources?.length && !a?.length)
|
|
173
|
+
return null;
|
|
174
|
+
let l;
|
|
175
|
+
e[0] !== a || e[1] !== t || e[2] !== s || e[3] !== i ? (l = a?.map((r) => /* @__PURE__ */ M(K, { type: "button", size: i === "compact" ? "2xs" : "xs", variant: "outline", disabled: !s, onClick: () => s?.(r, t), children: [
|
|
176
|
+
r.icon ? /* @__PURE__ */ o(J, { name: r.icon }) : null,
|
|
177
|
+
r.label
|
|
178
|
+
] }, r.id)), e[0] = a, e[1] = t, e[2] = s, e[3] = i, e[4] = l) : l = e[4];
|
|
179
|
+
let d;
|
|
180
|
+
e[5] !== t || e[6] !== c || e[7] !== i ? (d = t.relatedResources?.map((r) => /* @__PURE__ */ o(K, { type: "button", size: i === "compact" ? "2xs" : "xs", variant: "ghost", disabled: !c, onClick: () => c?.(r, t), children: r.label }, `${r.type}:${r.id}`)), e[5] = t, e[6] = c, e[7] = i, e[8] = d) : d = e[8];
|
|
181
|
+
let m;
|
|
182
|
+
return e[9] !== l || e[10] !== d ? (m = /* @__PURE__ */ M(Q, { gap: "2xs", flexWrap: "wrap", children: [
|
|
183
|
+
l,
|
|
184
|
+
d
|
|
185
|
+
] }), e[9] = l, e[10] = d, e[11] = m) : m = e[11], m;
|
|
186
|
+
}, Je = (n) => {
|
|
187
|
+
const e = I(7), {
|
|
188
|
+
attention: t
|
|
189
|
+
} = n;
|
|
190
|
+
if (!t.statusLabel)
|
|
191
|
+
return null;
|
|
192
|
+
const i = t.icon ?? "bell";
|
|
193
|
+
let s;
|
|
194
|
+
e[0] !== i ? (s = /* @__PURE__ */ o(J, { name: i }), e[0] = i, e[1] = s) : s = e[1];
|
|
156
195
|
let c;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
196
|
+
e[2] !== t.statusLabel ? (c = /* @__PURE__ */ o(W, { textStyle: "label/XS/medium", children: t.statusLabel }), e[2] = t.statusLabel, e[3] = c) : c = e[3];
|
|
197
|
+
let a;
|
|
198
|
+
return e[4] !== s || e[5] !== c ? (a = /* @__PURE__ */ M(Q, { gap: "2xs", color: "fg.warning", children: [
|
|
199
|
+
s,
|
|
200
|
+
c
|
|
201
|
+
] }), e[4] = s, e[5] = c, e[6] = a) : a = e[6], a;
|
|
202
|
+
}, Ke = (n) => {
|
|
203
|
+
const e = I(50), {
|
|
204
|
+
item: t,
|
|
205
|
+
size: i,
|
|
206
|
+
fallbackActorName: s,
|
|
207
|
+
formatTimestamp: c,
|
|
208
|
+
onActionSelect: a,
|
|
209
|
+
onRelatedResourceSelect: l
|
|
210
|
+
} = n;
|
|
211
|
+
let d;
|
|
212
|
+
e[0] !== s || e[1] !== t.actor ? (d = t.actor ?? {
|
|
213
|
+
name: s
|
|
214
|
+
}, e[0] = s, e[1] = t.actor, e[2] = d) : d = e[2];
|
|
215
|
+
const m = d;
|
|
216
|
+
let r;
|
|
217
|
+
e[3] !== c || e[4] !== t ? (r = t.timestampLabel ?? c(t.createdAt, t), e[3] = c, e[4] = t, e[5] = r) : r = e[5];
|
|
218
|
+
let y;
|
|
219
|
+
e[6] !== t.createdAt || e[7] !== r ? (y = /* @__PURE__ */ o("time", { dateTime: t.createdAt, children: r }), e[6] = t.createdAt, e[7] = r, e[8] = y) : y = e[8];
|
|
220
|
+
const p = y;
|
|
221
|
+
if (t.kind === "event") {
|
|
222
|
+
let k;
|
|
223
|
+
e[9] !== t.icon ? (k = t.icon ? /* @__PURE__ */ o(J, { name: t.icon }) : void 0, e[9] = t.icon, e[10] = k) : k = e[10];
|
|
224
|
+
const j = i === "compact" ? "sm" : "md";
|
|
225
|
+
let z;
|
|
226
|
+
e[11] !== t.summary ? (z = /* @__PURE__ */ o(W, { as: "span", children: t.summary }), e[11] = t.summary, e[12] = z) : z = e[12];
|
|
227
|
+
let R;
|
|
228
|
+
e[13] !== t || e[14] !== l || e[15] !== i ? (R = /* @__PURE__ */ o(te, { item: t, size: i, onRelatedResourceSelect: l }), e[13] = t, e[14] = l, e[15] = i, e[16] = R) : R = e[16];
|
|
229
|
+
let T;
|
|
230
|
+
return e[17] !== m || e[18] !== k || e[19] !== j || e[20] !== z || e[21] !== R || e[22] !== p ? (T = /* @__PURE__ */ o(He, { children: /* @__PURE__ */ M(De, { actor: m, icon: k, timestamp: p, paddingX: j, children: [
|
|
231
|
+
z,
|
|
232
|
+
R
|
|
233
|
+
] }) }), e[17] = m, e[18] = k, e[19] = j, e[20] = z, e[21] = R, e[22] = p, e[23] = T) : T = e[23], T;
|
|
234
|
+
}
|
|
235
|
+
const f = t.attention?.icon ?? "bell";
|
|
236
|
+
let b;
|
|
237
|
+
e[24] !== f || e[25] !== t.attention ? (b = t.attention ? /* @__PURE__ */ o(J, { name: f }) : void 0, e[24] = f, e[25] = t.attention, e[26] = b) : b = e[26];
|
|
238
|
+
const A = t.attention ? "fg.warning" : void 0, L = t.attention ? "bg.warning" : void 0;
|
|
239
|
+
let h;
|
|
240
|
+
e[27] !== t.attention ? (h = t.attention ? /* @__PURE__ */ o(Je, { attention: t.attention }) : void 0, e[27] = t.attention, e[28] = h) : h = e[28];
|
|
241
|
+
const S = t.attention ? "attention" : "default", u = i === "compact" ? "xs" : "sm";
|
|
242
|
+
let C;
|
|
243
|
+
e[29] !== t.markdown ? (C = /* @__PURE__ */ o(ze, { defaultState: t.markdown, fullWidth: !0 }), e[29] = t.markdown, e[30] = C) : C = e[30];
|
|
244
|
+
let g;
|
|
245
|
+
e[31] !== t || e[32] !== a || e[33] !== l || e[34] !== i ? (g = /* @__PURE__ */ o(te, { item: t, size: i, onActionSelect: a, onRelatedResourceSelect: l }), e[31] = t, e[32] = a, e[33] = l, e[34] = i, e[35] = g) : g = e[35];
|
|
246
|
+
let v;
|
|
247
|
+
e[36] !== g || e[37] !== u || e[38] !== C ? (v = /* @__PURE__ */ M(pe, { gap: u, children: [
|
|
248
|
+
C,
|
|
249
|
+
g
|
|
250
|
+
] }), e[36] = g, e[37] = u, e[38] = C, e[39] = v) : v = e[39];
|
|
251
|
+
let w;
|
|
252
|
+
return e[40] !== m || e[41] !== i || e[42] !== v || e[43] !== b || e[44] !== A || e[45] !== L || e[46] !== h || e[47] !== S || e[48] !== p ? (w = /* @__PURE__ */ o(Oe, { actor: m, icon: b, iconColor: A, iconBackground: L, timestamp: p, actions: h, tone: S, size: i, children: v }), e[40] = m, e[41] = i, e[42] = v, e[43] = b, e[44] = A, e[45] = L, e[46] = h, e[47] = S, e[48] = p, e[49] = w) : w = e[49], w;
|
|
253
|
+
}, Qe = (n) => n, Tt = (n) => {
|
|
254
|
+
const e = I(56);
|
|
255
|
+
let t, i, s, c, a, l, d, m, r, y, p, f, b, A, L, h, S;
|
|
256
|
+
e[0] !== n ? ({
|
|
257
|
+
items: i,
|
|
258
|
+
size: d,
|
|
259
|
+
isLoading: m,
|
|
260
|
+
error: t,
|
|
261
|
+
hasMore: y,
|
|
262
|
+
isLoadingMore: p,
|
|
263
|
+
emptyTitle: f,
|
|
264
|
+
emptyDescription: b,
|
|
265
|
+
errorTitle: A,
|
|
266
|
+
loadMoreLabel: L,
|
|
267
|
+
loadingLabel: h,
|
|
268
|
+
fallbackActorName: S,
|
|
269
|
+
formatTimestamp: r,
|
|
270
|
+
onActionSelect: s,
|
|
271
|
+
onLoadMore: c,
|
|
272
|
+
onRelatedResourceSelect: a,
|
|
273
|
+
...l
|
|
274
|
+
} = n, e[0] = n, e[1] = t, e[2] = i, e[3] = s, e[4] = c, e[5] = a, e[6] = l, e[7] = d, e[8] = m, e[9] = r, e[10] = y, e[11] = p, e[12] = f, e[13] = b, e[14] = A, e[15] = L, e[16] = h, e[17] = S) : (t = e[1], i = e[2], s = e[3], c = e[4], a = e[5], l = e[6], d = e[7], m = e[8], r = e[9], y = e[10], p = e[11], f = e[12], b = e[13], A = e[14], L = e[15], h = e[16], S = e[17]);
|
|
275
|
+
const u = d === void 0 ? "comfortable" : d, C = m === void 0 ? !1 : m, g = y === void 0 ? !1 : y, v = p === void 0 ? !1 : p, w = f === void 0 ? "No activity yet" : f, k = b === void 0 ? "Events and messages will appear here." : b, j = A === void 0 ? "Activity unavailable" : A, z = L === void 0 ? "Load more" : L, R = h === void 0 ? "Loading activity" : h, T = S === void 0 ? "System" : S, $ = r === void 0 ? Qe : r;
|
|
276
|
+
if (t) {
|
|
277
|
+
let x;
|
|
278
|
+
return e[18] !== t || e[19] !== j || e[20] !== l ? (x = /* @__PURE__ */ o(Ve, { status: "error", colorPalette: "red", title: j, size: "sm", ...l, children: t }), e[18] = t, e[19] = j, e[20] = l, e[21] = x) : x = e[21], x;
|
|
279
|
+
}
|
|
280
|
+
if (C && i.length === 0) {
|
|
281
|
+
let x;
|
|
282
|
+
e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ o(me, { size: "sm" }), e[22] = x) : x = e[22];
|
|
283
|
+
let E;
|
|
284
|
+
e[23] !== R ? (E = /* @__PURE__ */ o(W, { textStyle: "label/S/regular", children: R }), e[23] = R, e[24] = E) : E = e[24];
|
|
285
|
+
let F;
|
|
286
|
+
return e[25] !== l || e[26] !== E ? (F = /* @__PURE__ */ M(Q, { role: "status", "aria-live": "polite", gap: "xs", color: "fg.muted", ...l, children: [
|
|
287
|
+
x,
|
|
288
|
+
E
|
|
289
|
+
] }), e[25] = l, e[26] = E, e[27] = F) : F = e[27], F;
|
|
290
|
+
}
|
|
291
|
+
if (i.length === 0) {
|
|
292
|
+
let x;
|
|
293
|
+
return e[28] !== k || e[29] !== w || e[30] !== l ? (x = /* @__PURE__ */ o(Xe, { title: w, description: k, ...l }), e[28] = k, e[29] = w, e[30] = l, e[31] = x) : x = e[31], x;
|
|
294
|
+
}
|
|
295
|
+
const N = u === "compact" ? "sm" : "md";
|
|
296
|
+
let _;
|
|
297
|
+
if (e[32] !== T || e[33] !== $ || e[34] !== i || e[35] !== s || e[36] !== a || e[37] !== u) {
|
|
298
|
+
let x;
|
|
299
|
+
e[39] !== T || e[40] !== $ || e[41] !== s || e[42] !== a || e[43] !== u ? (x = (E) => /* @__PURE__ */ o(Ke, { item: E, size: u, fallbackActorName: T, formatTimestamp: $, onActionSelect: s, onRelatedResourceSelect: a }, E.id), e[39] = T, e[40] = $, e[41] = s, e[42] = a, e[43] = u, e[44] = x) : x = e[44], _ = i.map(x), e[32] = T, e[33] = $, e[34] = i, e[35] = s, e[36] = a, e[37] = u, e[38] = _;
|
|
161
300
|
} else
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
let b;
|
|
181
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ o(F, { textStyle: "label/S/regular", fontSize: $, color: "fg.muted", children: "No data" }), e[2] = b) : b = e[2];
|
|
182
|
-
let u;
|
|
183
|
-
return e[3] !== i ? (u = /* @__PURE__ */ o(j, { padding: "sm", borderWidth: i, borderColor: "border.subtle", children: b }), e[3] = i, e[4] = u) : u = e[4], u;
|
|
301
|
+
_ = e[38];
|
|
302
|
+
let P;
|
|
303
|
+
e[45] !== g || e[46] !== v || e[47] !== z || e[48] !== c || e[49] !== u ? (P = g ? /* @__PURE__ */ o(K, { type: "button", width: "full", size: u === "compact" ? "xs" : "sm", variant: "ghost", loading: v, onClick: c, children: z }) : null, e[45] = g, e[46] = v, e[47] = z, e[48] = c, e[49] = u, e[50] = P) : P = e[50];
|
|
304
|
+
let B;
|
|
305
|
+
return e[51] !== l || e[52] !== N || e[53] !== _ || e[54] !== P ? (B = /* @__PURE__ */ M(We, { gap: N, ...l, children: [
|
|
306
|
+
_,
|
|
307
|
+
P
|
|
308
|
+
] }), e[51] = l, e[52] = N, e[53] = _, e[54] = P, e[55] = B) : B = e[55], B;
|
|
309
|
+
}, q = "calc(var(--chakra-font-sizes-sm) * var(--rich-text-font-scale))", Ze = (n) => n == null ? "-" : typeof n == "string" ? n.length ? n : "-" : typeof n == "number" || typeof n == "boolean" ? String(n).toUpperCase() : n instanceof Date ? n.toISOString() : JSON.stringify(n), Et = (n) => {
|
|
310
|
+
const e = I(8), {
|
|
311
|
+
defaultCode: t,
|
|
312
|
+
isEditable: i,
|
|
313
|
+
showLineNumbers: s,
|
|
314
|
+
disableScroll: c
|
|
315
|
+
} = n, a = t === void 0 ? "" : t, l = i === void 0 ? !1 : i, d = s === void 0 ? !1 : s, m = c === void 0 ? !1 : c;
|
|
316
|
+
if (l) {
|
|
317
|
+
let f;
|
|
318
|
+
return e[0] !== a ? (f = /* @__PURE__ */ o(ue, { defaultValue: a, fontFamily: "mono", fontSize: q, resize: "vertical", minHeight: "100%" }), e[0] = a, e[1] = f) : f = e[1], f;
|
|
184
319
|
}
|
|
185
|
-
let c;
|
|
186
|
-
e[5] !== f ? (c = new Set(f), e[5] = f, e[6] = c) : c = e[6];
|
|
187
|
-
const p = c;
|
|
188
|
-
let s;
|
|
189
|
-
e[7] !== n[0] ? (s = Object.keys(n[0] ?? {}), e[7] = n[0], e[8] = s) : s = e[8];
|
|
190
320
|
let r;
|
|
191
|
-
e[
|
|
192
|
-
|
|
321
|
+
if (e[2] !== a || e[3] !== m || e[4] !== d) {
|
|
322
|
+
const f = d ? a.split(`
|
|
323
|
+
`) : [a];
|
|
324
|
+
r = /* @__PURE__ */ o(X, { as: "pre", margin: 0, padding: "sm", fontFamily: "mono", fontSize: q, lineHeight: "1.5", background: "bg.code", borderRadius: "md", width: "100%", overflowY: m ? "hidden" : void 0, children: d ? /* @__PURE__ */ o(X, { as: "code", display: "grid", gridTemplateColumns: "auto 1fr", columnGap: "sm", children: f.map(et) }) : /* @__PURE__ */ o(X, { as: "code", children: a }) }), e[2] = a, e[3] = m, e[4] = d, e[5] = r;
|
|
325
|
+
} else
|
|
326
|
+
r = e[5];
|
|
327
|
+
const y = r;
|
|
328
|
+
if (m)
|
|
329
|
+
return y;
|
|
330
|
+
let p;
|
|
331
|
+
return e[6] !== y ? (p = /* @__PURE__ */ o(oe, { width: "100%", background: "bg.code", borderRadius: "md", showHorizontalScrollbar: !0, children: y }), e[6] = y, e[7] = p) : p = e[7], p;
|
|
332
|
+
}, Lt = (n) => {
|
|
333
|
+
const e = I(26), {
|
|
334
|
+
data: t,
|
|
335
|
+
fullWidth: i,
|
|
336
|
+
noBorder: s,
|
|
337
|
+
hiddenColumns: c
|
|
338
|
+
} = n, a = i === void 0 ? !1 : i, l = s === void 0 ? !1 : s;
|
|
193
339
|
let d;
|
|
194
|
-
e[
|
|
195
|
-
|
|
196
|
-
if (
|
|
197
|
-
|
|
198
|
-
|
|
340
|
+
e[0] !== c ? (d = c === void 0 ? [] : c, e[0] = c, e[1] = d) : d = e[1];
|
|
341
|
+
const m = d;
|
|
342
|
+
if (!t.length) {
|
|
343
|
+
const g = l ? "0" : "1px";
|
|
344
|
+
let v;
|
|
345
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ o(W, { textStyle: "label/S/regular", fontSize: q, color: "fg.muted", children: "No data" }), e[2] = v) : v = e[2];
|
|
346
|
+
let w;
|
|
347
|
+
return e[3] !== g ? (w = /* @__PURE__ */ o(X, { padding: "sm", borderWidth: g, borderColor: "border.subtle", children: v }), e[3] = g, e[4] = w) : w = e[4], w;
|
|
348
|
+
}
|
|
349
|
+
let r;
|
|
350
|
+
e[5] !== m ? (r = new Set(m), e[5] = m, e[6] = r) : r = e[6];
|
|
351
|
+
const y = r;
|
|
352
|
+
let p;
|
|
353
|
+
e[7] !== t[0] ? (p = Object.keys(t[0] ?? {}), e[7] = t[0], e[8] = p) : p = e[8];
|
|
354
|
+
let f;
|
|
355
|
+
e[9] !== y || e[10] !== p ? (f = p.filter((g) => !y.has(g)), e[9] = y, e[10] = p, e[11] = f) : f = e[11];
|
|
356
|
+
const b = f, A = a ? "100%" : "fit-content", L = l ? "0" : "1px";
|
|
357
|
+
let h;
|
|
358
|
+
e[12] !== b ? (h = /* @__PURE__ */ o(H.Header, { children: /* @__PURE__ */ o(H.Row, { background: "bg.muted", children: b.map(tt) }) }), e[12] = b, e[13] = h) : h = e[13];
|
|
359
|
+
let S;
|
|
360
|
+
if (e[14] !== b || e[15] !== t) {
|
|
361
|
+
let g;
|
|
362
|
+
e[17] !== b ? (g = (v, w) => /* @__PURE__ */ o(H.Row, { children: b.map((k) => /* @__PURE__ */ o(H.Cell, { paddingX: "xs", paddingY: "2xs", children: /* @__PURE__ */ o(W, { textStyle: "paragraph/S/regular", fontSize: q, children: Ze(v[k]) }) }, `${w}-${k}`)) }, `${w}-${b.join("-")}`), e[17] = b, e[18] = g) : g = e[18], S = t.map(g), e[14] = b, e[15] = t, e[16] = S;
|
|
199
363
|
} else
|
|
200
|
-
|
|
201
|
-
let
|
|
202
|
-
e[19] !==
|
|
203
|
-
let
|
|
204
|
-
return e[21] !==
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
] }) }), e[21] =
|
|
364
|
+
S = e[16];
|
|
365
|
+
let u;
|
|
366
|
+
e[19] !== S ? (u = /* @__PURE__ */ o(H.Body, { children: S }), e[19] = S, e[20] = u) : u = e[20];
|
|
367
|
+
let C;
|
|
368
|
+
return e[21] !== u || e[22] !== A || e[23] !== L || e[24] !== h ? (C = /* @__PURE__ */ o(oe, { maxWidth: "100%", showHorizontalScrollbar: !0, showVerticalScrollbar: !1, children: /* @__PURE__ */ M(H.Root, { size: "sm", width: A, borderWidth: L, borderColor: "border.subtle", children: [
|
|
369
|
+
h,
|
|
370
|
+
u
|
|
371
|
+
] }) }), e[21] = u, e[22] = A, e[23] = L, e[24] = h, e[25] = C) : C = e[25], C;
|
|
208
372
|
};
|
|
209
|
-
function
|
|
210
|
-
return /* @__PURE__ */
|
|
211
|
-
/* @__PURE__ */ o(
|
|
212
|
-
/* @__PURE__ */ o(
|
|
213
|
-
] }, `${e}-${
|
|
373
|
+
function et(n, e) {
|
|
374
|
+
return /* @__PURE__ */ M(X, { as: "span", display: "contents", children: [
|
|
375
|
+
/* @__PURE__ */ o(W, { as: "span", color: "fg.muted", textAlign: "right", fontSize: "inherit", children: e + 1 }),
|
|
376
|
+
/* @__PURE__ */ o(W, { as: "span", fontSize: "inherit", children: n.length ? n : " " })
|
|
377
|
+
] }, `${e}-${n}`);
|
|
214
378
|
}
|
|
215
|
-
function
|
|
216
|
-
return /* @__PURE__ */ o(
|
|
379
|
+
function tt(n) {
|
|
380
|
+
return /* @__PURE__ */ o(H.ColumnHeader, { textTransform: "none", paddingX: "xs", paddingY: "2xs", children: /* @__PURE__ */ o(W, { textStyle: "label/S/medium", fontSize: q, children: n }) }, n);
|
|
217
381
|
}
|
|
218
|
-
function
|
|
219
|
-
const e =
|
|
382
|
+
function zt(n) {
|
|
383
|
+
const e = n.toLowerCase().trim();
|
|
220
384
|
return e ? e.startsWith("image/") ? "image" : e === "application/pdf" ? "pdf" : e === "text/markdown" ? "markdown" : e === "text/csv" || e === "text/tab-separated-values" ? "table" : e === "application/json" ? "json" : (e.startsWith("text/") || e.startsWith("application/"), "text") : "text";
|
|
221
385
|
}
|
|
222
|
-
const
|
|
386
|
+
const ot = {
|
|
223
387
|
csv: "text/csv",
|
|
224
388
|
tsv: "text/tab-separated-values",
|
|
225
389
|
json: "application/json",
|
|
@@ -243,22 +407,23 @@ const Pe = {
|
|
|
243
407
|
yml: "text/yaml",
|
|
244
408
|
yaml: "text/yaml"
|
|
245
409
|
};
|
|
246
|
-
function
|
|
247
|
-
const
|
|
248
|
-
return
|
|
410
|
+
function Rt(n) {
|
|
411
|
+
const t = (n.split("?")[0]?.split("#")[0] ?? "").split(".").pop()?.toLowerCase();
|
|
412
|
+
return t ? ot[t] ?? null : null;
|
|
249
413
|
}
|
|
250
414
|
export {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
415
|
+
At as CollaborativeMarkdownEditor,
|
|
416
|
+
Et as DefaultRichTextCodeEditor,
|
|
417
|
+
Lt as DefaultRichTextDataTable,
|
|
418
|
+
jt as LazyMarkdownEditor,
|
|
419
|
+
Mt as MarkdownEditor,
|
|
420
|
+
ze as MarkdownPreview,
|
|
421
|
+
Ft as PromptEditor,
|
|
422
|
+
Tt as ResourceActivityFeed,
|
|
423
|
+
ze as RichMessage,
|
|
424
|
+
It as generateEditorStateFromString,
|
|
425
|
+
Nt as getTextFromSerializedEditorState,
|
|
426
|
+
zt as inferResourceTypeFromMediaType,
|
|
427
|
+
Rt as mediaTypeFromPath
|
|
263
428
|
};
|
|
264
429
|
//# sourceMappingURL=rich-text.js.map
|