@haklex/rich-renderer-linkcard 0.0.82 → 0.0.83
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/LinkCardRenderer-CJB5CmHP.js +1314 -0
- package/dist/index.mjs +292 -262
- package/dist/rich-renderer-linkcard.css +1 -2
- package/dist/static.mjs +29 -2
- package/package.json +4 -4
- package/dist/LinkCardRenderer-C-luOWVc.js +0 -1331
package/dist/index.mjs
CHANGED
|
@@ -1,272 +1,302 @@
|
|
|
1
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
5
|
import { $createLinkNode, $isLinkNode } from "@lexical/link";
|
|
3
6
|
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
4
|
-
import { $
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
7
|
+
import { $getNodeByKey, $createTextNode, $createParagraphNode, $insertNodes, $createNodeSelection, $setSelection, PASTE_COMMAND, $getSelection, $isRangeSelection, $isParagraphNode, COMMAND_PRIORITY_LOW } from "lexical";
|
|
8
|
+
import { Link, ExternalLink, RemoveFormatting, Unlink, CreditCard } from "lucide-react";
|
|
9
|
+
import { useState, useRef, useEffect, useCallback, createElement, useMemo } from "react";
|
|
10
|
+
import { z as editWrapper, A as semanticClassNames, B as editPanel, C as editUrlRow, D as editLinkIcon, E as editInput, r as matchUrl } from "./LinkCardRenderer-CJB5CmHP.js";
|
|
11
|
+
import { L, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, s, t, u, v, w, x, y } from "./LinkCardRenderer-CJB5CmHP.js";
|
|
8
12
|
import { $isLinkCardNode, LinkCardNode } from "@haklex/rich-editor/nodes";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
//#region src/LinkCardEditDecorator.tsx
|
|
13
|
+
import { createRendererDecoration, LinkCardRenderer } from "@haklex/rich-editor/renderers";
|
|
14
|
+
import { Popover, PopoverTrigger, PopoverPanel, ActionBar, ActionButton } from "@haklex/rich-editor-ui";
|
|
12
15
|
function LinkCardEditDecorator({ nodeKey, payload, children }) {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
16
|
+
const [editor] = useLexicalComposerContext();
|
|
17
|
+
const editable = editor.isEditable();
|
|
18
|
+
const [open, setOpen] = useState(() => !payload.url);
|
|
19
|
+
const [url, setUrl] = useState(payload.url);
|
|
20
|
+
const inputRef = useRef(null);
|
|
21
|
+
useEffect(() => {
|
|
22
|
+
setUrl(payload.url);
|
|
23
|
+
}, [payload.url]);
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
if (open) {
|
|
26
|
+
requestAnimationFrame(() => {
|
|
27
|
+
inputRef.current?.focus();
|
|
28
|
+
inputRef.current?.select();
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}, [open]);
|
|
32
|
+
const commitUrl = useCallback(() => {
|
|
33
|
+
const trimmed = url.trim();
|
|
34
|
+
if (!trimmed) return;
|
|
35
|
+
editor.update(() => {
|
|
36
|
+
const node = $getNodeByKey(nodeKey);
|
|
37
|
+
if ($isLinkCardNode(node) && node.getUrl() !== trimmed) {
|
|
38
|
+
node.setUrl(trimmed);
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}, [editor, nodeKey, url]);
|
|
42
|
+
const handleDelete = useCallback(() => {
|
|
43
|
+
editor.update(() => {
|
|
44
|
+
const node = $getNodeByKey(nodeKey);
|
|
45
|
+
if (node) node.remove();
|
|
46
|
+
});
|
|
47
|
+
setOpen(false);
|
|
48
|
+
}, [editor, nodeKey]);
|
|
49
|
+
const handleConvertToLink = useCallback(() => {
|
|
50
|
+
editor.update(() => {
|
|
51
|
+
const node = $getNodeByKey(nodeKey);
|
|
52
|
+
if (!$isLinkCardNode(node)) return;
|
|
53
|
+
const nodeUrl = node.getUrl();
|
|
54
|
+
const { title } = payload;
|
|
55
|
+
const linkNode = $createLinkNode(nodeUrl);
|
|
56
|
+
linkNode.append($createTextNode(title || nodeUrl));
|
|
57
|
+
const paragraph = $createParagraphNode();
|
|
58
|
+
paragraph.append(linkNode);
|
|
59
|
+
node.replace(paragraph);
|
|
60
|
+
paragraph.selectEnd();
|
|
61
|
+
});
|
|
62
|
+
setOpen(false);
|
|
63
|
+
}, [editor, nodeKey, payload]);
|
|
64
|
+
const handleKeyDown = useCallback(
|
|
65
|
+
(e2) => {
|
|
66
|
+
if (e2.key === "Enter") {
|
|
67
|
+
e2.preventDefault();
|
|
68
|
+
commitUrl();
|
|
69
|
+
} else if (e2.key === "Escape") {
|
|
70
|
+
e2.preventDefault();
|
|
71
|
+
setUrl(payload.url);
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
[commitUrl, payload.url]
|
|
75
|
+
);
|
|
76
|
+
const handleOpen = useCallback(() => {
|
|
77
|
+
window.open(payload.url, "_blank", "noopener,noreferrer");
|
|
78
|
+
}, [payload.url]);
|
|
79
|
+
if (!editable) {
|
|
80
|
+
return children;
|
|
81
|
+
}
|
|
82
|
+
return /* @__PURE__ */ jsxs(
|
|
83
|
+
Popover,
|
|
84
|
+
{
|
|
85
|
+
open,
|
|
86
|
+
onOpenChange: (nextOpen) => {
|
|
87
|
+
setOpen(nextOpen);
|
|
88
|
+
if (!nextOpen) {
|
|
89
|
+
setUrl(payload.url);
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
children: [
|
|
93
|
+
/* @__PURE__ */ jsx(
|
|
94
|
+
PopoverTrigger,
|
|
95
|
+
{
|
|
96
|
+
openOnHover: true,
|
|
97
|
+
closeDelay: 300,
|
|
98
|
+
delay: 200,
|
|
99
|
+
nativeButton: false,
|
|
100
|
+
render: /* @__PURE__ */ jsx("span", { className: `${editWrapper} ${semanticClassNames.editWrapper}` }),
|
|
101
|
+
children
|
|
102
|
+
}
|
|
103
|
+
),
|
|
104
|
+
/* @__PURE__ */ jsxs(
|
|
105
|
+
PopoverPanel,
|
|
106
|
+
{
|
|
107
|
+
className: `${editPanel} ${semanticClassNames.editPanel}`,
|
|
108
|
+
side: "bottom",
|
|
109
|
+
sideOffset: 8,
|
|
110
|
+
children: [
|
|
111
|
+
/* @__PURE__ */ jsxs("div", { className: `${editUrlRow} ${semanticClassNames.editUrlRow}`, children: [
|
|
112
|
+
/* @__PURE__ */ jsx(
|
|
113
|
+
Link,
|
|
114
|
+
{
|
|
115
|
+
className: `${editLinkIcon} ${semanticClassNames.editLinkIcon}`,
|
|
116
|
+
size: 16
|
|
117
|
+
}
|
|
118
|
+
),
|
|
119
|
+
/* @__PURE__ */ jsx(
|
|
120
|
+
"input",
|
|
121
|
+
{
|
|
122
|
+
className: `${editInput} ${semanticClassNames.editInput}`,
|
|
123
|
+
placeholder: "https://...",
|
|
124
|
+
ref: inputRef,
|
|
125
|
+
type: "url",
|
|
126
|
+
value: url,
|
|
127
|
+
onBlur: commitUrl,
|
|
128
|
+
onChange: (e2) => setUrl(e2.target.value),
|
|
129
|
+
onKeyDown: handleKeyDown
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
] }),
|
|
133
|
+
/* @__PURE__ */ jsxs(ActionBar, { children: [
|
|
134
|
+
/* @__PURE__ */ jsxs(ActionButton, { onClick: handleOpen, children: [
|
|
135
|
+
/* @__PURE__ */ jsx(ExternalLink, { size: 14 }),
|
|
136
|
+
"Open"
|
|
137
|
+
] }),
|
|
138
|
+
/* @__PURE__ */ jsxs(ActionButton, { onClick: handleConvertToLink, children: [
|
|
139
|
+
/* @__PURE__ */ jsx(RemoveFormatting, { size: 14 }),
|
|
140
|
+
"To Link"
|
|
141
|
+
] }),
|
|
142
|
+
/* @__PURE__ */ jsxs(ActionButton, { danger: true, onClick: handleDelete, children: [
|
|
143
|
+
/* @__PURE__ */ jsx(Unlink, { size: 14 }),
|
|
144
|
+
"Remove"
|
|
145
|
+
] })
|
|
146
|
+
] })
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
)
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
);
|
|
127
153
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
166
|
-
//#endregion
|
|
167
|
-
//#region src/LinkCardEditNode.ts
|
|
168
|
-
var LinkCardEditNode = class LinkCardEditNode extends LinkCardNode {
|
|
169
|
-
static clone(node) {
|
|
170
|
-
return new LinkCardEditNode({
|
|
171
|
-
url: node.__url,
|
|
172
|
-
title: node.__title,
|
|
173
|
-
description: node.__description,
|
|
174
|
-
favicon: node.__favicon,
|
|
175
|
-
image: node.__image
|
|
176
|
-
}, node.__key);
|
|
177
|
-
}
|
|
178
|
-
static importJSON(serializedNode) {
|
|
179
|
-
return new LinkCardEditNode({
|
|
180
|
-
url: serializedNode.url,
|
|
181
|
-
title: serializedNode.title,
|
|
182
|
-
description: serializedNode.description,
|
|
183
|
-
favicon: serializedNode.favicon,
|
|
184
|
-
image: serializedNode.image
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
decorate(_editor, _config) {
|
|
188
|
-
const payload = {
|
|
189
|
-
url: this.__url,
|
|
190
|
-
title: this.__title,
|
|
191
|
-
description: this.__description,
|
|
192
|
-
favicon: this.__favicon,
|
|
193
|
-
image: this.__image
|
|
194
|
-
};
|
|
195
|
-
const rendererEl = createRendererDecoration("LinkCard", LinkCardRenderer$1, payload);
|
|
196
|
-
return createElement(LinkCardEditDecorator, {
|
|
197
|
-
nodeKey: this.__key,
|
|
198
|
-
payload,
|
|
199
|
-
children: rendererEl
|
|
200
|
-
});
|
|
201
|
-
}
|
|
154
|
+
const _LinkCardEditNode = class _LinkCardEditNode extends LinkCardNode {
|
|
155
|
+
static clone(node) {
|
|
156
|
+
return new _LinkCardEditNode(
|
|
157
|
+
{
|
|
158
|
+
url: node.__url,
|
|
159
|
+
title: node.__title,
|
|
160
|
+
description: node.__description,
|
|
161
|
+
favicon: node.__favicon,
|
|
162
|
+
image: node.__image
|
|
163
|
+
},
|
|
164
|
+
node.__key
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
static importJSON(serializedNode) {
|
|
168
|
+
return new _LinkCardEditNode({
|
|
169
|
+
url: serializedNode.url,
|
|
170
|
+
title: serializedNode.title,
|
|
171
|
+
description: serializedNode.description,
|
|
172
|
+
favicon: serializedNode.favicon,
|
|
173
|
+
image: serializedNode.image
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
decorate(_editor, _config) {
|
|
177
|
+
const payload = {
|
|
178
|
+
url: this.__url,
|
|
179
|
+
title: this.__title,
|
|
180
|
+
description: this.__description,
|
|
181
|
+
favicon: this.__favicon,
|
|
182
|
+
image: this.__image
|
|
183
|
+
};
|
|
184
|
+
const rendererEl = createRendererDecoration("LinkCard", LinkCardRenderer, payload);
|
|
185
|
+
return createElement(LinkCardEditDecorator, {
|
|
186
|
+
nodeKey: this.__key,
|
|
187
|
+
payload,
|
|
188
|
+
children: rendererEl
|
|
189
|
+
});
|
|
190
|
+
}
|
|
202
191
|
};
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
}
|
|
219
|
-
}]);
|
|
192
|
+
__publicField(_LinkCardEditNode, "commandItems", [
|
|
193
|
+
{
|
|
194
|
+
title: "Link Card",
|
|
195
|
+
icon: createElement(Link, { size: 20 }),
|
|
196
|
+
description: "Link preview card",
|
|
197
|
+
keywords: ["link", "card", "bookmark", "embed"],
|
|
198
|
+
section: "MEDIA",
|
|
199
|
+
onSelect: (editor) => {
|
|
200
|
+
editor.update(() => {
|
|
201
|
+
$insertNodes([$createLinkCardEditNode({ url: "" })]);
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
]);
|
|
206
|
+
let LinkCardEditNode = _LinkCardEditNode;
|
|
220
207
|
function $createLinkCardEditNode(payload) {
|
|
221
|
-
|
|
208
|
+
return new LinkCardEditNode(payload);
|
|
222
209
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
210
|
+
const linkCardEditNodes = [LinkCardEditNode];
|
|
211
|
+
function ConvertToLinkCardAction({
|
|
212
|
+
url,
|
|
213
|
+
linkKey,
|
|
214
|
+
pluginRegistry,
|
|
215
|
+
className
|
|
216
|
+
}) {
|
|
217
|
+
const [editor] = useLexicalComposerContext();
|
|
218
|
+
const info = useMemo(() => matchUrl(url, pluginRegistry), [url, pluginRegistry]);
|
|
219
|
+
if (!info) return null;
|
|
220
|
+
const handleConvert = () => {
|
|
221
|
+
editor.update(() => {
|
|
222
|
+
const linkNode = $getNodeByKey(linkKey);
|
|
223
|
+
if (!linkNode || !$isLinkNode(linkNode)) return;
|
|
224
|
+
const topElement = linkNode.getTopLevelElement();
|
|
225
|
+
if (!topElement) return;
|
|
226
|
+
const linkCardNode = $createLinkCardEditNode({ url });
|
|
227
|
+
topElement.replace(linkCardNode);
|
|
228
|
+
const nodeSelection = $createNodeSelection();
|
|
229
|
+
nodeSelection.add(linkCardNode.getKey());
|
|
230
|
+
$setSelection(nodeSelection);
|
|
231
|
+
});
|
|
232
|
+
};
|
|
233
|
+
return /* @__PURE__ */ jsxs("button", { className, type: "button", onClick: handleConvert, children: [
|
|
234
|
+
/* @__PURE__ */ jsx(CreditCard, { size: 14 }),
|
|
235
|
+
"To Card"
|
|
236
|
+
] });
|
|
248
237
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
238
|
+
function PasteLinkCardPlugin({
|
|
239
|
+
pluginRegistry
|
|
240
|
+
}) {
|
|
241
|
+
const [editor] = useLexicalComposerContext();
|
|
242
|
+
useEffect(() => {
|
|
243
|
+
return editor.registerCommand(
|
|
244
|
+
PASTE_COMMAND,
|
|
245
|
+
(event) => {
|
|
246
|
+
const text = event.clipboardData?.getData("text/plain")?.trim();
|
|
247
|
+
if (!text) return false;
|
|
248
|
+
const info = matchUrl(text, pluginRegistry);
|
|
249
|
+
if (!info) return false;
|
|
250
|
+
const selection = $getSelection();
|
|
251
|
+
if (!$isRangeSelection(selection)) return false;
|
|
252
|
+
const anchorNode = selection.anchor.getNode();
|
|
253
|
+
const topElement = anchorNode.getTopLevelElement();
|
|
254
|
+
if (!topElement || !$isParagraphNode(topElement)) return false;
|
|
255
|
+
const textContent = topElement.getTextContent();
|
|
256
|
+
if (textContent.trim().length > 0) return false;
|
|
257
|
+
event.preventDefault();
|
|
258
|
+
const linkCardNode = $createLinkCardEditNode({
|
|
259
|
+
url: text
|
|
260
|
+
});
|
|
261
|
+
topElement.replace(linkCardNode);
|
|
262
|
+
return true;
|
|
263
|
+
},
|
|
264
|
+
COMMAND_PRIORITY_LOW
|
|
265
|
+
);
|
|
266
|
+
}, [editor, pluginRegistry]);
|
|
267
|
+
return null;
|
|
270
268
|
}
|
|
271
|
-
|
|
272
|
-
|
|
269
|
+
export {
|
|
270
|
+
$createLinkCardEditNode,
|
|
271
|
+
ConvertToLinkCardAction,
|
|
272
|
+
L as LanguageToColorMap,
|
|
273
|
+
LinkCardEditDecorator,
|
|
274
|
+
LinkCardEditNode,
|
|
275
|
+
a as LinkCardFetchProvider,
|
|
276
|
+
b as LinkCardRenderer,
|
|
277
|
+
c as LinkCardSkeleton,
|
|
278
|
+
PasteLinkCardPlugin,
|
|
279
|
+
d as arxivPlugin,
|
|
280
|
+
e as bangumiPlugin,
|
|
281
|
+
f as camelcaseKeys,
|
|
282
|
+
g as createMxSpacePlugin,
|
|
283
|
+
h as fetchGitHubApi,
|
|
284
|
+
i as fetchJsonWithContext,
|
|
285
|
+
j as generateColor,
|
|
286
|
+
k as getPluginByName,
|
|
287
|
+
l as githubCommitPlugin,
|
|
288
|
+
m as githubDiscussionPlugin,
|
|
289
|
+
n as githubIssuePlugin,
|
|
290
|
+
o as githubPrPlugin,
|
|
291
|
+
p as githubRepoPlugin,
|
|
292
|
+
q as leetcodePlugin,
|
|
293
|
+
linkCardEditNodes,
|
|
294
|
+
matchUrl,
|
|
295
|
+
s as neteaseMusicPlugin,
|
|
296
|
+
t as pluginMap,
|
|
297
|
+
u as plugins,
|
|
298
|
+
v as qqMusicPlugin,
|
|
299
|
+
w as tmdbPlugin,
|
|
300
|
+
x as useLinkCardFetchContext,
|
|
301
|
+
y as useUrlMatcher
|
|
302
|
+
};
|