import { jsx as e } from "react/jsx-runtime";
import { Bold as t, Code as n, Heading1 as r, Heading2 as i, Heading3 as a, Heading4 as o, Heading5 as s, Heading6 as c, Highlighter as l, Italic as u, List as d, ListOrdered as f, Pilcrow as p, Strikethrough as m, TextQuote as h, Type as g, Underline as _ } from "lucide-react";
//#region src/text-editor/editorModel.ts
var v = (e) => {
	if (!e || typeof e != "object") return !1;
	let t = e;
	return t.format === "lexical" && t.version === 1 && !!t.editorState && typeof t.editorState == "object";
}, y = {
	unstyled: {
		label: "Параграф",
		node: "p",
		style: "unstyled",
		icon: /* @__PURE__ */ e(g, {})
	},
	paragraph: {
		label: "Параграф",
		node: "p",
		style: "paragraph",
		icon: /* @__PURE__ */ e(p, {})
	},
	"header-one": {
		label: "Заголовок первого уровня",
		node: "h1",
		style: "header-one",
		icon: /* @__PURE__ */ e(r, {})
	},
	"header-two": {
		label: "Заголовок второго уровня",
		node: "h2",
		style: "header-two",
		icon: /* @__PURE__ */ e(i, {})
	},
	"header-three": {
		label: "Заголовок третьего уровня",
		node: "h3",
		style: "header-three",
		icon: /* @__PURE__ */ e(a, {})
	},
	"header-four": {
		label: "Заголовок четвертого уровня",
		node: "h4",
		style: "header-four",
		icon: /* @__PURE__ */ e(o, {})
	},
	"header-five": {
		label: "Заголовок пятого уровня",
		node: "h5",
		style: "header-five",
		icon: /* @__PURE__ */ e(s, {})
	},
	"header-six": {
		label: "Заголовок шестого уровня",
		node: "h6",
		style: "header-six",
		icon: /* @__PURE__ */ e(c, {})
	},
	"code-block": {
		label: "Блок кода",
		node: "pre",
		style: "code-block",
		icon: /* @__PURE__ */ e(n, {})
	},
	blockquote: {
		label: "Цитата",
		node: "blockquote",
		style: "blockquote",
		icon: /* @__PURE__ */ e(h, {})
	},
	"unordered-list-item": {
		label: "Маркированный список",
		node: "ul",
		style: "unordered-list-item",
		icon: /* @__PURE__ */ e(d, {})
	},
	"ordered-list-item": {
		label: "Нумерованный список",
		node: "ol",
		style: "ordered-list-item",
		icon: /* @__PURE__ */ e(f, {})
	},
	CODE: {
		label: "Моноширинный код",
		node: "code",
		style: "CODE",
		icon: /* @__PURE__ */ e(n, {})
	},
	BOLD: {
		label: "Выделение жирным",
		node: "strong",
		style: "BOLD",
		icon: /* @__PURE__ */ e(t, {})
	},
	UNDERLINE: {
		label: "Выделение подчеркнутым",
		node: "u",
		style: "UNDERLINE",
		icon: /* @__PURE__ */ e(_, {})
	},
	STRIKETHROUGH: {
		label: "Выделение зачеркнутым",
		node: "s",
		style: "STRIKETHROUGH",
		icon: /* @__PURE__ */ e(m, {})
	},
	HIGHLIGHT: {
		label: "Подсветка цветом",
		node: "span",
		style: "HIGHLIGHT",
		icon: /* @__PURE__ */ e(l, {})
	},
	ITALIC: {
		label: "Выделение курсивным",
		node: "i",
		style: "ITALIC",
		icon: /* @__PURE__ */ e(u, {})
	}
}, b = [
	y.unstyled,
	y["header-three"],
	y["header-four"],
	y["header-five"],
	y["header-six"],
	y["ordered-list-item"],
	y["unordered-list-item"],
	y.blockquote
], x = [
	y.BOLD,
	y.ITALIC,
	y.UNDERLINE,
	y.STRIKETHROUGH,
	y.HIGHLIGHT,
	y.CODE
], S = /* @__PURE__ */ function(e) {
	return e.LINK = "link", e.LOCAL_LINK = "localLink", e.PHONE = "phone", e.EMAIL = "email", e;
}({}), C = /* @__PURE__ */ function(e) {
	return e.abbr = "abbr", e.lang = "lang", e.time = "time", e.cite = "cite", e.ins = "ins", e.del = "del", e;
}({});
//#endregion
export { v as a, x as i, C as n, b as r, S as t };

//# sourceMappingURL=types-D9Wj9wrg.js.map