import { Bold as e, Code as t, Heading1 as n, Heading2 as r, Heading3 as i, Heading4 as a, Heading5 as o, Heading6 as s, Highlighter as c, Italic as l, List as u, ListOrdered as d, Pilcrow as f, Strikethrough as p, TextQuote as m, Type as h, Underline as g } from "lucide-react";
import { jsx as _ } from "react/jsx-runtime";
//#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__ */ _(h, {})
	},
	paragraph: {
		label: "Параграф",
		node: "p",
		style: "paragraph",
		icon: /* @__PURE__ */ _(f, {})
	},
	"header-one": {
		label: "Заголовок первого уровня",
		node: "h1",
		style: "header-one",
		icon: /* @__PURE__ */ _(n, {})
	},
	"header-two": {
		label: "Заголовок второго уровня",
		node: "h2",
		style: "header-two",
		icon: /* @__PURE__ */ _(r, {})
	},
	"header-three": {
		label: "Заголовок третьего уровня",
		node: "h3",
		style: "header-three",
		icon: /* @__PURE__ */ _(i, {})
	},
	"header-four": {
		label: "Заголовок четвертого уровня",
		node: "h4",
		style: "header-four",
		icon: /* @__PURE__ */ _(a, {})
	},
	"header-five": {
		label: "Заголовок пятого уровня",
		node: "h5",
		style: "header-five",
		icon: /* @__PURE__ */ _(o, {})
	},
	"header-six": {
		label: "Заголовок шестого уровня",
		node: "h6",
		style: "header-six",
		icon: /* @__PURE__ */ _(s, {})
	},
	"code-block": {
		label: "Блок кода",
		node: "pre",
		style: "code-block",
		icon: /* @__PURE__ */ _(t, {})
	},
	blockquote: {
		label: "Цитата",
		node: "blockquote",
		style: "blockquote",
		icon: /* @__PURE__ */ _(m, {})
	},
	"unordered-list-item": {
		label: "Маркированный список",
		node: "ul",
		style: "unordered-list-item",
		icon: /* @__PURE__ */ _(u, {})
	},
	"ordered-list-item": {
		label: "Нумерованный список",
		node: "ol",
		style: "ordered-list-item",
		icon: /* @__PURE__ */ _(d, {})
	},
	CODE: {
		label: "Моноширинный код",
		node: "code",
		style: "CODE",
		icon: /* @__PURE__ */ _(t, {})
	},
	BOLD: {
		label: "Выделение жирным",
		node: "strong",
		style: "BOLD",
		icon: /* @__PURE__ */ _(e, {})
	},
	UNDERLINE: {
		label: "Выделение подчеркнутым",
		node: "u",
		style: "UNDERLINE",
		icon: /* @__PURE__ */ _(g, {})
	},
	STRIKETHROUGH: {
		label: "Выделение зачеркнутым",
		node: "s",
		style: "STRIKETHROUGH",
		icon: /* @__PURE__ */ _(p, {})
	},
	HIGHLIGHT: {
		label: "Подсветка цветом",
		node: "span",
		style: "HIGHLIGHT",
		icon: /* @__PURE__ */ _(c, {})
	},
	ITALIC: {
		label: "Выделение курсивным",
		node: "i",
		style: "ITALIC",
		icon: /* @__PURE__ */ _(l, {})
	}
}, 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-CxXyru6U.js.map