mal-ui 0.1.3
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 +244 -0
- package/dist/carousel/extensions.d.ts +1 -0
- package/dist/carousel/index.d.ts +2 -0
- package/dist/carousel/index.js +424 -0
- package/dist/carousel/index.js.map +15 -0
- package/dist/charts/extensions.d.ts +1 -0
- package/dist/charts/index.d.ts +2 -0
- package/dist/charts/index.js +3499 -0
- package/dist/charts/index.js.map +53 -0
- package/dist/chunks/index-3ffbn0gc.js +29976 -0
- package/dist/chunks/index-3ffbn0gc.js.map +637 -0
- package/dist/chunks/index-6b5mapr4.js +2 -0
- package/dist/chunks/index-6b5mapr4.js.map +9 -0
- package/dist/chunks/index-6tm93gww.js +38 -0
- package/dist/chunks/index-6tm93gww.js.map +10 -0
- package/dist/chunks/index-cg10ezdx.js +2 -0
- package/dist/chunks/index-cg10ezdx.js.map +9 -0
- package/dist/chunks/index-mc01z7m9.js +48 -0
- package/dist/chunks/index-mc01z7m9.js.map +9 -0
- package/dist/chunks/index-rz8zh7g4.js +5015 -0
- package/dist/chunks/index-rz8zh7g4.js.map +113 -0
- package/dist/chunks/index-syjq3515.js +4893 -0
- package/dist/chunks/index-syjq3515.js.map +101 -0
- package/dist/chunks/index-w9ekv5h5.js +733 -0
- package/dist/chunks/index-w9ekv5h5.js.map +17 -0
- package/dist/code-highlight/extensions.d.ts +1 -0
- package/dist/code-highlight/index.d.ts +2 -0
- package/dist/code-highlight/index.js +1685 -0
- package/dist/code-highlight/index.js.map +25 -0
- package/dist/core/extensions.d.ts +2 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +844 -0
- package/dist/core/index.js.map +9 -0
- package/dist/dates/extensions.d.ts +1 -0
- package/dist/dates/index.d.ts +2 -0
- package/dist/dates/index.js +107 -0
- package/dist/dates/index.js.map +9 -0
- package/dist/dropzone/extensions.d.ts +1 -0
- package/dist/dropzone/index.d.ts +2 -0
- package/dist/dropzone/index.js +2681 -0
- package/dist/dropzone/index.js.map +21 -0
- package/dist/form/extensions.d.ts +1 -0
- package/dist/form/index.d.ts +2 -0
- package/dist/form/index.js +1605 -0
- package/dist/form/index.js.map +51 -0
- package/dist/hooks/extensions.d.ts +1 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +214 -0
- package/dist/hooks/index.js.map +9 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1052 -0
- package/dist/index.js.map +9 -0
- package/dist/modals/extensions.d.ts +1 -0
- package/dist/modals/index.d.ts +2 -0
- package/dist/modals/index.js +387 -0
- package/dist/modals/index.js.map +15 -0
- package/dist/notifications/extensions.d.ts +1 -0
- package/dist/notifications/index.d.ts +2 -0
- package/dist/notifications/index.js +1122 -0
- package/dist/notifications/index.js.map +28 -0
- package/dist/nprogress/extensions.d.ts +1 -0
- package/dist/nprogress/index.d.ts +2 -0
- package/dist/nprogress/index.js +207 -0
- package/dist/nprogress/index.js.map +12 -0
- package/dist/schedule/extensions.d.ts +1 -0
- package/dist/schedule/index.d.ts +2 -0
- package/dist/schedule/index.js +8569 -0
- package/dist/schedule/index.js.map +135 -0
- package/dist/spotlight/extensions.d.ts +1 -0
- package/dist/spotlight/index.d.ts +2 -0
- package/dist/spotlight/index.js +666 -0
- package/dist/spotlight/index.js.map +24 -0
- package/dist/styles.css +1 -0
- package/dist/theme/index.d.ts +13 -0
- package/dist/theme/index.js +202 -0
- package/dist/theme/index.js.map +11 -0
- package/dist/theme/tokens.d.ts +65 -0
- package/dist/tiptap/extensions.d.ts +1 -0
- package/dist/tiptap/index.d.ts +2 -0
- package/dist/tiptap/index.js +1549 -0
- package/dist/tiptap/index.js.map +25 -0
- package/package.json +163 -0
|
@@ -0,0 +1,1549 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
ActionIcon,
|
|
4
|
+
Box,
|
|
5
|
+
Button,
|
|
6
|
+
ColorPicker,
|
|
7
|
+
ColorSwatch,
|
|
8
|
+
Group,
|
|
9
|
+
Popover,
|
|
10
|
+
SimpleGrid,
|
|
11
|
+
TextInput,
|
|
12
|
+
Tooltip,
|
|
13
|
+
Typography,
|
|
14
|
+
UnstyledButton,
|
|
15
|
+
createSafeContext,
|
|
16
|
+
factory,
|
|
17
|
+
rem,
|
|
18
|
+
useProps,
|
|
19
|
+
useResolvedStylesApi,
|
|
20
|
+
useStyles
|
|
21
|
+
} from "../chunks/index-3ffbn0gc.js";
|
|
22
|
+
import {
|
|
23
|
+
useDisclosure,
|
|
24
|
+
useInputState,
|
|
25
|
+
useWindowEvent
|
|
26
|
+
} from "../chunks/index-syjq3515.js";
|
|
27
|
+
import"../chunks/index-mc01z7m9.js";
|
|
28
|
+
|
|
29
|
+
// node_modules/@mantine/tiptap/esm/extensions/Link.mjs
|
|
30
|
+
import TipTapLink from "@tiptap/extension-link";
|
|
31
|
+
|
|
32
|
+
var Link = TipTapLink.extend({ addKeyboardShortcuts: () => ({ "Mod-k": () => {
|
|
33
|
+
window.dispatchEvent(new Event("edit-link"));
|
|
34
|
+
return true;
|
|
35
|
+
} }) }).configure({ openOnClick: false });
|
|
36
|
+
|
|
37
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditor.module.mjs
|
|
38
|
+
|
|
39
|
+
var RichTextEditor_module_default = {
|
|
40
|
+
root: "m_dd3f7539",
|
|
41
|
+
Typography: "m_f2016866",
|
|
42
|
+
content: "m_c2204cc2",
|
|
43
|
+
linkEditorDropdown: "m_8a991b4f",
|
|
44
|
+
control: "m_c2207da6",
|
|
45
|
+
controlIcon: "m_9cdfeb3f",
|
|
46
|
+
controlsGroup: "m_2ab47ef2",
|
|
47
|
+
linkEditor: "m_b67b711e",
|
|
48
|
+
linkEditorInput: "m_296cf94c",
|
|
49
|
+
linkEditorExternalControl: "m_cfef614",
|
|
50
|
+
linkEditorSave: "m_3b28e7bb",
|
|
51
|
+
toolbar: "m_4574a3c4",
|
|
52
|
+
taskList: "m_8b44009a"
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
// node_modules/@mantine/tiptap/esm/extensions/TaskList.mjs
|
|
56
|
+
|
|
57
|
+
var getTaskListExtension = (TipTapTaskList) => TipTapTaskList.extend({ addKeyboardShortcuts: () => ({
|
|
58
|
+
"Mod-[": ({ editor }) => {
|
|
59
|
+
editor.chain().focus().liftListItem("taskItem").run();
|
|
60
|
+
return true;
|
|
61
|
+
},
|
|
62
|
+
"Mod-]": ({ editor }) => {
|
|
63
|
+
editor.chain().focus().sinkListItem("taskItem").run();
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
}) }).configure({ HTMLAttributes: { class: `${RichTextEditor_module_default.taskList} mantine-RichTextEditor-taskList` } });
|
|
67
|
+
|
|
68
|
+
// node_modules/@mantine/tiptap/esm/labels.mjs
|
|
69
|
+
|
|
70
|
+
var DEFAULT_LABELS = {
|
|
71
|
+
linkControlLabel: "Link",
|
|
72
|
+
colorPickerControlLabel: "Text color",
|
|
73
|
+
highlightControlLabel: "Highlight text",
|
|
74
|
+
colorControlLabel: (color) => `Set text color ${color}`,
|
|
75
|
+
boldControlLabel: "Bold",
|
|
76
|
+
italicControlLabel: "Italic",
|
|
77
|
+
underlineControlLabel: "Underline",
|
|
78
|
+
strikeControlLabel: "Strikethrough",
|
|
79
|
+
clearFormattingControlLabel: "Clear formatting",
|
|
80
|
+
unlinkControlLabel: "Remove link",
|
|
81
|
+
bulletListControlLabel: "Bullet list",
|
|
82
|
+
orderedListControlLabel: "Ordered list",
|
|
83
|
+
sourceCodeControlLabel: "Switch between text/source code",
|
|
84
|
+
h1ControlLabel: "Heading 1",
|
|
85
|
+
h2ControlLabel: "Heading 2",
|
|
86
|
+
h3ControlLabel: "Heading 3",
|
|
87
|
+
h4ControlLabel: "Heading 4",
|
|
88
|
+
h5ControlLabel: "Heading 5",
|
|
89
|
+
h6ControlLabel: "Heading 6",
|
|
90
|
+
blockquoteControlLabel: "Blockquote",
|
|
91
|
+
alignLeftControlLabel: "Align text: left",
|
|
92
|
+
alignCenterControlLabel: "Align text: center",
|
|
93
|
+
alignRightControlLabel: "Align text: right",
|
|
94
|
+
alignJustifyControlLabel: "Align text: justify",
|
|
95
|
+
codeControlLabel: "Code",
|
|
96
|
+
codeBlockControlLabel: "Code block",
|
|
97
|
+
subscriptControlLabel: "Subscript",
|
|
98
|
+
superscriptControlLabel: "Superscript",
|
|
99
|
+
unsetColorControlLabel: "Unset color",
|
|
100
|
+
hrControlLabel: "Horizontal line",
|
|
101
|
+
undoControlLabel: "Undo",
|
|
102
|
+
redoControlLabel: "Redo",
|
|
103
|
+
tasksControlLabel: "Task list",
|
|
104
|
+
tasksSinkLabel: "Decrease task level",
|
|
105
|
+
tasksLiftLabel: "Increase task level",
|
|
106
|
+
linkEditorInputLabel: "Enter URL",
|
|
107
|
+
linkEditorInputPlaceholder: "https://example.com/",
|
|
108
|
+
linkEditorExternalLink: "Open link in a new tab",
|
|
109
|
+
linkEditorInternalLink: "Open link in the same tab",
|
|
110
|
+
linkEditorSave: "Save",
|
|
111
|
+
colorPickerCancel: "Cancel",
|
|
112
|
+
colorPickerClear: "Clear color",
|
|
113
|
+
colorPickerColorPicker: "Color picker",
|
|
114
|
+
colorPickerPalette: "Color palette",
|
|
115
|
+
colorPickerSave: "Save",
|
|
116
|
+
colorPickerColorLabel: (color) => `Set text color ${color}`
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditor.context.mjs
|
|
120
|
+
|
|
121
|
+
var [RichTextEditorProvider, useRichTextEditorContext] = createSafeContext("RichTextEditor component was not found in tree");
|
|
122
|
+
|
|
123
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditorContent/RichTextEditorContent.mjs
|
|
124
|
+
import { EditorContent } from "@tiptap/react";
|
|
125
|
+
import { jsx } from "react/jsx-runtime";
|
|
126
|
+
|
|
127
|
+
var RichTextEditorContent = factory((_props) => {
|
|
128
|
+
const { classNames, className, style, styles, vars, ...others } = useProps("RichTextEditorContent", null, _props);
|
|
129
|
+
const ctx = useRichTextEditorContext();
|
|
130
|
+
if (ctx.withTypographyStyles)
|
|
131
|
+
return /* @__PURE__ */ jsx(Typography, {
|
|
132
|
+
...ctx.getStyles("Typography", {
|
|
133
|
+
className,
|
|
134
|
+
style,
|
|
135
|
+
styles,
|
|
136
|
+
classNames
|
|
137
|
+
}),
|
|
138
|
+
unstyled: ctx.unstyled,
|
|
139
|
+
children: /* @__PURE__ */ jsx(Box, {
|
|
140
|
+
component: EditorContent,
|
|
141
|
+
editor: ctx.editor,
|
|
142
|
+
...ctx.getStyles("content", {
|
|
143
|
+
classNames,
|
|
144
|
+
styles
|
|
145
|
+
}),
|
|
146
|
+
...others
|
|
147
|
+
})
|
|
148
|
+
});
|
|
149
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
150
|
+
component: EditorContent,
|
|
151
|
+
editor: ctx.editor,
|
|
152
|
+
...ctx.getStyles("content", {
|
|
153
|
+
classNames,
|
|
154
|
+
styles,
|
|
155
|
+
className,
|
|
156
|
+
style
|
|
157
|
+
}),
|
|
158
|
+
...others
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
RichTextEditorContent.classes = RichTextEditor_module_default;
|
|
162
|
+
RichTextEditorContent.displayName = "@mantine/tiptap/RichTextEditorContent";
|
|
163
|
+
|
|
164
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditorControl/RichTextEditorControl.mjs
|
|
165
|
+
import { useEditorState } from "@tiptap/react";
|
|
166
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
167
|
+
|
|
168
|
+
var defaultProps = { interactive: true };
|
|
169
|
+
var RichTextEditorControl = factory((_props) => {
|
|
170
|
+
const { classNames, className, style, styles, vars, interactive, active, onMouseDown, disabled, ...others } = useProps("RichTextEditorControl", defaultProps, _props);
|
|
171
|
+
const ctx = useRichTextEditorContext();
|
|
172
|
+
return /* @__PURE__ */ jsx2(UnstyledButton, {
|
|
173
|
+
...others,
|
|
174
|
+
...ctx.getStyles("control", {
|
|
175
|
+
className,
|
|
176
|
+
style,
|
|
177
|
+
classNames,
|
|
178
|
+
styles
|
|
179
|
+
}),
|
|
180
|
+
disabled,
|
|
181
|
+
"data-rich-text-editor-control": true,
|
|
182
|
+
tabIndex: interactive ? 0 : -1,
|
|
183
|
+
"data-interactive": interactive || undefined,
|
|
184
|
+
"data-disabled": disabled || undefined,
|
|
185
|
+
"data-active": active || undefined,
|
|
186
|
+
"aria-pressed": active && interactive || undefined,
|
|
187
|
+
"aria-hidden": !interactive || undefined,
|
|
188
|
+
unstyled: ctx.unstyled,
|
|
189
|
+
variant: ctx.variant || "default",
|
|
190
|
+
onMouseDown: (event) => {
|
|
191
|
+
event.preventDefault();
|
|
192
|
+
onMouseDown?.(event);
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
RichTextEditorControl.classes = RichTextEditor_module_default;
|
|
197
|
+
RichTextEditorControl.displayName = "@mantine/tiptap/RichTextEditorControl";
|
|
198
|
+
function RichTextEditorControlBase({ className, icon: Icon, ...others }) {
|
|
199
|
+
const ctx = useRichTextEditorContext();
|
|
200
|
+
return /* @__PURE__ */ jsx2(RichTextEditorControl, {
|
|
201
|
+
...others,
|
|
202
|
+
children: /* @__PURE__ */ jsx2(Icon, { ...ctx.getStyles("controlIcon") })
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
RichTextEditorControlBase.displayName = "@mantine/tiptap/RichTextEditorControlBase";
|
|
206
|
+
function createControl({ label, isActive, operation, icon, isDisabled }) {
|
|
207
|
+
const Control = (props) => {
|
|
208
|
+
const { editor, labels } = useRichTextEditorContext();
|
|
209
|
+
const _label = labels[label];
|
|
210
|
+
const editorState = useEditorState({
|
|
211
|
+
editor: editor ?? null,
|
|
212
|
+
selector: (ctx) => ({
|
|
213
|
+
active: isActive?.name ? ctx.editor?.isActive(isActive.name, isActive.attributes) ?? false : false,
|
|
214
|
+
disabled: isDisabled?.(ctx.editor) ?? false
|
|
215
|
+
})
|
|
216
|
+
});
|
|
217
|
+
const active = editorState?.active ?? false;
|
|
218
|
+
const disabled = editorState?.disabled ?? false;
|
|
219
|
+
return /* @__PURE__ */ jsx2(RichTextEditorControlBase, {
|
|
220
|
+
"aria-label": _label,
|
|
221
|
+
title: _label,
|
|
222
|
+
active,
|
|
223
|
+
icon: props.icon || icon,
|
|
224
|
+
disabled,
|
|
225
|
+
...props,
|
|
226
|
+
onClick: () => editor?.chain().focus()[operation.name](operation.attributes).run()
|
|
227
|
+
});
|
|
228
|
+
};
|
|
229
|
+
Control.displayName = `@mantine/tiptap/${label}`;
|
|
230
|
+
return Control;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// node_modules/@mantine/tiptap/esm/icons/Icons.mjs
|
|
234
|
+
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
235
|
+
|
|
236
|
+
function IconBase(props) {
|
|
237
|
+
return /* @__PURE__ */ jsx3("svg", {
|
|
238
|
+
...props,
|
|
239
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
240
|
+
viewBox: "0 0 24 24",
|
|
241
|
+
strokeWidth: "1.5",
|
|
242
|
+
stroke: "currentColor",
|
|
243
|
+
fill: "none",
|
|
244
|
+
strokeLinecap: "round",
|
|
245
|
+
strokeLinejoin: "round"
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
function IconBold(props) {
|
|
249
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
250
|
+
...props,
|
|
251
|
+
children: [
|
|
252
|
+
/* @__PURE__ */ jsx3("path", {
|
|
253
|
+
stroke: "none",
|
|
254
|
+
d: "M0 0h24v24H0z",
|
|
255
|
+
fill: "none"
|
|
256
|
+
}),
|
|
257
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 5h6a3.5 3.5 0 0 1 0 7h-6z" }),
|
|
258
|
+
/* @__PURE__ */ jsx3("path", { d: "M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7" })
|
|
259
|
+
]
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
function IconItalic(props) {
|
|
263
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
264
|
+
...props,
|
|
265
|
+
children: [
|
|
266
|
+
/* @__PURE__ */ jsx3("path", {
|
|
267
|
+
stroke: "none",
|
|
268
|
+
d: "M0 0h24v24H0z",
|
|
269
|
+
fill: "none"
|
|
270
|
+
}),
|
|
271
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 5l6 0" }),
|
|
272
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 19l6 0" }),
|
|
273
|
+
/* @__PURE__ */ jsx3("path", { d: "M14 5l-4 14" })
|
|
274
|
+
]
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
function IconUnderline(props) {
|
|
278
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
279
|
+
...props,
|
|
280
|
+
children: [
|
|
281
|
+
/* @__PURE__ */ jsx3("path", {
|
|
282
|
+
stroke: "none",
|
|
283
|
+
d: "M0 0h24v24H0z",
|
|
284
|
+
fill: "none"
|
|
285
|
+
}),
|
|
286
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 5v5a5 5 0 0 0 10 0v-5" }),
|
|
287
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 19h14" })
|
|
288
|
+
]
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
function IconStrikethrough(props) {
|
|
292
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
293
|
+
...props,
|
|
294
|
+
children: [
|
|
295
|
+
/* @__PURE__ */ jsx3("path", {
|
|
296
|
+
stroke: "none",
|
|
297
|
+
d: "M0 0h24v24H0z",
|
|
298
|
+
fill: "none"
|
|
299
|
+
}),
|
|
300
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 12l14 0" }),
|
|
301
|
+
/* @__PURE__ */ jsx3("path", { d: "M16 6.5a4 2 0 0 0 -4 -1.5h-1a3.5 3.5 0 0 0 0 7h2a3.5 3.5 0 0 1 0 7h-1.5a4 2 0 0 1 -4 -1.5" })
|
|
302
|
+
]
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
function IconClearFormatting(props) {
|
|
306
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
307
|
+
...props,
|
|
308
|
+
children: [
|
|
309
|
+
/* @__PURE__ */ jsx3("path", {
|
|
310
|
+
stroke: "none",
|
|
311
|
+
d: "M0 0h24v24H0z",
|
|
312
|
+
fill: "none"
|
|
313
|
+
}),
|
|
314
|
+
/* @__PURE__ */ jsx3("path", { d: "M17 15l4 4m0 -4l-4 4" }),
|
|
315
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 6v-1h11v1" }),
|
|
316
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 19l4 0" }),
|
|
317
|
+
/* @__PURE__ */ jsx3("path", { d: "M13 5l-4 14" })
|
|
318
|
+
]
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
function IconH1(props) {
|
|
322
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
323
|
+
...props,
|
|
324
|
+
children: [
|
|
325
|
+
/* @__PURE__ */ jsx3("path", {
|
|
326
|
+
stroke: "none",
|
|
327
|
+
d: "M0 0h24v24H0z",
|
|
328
|
+
fill: "none"
|
|
329
|
+
}),
|
|
330
|
+
/* @__PURE__ */ jsx3("path", { d: "M19 18v-8l-2 2" }),
|
|
331
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 6v12" }),
|
|
332
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 6v12" }),
|
|
333
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 18h2" }),
|
|
334
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 18h2" }),
|
|
335
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 12h8" }),
|
|
336
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 6h2" }),
|
|
337
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 6h2" })
|
|
338
|
+
]
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
function IconH2(props) {
|
|
342
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
343
|
+
...props,
|
|
344
|
+
children: [
|
|
345
|
+
/* @__PURE__ */ jsx3("path", {
|
|
346
|
+
stroke: "none",
|
|
347
|
+
d: "M0 0h24v24H0z",
|
|
348
|
+
fill: "none"
|
|
349
|
+
}),
|
|
350
|
+
/* @__PURE__ */ jsx3("path", { d: "M17 12a2 2 0 1 1 4 0c0 .591 -.417 1.318 -.816 1.858l-3.184 4.143l4 0" }),
|
|
351
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 6v12" }),
|
|
352
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 6v12" }),
|
|
353
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 18h2" }),
|
|
354
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 18h2" }),
|
|
355
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 12h8" }),
|
|
356
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 6h2" }),
|
|
357
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 6h2" })
|
|
358
|
+
]
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
function IconH3(props) {
|
|
362
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
363
|
+
...props,
|
|
364
|
+
children: [
|
|
365
|
+
/* @__PURE__ */ jsx3("path", {
|
|
366
|
+
stroke: "none",
|
|
367
|
+
d: "M0 0h24v24H0z",
|
|
368
|
+
fill: "none"
|
|
369
|
+
}),
|
|
370
|
+
/* @__PURE__ */ jsx3("path", { d: "M19 14a2 2 0 1 0 -2 -2" }),
|
|
371
|
+
/* @__PURE__ */ jsx3("path", { d: "M17 16a2 2 0 1 0 2 -2" }),
|
|
372
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 6v12" }),
|
|
373
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 6v12" }),
|
|
374
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 18h2" }),
|
|
375
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 18h2" }),
|
|
376
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 12h8" }),
|
|
377
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 6h2" }),
|
|
378
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 6h2" })
|
|
379
|
+
]
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
function IconH4(props) {
|
|
383
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
384
|
+
...props,
|
|
385
|
+
children: [
|
|
386
|
+
/* @__PURE__ */ jsx3("path", {
|
|
387
|
+
stroke: "none",
|
|
388
|
+
d: "M0 0h24v24H0z",
|
|
389
|
+
fill: "none"
|
|
390
|
+
}),
|
|
391
|
+
/* @__PURE__ */ jsx3("path", { d: "M20 18v-8l-4 6h5" }),
|
|
392
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 6v12" }),
|
|
393
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 6v12" }),
|
|
394
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 18h2" }),
|
|
395
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 18h2" }),
|
|
396
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 12h8" }),
|
|
397
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 6h2" }),
|
|
398
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 6h2" })
|
|
399
|
+
]
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
function IconH5(props) {
|
|
403
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
404
|
+
...props,
|
|
405
|
+
children: [
|
|
406
|
+
/* @__PURE__ */ jsx3("path", {
|
|
407
|
+
stroke: "none",
|
|
408
|
+
d: "M0 0h24v24H0z",
|
|
409
|
+
fill: "none"
|
|
410
|
+
}),
|
|
411
|
+
/* @__PURE__ */ jsx3("path", { d: "M17 18h2a2 2 0 1 0 0 -4h-2v-4h4" }),
|
|
412
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 6v12" }),
|
|
413
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 6v12" }),
|
|
414
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 18h2" }),
|
|
415
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 18h2" }),
|
|
416
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 12h8" }),
|
|
417
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 6h2" }),
|
|
418
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 6h2" })
|
|
419
|
+
]
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
function IconH6(props) {
|
|
423
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
424
|
+
...props,
|
|
425
|
+
children: [
|
|
426
|
+
/* @__PURE__ */ jsx3("path", {
|
|
427
|
+
stroke: "none",
|
|
428
|
+
d: "M0 0h24v24H0z",
|
|
429
|
+
fill: "none"
|
|
430
|
+
}),
|
|
431
|
+
/* @__PURE__ */ jsx3("path", { d: "M19 14a2 2 0 1 0 0 4a2 2 0 0 0 0 -4z" }),
|
|
432
|
+
/* @__PURE__ */ jsx3("path", { d: "M21 12a2 2 0 1 0 -4 0v4" }),
|
|
433
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 6v12" }),
|
|
434
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 6v12" }),
|
|
435
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 18h2" }),
|
|
436
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 18h2" }),
|
|
437
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 12h8" }),
|
|
438
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 6h2" }),
|
|
439
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 6h2" })
|
|
440
|
+
]
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
function IconList(props) {
|
|
444
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
445
|
+
...props,
|
|
446
|
+
children: [
|
|
447
|
+
/* @__PURE__ */ jsx3("path", {
|
|
448
|
+
stroke: "none",
|
|
449
|
+
d: "M0 0h24v24H0z",
|
|
450
|
+
fill: "none"
|
|
451
|
+
}),
|
|
452
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 6l11 0" }),
|
|
453
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 12l11 0" }),
|
|
454
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 18l11 0" }),
|
|
455
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 6l0 .01" }),
|
|
456
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 12l0 .01" }),
|
|
457
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 18l0 .01" })
|
|
458
|
+
]
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
function IconListNumbers(props) {
|
|
462
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
463
|
+
...props,
|
|
464
|
+
children: [
|
|
465
|
+
/* @__PURE__ */ jsx3("path", {
|
|
466
|
+
stroke: "none",
|
|
467
|
+
d: "M0 0h24v24H0z",
|
|
468
|
+
fill: "none"
|
|
469
|
+
}),
|
|
470
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 6h9" }),
|
|
471
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 12h9" }),
|
|
472
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 18h8" }),
|
|
473
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 16a2 2 0 1 1 4 0c0 .591 -.5 1 -1 1.5l-3 2.5h4" }),
|
|
474
|
+
/* @__PURE__ */ jsx3("path", { d: "M6 10v-6l-2 2" })
|
|
475
|
+
]
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
function IconUnlink(props) {
|
|
479
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
480
|
+
...props,
|
|
481
|
+
children: [
|
|
482
|
+
/* @__PURE__ */ jsx3("path", {
|
|
483
|
+
stroke: "none",
|
|
484
|
+
d: "M0 0h24v24H0z",
|
|
485
|
+
fill: "none"
|
|
486
|
+
}),
|
|
487
|
+
/* @__PURE__ */ jsx3("path", { d: "M17 22v-2" }),
|
|
488
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 15l6 -6" }),
|
|
489
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464" }),
|
|
490
|
+
/* @__PURE__ */ jsx3("path", { d: "M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463" }),
|
|
491
|
+
/* @__PURE__ */ jsx3("path", { d: "M20 17h2" }),
|
|
492
|
+
/* @__PURE__ */ jsx3("path", { d: "M2 7h2" }),
|
|
493
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 2v2" })
|
|
494
|
+
]
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
function IconBlockquote(props) {
|
|
498
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
499
|
+
...props,
|
|
500
|
+
children: [
|
|
501
|
+
/* @__PURE__ */ jsx3("path", {
|
|
502
|
+
stroke: "none",
|
|
503
|
+
d: "M0 0h24v24H0z",
|
|
504
|
+
fill: "none"
|
|
505
|
+
}),
|
|
506
|
+
/* @__PURE__ */ jsx3("path", { d: "M6 15h15" }),
|
|
507
|
+
/* @__PURE__ */ jsx3("path", { d: "M21 19h-15" }),
|
|
508
|
+
/* @__PURE__ */ jsx3("path", { d: "M15 11h6" }),
|
|
509
|
+
/* @__PURE__ */ jsx3("path", { d: "M21 7h-6" }),
|
|
510
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 9h1a1 1 0 1 1 -1 1v-2.5a2 2 0 0 1 2 -2" }),
|
|
511
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 9h1a1 1 0 1 1 -1 1v-2.5a2 2 0 0 1 2 -2" })
|
|
512
|
+
]
|
|
513
|
+
});
|
|
514
|
+
}
|
|
515
|
+
function IconAlignLeft(props) {
|
|
516
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
517
|
+
...props,
|
|
518
|
+
children: [
|
|
519
|
+
/* @__PURE__ */ jsx3("path", {
|
|
520
|
+
stroke: "none",
|
|
521
|
+
d: "M0 0h24v24H0z",
|
|
522
|
+
fill: "none"
|
|
523
|
+
}),
|
|
524
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 6l16 0" }),
|
|
525
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 12l10 0" }),
|
|
526
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 18l14 0" })
|
|
527
|
+
]
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
function IconAlignRight(props) {
|
|
531
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
532
|
+
...props,
|
|
533
|
+
children: [
|
|
534
|
+
/* @__PURE__ */ jsx3("path", {
|
|
535
|
+
stroke: "none",
|
|
536
|
+
d: "M0 0h24v24H0z",
|
|
537
|
+
fill: "none"
|
|
538
|
+
}),
|
|
539
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 6l16 0" }),
|
|
540
|
+
/* @__PURE__ */ jsx3("path", { d: "M10 12l10 0" }),
|
|
541
|
+
/* @__PURE__ */ jsx3("path", { d: "M6 18l14 0" })
|
|
542
|
+
]
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
function IconAlignCenter(props) {
|
|
546
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
547
|
+
...props,
|
|
548
|
+
children: [
|
|
549
|
+
/* @__PURE__ */ jsx3("path", {
|
|
550
|
+
stroke: "none",
|
|
551
|
+
d: "M0 0h24v24H0z",
|
|
552
|
+
fill: "none"
|
|
553
|
+
}),
|
|
554
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 6l16 0" }),
|
|
555
|
+
/* @__PURE__ */ jsx3("path", { d: "M8 12l8 0" }),
|
|
556
|
+
/* @__PURE__ */ jsx3("path", { d: "M6 18l12 0" })
|
|
557
|
+
]
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
function IconAlignJustified(props) {
|
|
561
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
562
|
+
...props,
|
|
563
|
+
children: [
|
|
564
|
+
/* @__PURE__ */ jsx3("path", {
|
|
565
|
+
stroke: "none",
|
|
566
|
+
d: "M0 0h24v24H0z",
|
|
567
|
+
fill: "none"
|
|
568
|
+
}),
|
|
569
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 6l16 0" }),
|
|
570
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 12l16 0" }),
|
|
571
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 18l12 0" })
|
|
572
|
+
]
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
function IconSubscript(props) {
|
|
576
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
577
|
+
...props,
|
|
578
|
+
children: [
|
|
579
|
+
/* @__PURE__ */ jsx3("path", {
|
|
580
|
+
stroke: "none",
|
|
581
|
+
d: "M0 0h24v24H0z",
|
|
582
|
+
fill: "none"
|
|
583
|
+
}),
|
|
584
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 7l8 10m-8 0l8 -10" }),
|
|
585
|
+
/* @__PURE__ */ jsx3("path", { d: "M21 20h-4l3.5 -4a1.73 1.73 0 0 0 -3.5 -2" })
|
|
586
|
+
]
|
|
587
|
+
});
|
|
588
|
+
}
|
|
589
|
+
function IconSuperscript(props) {
|
|
590
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
591
|
+
...props,
|
|
592
|
+
children: [
|
|
593
|
+
/* @__PURE__ */ jsx3("path", {
|
|
594
|
+
stroke: "none",
|
|
595
|
+
d: "M0 0h24v24H0z",
|
|
596
|
+
fill: "none"
|
|
597
|
+
}),
|
|
598
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 7l8 10m-8 0l8 -10" }),
|
|
599
|
+
/* @__PURE__ */ jsx3("path", { d: "M21 11h-4l3.5 -4a1.73 1.73 0 0 0 -3.5 -2" })
|
|
600
|
+
]
|
|
601
|
+
});
|
|
602
|
+
}
|
|
603
|
+
function IconCode(props) {
|
|
604
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
605
|
+
...props,
|
|
606
|
+
children: [
|
|
607
|
+
/* @__PURE__ */ jsx3("path", {
|
|
608
|
+
stroke: "none",
|
|
609
|
+
d: "M0 0h24v24H0z",
|
|
610
|
+
fill: "none"
|
|
611
|
+
}),
|
|
612
|
+
/* @__PURE__ */ jsx3("path", { d: "M7 8l-4 4l4 4" }),
|
|
613
|
+
/* @__PURE__ */ jsx3("path", { d: "M17 8l4 4l-4 4" }),
|
|
614
|
+
/* @__PURE__ */ jsx3("path", { d: "M14 4l-4 16" })
|
|
615
|
+
]
|
|
616
|
+
});
|
|
617
|
+
}
|
|
618
|
+
function IconHighlight(props) {
|
|
619
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
620
|
+
...props,
|
|
621
|
+
children: [
|
|
622
|
+
/* @__PURE__ */ jsx3("path", {
|
|
623
|
+
stroke: "none",
|
|
624
|
+
d: "M0 0h24v24H0z",
|
|
625
|
+
fill: "none"
|
|
626
|
+
}),
|
|
627
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 19h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" }),
|
|
628
|
+
/* @__PURE__ */ jsx3("path", { d: "M12.5 5.5l4 4" }),
|
|
629
|
+
/* @__PURE__ */ jsx3("path", { d: "M4.5 13.5l4 4" }),
|
|
630
|
+
/* @__PURE__ */ jsx3("path", { d: "M21 15v4h-8l4 -4z" })
|
|
631
|
+
]
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
function IconLineDashed(props) {
|
|
635
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
636
|
+
...props,
|
|
637
|
+
children: [
|
|
638
|
+
/* @__PURE__ */ jsx3("path", {
|
|
639
|
+
stroke: "none",
|
|
640
|
+
d: "M0 0h24v24H0z",
|
|
641
|
+
fill: "none"
|
|
642
|
+
}),
|
|
643
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 12h2" }),
|
|
644
|
+
/* @__PURE__ */ jsx3("path", { d: "M17 12h2" }),
|
|
645
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 12h2" })
|
|
646
|
+
]
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
function IconCircleOff(props) {
|
|
650
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
651
|
+
...props,
|
|
652
|
+
children: [
|
|
653
|
+
/* @__PURE__ */ jsx3("path", {
|
|
654
|
+
stroke: "none",
|
|
655
|
+
d: "M0 0h24v24H0z",
|
|
656
|
+
fill: "none"
|
|
657
|
+
}),
|
|
658
|
+
/* @__PURE__ */ jsx3("path", { d: "M20.042 16.045a9 9 0 0 0 -12.087 -12.087m-2.318 1.677a9 9 0 1 0 12.725 12.73" }),
|
|
659
|
+
/* @__PURE__ */ jsx3("path", { d: "M3 3l18 18" })
|
|
660
|
+
]
|
|
661
|
+
});
|
|
662
|
+
}
|
|
663
|
+
function IconColorPicker(props) {
|
|
664
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
665
|
+
...props,
|
|
666
|
+
children: [
|
|
667
|
+
/* @__PURE__ */ jsx3("path", {
|
|
668
|
+
stroke: "none",
|
|
669
|
+
d: "M0 0h24v24H0z",
|
|
670
|
+
fill: "none"
|
|
671
|
+
}),
|
|
672
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 7l6 6" }),
|
|
673
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 16l11.7 -11.7a1 1 0 0 1 1.4 0l2.6 2.6a1 1 0 0 1 0 1.4l-11.7 11.7h-4v-4z" })
|
|
674
|
+
]
|
|
675
|
+
});
|
|
676
|
+
}
|
|
677
|
+
function IconX(props) {
|
|
678
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
679
|
+
...props,
|
|
680
|
+
children: [
|
|
681
|
+
/* @__PURE__ */ jsx3("path", {
|
|
682
|
+
stroke: "none",
|
|
683
|
+
d: "M0 0h24v24H0z",
|
|
684
|
+
fill: "none"
|
|
685
|
+
}),
|
|
686
|
+
/* @__PURE__ */ jsx3("path", { d: "M18 6l-12 12" }),
|
|
687
|
+
/* @__PURE__ */ jsx3("path", { d: "M6 6l12 12" })
|
|
688
|
+
]
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
function IconPalette(props) {
|
|
692
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
693
|
+
...props,
|
|
694
|
+
children: [
|
|
695
|
+
/* @__PURE__ */ jsx3("path", {
|
|
696
|
+
stroke: "none",
|
|
697
|
+
d: "M0 0h24v24H0z",
|
|
698
|
+
fill: "none"
|
|
699
|
+
}),
|
|
700
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25" }),
|
|
701
|
+
/* @__PURE__ */ jsx3("path", { d: "M8.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }),
|
|
702
|
+
/* @__PURE__ */ jsx3("path", { d: "M12.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }),
|
|
703
|
+
/* @__PURE__ */ jsx3("path", { d: "M16.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" })
|
|
704
|
+
]
|
|
705
|
+
});
|
|
706
|
+
}
|
|
707
|
+
function IconCheck(props) {
|
|
708
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
709
|
+
...props,
|
|
710
|
+
children: [/* @__PURE__ */ jsx3("path", {
|
|
711
|
+
stroke: "none",
|
|
712
|
+
d: "M0 0h24v24H0z",
|
|
713
|
+
fill: "none"
|
|
714
|
+
}), /* @__PURE__ */ jsx3("path", { d: "M5 12l5 5l10 -10" })]
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
function IconLink(props) {
|
|
718
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
719
|
+
...props,
|
|
720
|
+
children: [
|
|
721
|
+
/* @__PURE__ */ jsx3("path", {
|
|
722
|
+
stroke: "none",
|
|
723
|
+
d: "M0 0h24v24H0z",
|
|
724
|
+
fill: "none"
|
|
725
|
+
}),
|
|
726
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 15l6 -6" }),
|
|
727
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464" }),
|
|
728
|
+
/* @__PURE__ */ jsx3("path", { d: "M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463" })
|
|
729
|
+
]
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
function IconExternalLink(props) {
|
|
733
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
734
|
+
...props,
|
|
735
|
+
children: [
|
|
736
|
+
/* @__PURE__ */ jsx3("path", {
|
|
737
|
+
stroke: "none",
|
|
738
|
+
d: "M0 0h24v24H0z",
|
|
739
|
+
fill: "none"
|
|
740
|
+
}),
|
|
741
|
+
/* @__PURE__ */ jsx3("path", { d: "M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6" }),
|
|
742
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 13l9 -9" }),
|
|
743
|
+
/* @__PURE__ */ jsx3("path", { d: "M15 4h5v5" })
|
|
744
|
+
]
|
|
745
|
+
});
|
|
746
|
+
}
|
|
747
|
+
function IconArrowBackUp(props) {
|
|
748
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
749
|
+
...props,
|
|
750
|
+
children: [
|
|
751
|
+
/* @__PURE__ */ jsx3("path", {
|
|
752
|
+
stroke: "none",
|
|
753
|
+
d: "M0 0h24v24H0z",
|
|
754
|
+
fill: "none"
|
|
755
|
+
}),
|
|
756
|
+
/* @__PURE__ */ jsx3("path", { d: "M9 14l-4 -4l4 -4" }),
|
|
757
|
+
/* @__PURE__ */ jsx3("path", { d: "M5 10h11a4 4 0 1 1 0 8h-1" })
|
|
758
|
+
]
|
|
759
|
+
});
|
|
760
|
+
}
|
|
761
|
+
function IconArrowForwardUp(props) {
|
|
762
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
763
|
+
...props,
|
|
764
|
+
children: [
|
|
765
|
+
/* @__PURE__ */ jsx3("path", {
|
|
766
|
+
stroke: "none",
|
|
767
|
+
d: "M0 0h24v24H0z",
|
|
768
|
+
fill: "none"
|
|
769
|
+
}),
|
|
770
|
+
/* @__PURE__ */ jsx3("path", { d: "M15 14l4 -4l-4 -4" }),
|
|
771
|
+
/* @__PURE__ */ jsx3("path", { d: "M19 10h-11a4 4 0 1 0 0 8h1" })
|
|
772
|
+
]
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
function IconListCheck(props) {
|
|
776
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
777
|
+
...props,
|
|
778
|
+
children: [
|
|
779
|
+
/* @__PURE__ */ jsx3("path", {
|
|
780
|
+
stroke: "none",
|
|
781
|
+
d: "M0 0h24v24H0z",
|
|
782
|
+
fill: "none"
|
|
783
|
+
}),
|
|
784
|
+
/* @__PURE__ */ jsx3("path", { d: "M3.5 5.5l1.5 1.5l2.5 -2.5" }),
|
|
785
|
+
/* @__PURE__ */ jsx3("path", { d: "M3.5 11.5l1.5 1.5l2.5 -2.5" }),
|
|
786
|
+
/* @__PURE__ */ jsx3("path", { d: "M3.5 17.5l1.5 1.5l2.5 -2.5" }),
|
|
787
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 6l9 0" }),
|
|
788
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 12l9 0" }),
|
|
789
|
+
/* @__PURE__ */ jsx3("path", { d: "M11 18l9 0" })
|
|
790
|
+
]
|
|
791
|
+
});
|
|
792
|
+
}
|
|
793
|
+
function IconIndentIncrease(props) {
|
|
794
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
795
|
+
...props,
|
|
796
|
+
children: [
|
|
797
|
+
/* @__PURE__ */ jsx3("path", {
|
|
798
|
+
stroke: "none",
|
|
799
|
+
d: "M0 0h24v24H0z",
|
|
800
|
+
fill: "none"
|
|
801
|
+
}),
|
|
802
|
+
/* @__PURE__ */ jsx3("path", { d: "M20 6l-11 0" }),
|
|
803
|
+
/* @__PURE__ */ jsx3("path", { d: "M20 12l-7 0" }),
|
|
804
|
+
/* @__PURE__ */ jsx3("path", { d: "M20 18l-11 0" }),
|
|
805
|
+
/* @__PURE__ */ jsx3("path", { d: "M4 8l4 4l-4 4" })
|
|
806
|
+
]
|
|
807
|
+
});
|
|
808
|
+
}
|
|
809
|
+
function IconIndentDecrease(props) {
|
|
810
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
811
|
+
...props,
|
|
812
|
+
children: [
|
|
813
|
+
/* @__PURE__ */ jsx3("path", {
|
|
814
|
+
stroke: "none",
|
|
815
|
+
d: "M0 0h24v24H0z",
|
|
816
|
+
fill: "none"
|
|
817
|
+
}),
|
|
818
|
+
/* @__PURE__ */ jsx3("path", { d: "M20 6l-7 0" }),
|
|
819
|
+
/* @__PURE__ */ jsx3("path", { d: "M20 12l-9 0" }),
|
|
820
|
+
/* @__PURE__ */ jsx3("path", { d: "M20 18l-7 0" }),
|
|
821
|
+
/* @__PURE__ */ jsx3("path", { d: "M8 8l-4 4l4 4" })
|
|
822
|
+
]
|
|
823
|
+
});
|
|
824
|
+
}
|
|
825
|
+
function IconBraces(props) {
|
|
826
|
+
return /* @__PURE__ */ jsxs(IconBase, {
|
|
827
|
+
...props,
|
|
828
|
+
children: [
|
|
829
|
+
/* @__PURE__ */ jsx3("path", {
|
|
830
|
+
stroke: "none",
|
|
831
|
+
d: "M0 0h24v24H0z",
|
|
832
|
+
fill: "none"
|
|
833
|
+
}),
|
|
834
|
+
/* @__PURE__ */ jsx3("path", { d: `M19 3v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914
|
|
835
|
+
a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18
|
|
836
|
+
a1 1 0 0 1 1 1Z` }),
|
|
837
|
+
/* @__PURE__ */ jsx3("path", { d: "M10 11l-2 2 2 2" }),
|
|
838
|
+
/* @__PURE__ */ jsx3("path", { d: "M14 11l2 2-2 2" })
|
|
839
|
+
]
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditorControl/controls.mjs
|
|
844
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
845
|
+
|
|
846
|
+
var BoldControl = createControl({
|
|
847
|
+
label: "boldControlLabel",
|
|
848
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconBold, { ...props }),
|
|
849
|
+
isActive: { name: "bold" },
|
|
850
|
+
operation: { name: "toggleBold" }
|
|
851
|
+
});
|
|
852
|
+
var ItalicControl = createControl({
|
|
853
|
+
label: "italicControlLabel",
|
|
854
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconItalic, { ...props }),
|
|
855
|
+
isActive: { name: "italic" },
|
|
856
|
+
operation: { name: "toggleItalic" }
|
|
857
|
+
});
|
|
858
|
+
var UnderlineControl = createControl({
|
|
859
|
+
label: "underlineControlLabel",
|
|
860
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconUnderline, { ...props }),
|
|
861
|
+
isActive: { name: "underline" },
|
|
862
|
+
operation: { name: "toggleUnderline" }
|
|
863
|
+
});
|
|
864
|
+
var StrikeThroughControl = createControl({
|
|
865
|
+
label: "strikeControlLabel",
|
|
866
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconStrikethrough, { ...props }),
|
|
867
|
+
isActive: { name: "strike" },
|
|
868
|
+
operation: { name: "toggleStrike" }
|
|
869
|
+
});
|
|
870
|
+
var ClearFormattingControl = createControl({
|
|
871
|
+
label: "clearFormattingControlLabel",
|
|
872
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconClearFormatting, { ...props }),
|
|
873
|
+
operation: { name: "unsetAllMarks" }
|
|
874
|
+
});
|
|
875
|
+
var UnlinkControl = createControl({
|
|
876
|
+
label: "unlinkControlLabel",
|
|
877
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconUnlink, { ...props }),
|
|
878
|
+
operation: { name: "unsetLink" }
|
|
879
|
+
});
|
|
880
|
+
var BulletListControl = createControl({
|
|
881
|
+
label: "bulletListControlLabel",
|
|
882
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconList, { ...props }),
|
|
883
|
+
isActive: { name: "bulletList" },
|
|
884
|
+
operation: { name: "toggleBulletList" }
|
|
885
|
+
});
|
|
886
|
+
var OrderedListControl = createControl({
|
|
887
|
+
label: "orderedListControlLabel",
|
|
888
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconListNumbers, { ...props }),
|
|
889
|
+
isActive: { name: "orderedList" },
|
|
890
|
+
operation: { name: "toggleOrderedList" }
|
|
891
|
+
});
|
|
892
|
+
var H1Control = createControl({
|
|
893
|
+
label: "h1ControlLabel",
|
|
894
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconH1, { ...props }),
|
|
895
|
+
isActive: {
|
|
896
|
+
name: "heading",
|
|
897
|
+
attributes: { level: 1 }
|
|
898
|
+
},
|
|
899
|
+
operation: {
|
|
900
|
+
name: "toggleHeading",
|
|
901
|
+
attributes: { level: 1 }
|
|
902
|
+
}
|
|
903
|
+
});
|
|
904
|
+
var H2Control = createControl({
|
|
905
|
+
label: "h2ControlLabel",
|
|
906
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconH2, { ...props }),
|
|
907
|
+
isActive: {
|
|
908
|
+
name: "heading",
|
|
909
|
+
attributes: { level: 2 }
|
|
910
|
+
},
|
|
911
|
+
operation: {
|
|
912
|
+
name: "toggleHeading",
|
|
913
|
+
attributes: { level: 2 }
|
|
914
|
+
}
|
|
915
|
+
});
|
|
916
|
+
var H3Control = createControl({
|
|
917
|
+
label: "h3ControlLabel",
|
|
918
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconH3, { ...props }),
|
|
919
|
+
isActive: {
|
|
920
|
+
name: "heading",
|
|
921
|
+
attributes: { level: 3 }
|
|
922
|
+
},
|
|
923
|
+
operation: {
|
|
924
|
+
name: "toggleHeading",
|
|
925
|
+
attributes: { level: 3 }
|
|
926
|
+
}
|
|
927
|
+
});
|
|
928
|
+
var H4Control = createControl({
|
|
929
|
+
label: "h4ControlLabel",
|
|
930
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconH4, { ...props }),
|
|
931
|
+
isActive: {
|
|
932
|
+
name: "heading",
|
|
933
|
+
attributes: { level: 4 }
|
|
934
|
+
},
|
|
935
|
+
operation: {
|
|
936
|
+
name: "toggleHeading",
|
|
937
|
+
attributes: { level: 4 }
|
|
938
|
+
}
|
|
939
|
+
});
|
|
940
|
+
var H5Control = createControl({
|
|
941
|
+
label: "h5ControlLabel",
|
|
942
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconH5, { ...props }),
|
|
943
|
+
isActive: {
|
|
944
|
+
name: "heading",
|
|
945
|
+
attributes: { level: 5 }
|
|
946
|
+
},
|
|
947
|
+
operation: {
|
|
948
|
+
name: "toggleHeading",
|
|
949
|
+
attributes: { level: 5 }
|
|
950
|
+
}
|
|
951
|
+
});
|
|
952
|
+
var H6Control = createControl({
|
|
953
|
+
label: "h6ControlLabel",
|
|
954
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconH6, { ...props }),
|
|
955
|
+
isActive: {
|
|
956
|
+
name: "heading",
|
|
957
|
+
attributes: { level: 6 }
|
|
958
|
+
},
|
|
959
|
+
operation: {
|
|
960
|
+
name: "toggleHeading",
|
|
961
|
+
attributes: { level: 6 }
|
|
962
|
+
}
|
|
963
|
+
});
|
|
964
|
+
var BlockquoteControl = createControl({
|
|
965
|
+
label: "blockquoteControlLabel",
|
|
966
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconBlockquote, { ...props }),
|
|
967
|
+
isActive: { name: "blockquote" },
|
|
968
|
+
operation: { name: "toggleBlockquote" }
|
|
969
|
+
});
|
|
970
|
+
var AlignLeftControl = createControl({
|
|
971
|
+
label: "alignLeftControlLabel",
|
|
972
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconAlignLeft, { ...props }),
|
|
973
|
+
operation: {
|
|
974
|
+
name: "setTextAlign",
|
|
975
|
+
attributes: "left"
|
|
976
|
+
}
|
|
977
|
+
});
|
|
978
|
+
var AlignRightControl = createControl({
|
|
979
|
+
label: "alignRightControlLabel",
|
|
980
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconAlignRight, { ...props }),
|
|
981
|
+
operation: {
|
|
982
|
+
name: "setTextAlign",
|
|
983
|
+
attributes: "right"
|
|
984
|
+
}
|
|
985
|
+
});
|
|
986
|
+
var AlignCenterControl = createControl({
|
|
987
|
+
label: "alignCenterControlLabel",
|
|
988
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconAlignCenter, { ...props }),
|
|
989
|
+
operation: {
|
|
990
|
+
name: "setTextAlign",
|
|
991
|
+
attributes: "center"
|
|
992
|
+
}
|
|
993
|
+
});
|
|
994
|
+
var AlignJustifyControl = createControl({
|
|
995
|
+
label: "alignJustifyControlLabel",
|
|
996
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconAlignJustified, { ...props }),
|
|
997
|
+
operation: {
|
|
998
|
+
name: "setTextAlign",
|
|
999
|
+
attributes: "justify"
|
|
1000
|
+
}
|
|
1001
|
+
});
|
|
1002
|
+
var SubscriptControl = createControl({
|
|
1003
|
+
label: "subscriptControlLabel",
|
|
1004
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconSubscript, { ...props }),
|
|
1005
|
+
isActive: { name: "subscript" },
|
|
1006
|
+
operation: { name: "toggleSubscript" }
|
|
1007
|
+
});
|
|
1008
|
+
var SuperscriptControl = createControl({
|
|
1009
|
+
label: "superscriptControlLabel",
|
|
1010
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconSuperscript, { ...props }),
|
|
1011
|
+
isActive: { name: "superscript" },
|
|
1012
|
+
operation: { name: "toggleSuperscript" }
|
|
1013
|
+
});
|
|
1014
|
+
var CodeControl = createControl({
|
|
1015
|
+
label: "codeControlLabel",
|
|
1016
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconCode, { ...props }),
|
|
1017
|
+
isActive: { name: "code" },
|
|
1018
|
+
operation: { name: "toggleCode" }
|
|
1019
|
+
});
|
|
1020
|
+
var CodeBlockControl = createControl({
|
|
1021
|
+
label: "codeBlockControlLabel",
|
|
1022
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconCode, { ...props }),
|
|
1023
|
+
isActive: { name: "codeBlock" },
|
|
1024
|
+
operation: { name: "toggleCodeBlock" }
|
|
1025
|
+
});
|
|
1026
|
+
var HighlightControl = createControl({
|
|
1027
|
+
label: "highlightControlLabel",
|
|
1028
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconHighlight, { ...props }),
|
|
1029
|
+
isActive: { name: "highlight" },
|
|
1030
|
+
operation: { name: "toggleHighlight" }
|
|
1031
|
+
});
|
|
1032
|
+
var HrControl = createControl({
|
|
1033
|
+
label: "hrControlLabel",
|
|
1034
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconLineDashed, { ...props }),
|
|
1035
|
+
operation: { name: "setHorizontalRule" }
|
|
1036
|
+
});
|
|
1037
|
+
var UnsetColorControl = createControl({
|
|
1038
|
+
label: "unsetColorControlLabel",
|
|
1039
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconCircleOff, { ...props }),
|
|
1040
|
+
operation: { name: "unsetColor" }
|
|
1041
|
+
});
|
|
1042
|
+
var UndoControl = createControl({
|
|
1043
|
+
label: "undoControlLabel",
|
|
1044
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconArrowBackUp, { ...props }),
|
|
1045
|
+
isDisabled: (editor) => !editor?.can().undo(),
|
|
1046
|
+
operation: { name: "undo" }
|
|
1047
|
+
});
|
|
1048
|
+
var RedoControl = createControl({
|
|
1049
|
+
label: "redoControlLabel",
|
|
1050
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconArrowForwardUp, { ...props }),
|
|
1051
|
+
isDisabled: (editor) => !editor?.can().redo(),
|
|
1052
|
+
operation: { name: "redo" }
|
|
1053
|
+
});
|
|
1054
|
+
var TaskListControl = createControl({
|
|
1055
|
+
label: "tasksControlLabel",
|
|
1056
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconListCheck, { ...props }),
|
|
1057
|
+
isActive: { name: "taskList" },
|
|
1058
|
+
operation: { name: "toggleTaskList" }
|
|
1059
|
+
});
|
|
1060
|
+
var TaskListSinkControl = createControl({
|
|
1061
|
+
label: "tasksSinkLabel",
|
|
1062
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconIndentIncrease, { ...props }),
|
|
1063
|
+
operation: {
|
|
1064
|
+
name: "sinkListItem",
|
|
1065
|
+
attributes: "taskItem"
|
|
1066
|
+
},
|
|
1067
|
+
isDisabled: (editor) => !editor?.can().sinkListItem("taskItem")
|
|
1068
|
+
});
|
|
1069
|
+
var TaskListLiftControl = createControl({
|
|
1070
|
+
label: "tasksLiftLabel",
|
|
1071
|
+
icon: (props) => /* @__PURE__ */ jsx4(IconIndentDecrease, { ...props }),
|
|
1072
|
+
operation: {
|
|
1073
|
+
name: "liftListItem",
|
|
1074
|
+
attributes: "taskItem"
|
|
1075
|
+
},
|
|
1076
|
+
isDisabled: (editor) => !editor?.can().liftListItem("taskItem")
|
|
1077
|
+
});
|
|
1078
|
+
|
|
1079
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditorControl/RichTextEditorLinkControl.mjs
|
|
1080
|
+
import { useState } from "react";
|
|
1081
|
+
import { useEditorState as useEditorState2 } from "@tiptap/react";
|
|
1082
|
+
import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
1083
|
+
|
|
1084
|
+
var LinkIcon = (props) => /* @__PURE__ */ jsx5(IconLink, { ...props });
|
|
1085
|
+
var RichTextEditorLinkControl = factory((_props) => {
|
|
1086
|
+
const props = useProps("RichTextEditorLinkControl", null, _props);
|
|
1087
|
+
const { classNames, className, style, styles, vars, icon, popoverProps, disableTooltips, initialExternal, ...others } = props;
|
|
1088
|
+
const ctx = useRichTextEditorContext();
|
|
1089
|
+
const stylesApiProps = {
|
|
1090
|
+
classNames,
|
|
1091
|
+
styles
|
|
1092
|
+
};
|
|
1093
|
+
const [url, setUrl] = useInputState("");
|
|
1094
|
+
const [external, setExternal] = useState(initialExternal);
|
|
1095
|
+
const [opened, { open, close }] = useDisclosure(false);
|
|
1096
|
+
const handleOpen = () => {
|
|
1097
|
+
open();
|
|
1098
|
+
const linkData = ctx.editor?.getAttributes("link");
|
|
1099
|
+
setUrl(linkData?.href || "");
|
|
1100
|
+
setExternal(linkData?.href ? linkData?.target === "_blank" : initialExternal);
|
|
1101
|
+
};
|
|
1102
|
+
const handleClose = () => {
|
|
1103
|
+
close();
|
|
1104
|
+
setUrl("");
|
|
1105
|
+
setExternal(initialExternal);
|
|
1106
|
+
};
|
|
1107
|
+
const setLink = () => {
|
|
1108
|
+
handleClose();
|
|
1109
|
+
url === "" ? ctx.editor?.chain().focus().extendMarkRange("link").unsetLink().run() : ctx.editor?.chain().focus().extendMarkRange("link").setLink({
|
|
1110
|
+
href: url,
|
|
1111
|
+
target: external ? "_blank" : null
|
|
1112
|
+
}).run();
|
|
1113
|
+
};
|
|
1114
|
+
const handleInputKeydown = (event) => {
|
|
1115
|
+
if (event.key === "Enter") {
|
|
1116
|
+
event.preventDefault();
|
|
1117
|
+
setLink();
|
|
1118
|
+
}
|
|
1119
|
+
};
|
|
1120
|
+
useWindowEvent("edit-link", handleOpen, false);
|
|
1121
|
+
const active = useEditorState2({
|
|
1122
|
+
editor: ctx.editor ?? null,
|
|
1123
|
+
selector: (state) => state.editor?.isActive("link") ?? false
|
|
1124
|
+
});
|
|
1125
|
+
const { resolvedClassNames, resolvedStyles } = useResolvedStylesApi({
|
|
1126
|
+
classNames,
|
|
1127
|
+
styles,
|
|
1128
|
+
props
|
|
1129
|
+
});
|
|
1130
|
+
return /* @__PURE__ */ jsxs2(Popover, {
|
|
1131
|
+
trapFocus: true,
|
|
1132
|
+
shadow: "md",
|
|
1133
|
+
withinPortal: true,
|
|
1134
|
+
opened,
|
|
1135
|
+
onChange: (_opened) => !_opened && handleClose(),
|
|
1136
|
+
offset: -44,
|
|
1137
|
+
zIndex: 1e4,
|
|
1138
|
+
...popoverProps,
|
|
1139
|
+
children: [/* @__PURE__ */ jsx5(Popover.Target, { children: /* @__PURE__ */ jsx5(RichTextEditorControlBase, {
|
|
1140
|
+
icon: icon || LinkIcon,
|
|
1141
|
+
...others,
|
|
1142
|
+
"aria-label": ctx.labels.linkControlLabel,
|
|
1143
|
+
title: ctx.labels.linkControlLabel,
|
|
1144
|
+
onClick: handleOpen,
|
|
1145
|
+
active: active ?? false,
|
|
1146
|
+
classNames: resolvedClassNames,
|
|
1147
|
+
styles: resolvedStyles,
|
|
1148
|
+
className,
|
|
1149
|
+
style,
|
|
1150
|
+
variant: ctx.variant
|
|
1151
|
+
}) }), /* @__PURE__ */ jsx5(Popover.Dropdown, {
|
|
1152
|
+
...ctx.getStyles("linkEditorDropdown", stylesApiProps),
|
|
1153
|
+
children: /* @__PURE__ */ jsxs2("div", {
|
|
1154
|
+
...ctx.getStyles("linkEditor", stylesApiProps),
|
|
1155
|
+
children: [/* @__PURE__ */ jsx5(TextInput, {
|
|
1156
|
+
placeholder: ctx.labels.linkEditorInputPlaceholder,
|
|
1157
|
+
"aria-label": ctx.labels.linkEditorInputLabel,
|
|
1158
|
+
type: "url",
|
|
1159
|
+
value: url,
|
|
1160
|
+
onChange: setUrl,
|
|
1161
|
+
classNames: { input: ctx.getStyles("linkEditorInput", stylesApiProps).className },
|
|
1162
|
+
onKeyDown: handleInputKeydown,
|
|
1163
|
+
rightSection: /* @__PURE__ */ jsx5(Tooltip, {
|
|
1164
|
+
label: external ? ctx.labels.linkEditorExternalLink : ctx.labels.linkEditorInternalLink,
|
|
1165
|
+
events: {
|
|
1166
|
+
hover: true,
|
|
1167
|
+
focus: true,
|
|
1168
|
+
touch: true
|
|
1169
|
+
},
|
|
1170
|
+
withinPortal: true,
|
|
1171
|
+
withArrow: true,
|
|
1172
|
+
disabled: disableTooltips,
|
|
1173
|
+
zIndex: 1e4,
|
|
1174
|
+
children: /* @__PURE__ */ jsx5(UnstyledButton, {
|
|
1175
|
+
onClick: () => setExternal((e) => !e),
|
|
1176
|
+
"data-active": external || undefined,
|
|
1177
|
+
...ctx.getStyles("linkEditorExternalControl", stylesApiProps),
|
|
1178
|
+
children: /* @__PURE__ */ jsx5(IconExternalLink, { style: {
|
|
1179
|
+
width: rem(14),
|
|
1180
|
+
height: rem(14)
|
|
1181
|
+
} })
|
|
1182
|
+
})
|
|
1183
|
+
})
|
|
1184
|
+
}), /* @__PURE__ */ jsx5(Button, {
|
|
1185
|
+
variant: "default",
|
|
1186
|
+
onClick: setLink,
|
|
1187
|
+
...ctx.getStyles("linkEditorSave", stylesApiProps),
|
|
1188
|
+
children: ctx.labels.linkEditorSave
|
|
1189
|
+
})]
|
|
1190
|
+
})
|
|
1191
|
+
})]
|
|
1192
|
+
});
|
|
1193
|
+
});
|
|
1194
|
+
RichTextEditorLinkControl.classes = RichTextEditor_module_default;
|
|
1195
|
+
RichTextEditorLinkControl.displayName = "@mantine/tiptap/RichTextEditorLinkControl";
|
|
1196
|
+
|
|
1197
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditorControl/RichTextEditorColorPickerControl.mjs
|
|
1198
|
+
import { useState as useState2 } from "react";
|
|
1199
|
+
import { jsx as jsx6, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
1200
|
+
|
|
1201
|
+
function RichTextEditorColorPickerControl(props) {
|
|
1202
|
+
const { popoverProps, colors, colorPickerProps, ...others } = useProps("RichTextEditorColorPickerControl", null, props);
|
|
1203
|
+
const { editor, labels, getStyles, variant } = useRichTextEditorContext();
|
|
1204
|
+
const [opened, { toggle, close }] = useDisclosure(false);
|
|
1205
|
+
const [state, setState] = useState2("palette");
|
|
1206
|
+
const currentColor = editor?.getAttributes("textStyle").color || "var(--mantine-color-text)";
|
|
1207
|
+
const handleChange = (value, shouldClose = true) => {
|
|
1208
|
+
editor?.chain()?.focus().setColor(value).run();
|
|
1209
|
+
shouldClose && close();
|
|
1210
|
+
};
|
|
1211
|
+
const handleClear = () => {
|
|
1212
|
+
editor?.chain()?.focus().unsetColor().run();
|
|
1213
|
+
close();
|
|
1214
|
+
};
|
|
1215
|
+
const controls = colors.map((color, index) => /* @__PURE__ */ jsx6(ColorSwatch, {
|
|
1216
|
+
component: "button",
|
|
1217
|
+
color,
|
|
1218
|
+
onClick: () => handleChange(color),
|
|
1219
|
+
size: 26,
|
|
1220
|
+
radius: "xs",
|
|
1221
|
+
style: { cursor: "pointer" },
|
|
1222
|
+
title: labels.colorPickerColorLabel(color),
|
|
1223
|
+
"aria-label": labels.colorPickerColorLabel(color)
|
|
1224
|
+
}, index));
|
|
1225
|
+
return /* @__PURE__ */ jsxs3(Popover, {
|
|
1226
|
+
opened,
|
|
1227
|
+
withinPortal: true,
|
|
1228
|
+
trapFocus: true,
|
|
1229
|
+
onChange: (_opened) => !_opened && close(),
|
|
1230
|
+
...popoverProps,
|
|
1231
|
+
children: [/* @__PURE__ */ jsx6(Popover.Target, { children: /* @__PURE__ */ jsx6(RichTextEditorControl, {
|
|
1232
|
+
...others,
|
|
1233
|
+
variant,
|
|
1234
|
+
"aria-label": labels.colorPickerControlLabel,
|
|
1235
|
+
title: labels.colorPickerControlLabel,
|
|
1236
|
+
onClick: toggle,
|
|
1237
|
+
children: /* @__PURE__ */ jsx6(ColorSwatch, {
|
|
1238
|
+
color: currentColor,
|
|
1239
|
+
size: 14
|
|
1240
|
+
})
|
|
1241
|
+
}) }), /* @__PURE__ */ jsxs3(Popover.Dropdown, {
|
|
1242
|
+
...getStyles("linkEditorDropdown"),
|
|
1243
|
+
children: [
|
|
1244
|
+
state === "palette" && /* @__PURE__ */ jsx6(SimpleGrid, {
|
|
1245
|
+
cols: 7,
|
|
1246
|
+
spacing: 2,
|
|
1247
|
+
children: controls
|
|
1248
|
+
}),
|
|
1249
|
+
state === "colorPicker" && /* @__PURE__ */ jsx6(ColorPicker, {
|
|
1250
|
+
defaultValue: currentColor,
|
|
1251
|
+
onChange: (value) => handleChange(value, false),
|
|
1252
|
+
...colorPickerProps
|
|
1253
|
+
}),
|
|
1254
|
+
/* @__PURE__ */ jsx6(Tooltip.Group, {
|
|
1255
|
+
closeDelay: 200,
|
|
1256
|
+
children: /* @__PURE__ */ jsxs3(Group, {
|
|
1257
|
+
justify: "flex-end",
|
|
1258
|
+
gap: "xs",
|
|
1259
|
+
mt: "sm",
|
|
1260
|
+
children: [
|
|
1261
|
+
state === "palette" && /* @__PURE__ */ jsx6(ActionIcon, {
|
|
1262
|
+
variant: "default",
|
|
1263
|
+
onClick: close,
|
|
1264
|
+
title: labels.colorPickerCancel,
|
|
1265
|
+
"aria-label": labels.colorPickerCancel,
|
|
1266
|
+
children: /* @__PURE__ */ jsx6(IconX, { style: {
|
|
1267
|
+
width: rem(16),
|
|
1268
|
+
height: rem(16)
|
|
1269
|
+
} })
|
|
1270
|
+
}),
|
|
1271
|
+
/* @__PURE__ */ jsx6(ActionIcon, {
|
|
1272
|
+
variant: "default",
|
|
1273
|
+
onClick: handleClear,
|
|
1274
|
+
title: labels.colorPickerClear,
|
|
1275
|
+
"aria-label": labels.colorPickerClear,
|
|
1276
|
+
children: /* @__PURE__ */ jsx6(IconCircleOff, { style: {
|
|
1277
|
+
width: rem(16),
|
|
1278
|
+
height: rem(16)
|
|
1279
|
+
} })
|
|
1280
|
+
}),
|
|
1281
|
+
state === "palette" ? /* @__PURE__ */ jsx6(ActionIcon, {
|
|
1282
|
+
variant: "default",
|
|
1283
|
+
onClick: () => setState("colorPicker"),
|
|
1284
|
+
title: labels.colorPickerColorPicker,
|
|
1285
|
+
"aria-label": labels.colorPickerColorPicker,
|
|
1286
|
+
children: /* @__PURE__ */ jsx6(IconColorPicker, { style: {
|
|
1287
|
+
width: rem(16),
|
|
1288
|
+
height: rem(16)
|
|
1289
|
+
} })
|
|
1290
|
+
}) : /* @__PURE__ */ jsx6(ActionIcon, {
|
|
1291
|
+
variant: "default",
|
|
1292
|
+
onClick: () => setState("palette"),
|
|
1293
|
+
"aria-label": labels.colorPickerPalette,
|
|
1294
|
+
title: labels.colorPickerPalette,
|
|
1295
|
+
children: /* @__PURE__ */ jsx6(IconPalette, { style: {
|
|
1296
|
+
width: rem(16),
|
|
1297
|
+
height: rem(16)
|
|
1298
|
+
} })
|
|
1299
|
+
}),
|
|
1300
|
+
state === "colorPicker" && /* @__PURE__ */ jsx6(ActionIcon, {
|
|
1301
|
+
variant: "default",
|
|
1302
|
+
onClick: close,
|
|
1303
|
+
title: labels.colorPickerSave,
|
|
1304
|
+
"aria-label": labels.colorPickerSave,
|
|
1305
|
+
children: /* @__PURE__ */ jsx6(IconCheck, { style: {
|
|
1306
|
+
width: rem(16),
|
|
1307
|
+
height: rem(16)
|
|
1308
|
+
} })
|
|
1309
|
+
})
|
|
1310
|
+
]
|
|
1311
|
+
})
|
|
1312
|
+
})
|
|
1313
|
+
]
|
|
1314
|
+
})]
|
|
1315
|
+
});
|
|
1316
|
+
}
|
|
1317
|
+
RichTextEditorColorPickerControl.displayName = "@mantine/tiptap/ColorPickerControl";
|
|
1318
|
+
|
|
1319
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditorControl/RichTextEditorColorControl.mjs
|
|
1320
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
1321
|
+
|
|
1322
|
+
function RichTextEditorColorControl(props) {
|
|
1323
|
+
const { color, ...others } = useProps("RichTextEditorColorControl", null, props);
|
|
1324
|
+
const { editor, labels, variant } = useRichTextEditorContext();
|
|
1325
|
+
const currentColor = editor?.getAttributes("textStyle").color || null;
|
|
1326
|
+
const label = labels.colorControlLabel(color);
|
|
1327
|
+
return /* @__PURE__ */ jsx7(RichTextEditorControl, {
|
|
1328
|
+
...others,
|
|
1329
|
+
variant,
|
|
1330
|
+
active: currentColor === color,
|
|
1331
|
+
"aria-label": label,
|
|
1332
|
+
title: label,
|
|
1333
|
+
onClick: () => editor?.chain()?.focus().setColor(color).run(),
|
|
1334
|
+
children: /* @__PURE__ */ jsx7(ColorSwatch, {
|
|
1335
|
+
color,
|
|
1336
|
+
size: 14
|
|
1337
|
+
})
|
|
1338
|
+
});
|
|
1339
|
+
}
|
|
1340
|
+
RichTextEditorColorControl.displayName = "@mantine/tiptap/RichTextEditorColorControl";
|
|
1341
|
+
|
|
1342
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditorControl/RichTextEditorSourceCodeControl.mjs
|
|
1343
|
+
import { useState as useState3 } from "react";
|
|
1344
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
1345
|
+
|
|
1346
|
+
var defaultProps2 = {};
|
|
1347
|
+
function RichTextEditorSourceCodeControl(props) {
|
|
1348
|
+
const { ...others } = useProps("RichTextEditorSourceCodeControl", defaultProps2, props);
|
|
1349
|
+
const { editor, labels, variant, onSourceCodeTextSwitch } = useRichTextEditorContext();
|
|
1350
|
+
const [isSourceCodeModeActive, setIsSourceCodeModeActive] = useState3(false);
|
|
1351
|
+
const handleStateChange = () => {
|
|
1352
|
+
if (isSourceCodeModeActive)
|
|
1353
|
+
editor?.commands.setContent(editor.getText(), { emitUpdate: true });
|
|
1354
|
+
else
|
|
1355
|
+
editor?.commands.setContent(`<textarea>${editor.getHTML()}</textarea>`);
|
|
1356
|
+
const isSourceCodeModeActiveNew = !isSourceCodeModeActive;
|
|
1357
|
+
setIsSourceCodeModeActive(isSourceCodeModeActiveNew);
|
|
1358
|
+
onSourceCodeTextSwitch?.(isSourceCodeModeActiveNew);
|
|
1359
|
+
};
|
|
1360
|
+
return /* @__PURE__ */ jsx8(RichTextEditorControl, {
|
|
1361
|
+
...others,
|
|
1362
|
+
variant,
|
|
1363
|
+
active: isSourceCodeModeActive,
|
|
1364
|
+
"aria-label": labels.sourceCodeControlLabel,
|
|
1365
|
+
title: labels.sourceCodeControlLabel,
|
|
1366
|
+
onClick: () => handleStateChange(),
|
|
1367
|
+
children: /* @__PURE__ */ jsx8(IconBraces, { style: {
|
|
1368
|
+
width: rem(16),
|
|
1369
|
+
height: rem(16)
|
|
1370
|
+
} })
|
|
1371
|
+
});
|
|
1372
|
+
}
|
|
1373
|
+
RichTextEditorSourceCodeControl.displayName = "@mantine/tiptap/RichTextEditorSourceCodeControl";
|
|
1374
|
+
|
|
1375
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditorControlsGroup/RichTextEditorControlsGroup.mjs
|
|
1376
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
1377
|
+
|
|
1378
|
+
var RichTextEditorControlsGroup = factory((_props) => {
|
|
1379
|
+
const { classNames, className, style, styles, vars, variant, ...others } = useProps("RichTextEditorControlsGroup", null, _props);
|
|
1380
|
+
const ctx = useRichTextEditorContext();
|
|
1381
|
+
return /* @__PURE__ */ jsx9(Box, {
|
|
1382
|
+
variant: variant || ctx.variant,
|
|
1383
|
+
...ctx.getStyles("controlsGroup", {
|
|
1384
|
+
className,
|
|
1385
|
+
style,
|
|
1386
|
+
styles,
|
|
1387
|
+
classNames
|
|
1388
|
+
}),
|
|
1389
|
+
...others
|
|
1390
|
+
});
|
|
1391
|
+
});
|
|
1392
|
+
RichTextEditorControlsGroup.classes = RichTextEditor_module_default;
|
|
1393
|
+
RichTextEditorControlsGroup.displayName = "@mantine/tiptap/RichTextEditorControlsGroup";
|
|
1394
|
+
|
|
1395
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditorToolbar/RichTextEditorToolbar.mjs
|
|
1396
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
1397
|
+
|
|
1398
|
+
var RichTextEditorToolbar = factory((_props) => {
|
|
1399
|
+
const { classNames, className, style, styles, vars, sticky, stickyOffset, mod, variant, ...others } = useProps("RichTextEditorToolbar", null, _props);
|
|
1400
|
+
const ctx = useRichTextEditorContext();
|
|
1401
|
+
return /* @__PURE__ */ jsx10(Box, {
|
|
1402
|
+
mod: [{ sticky }, mod],
|
|
1403
|
+
variant: variant || ctx.variant,
|
|
1404
|
+
...ctx.getStyles("toolbar", {
|
|
1405
|
+
className,
|
|
1406
|
+
style,
|
|
1407
|
+
styles,
|
|
1408
|
+
classNames
|
|
1409
|
+
}),
|
|
1410
|
+
...others,
|
|
1411
|
+
__vars: { "--rte-sticky-offset": rem(stickyOffset) }
|
|
1412
|
+
});
|
|
1413
|
+
});
|
|
1414
|
+
RichTextEditorToolbar.classes = RichTextEditor_module_default;
|
|
1415
|
+
RichTextEditorToolbar.displayName = "@mantine/tiptap/RichTextEditorToolbar";
|
|
1416
|
+
|
|
1417
|
+
// node_modules/@mantine/tiptap/esm/RichTextEditor.mjs
|
|
1418
|
+
import { useMemo } from "react";
|
|
1419
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
1420
|
+
|
|
1421
|
+
var defaultProps3 = {
|
|
1422
|
+
withCodeHighlightStyles: true,
|
|
1423
|
+
withTypographyStyles: true,
|
|
1424
|
+
variant: "default"
|
|
1425
|
+
};
|
|
1426
|
+
var RichTextEditor = factory((_props) => {
|
|
1427
|
+
const props = useProps("RichTextEditor", defaultProps3, _props);
|
|
1428
|
+
const { classNames, className, style, styles, unstyled, vars, editor, withCodeHighlightStyles, withTypographyStyles, onSourceCodeTextSwitch, labels, children, variant, attributes, ...others } = props;
|
|
1429
|
+
const getStyles = useStyles({
|
|
1430
|
+
name: "RichTextEditor",
|
|
1431
|
+
classes: RichTextEditor_module_default,
|
|
1432
|
+
props,
|
|
1433
|
+
className,
|
|
1434
|
+
style,
|
|
1435
|
+
classNames,
|
|
1436
|
+
styles,
|
|
1437
|
+
unstyled,
|
|
1438
|
+
attributes,
|
|
1439
|
+
vars
|
|
1440
|
+
});
|
|
1441
|
+
return /* @__PURE__ */ jsx11(RichTextEditorProvider, {
|
|
1442
|
+
value: {
|
|
1443
|
+
editor,
|
|
1444
|
+
getStyles,
|
|
1445
|
+
labels: useMemo(() => ({
|
|
1446
|
+
...DEFAULT_LABELS,
|
|
1447
|
+
...labels
|
|
1448
|
+
}), [labels]),
|
|
1449
|
+
withCodeHighlightStyles,
|
|
1450
|
+
withTypographyStyles,
|
|
1451
|
+
onSourceCodeTextSwitch,
|
|
1452
|
+
unstyled,
|
|
1453
|
+
variant
|
|
1454
|
+
},
|
|
1455
|
+
children: /* @__PURE__ */ jsx11(Box, {
|
|
1456
|
+
...getStyles("root"),
|
|
1457
|
+
...others,
|
|
1458
|
+
children
|
|
1459
|
+
})
|
|
1460
|
+
});
|
|
1461
|
+
});
|
|
1462
|
+
RichTextEditor.classes = RichTextEditor_module_default;
|
|
1463
|
+
RichTextEditor.displayName = "@mantine/tiptap/RichTextEditor";
|
|
1464
|
+
RichTextEditor.Content = RichTextEditorContent;
|
|
1465
|
+
RichTextEditor.Control = RichTextEditorControl;
|
|
1466
|
+
RichTextEditor.Toolbar = RichTextEditorToolbar;
|
|
1467
|
+
RichTextEditor.ControlsGroup = RichTextEditorControlsGroup;
|
|
1468
|
+
RichTextEditor.Bold = BoldControl;
|
|
1469
|
+
RichTextEditor.Italic = ItalicControl;
|
|
1470
|
+
RichTextEditor.Strikethrough = StrikeThroughControl;
|
|
1471
|
+
RichTextEditor.Underline = UnderlineControl;
|
|
1472
|
+
RichTextEditor.ClearFormatting = ClearFormattingControl;
|
|
1473
|
+
RichTextEditor.H1 = H1Control;
|
|
1474
|
+
RichTextEditor.H2 = H2Control;
|
|
1475
|
+
RichTextEditor.H3 = H3Control;
|
|
1476
|
+
RichTextEditor.H4 = H4Control;
|
|
1477
|
+
RichTextEditor.H5 = H5Control;
|
|
1478
|
+
RichTextEditor.H6 = H6Control;
|
|
1479
|
+
RichTextEditor.BulletList = BulletListControl;
|
|
1480
|
+
RichTextEditor.OrderedList = OrderedListControl;
|
|
1481
|
+
RichTextEditor.Link = RichTextEditorLinkControl;
|
|
1482
|
+
RichTextEditor.Unlink = UnlinkControl;
|
|
1483
|
+
RichTextEditor.Blockquote = BlockquoteControl;
|
|
1484
|
+
RichTextEditor.AlignLeft = AlignLeftControl;
|
|
1485
|
+
RichTextEditor.AlignRight = AlignRightControl;
|
|
1486
|
+
RichTextEditor.AlignCenter = AlignCenterControl;
|
|
1487
|
+
RichTextEditor.AlignJustify = AlignJustifyControl;
|
|
1488
|
+
RichTextEditor.Superscript = SuperscriptControl;
|
|
1489
|
+
RichTextEditor.Subscript = SubscriptControl;
|
|
1490
|
+
RichTextEditor.Code = CodeControl;
|
|
1491
|
+
RichTextEditor.CodeBlock = CodeBlockControl;
|
|
1492
|
+
RichTextEditor.ColorPicker = RichTextEditorColorPickerControl;
|
|
1493
|
+
RichTextEditor.Color = RichTextEditorColorControl;
|
|
1494
|
+
RichTextEditor.Highlight = HighlightControl;
|
|
1495
|
+
RichTextEditor.Hr = HrControl;
|
|
1496
|
+
RichTextEditor.UnsetColor = UnsetColorControl;
|
|
1497
|
+
RichTextEditor.Undo = UndoControl;
|
|
1498
|
+
RichTextEditor.Redo = RedoControl;
|
|
1499
|
+
RichTextEditor.TaskList = TaskListControl;
|
|
1500
|
+
RichTextEditor.TaskListSink = TaskListSinkControl;
|
|
1501
|
+
RichTextEditor.TaskListLift = TaskListLiftControl;
|
|
1502
|
+
RichTextEditor.SourceCode = RichTextEditorSourceCodeControl;
|
|
1503
|
+
export {
|
|
1504
|
+
useRichTextEditorContext,
|
|
1505
|
+
getTaskListExtension,
|
|
1506
|
+
UnsetColorControl,
|
|
1507
|
+
UnlinkControl,
|
|
1508
|
+
UndoControl,
|
|
1509
|
+
UnderlineControl,
|
|
1510
|
+
TaskListSinkControl,
|
|
1511
|
+
TaskListLiftControl,
|
|
1512
|
+
TaskListControl,
|
|
1513
|
+
SuperscriptControl,
|
|
1514
|
+
SubscriptControl,
|
|
1515
|
+
StrikeThroughControl,
|
|
1516
|
+
RichTextEditorSourceCodeControl,
|
|
1517
|
+
RichTextEditorLinkControl,
|
|
1518
|
+
RichTextEditorControlsGroup,
|
|
1519
|
+
RichTextEditorControl,
|
|
1520
|
+
RichTextEditorContent,
|
|
1521
|
+
RichTextEditorColorPickerControl,
|
|
1522
|
+
RichTextEditorColorControl,
|
|
1523
|
+
RichTextEditor,
|
|
1524
|
+
RedoControl,
|
|
1525
|
+
OrderedListControl,
|
|
1526
|
+
Link,
|
|
1527
|
+
ItalicControl,
|
|
1528
|
+
HrControl,
|
|
1529
|
+
HighlightControl,
|
|
1530
|
+
H6Control,
|
|
1531
|
+
H5Control,
|
|
1532
|
+
H4Control,
|
|
1533
|
+
H3Control,
|
|
1534
|
+
H2Control,
|
|
1535
|
+
H1Control,
|
|
1536
|
+
DEFAULT_LABELS,
|
|
1537
|
+
CodeControl,
|
|
1538
|
+
CodeBlockControl,
|
|
1539
|
+
ClearFormattingControl,
|
|
1540
|
+
BulletListControl,
|
|
1541
|
+
BoldControl,
|
|
1542
|
+
BlockquoteControl,
|
|
1543
|
+
AlignRightControl,
|
|
1544
|
+
AlignLeftControl,
|
|
1545
|
+
AlignJustifyControl,
|
|
1546
|
+
AlignCenterControl
|
|
1547
|
+
};
|
|
1548
|
+
|
|
1549
|
+
//# debugId=1892790C0803153364756E2164756E21
|