@collabchron/notiq 1.1.11 → 1.1.12
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/{AIDialog-2WZUFWSC.mjs → AIDialog-RHRYHSVN.mjs} +5 -5
- package/dist/{CodeActionMenuPlugin-MRKY67ED.mjs → CodeActionMenuPlugin-FGH6HZLL.mjs} +2 -2
- package/dist/{CollaboratorsBar-TMKBOBJI.mjs → CollaboratorsBar-AMPIAUOY.mjs} +2 -2
- package/dist/{CommentsPlugin-5M4RD6YO.mjs → CommentsPlugin-SDJJTUGK.mjs} +2 -2
- package/dist/{ExcalidrawComponent-SIMURTCA.mjs → ExcalidrawComponent-BMSYIPP6.mjs} +2 -2
- package/dist/{ExcalidrawPlugin-2SGPIQ6U.mjs → ExcalidrawPlugin-QLPGJPSX.mjs} +2 -2
- package/dist/{ExportPlugin-OKZOLBGS.mjs → ExportPlugin-MJHYKQZJ.mjs} +7 -6
- package/dist/{FloatingTextFormatToolbarPlugin-SO5VON7Q.mjs → FloatingTextFormatToolbarPlugin-BXCPN3KD.mjs} +19 -19
- package/dist/{MobileToolbar-JKP2MLQJ.mjs → MobileToolbar-KV5DX4ED.mjs} +15 -17
- package/dist/{SlashCommand-2TNOOUBM.mjs → SlashCommand-SPR7G5EI.mjs} +13 -13
- package/dist/{StoryBuilderComponent-WQSNFPMM.mjs → StoryBuilderComponent-JN4ZPZOW.mjs} +8 -8
- package/dist/{chunk-PHRVYPVM.mjs → ToolbarPlugin-F52PVNXU.mjs} +33 -18
- package/dist/{block-format-MTSIXWID.mjs → block-format-TODFREE2.mjs} +2 -2
- package/dist/{chunk-FYLRS4BG.mjs → chunk-22ZIL6NH.mjs} +1 -1
- package/dist/{chunk-Z6JAFF55.mjs → chunk-2LNT36RL.mjs} +2 -2
- package/dist/chunk-37LC44W3.mjs +2677 -0
- package/dist/chunk-5D4JF3ZZ.mjs +624 -0
- package/dist/{chunk-MPTE332I.mjs → chunk-6FQFPPLG.mjs} +18 -20
- package/dist/{chunk-GYYLZ3MQ.mjs → chunk-ELBTVBTS.mjs} +1 -1
- package/dist/{chunk-XYDBUQ6Z.mjs → chunk-ENH2IOHI.mjs} +15 -165
- package/dist/{chunk-MW6MAUY3.mjs → chunk-FO7M3X2B.mjs} +1 -1
- package/dist/{chunk-YDDBQZ77.mjs → chunk-LBGM4VVZ.mjs} +8 -8
- package/dist/{chunk-2KESP7OU.mjs → chunk-LLGVCM7M.mjs} +3 -3
- package/dist/chunk-LVRJM45C.mjs +171 -0
- package/dist/{chunk-XZXGYNTY.mjs → chunk-QNIY45SF.mjs} +1 -1
- package/dist/{chunk-YTLUQJE2.mjs → chunk-T2UBAZ66.mjs} +1 -1
- package/dist/{chunk-3AHNLIME.mjs → chunk-XNJNT6PC.mjs} +21 -21
- package/dist/{chunk-LLCP7NVE.mjs → chunk-XYLTLGY5.mjs} +355 -29
- package/dist/{chunk-XAVQAXOJ.mjs → chunk-ZYJ7KABY.mjs} +1 -1
- package/dist/{color-23323E3B.mjs → color-S55XFDYQ.mjs} +2 -2
- package/dist/components/editor/Core.d.ts +15 -2
- package/dist/components/editor/index.d.ts +15 -4
- package/dist/core/index.d.ts +2 -1
- package/dist/core/react/NotiqEditor.d.ts +8 -8
- package/dist/core/types.d.ts +1 -0
- package/dist/core.js +8946 -2207
- package/dist/core.mjs +32 -26
- package/dist/{font-size-GTL6UVQL.mjs → font-size-3HMJHKO2.mjs} +2 -2
- package/dist/{image-TPW7PZZK.mjs → image-QPB2CVXP.mjs} +6 -6
- package/dist/index.js +4372 -4382
- package/dist/index.mjs +87 -1611
- package/dist/{insert-image-CZV6HWQZ.mjs → insert-image-PLBZELHK.mjs} +4 -4
- package/dist/{insert-node-MA3FXEYN.mjs → insert-node-DGCZBGKG.mjs} +14 -16
- package/dist/react.js +10189 -3980
- package/dist/react.mjs +21 -16
- package/dist/{stepper-4AO5XMO7.mjs → stepper-KNITDVLG.mjs} +31 -31
- package/dist/styles/notiq.css +1 -1
- package/dist/{text-format-6L5N3CHZ.mjs → text-format-T3IY7FBI.mjs} +3 -3
- package/package.json +1 -1
- package/dist/ToolbarPlugin-IIAOU4P5.mjs +0 -35
- package/dist/chunk-AYNKORDO.mjs +0 -6
- package/dist/chunk-IU2N42JJ.mjs +0 -1763
- package/dist/chunk-W6GAJXUS.mjs +0 -334
- package/dist/{VersionHistoryPlugin-23MAZB4G.mjs → VersionHistoryPlugin-YWGCREKA.mjs} +3 -3
- package/dist/{background-color-OZJCBYCT.mjs → background-color-RW5JYLMG.mjs} +3 -3
- package/dist/{chunk-YE7M2VKR.mjs → chunk-C4JWLBYN.mjs} +3 -3
- package/dist/{chunk-KDA7ZYMJ.mjs → chunk-CLRSETYQ.mjs} +3 -3
- package/dist/{chunk-FMJ7DGWP.mjs → chunk-MSAO3YFB.mjs} +3 -3
- package/dist/{chunk-XYT6XM5S.mjs → chunk-N3KDPSRI.mjs} +3 -3
- package/dist/{chunk-MTQZWJHR.mjs → chunk-SYUCM5G5.mjs} +4 -4
- package/dist/{chunk-6SRMKQSD.mjs → chunk-VNDDDXGH.mjs} +3 -3
- package/dist/{chunk-LAUAYRPC.mjs → chunk-WUVIQCX7.mjs} +5 -5
- package/dist/{insert-audio-C66RZRKY.mjs → insert-audio-I3PD6JFS.mjs} +6 -6
- package/dist/{insert-file-3DTGRO7W.mjs → insert-file-PHR7XL4V.mjs} +6 -6
- package/dist/{insert-gif-FIMCCBAI.mjs → insert-gif-R5ZO4JHC.mjs} +3 -3
- package/dist/{text-align-CSDLJUDA.mjs → text-align-TEB4S52S.mjs} +3 -3
package/dist/chunk-W6GAJXUS.mjs
DELETED
|
@@ -1,334 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__spreadProps,
|
|
3
|
-
__spreadValues,
|
|
4
|
-
init_react_shim
|
|
5
|
-
} from "./chunk-WYCFGRFJ.mjs";
|
|
6
|
-
|
|
7
|
-
// src/components/editor/plugins/LayoutPlugin/index.tsx
|
|
8
|
-
init_react_shim();
|
|
9
|
-
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
10
|
-
import {
|
|
11
|
-
$findMatchingParent,
|
|
12
|
-
$insertNodeToNearestRoot,
|
|
13
|
-
mergeRegister
|
|
14
|
-
} from "@lexical/utils";
|
|
15
|
-
import {
|
|
16
|
-
$createParagraphNode,
|
|
17
|
-
$getNodeByKey,
|
|
18
|
-
$getSelection,
|
|
19
|
-
$isRangeSelection,
|
|
20
|
-
COMMAND_PRIORITY_EDITOR,
|
|
21
|
-
COMMAND_PRIORITY_LOW,
|
|
22
|
-
createCommand,
|
|
23
|
-
KEY_ARROW_DOWN_COMMAND,
|
|
24
|
-
KEY_ARROW_LEFT_COMMAND,
|
|
25
|
-
KEY_ARROW_RIGHT_COMMAND,
|
|
26
|
-
KEY_ARROW_UP_COMMAND
|
|
27
|
-
} from "lexical";
|
|
28
|
-
import { useEffect } from "react";
|
|
29
|
-
|
|
30
|
-
// src/components/editor/nodes/LayoutNode/LayoutContainerNode.ts
|
|
31
|
-
init_react_shim();
|
|
32
|
-
import { addClassNamesToElement } from "@lexical/utils";
|
|
33
|
-
import { ElementNode } from "lexical";
|
|
34
|
-
function $convertLayoutContainerElement(domNode) {
|
|
35
|
-
const styleAttributes = window.getComputedStyle(domNode);
|
|
36
|
-
const templateColumns = styleAttributes.getPropertyValue(
|
|
37
|
-
"grid-template-columns"
|
|
38
|
-
);
|
|
39
|
-
if (templateColumns) {
|
|
40
|
-
const node = $createLayoutContainerNode(templateColumns);
|
|
41
|
-
return { node };
|
|
42
|
-
}
|
|
43
|
-
return null;
|
|
44
|
-
}
|
|
45
|
-
var LayoutContainerNode = class _LayoutContainerNode extends ElementNode {
|
|
46
|
-
constructor(templateColumns, key) {
|
|
47
|
-
super(key);
|
|
48
|
-
this.__templateColumns = templateColumns;
|
|
49
|
-
}
|
|
50
|
-
static getType() {
|
|
51
|
-
return "layout-container";
|
|
52
|
-
}
|
|
53
|
-
static clone(node) {
|
|
54
|
-
return new _LayoutContainerNode(node.__templateColumns, node.__key);
|
|
55
|
-
}
|
|
56
|
-
createDOM(config) {
|
|
57
|
-
const dom = document.createElement("div");
|
|
58
|
-
dom.style.gridTemplateColumns = this.__templateColumns;
|
|
59
|
-
if (typeof config.theme.layoutContainer === "string") {
|
|
60
|
-
addClassNamesToElement(dom, config.theme.layoutContainer);
|
|
61
|
-
}
|
|
62
|
-
return dom;
|
|
63
|
-
}
|
|
64
|
-
exportDOM() {
|
|
65
|
-
const element = document.createElement("div");
|
|
66
|
-
element.style.gridTemplateColumns = this.__templateColumns;
|
|
67
|
-
element.setAttribute("data-lexical-layout-container", "true");
|
|
68
|
-
return { element };
|
|
69
|
-
}
|
|
70
|
-
updateDOM(prevNode, dom) {
|
|
71
|
-
if (prevNode.__templateColumns !== this.__templateColumns) {
|
|
72
|
-
dom.style.gridTemplateColumns = this.__templateColumns;
|
|
73
|
-
}
|
|
74
|
-
return false;
|
|
75
|
-
}
|
|
76
|
-
static importDOM() {
|
|
77
|
-
return {
|
|
78
|
-
div: (domNode) => {
|
|
79
|
-
if (!domNode.hasAttribute("data-lexical-layout-container")) {
|
|
80
|
-
return null;
|
|
81
|
-
}
|
|
82
|
-
return {
|
|
83
|
-
conversion: $convertLayoutContainerElement,
|
|
84
|
-
priority: 2
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
static importJSON(json) {
|
|
90
|
-
return $createLayoutContainerNode().updateFromJSON(json);
|
|
91
|
-
}
|
|
92
|
-
updateFromJSON(serializedNode) {
|
|
93
|
-
return super.updateFromJSON(serializedNode).setTemplateColumns(serializedNode.templateColumns);
|
|
94
|
-
}
|
|
95
|
-
isShadowRoot() {
|
|
96
|
-
return true;
|
|
97
|
-
}
|
|
98
|
-
canBeEmpty() {
|
|
99
|
-
return false;
|
|
100
|
-
}
|
|
101
|
-
exportJSON() {
|
|
102
|
-
return __spreadProps(__spreadValues({}, super.exportJSON()), {
|
|
103
|
-
templateColumns: this.__templateColumns
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
getTemplateColumns() {
|
|
107
|
-
return this.getLatest().__templateColumns;
|
|
108
|
-
}
|
|
109
|
-
setTemplateColumns(templateColumns) {
|
|
110
|
-
const self = this.getWritable();
|
|
111
|
-
self.__templateColumns = templateColumns;
|
|
112
|
-
return self;
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
function $createLayoutContainerNode(templateColumns = "") {
|
|
116
|
-
return new LayoutContainerNode(templateColumns);
|
|
117
|
-
}
|
|
118
|
-
function $isLayoutContainerNode(node) {
|
|
119
|
-
return node instanceof LayoutContainerNode;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// src/components/editor/nodes/LayoutNode/LayoutItemNode.ts
|
|
123
|
-
init_react_shim();
|
|
124
|
-
import { addClassNamesToElement as addClassNamesToElement2 } from "@lexical/utils";
|
|
125
|
-
import { ElementNode as ElementNode2 } from "lexical";
|
|
126
|
-
function $convertLayoutItemElement() {
|
|
127
|
-
return { node: $createLayoutItemNode() };
|
|
128
|
-
}
|
|
129
|
-
var LayoutItemNode = class _LayoutItemNode extends ElementNode2 {
|
|
130
|
-
static getType() {
|
|
131
|
-
return "layout-item";
|
|
132
|
-
}
|
|
133
|
-
static clone(node) {
|
|
134
|
-
return new _LayoutItemNode(node.__key);
|
|
135
|
-
}
|
|
136
|
-
createDOM(config) {
|
|
137
|
-
const dom = document.createElement("div");
|
|
138
|
-
dom.setAttribute("data-lexical-layout-item", "true");
|
|
139
|
-
if (typeof config.theme.layoutItem === "string") {
|
|
140
|
-
addClassNamesToElement2(dom, config.theme.layoutItem);
|
|
141
|
-
}
|
|
142
|
-
return dom;
|
|
143
|
-
}
|
|
144
|
-
updateDOM() {
|
|
145
|
-
return false;
|
|
146
|
-
}
|
|
147
|
-
static importDOM() {
|
|
148
|
-
return {
|
|
149
|
-
div: (domNode) => {
|
|
150
|
-
if (!domNode.hasAttribute("data-lexical-layout-item")) {
|
|
151
|
-
return null;
|
|
152
|
-
}
|
|
153
|
-
return {
|
|
154
|
-
conversion: $convertLayoutItemElement,
|
|
155
|
-
priority: 2
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
static importJSON(serializedNode) {
|
|
161
|
-
return $createLayoutItemNode().updateFromJSON(serializedNode);
|
|
162
|
-
}
|
|
163
|
-
isShadowRoot() {
|
|
164
|
-
return true;
|
|
165
|
-
}
|
|
166
|
-
};
|
|
167
|
-
function $createLayoutItemNode() {
|
|
168
|
-
return new LayoutItemNode();
|
|
169
|
-
}
|
|
170
|
-
function $isLayoutItemNode(node) {
|
|
171
|
-
return node instanceof LayoutItemNode;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
// src/components/editor/plugins/LayoutPlugin/index.tsx
|
|
175
|
-
var INSERT_LAYOUT_COMMAND = createCommand();
|
|
176
|
-
var UPDATE_LAYOUT_COMMAND = createCommand();
|
|
177
|
-
function LayoutPlugin() {
|
|
178
|
-
const [editor] = useLexicalComposerContext();
|
|
179
|
-
useEffect(() => {
|
|
180
|
-
if (!editor.hasNodes([LayoutContainerNode, LayoutItemNode])) {
|
|
181
|
-
throw new Error(
|
|
182
|
-
"LayoutPlugin: LayoutContainerNode, or LayoutItemNode not registered on editor"
|
|
183
|
-
);
|
|
184
|
-
}
|
|
185
|
-
const $onEscape = (before) => {
|
|
186
|
-
var _a, _b;
|
|
187
|
-
const selection = $getSelection();
|
|
188
|
-
if ($isRangeSelection(selection) && selection.isCollapsed() && selection.anchor.offset === 0) {
|
|
189
|
-
const container = $findMatchingParent(
|
|
190
|
-
selection.anchor.getNode(),
|
|
191
|
-
$isLayoutContainerNode
|
|
192
|
-
);
|
|
193
|
-
if ($isLayoutContainerNode(container)) {
|
|
194
|
-
const parent = container.getParent();
|
|
195
|
-
const child = parent && (before ? parent.getFirstChild() : parent == null ? void 0 : parent.getLastChild());
|
|
196
|
-
const descendant = before ? (_a = container.getFirstDescendant()) == null ? void 0 : _a.getKey() : (_b = container.getLastDescendant()) == null ? void 0 : _b.getKey();
|
|
197
|
-
if (parent !== null && child === container && selection.anchor.key === descendant) {
|
|
198
|
-
if (before) {
|
|
199
|
-
container.insertBefore($createParagraphNode());
|
|
200
|
-
} else {
|
|
201
|
-
container.insertAfter($createParagraphNode());
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
return false;
|
|
207
|
-
};
|
|
208
|
-
const $fillLayoutItemIfEmpty = (node) => {
|
|
209
|
-
if (node.isEmpty()) {
|
|
210
|
-
node.append($createParagraphNode());
|
|
211
|
-
}
|
|
212
|
-
};
|
|
213
|
-
const $removeIsolatedLayoutItem = (node) => {
|
|
214
|
-
const parent = node.getParent();
|
|
215
|
-
if (!$isLayoutContainerNode(parent)) {
|
|
216
|
-
const children = node.getChildren();
|
|
217
|
-
for (const child of children) {
|
|
218
|
-
node.insertBefore(child);
|
|
219
|
-
}
|
|
220
|
-
node.remove();
|
|
221
|
-
return true;
|
|
222
|
-
}
|
|
223
|
-
return false;
|
|
224
|
-
};
|
|
225
|
-
return mergeRegister(
|
|
226
|
-
// When layout is the last child pressing down/right arrow will insert paragraph
|
|
227
|
-
// below it to allow adding more content. It's similar what $insertBlockNode
|
|
228
|
-
// (mainly for decorators), except it'll always be possible to continue adding
|
|
229
|
-
// new content even if trailing paragraph is accidentally deleted
|
|
230
|
-
editor.registerCommand(
|
|
231
|
-
KEY_ARROW_DOWN_COMMAND,
|
|
232
|
-
() => $onEscape(false),
|
|
233
|
-
COMMAND_PRIORITY_LOW
|
|
234
|
-
),
|
|
235
|
-
editor.registerCommand(
|
|
236
|
-
KEY_ARROW_RIGHT_COMMAND,
|
|
237
|
-
() => $onEscape(false),
|
|
238
|
-
COMMAND_PRIORITY_LOW
|
|
239
|
-
),
|
|
240
|
-
// When layout is the first child pressing up/left arrow will insert paragraph
|
|
241
|
-
// above it to allow adding more content. It's similar what $insertBlockNode
|
|
242
|
-
// (mainly for decorators), except it'll always be possible to continue adding
|
|
243
|
-
// new content even if leading paragraph is accidentally deleted
|
|
244
|
-
editor.registerCommand(
|
|
245
|
-
KEY_ARROW_UP_COMMAND,
|
|
246
|
-
() => $onEscape(true),
|
|
247
|
-
COMMAND_PRIORITY_LOW
|
|
248
|
-
),
|
|
249
|
-
editor.registerCommand(
|
|
250
|
-
KEY_ARROW_LEFT_COMMAND,
|
|
251
|
-
() => $onEscape(true),
|
|
252
|
-
COMMAND_PRIORITY_LOW
|
|
253
|
-
),
|
|
254
|
-
editor.registerCommand(
|
|
255
|
-
INSERT_LAYOUT_COMMAND,
|
|
256
|
-
(template) => {
|
|
257
|
-
editor.update(() => {
|
|
258
|
-
const container = $createLayoutContainerNode(template);
|
|
259
|
-
const itemsCount = getItemsCountFromTemplate(template);
|
|
260
|
-
for (let i = 0; i < itemsCount; i++) {
|
|
261
|
-
container.append(
|
|
262
|
-
$createLayoutItemNode().append($createParagraphNode())
|
|
263
|
-
);
|
|
264
|
-
}
|
|
265
|
-
$insertNodeToNearestRoot(container);
|
|
266
|
-
container.selectStart();
|
|
267
|
-
});
|
|
268
|
-
return true;
|
|
269
|
-
},
|
|
270
|
-
COMMAND_PRIORITY_EDITOR
|
|
271
|
-
),
|
|
272
|
-
editor.registerCommand(
|
|
273
|
-
UPDATE_LAYOUT_COMMAND,
|
|
274
|
-
({ template, nodeKey }) => {
|
|
275
|
-
editor.update(() => {
|
|
276
|
-
const container = $getNodeByKey(nodeKey);
|
|
277
|
-
if (!$isLayoutContainerNode(container)) {
|
|
278
|
-
return;
|
|
279
|
-
}
|
|
280
|
-
const itemsCount = getItemsCountFromTemplate(template);
|
|
281
|
-
const prevItemsCount = getItemsCountFromTemplate(
|
|
282
|
-
container.getTemplateColumns()
|
|
283
|
-
);
|
|
284
|
-
if (itemsCount > prevItemsCount) {
|
|
285
|
-
for (let i = prevItemsCount; i < itemsCount; i++) {
|
|
286
|
-
container.append(
|
|
287
|
-
$createLayoutItemNode().append($createParagraphNode())
|
|
288
|
-
);
|
|
289
|
-
}
|
|
290
|
-
} else if (itemsCount < prevItemsCount) {
|
|
291
|
-
for (let i = prevItemsCount - 1; i >= itemsCount; i--) {
|
|
292
|
-
const layoutItem = container.getChildAtIndex(i);
|
|
293
|
-
if ($isLayoutItemNode(layoutItem)) {
|
|
294
|
-
layoutItem.remove();
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
container.setTemplateColumns(template);
|
|
299
|
-
});
|
|
300
|
-
return true;
|
|
301
|
-
},
|
|
302
|
-
COMMAND_PRIORITY_EDITOR
|
|
303
|
-
),
|
|
304
|
-
editor.registerNodeTransform(LayoutItemNode, (node) => {
|
|
305
|
-
const isRemoved = $removeIsolatedLayoutItem(node);
|
|
306
|
-
if (!isRemoved) {
|
|
307
|
-
$fillLayoutItemIfEmpty(node);
|
|
308
|
-
}
|
|
309
|
-
}),
|
|
310
|
-
editor.registerNodeTransform(LayoutContainerNode, (node) => {
|
|
311
|
-
const children = node.getChildren();
|
|
312
|
-
if (!children.every($isLayoutItemNode)) {
|
|
313
|
-
for (const child of children) {
|
|
314
|
-
node.insertBefore(child);
|
|
315
|
-
}
|
|
316
|
-
node.remove();
|
|
317
|
-
}
|
|
318
|
-
})
|
|
319
|
-
);
|
|
320
|
-
}, [editor]);
|
|
321
|
-
return null;
|
|
322
|
-
}
|
|
323
|
-
function getItemsCountFromTemplate(template) {
|
|
324
|
-
return template.trim().split(/\s+/).length;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
export {
|
|
328
|
-
LayoutItemNode,
|
|
329
|
-
$createLayoutItemNode,
|
|
330
|
-
LayoutContainerNode,
|
|
331
|
-
$createLayoutContainerNode,
|
|
332
|
-
INSERT_LAYOUT_COMMAND,
|
|
333
|
-
LayoutPlugin
|
|
334
|
-
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
Label
|
|
4
|
-
} from "./chunk-PFH63ZU4.mjs";
|
|
5
2
|
import {
|
|
6
3
|
useVersionHistory
|
|
7
4
|
} from "./chunk-J6ZUY5BY.mjs";
|
|
8
5
|
import "./chunk-RJQTA6HG.mjs";
|
|
6
|
+
import {
|
|
7
|
+
Label
|
|
8
|
+
} from "./chunk-PFH63ZU4.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Input
|
|
11
11
|
} from "./chunk-5NRAXWYA.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Label
|
|
3
|
-
} from "./chunk-PFH63ZU4.mjs";
|
|
4
1
|
import {
|
|
5
2
|
Tabs,
|
|
6
3
|
TabsContent,
|
|
7
4
|
TabsList,
|
|
8
5
|
TabsTrigger
|
|
9
6
|
} from "./chunk-6UVNHT3T.mjs";
|
|
7
|
+
import {
|
|
8
|
+
Label
|
|
9
|
+
} from "./chunk-PFH63ZU4.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Input
|
|
12
12
|
} from "./chunk-5NRAXWYA.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SHORTCUTS
|
|
3
|
+
} from "./chunk-K5OAFEVY.mjs";
|
|
1
4
|
import {
|
|
2
5
|
updateFontSize,
|
|
3
6
|
updateFontSizeInSelection
|
|
4
7
|
} from "./chunk-6D6QLRYR.mjs";
|
|
5
|
-
import {
|
|
6
|
-
SHORTCUTS
|
|
7
|
-
} from "./chunk-K5OAFEVY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
MAX_ALLOWED_FONT_SIZE,
|
|
10
10
|
MIN_ALLOWED_FONT_SIZE
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Label
|
|
3
|
-
} from "./chunk-PFH63ZU4.mjs";
|
|
4
1
|
import {
|
|
5
2
|
Tabs,
|
|
6
3
|
TabsContent,
|
|
7
4
|
TabsList,
|
|
8
5
|
TabsTrigger
|
|
9
6
|
} from "./chunk-6UVNHT3T.mjs";
|
|
7
|
+
import {
|
|
8
|
+
Label
|
|
9
|
+
} from "./chunk-PFH63ZU4.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Input
|
|
12
12
|
} from "./chunk-5NRAXWYA.mjs";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DropDown
|
|
3
|
+
} from "./chunk-LU2XWLOE.mjs";
|
|
1
4
|
import {
|
|
2
5
|
formatBulletList,
|
|
3
6
|
formatCheckList,
|
|
@@ -7,9 +10,6 @@ import {
|
|
|
7
10
|
formatParagraph,
|
|
8
11
|
formatQuote
|
|
9
12
|
} from "./chunk-6D6QLRYR.mjs";
|
|
10
|
-
import {
|
|
11
|
-
DropDown
|
|
12
|
-
} from "./chunk-LU2XWLOE.mjs";
|
|
13
13
|
import {
|
|
14
14
|
__spreadProps,
|
|
15
15
|
__spreadValues,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useDebounce
|
|
3
|
-
} from "./chunk-3IILA3IP.mjs";
|
|
4
1
|
import {
|
|
5
2
|
CodeList,
|
|
6
3
|
getLanguageFriendlyName,
|
|
7
4
|
normalizeCodeLang
|
|
8
5
|
} from "./chunk-EEBA6OAH.mjs";
|
|
6
|
+
import {
|
|
7
|
+
useDebounce
|
|
8
|
+
} from "./chunk-3IILA3IP.mjs";
|
|
9
9
|
import {
|
|
10
10
|
DropDown
|
|
11
11
|
} from "./chunk-LU2XWLOE.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
DropDown
|
|
3
|
+
} from "./chunk-LU2XWLOE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
SHORTCUTS
|
|
6
6
|
} from "./chunk-K5OAFEVY.mjs";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
clearFormatting
|
|
9
|
+
} from "./chunk-6D6QLRYR.mjs";
|
|
10
10
|
import {
|
|
11
11
|
__spreadProps,
|
|
12
12
|
__spreadValues,
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Label
|
|
3
|
-
} from "./chunk-PFH63ZU4.mjs";
|
|
4
1
|
import {
|
|
5
2
|
useVersionHistory
|
|
6
3
|
} from "./chunk-J6ZUY5BY.mjs";
|
|
@@ -12,6 +9,9 @@ import {
|
|
|
12
9
|
COLLAB_SERVER_PRESETS,
|
|
13
10
|
useCollab
|
|
14
11
|
} from "./chunk-RJQTA6HG.mjs";
|
|
12
|
+
import {
|
|
13
|
+
Label
|
|
14
|
+
} from "./chunk-PFH63ZU4.mjs";
|
|
15
15
|
import {
|
|
16
16
|
Input
|
|
17
17
|
} from "./chunk-5NRAXWYA.mjs";
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Textarea
|
|
3
3
|
} from "./chunk-3JN6QEJR.mjs";
|
|
4
|
+
import {
|
|
5
|
+
Tabs,
|
|
6
|
+
TabsList,
|
|
7
|
+
TabsTrigger
|
|
8
|
+
} from "./chunk-6UVNHT3T.mjs";
|
|
4
9
|
import {
|
|
5
10
|
DropdownMenu,
|
|
6
11
|
DropdownMenuContent,
|
|
@@ -13,11 +18,6 @@ import {
|
|
|
13
18
|
import {
|
|
14
19
|
useCollab
|
|
15
20
|
} from "./chunk-RJQTA6HG.mjs";
|
|
16
|
-
import {
|
|
17
|
-
Tabs,
|
|
18
|
-
TabsList,
|
|
19
|
-
TabsTrigger
|
|
20
|
-
} from "./chunk-6UVNHT3T.mjs";
|
|
21
21
|
import {
|
|
22
22
|
Button
|
|
23
23
|
} from "./chunk-OE5JRLCN.mjs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
Label
|
|
4
|
-
} from "./chunk-PFH63ZU4.mjs";
|
|
5
|
-
import {
|
|
6
|
-
INSERT_AUDIO_COMMAND
|
|
7
|
-
} from "./chunk-XYMXGU4T.mjs";
|
|
8
2
|
import {
|
|
9
3
|
Tabs,
|
|
10
4
|
TabsContent,
|
|
11
5
|
TabsList,
|
|
12
6
|
TabsTrigger
|
|
13
7
|
} from "./chunk-6UVNHT3T.mjs";
|
|
8
|
+
import {
|
|
9
|
+
INSERT_AUDIO_COMMAND
|
|
10
|
+
} from "./chunk-XYMXGU4T.mjs";
|
|
11
|
+
import {
|
|
12
|
+
Label
|
|
13
|
+
} from "./chunk-PFH63ZU4.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Input
|
|
16
16
|
} from "./chunk-5NRAXWYA.mjs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
Label
|
|
4
|
-
} from "./chunk-PFH63ZU4.mjs";
|
|
5
|
-
import {
|
|
6
|
-
INSERT_FILE_COMMAND
|
|
7
|
-
} from "./chunk-ZFV2HGD3.mjs";
|
|
8
2
|
import {
|
|
9
3
|
Tabs,
|
|
10
4
|
TabsContent,
|
|
11
5
|
TabsList,
|
|
12
6
|
TabsTrigger
|
|
13
7
|
} from "./chunk-6UVNHT3T.mjs";
|
|
8
|
+
import {
|
|
9
|
+
INSERT_FILE_COMMAND
|
|
10
|
+
} from "./chunk-ZFV2HGD3.mjs";
|
|
11
|
+
import {
|
|
12
|
+
Label
|
|
13
|
+
} from "./chunk-PFH63ZU4.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Input
|
|
16
16
|
} from "./chunk-5NRAXWYA.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
SHORTCUTS
|
|
3
|
-
} from "./chunk-K5OAFEVY.mjs";
|
|
4
1
|
import {
|
|
5
2
|
DropDown
|
|
6
3
|
} from "./chunk-LU2XWLOE.mjs";
|
|
4
|
+
import {
|
|
5
|
+
SHORTCUTS
|
|
6
|
+
} from "./chunk-K5OAFEVY.mjs";
|
|
7
7
|
import "./chunk-H3P47YXJ.mjs";
|
|
8
8
|
import "./chunk-OE5JRLCN.mjs";
|
|
9
9
|
import "./chunk-IIVB6JNE.mjs";
|