@opengis/cms 0.0.51 → 0.0.53

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.
Files changed (30) hide show
  1. package/dist/{ArticlesPage-BcR1hbds.js → ArticlesPage-dx7Se1Xo.js} +1 -1
  2. package/dist/{BuilderPage-CK_osM89.js → BuilderPage-ChkWE8rE.js} +158 -158
  3. package/dist/{EditCollectionPage-DtgvKGm-.js → EditCollectionPage-H1J9pZNo.js} +64 -58
  4. package/dist/{MenuAddPage-Bf48Z-ah.js → MenuAddPage-B6Qs6qV8.js} +1 -1
  5. package/dist/{MenuItemPage-BSwUW8tv.js → MenuItemPage-XN9lx5Vv.js} +3 -3
  6. package/dist/{MonacoEditor.vue_vue_type_script_setup_true_lang-B1DrxmQX.js → MonacoEditor.vue_vue_type_script_setup_true_lang-DQjDxfF8.js} +7 -7
  7. package/dist/{UniversalTablePagination.vue_vue_type_script_setup_true_lang-GYZd_gkA.js → UniversalTablePagination.vue_vue_type_script_setup_true_lang-Cp1WWIf0.js} +5 -5
  8. package/dist/contentForm-BgEoJcWF.js +586 -0
  9. package/dist/{getField-C7EZs-YQ.js → getField-DoisYj34.js} +960 -933
  10. package/dist/index.js +9 -9
  11. package/dist/style.css +1 -1
  12. package/dist/{vuedraggable-CoAPPFYd.js → vuedraggable-DTHNuRWs.js} +108 -108
  13. package/locales/en.json +6 -1
  14. package/locales/uk.json +4 -1
  15. package/package.json +4 -4
  16. package/server/functions/getContent.js +6 -15
  17. package/server/functions/getSearchData.js +2 -12
  18. package/server/functions/getTags.js +30 -0
  19. package/server/functions/utils/mock.reply.js +56 -0
  20. package/server/routes/cms/controllers/getPermissions.js +15 -15
  21. package/server/routes/cms/controllers/listMedia.js +30 -3
  22. package/server/routes/cms/controllers/searchContent.js +2 -2
  23. package/server/routes/cms/controllers/setPermissions.js +49 -49
  24. package/server/routes/cms/controllers/translate.js +3 -3
  25. package/server/routes/cms/utils/insertContentLocalization.js +22 -4
  26. package/server/routes/contentType/controllers/getContentType.js +9 -2
  27. package/server/routes/tags/controllers/get.tags.js +1 -1
  28. package/server/templates/select/core.user_mentioned.sql +1 -1
  29. package/utils.js +1 -0
  30. package/dist/contentForm-NcG15_5z.js +0 -553
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { defineAsyncComponent as o, defineComponent as P, getCurrentInstance as $, computed as s, provide as w, openBlock as v, createBlock as b, resolveDynamicComponent as h, createElementBlock as k, toDisplayString as x } from "vue";
1
+ import { defineAsyncComponent as o, defineComponent as P, getCurrentInstance as $, computed as s, provide as w, openBlock as g, createBlock as b, resolveDynamicComponent as h, createElementBlock as k, toDisplayString as x } from "vue";
2
2
  import { useRoute as E, routeLocationKey as I } from "vue-router";
3
3
  const B = "menu", D = (u, i) => {
4
4
  const r = u == null ? void 0 : u.trim();
5
5
  return r ? r === B ? i ? i === "create" ? { type: "createMenu", collection: r } : { type: "editMenu", collection: r, id: i } : { type: "menu", collection: r } : i === "edit" ? { type: "editCollection", collection: r } : i ? i === "create" ? { type: "createArticle", collection: r } : { type: "editArticle", collection: r, id: i } : { type: "articles", collection: r } : { type: "collections" };
6
- }, C = o(() => import("./CollectionsPage-JfmrHNR_.js")), K = o(() => import("./ArticlesPage-BcR1hbds.js")), y = o(() => import("./contentForm-NcG15_5z.js")), O = o(() => import("./EditCollectionPage-DtgvKGm-.js")), L = o(
6
+ }, C = o(() => import("./CollectionsPage-JfmrHNR_.js")), K = o(() => import("./ArticlesPage-dx7Se1Xo.js")), y = o(() => import("./contentForm-BgEoJcWF.js")), O = o(() => import("./EditCollectionPage-H1J9pZNo.js")), L = o(
7
7
  () => import("./MenuPage-tJZtK46W.js")
8
8
  ), W = o(
9
- () => import("./MenuItemPage-BSwUW8tv.js")
9
+ () => import("./MenuItemPage-XN9lx5Vv.js")
10
10
  ), N = o(
11
- () => import("./MenuAddPage-Bf48Z-ah.js")
11
+ () => import("./MenuAddPage-B6Qs6qV8.js")
12
12
  ), j = {
13
13
  collections: C,
14
14
  articles: K,
@@ -50,7 +50,7 @@ const B = "menu", D = (u, i) => {
50
50
  _.value
51
51
  )), f = s(() => S(a.value.type)), A = s(
52
52
  () => `${a.value.type}-${a.value.collection ?? ""}-${a.value.id ?? ""}`
53
- ), g = s(() => {
53
+ ), v = s(() => {
54
54
  const { type: e, collection: t, id: c } = a.value, n = { ...p.value };
55
55
  return m.value ? n.collection = m.value : delete n.collection, e === "articles" ? n.id = t : e === "createArticle" ? delete n.id : e === "editCollection" ? n.id = t : e === "editArticle" && c ? n.id = c : delete n.id, n;
56
56
  }), M = new Proxy({}, {
@@ -59,7 +59,7 @@ const B = "menu", D = (u, i) => {
59
59
  if (!n)
60
60
  return;
61
61
  if (t === "params")
62
- return g.value;
62
+ return v.value;
63
63
  const d = Reflect.get(n, t, c);
64
64
  return typeof d == "function" ? d.bind(n) : d;
65
65
  },
@@ -78,7 +78,7 @@ const B = "menu", D = (u, i) => {
78
78
  return {
79
79
  configurable: !0,
80
80
  enumerable: !0,
81
- value: g.value
81
+ value: v.value
82
82
  };
83
83
  const c = l.value;
84
84
  if (!c)
@@ -88,9 +88,9 @@ const B = "menu", D = (u, i) => {
88
88
  return { ...n, configurable: !0 };
89
89
  }
90
90
  });
91
- return w(I, M), (e, t) => f.value ? (v(), b(h(f.value), { key: A.value })) : (v(), k("div", T, x(e.$t("cms.navigation.collections")), 1));
91
+ return w(I, M), (e, t) => f.value ? (g(), b(h(f.value), { key: A.value })) : (g(), k("div", T, x(e.$t("cms.navigation.collections")), 1));
92
92
  }
93
- }), z = o(() => import("./CollectionsPage-JfmrHNR_.js")), G = o(() => import("./ArticlesPage-BcR1hbds.js")), H = o(() => import("./BuilderPage-CK_osM89.js")), J = o(() => import("./EditCollectionPage-DtgvKGm-.js")), Q = o(() => import("./MenuPage-tJZtK46W.js")), X = o(() => import("./MenuAddPage-Bf48Z-ah.js")), Y = o(() => import("./MenuItemPage-BSwUW8tv.js"));
93
+ }), z = o(() => import("./CollectionsPage-JfmrHNR_.js")), G = o(() => import("./ArticlesPage-dx7Se1Xo.js")), H = o(() => import("./BuilderPage-ChkWE8rE.js")), J = o(() => import("./EditCollectionPage-H1J9pZNo.js")), Q = o(() => import("./MenuPage-tJZtK46W.js")), X = o(() => import("./MenuAddPage-B6Qs6qV8.js")), Y = o(() => import("./MenuItemPage-XN9lx5Vv.js"));
94
94
  export {
95
95
  G as ArticlesPage,
96
96
  H as BuilderPage,
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .ui-dialog__wrapper[data-v-6d0970a6]{position:relative}.ui-dialog__modal[data-v-6d0970a6]{margin:10px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);min-height:0;height:-moz-fit-content;height:fit-content;max-height:80vh;overflow:hidden}.ui-dialog__content[data-v-6d0970a6]{min-height:0;height:100%;overflow:auto}.ui-dialog__content[data-v-6d0970a6]::-webkit-scrollbar{width:6px;height:6px;background-color:#f5f5f5}.ui-dialog__content[data-v-6d0970a6]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d9d9d9bf}.ui-dialog__content[data-v-6d0970a6]::-webkit-scrollbar-track{background-color:#f5f5f5}@media (max-width: 650px){.ui-dialog__modal[data-v-6d0970a6]{top:50%}}.fade-enter-active[data-v-6d0970a6],.fade-leave-active[data-v-6d0970a6]{transition:opacity .2s}.fade-enter-from[data-v-6d0970a6],.fade-leave-to[data-v-6d0970a6]{opacity:0}.content-enter-active[data-v-6d0970a6],.content-leave-active[data-v-6d0970a6]{transition:transform .4s}.content-enter-from[data-v-6d0970a6],.content-leave-to[data-v-6d0970a6]{transform:translate(-50%,-50%) scale(.95)}.col-error .vs-form-text input[data-v-749b581f]{border:1px solid red}.vs-form-text[data-v-749b581f]{position:relative}.vs-form-text__input[data-v-749b581f]::-moz-placeholder{opacity:.5}.vs-form-text__input[data-v-749b581f]::placeholder{opacity:.5}.fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter-from,.fade-leave-to{opacity:0}.heading-level-1[data-v-ef7c378e]{font-weight:700;font-size:30px}.heading-level-2[data-v-ef7c378e]{font-weight:700;font-size:26px}.heading-level-3[data-v-ef7c378e]{font-weight:700;font-size:22px}.heading-level-4[data-v-ef7c378e]{font-weight:700;font-size:18px}.heading-level-5[data-v-ef7c378e]{font-weight:500;font-size:16px}.heading-level-6[data-v-ef7c378e]{font-weight:400;font-size:14px}.flex>button[data-v-b5a7cc5a]:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.flex>button[data-v-b5a7cc5a]:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.flex:hover button[data-v-b5a7cc5a]:first-child{border-right-color:transparent}code[data-v-72ce3024]{font-family:Courier New,monospace;font-size:11px}.vs-editor-html-mode[data-v-99a48167]{display:flex;align-items:center;gap:4px;padding:6px 8px;border:1px solid #d1d5db;border-radius:4px;background-color:#fff;color:#374151;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:60px;justify-content:center}.vs-editor-html-mode[data-v-99a48167]:hover{background-color:#f3f4f6;border-color:#9ca3af}.vs-editor-html-mode.is-active[data-v-99a48167]{background-color:#3b82f6;border-color:#3b82f6;color:#fff}.vs-editor-html-mode.is-active[data-v-99a48167]:hover{background-color:#2563eb;border-color:#2563eb}.vs-editor-html-mode__text[data-v-99a48167]{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.vs-editor-html-mode svg[data-v-99a48167]{flex-shrink:0}.monaco-editor-container[data-v-b1d773a1]{position:relative;width:100%;height:100%;border-radius:4px;border:1px solid #e5e7eb;overflow:visible}.monaco-editor-container[data-v-b1d773a1]:focus-within{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.dark .monaco-editor-container[data-v-b1d773a1]{border-color:#374151}.dark .monaco-editor-container[data-v-b1d773a1]:focus-within{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.monaco-editor-container .monaco-editor[data-v-b1d773a1]{position:relative!important;width:100%!important;height:100%!important}.monaco-editor-container .monaco-editor .view-lines[data-v-b1d773a1],.monaco-editor-container .monaco-editor .view-overlays[data-v-b1d773a1],.monaco-editor-container .monaco-editor .margin[data-v-b1d773a1]{position:relative}.monaco-editor .html-tag[data-v-b1d773a1]{color:#4fc1ff!important;font-weight:700}.monaco-editor .html-attribute[data-v-b1d773a1]{color:#9cdcfe!important}.monaco-editor .html-attribute-value[data-v-b1d773a1]{color:#ff6b6b!important}.monaco-editor .html-comment[data-v-b1d773a1]{color:#6a9955!important;font-style:italic}.monaco-editor .html-string[data-v-b1d773a1]{color:#ff6b6b!important}.monaco-editor .html-keyword[data-v-b1d773a1]{color:#4fc1ff!important;font-weight:700}.monaco-editor.vs .html-tag[data-v-b1d773a1]{color:#06c!important;font-weight:700}.monaco-editor.vs .html-attribute[data-v-b1d773a1]{color:#00f!important}.monaco-editor.vs .html-attribute-value[data-v-b1d773a1]{color:#c00!important}.monaco-editor.vs .html-comment[data-v-b1d773a1]{color:green!important;font-style:italic}.monaco-editor.vs .html-string[data-v-b1d773a1]{color:#c00!important}.monaco-editor.vs .html-keyword[data-v-b1d773a1]{color:#06c!important;font-weight:700}.monaco-editor .token.tag[data-v-b1d773a1]{color:#4fc1ff!important;font-weight:700}.monaco-editor .token.attribute.name[data-v-b1d773a1]{color:#9cdcfe!important}.monaco-editor .token.attribute.value[data-v-b1d773a1],.monaco-editor .token.string[data-v-b1d773a1]{color:#ff6b6b!important}.monaco-editor .token.comment[data-v-b1d773a1]{color:#6a9955!important;font-style:italic}.monaco-editor.vs .token.tag[data-v-b1d773a1]{color:#06c!important;font-weight:700}.monaco-editor.vs .token.attribute.name[data-v-b1d773a1]{color:#00f!important}.monaco-editor.vs .token.attribute.value[data-v-b1d773a1],.monaco-editor.vs .token.string[data-v-b1d773a1]{color:#c00!important}.monaco-editor.vs .token.comment[data-v-b1d773a1]{color:green!important;font-style:italic}.editor-content{min-height:160px;width:100%;overflow:auto;max-height:500px;position:relative}.fixed .editor-content{max-height:none;height:calc(100vh - 60px)}.html-source-editor{width:100%;height:100%;overflow:auto;max-height:500px}.editor-content ul{margin-left:20px}.editor-content ul>li{list-style:disc}.editor-content ol{list-style-type:decimal;margin-left:20px}.editor-content pre{background-color:#e7e7e7;border-radius:4px;padding:0 4px}.editor-content a{color:#00f;text-decoration:underline}.editor-content table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;margin:20px 0;font-family:Arial,sans-serif;font-size:14px;position:relative}.editor-content thead{position:sticky;top:0;z-index:10}.editor-content th,.editor-content td{border:1px solid #ccc;padding:10px;position:relative}.editor-content th{background-color:#f4f4f4;font-weight:700;position:sticky;top:0;z-index:10}.editor-content tr:nth-child(2n){background-color:#f9f9f9}.editor-content tr:nth-child(odd){background-color:#fff}.editor-content .editor-image{display:inline-block;vertical-align:middle;margin:0;border:2px solid transparent;border-radius:4px;transition:border-color .2s ease}.editor-content .editor-image[width][height]{max-width:none!important;max-height:none!important;min-width:auto!important;min-height:auto!important;-o-object-fit:fill!important;object-fit:fill!important}.editor-content .editor-image[style*=width]{max-width:none!important}.editor-content .editor-image[style*=height]{max-height:none!important}.editor-content .editor-image[style*=width][style*=height]{max-width:none!important;max-height:none!important}.editor-content .editor-image[width]:not([height]){height:auto}.editor-content .editor-image[height]:not([width]){width:auto}.editor-content .editor-image:not([width]):not([height]):not([style*=width]):not([style*=height]){height:auto;width:auto;max-width:100%}.editor-content .editor-image.ProseMirror-selectednode,.editor-content .ProseMirror-selectednode.editor-image{border:2px solid #3b82f6;box-shadow:0 0 0 2px #3b82f633}.editor-content p:has(.editor-image){display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;line-height:1.5}.editor-content p:has(.editor-image)[style*="text-align: center"],.editor-content p:has(.editor-image)[style*="text-align:center"]{justify-content:center}.editor-content p:has(.editor-image)[style*="text-align: right"],.editor-content p:has(.editor-image)[style*="text-align:right"]{justify-content:flex-end}.editor-content p:has(.editor-image)[style*="text-align: left"],.editor-content p:has(.editor-image)[style*="text-align:left"]{justify-content:flex-start}.editor-content p:has(.editor-image)[style*="text-align: justify"],.editor-content p:has(.editor-image)[style*="text-align:justify"]{justify-content:space-between}.editor-content p:has(.editor-image):not(:has(text)){margin:8px 0}.editor-content p .editor-image{flex-shrink:0;max-width:calc(50% - 4px);-o-object-fit:contain;object-fit:contain}.editor-content p .editor-image:only-child{max-width:100%}.editor-content p .editor-image:nth-child(1):nth-last-child(2),.editor-content p .editor-image:nth-child(2):nth-last-child(1){max-width:calc(50% - 4px)}.editor-content p .editor-image:nth-child(1):nth-last-child(3),.editor-content p .editor-image:nth-child(2):nth-last-child(2),.editor-content p .editor-image:nth-child(3):nth-last-child(1){max-width:calc(33.333% - 6px)}.editor-content p .editor-image:nth-child(n+4){max-width:calc(33.333% - 6px)}.ProseMirror-focused{outline:none}.editor-toolbar{background-color:#f9fafb}.editor-page-content{min-height:160px;width:100%;overflow:auto;position:relative}.fixed .editor-page-content{max-height:none;height:calc(100vh - 117px)}.html-source-editor{width:100%;height:100%;overflow:auto}.fixed .html-source-editor{height:calc(100vh - 60px);max-height:none}button{transition:background-color .2s ease;outline:none}button:focus{outline:none}.editor-page-content ul{margin-left:20px}.editor-page-content ul>li{list-style:disc}.editor-page-content ol{list-style-type:decimal;margin-left:20px}.editor-page-content pre{background-color:#e7e7e7;border-radius:4px;padding:0 4px}.editor-code{background-color:#f1f1f1;border-radius:3px;padding:2px 4px;font-family:Courier New,monospace;font-size:.9em}.editor-codeblock{background-color:#f8f8f8;border:1px solid #e1e1e1;border-radius:4px;padding:12px;margin:8px 0;font-family:Courier New,monospace;overflow-x:auto}.editor-page-content a{color:#00f;text-decoration:underline}.editor-page-content table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;margin:20px 0;font-family:Arial,sans-serif;font-size:14px;position:relative}.editor-page-content thead{position:sticky;top:0;z-index:10}.editor-page-content th,.editor-page-content td{border:1px solid #ccc;padding:10px;position:relative}.editor-page-content th{background-color:#f4f4f4;font-weight:700;position:sticky;top:0;z-index:10}.editor-page-content tr:nth-child(2n){background-color:#f9f9f9}.editor-page-content tr:nth-child(odd){background-color:#fff}.selectedCell{background:#f0eeed}.column-resize-handle{background-color:#1d4ed8;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.resize-cursor{cursor:ew-resize;cursor:col-resize}.editor-link{color:#00f}.editor-link:hover{text-decoration:underline}blockquote{font-style:italic;quotes:"«" "»";text-indent:16px}blockquote>p{display:inline}blockquote:before{content:open-quote;display:inline;font-size:18px;margin-right:2px}blockquote:after{content:close-quote;font-size:18px;display:inline;margin-left:2px}.html-source-editor{width:100%;height:100%}.col-error .vs-number__input{border:1px solid red}.vs-number__input::-moz-placeholder{opacity:.5}.vs-number__input::placeholder{opacity:.5}
1
+ .ui-dialog__wrapper[data-v-6d0970a6]{position:relative}.ui-dialog__modal[data-v-6d0970a6]{margin:10px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);min-height:0;height:-moz-fit-content;height:fit-content;max-height:80vh;overflow:hidden}.ui-dialog__content[data-v-6d0970a6]{min-height:0;height:100%;overflow:auto}.ui-dialog__content[data-v-6d0970a6]::-webkit-scrollbar{width:6px;height:6px;background-color:#f5f5f5}.ui-dialog__content[data-v-6d0970a6]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d9d9d9bf}.ui-dialog__content[data-v-6d0970a6]::-webkit-scrollbar-track{background-color:#f5f5f5}@media (max-width: 650px){.ui-dialog__modal[data-v-6d0970a6]{top:50%}}.fade-enter-active[data-v-6d0970a6],.fade-leave-active[data-v-6d0970a6]{transition:opacity .2s}.fade-enter-from[data-v-6d0970a6],.fade-leave-to[data-v-6d0970a6]{opacity:0}.content-enter-active[data-v-6d0970a6],.content-leave-active[data-v-6d0970a6]{transition:transform .4s}.content-enter-from[data-v-6d0970a6],.content-leave-to[data-v-6d0970a6]{transform:translate(-50%,-50%) scale(.95)}.col-error .vs-form-text input[data-v-749b581f]{border:1px solid red}.vs-form-text[data-v-749b581f]{position:relative}.vs-form-text__input[data-v-749b581f]::-moz-placeholder{opacity:.5}.vs-form-text__input[data-v-749b581f]::placeholder{opacity:.5}.fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter-from,.fade-leave-to{opacity:0}.heading-level-1[data-v-ef7c378e]{font-weight:700;font-size:30px}.heading-level-2[data-v-ef7c378e]{font-weight:700;font-size:26px}.heading-level-3[data-v-ef7c378e]{font-weight:700;font-size:22px}.heading-level-4[data-v-ef7c378e]{font-weight:700;font-size:18px}.heading-level-5[data-v-ef7c378e]{font-weight:500;font-size:16px}.heading-level-6[data-v-ef7c378e]{font-weight:400;font-size:14px}.flex>button[data-v-b5a7cc5a]:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.flex>button[data-v-b5a7cc5a]:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.flex:hover button[data-v-b5a7cc5a]:first-child{border-right-color:transparent}code[data-v-72ce3024]{font-family:Courier New,monospace;font-size:11px}.vs-editor-html-mode[data-v-99a48167]{display:flex;align-items:center;gap:4px;padding:6px 8px;border:1px solid #d1d5db;border-radius:4px;background-color:#fff;color:#374151;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:60px;justify-content:center}.vs-editor-html-mode[data-v-99a48167]:hover{background-color:#f3f4f6;border-color:#9ca3af}.vs-editor-html-mode.is-active[data-v-99a48167]{background-color:#3b82f6;border-color:#3b82f6;color:#fff}.vs-editor-html-mode.is-active[data-v-99a48167]:hover{background-color:#2563eb;border-color:#2563eb}.vs-editor-html-mode__text[data-v-99a48167]{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.vs-editor-html-mode svg[data-v-99a48167]{flex-shrink:0}.monaco-editor-container[data-v-f93e0c9a]{position:relative;width:100%;height:100%;border-radius:4px;border:1px solid #e5e7eb;overflow:visible}.monaco-editor-container[data-v-f93e0c9a]:focus-within{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.dark .monaco-editor-container[data-v-f93e0c9a]{border-color:#374151}.dark .monaco-editor-container[data-v-f93e0c9a]:focus-within{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.monaco-editor-container .monaco-editor[data-v-f93e0c9a]{position:relative!important;width:100%!important;height:100%!important}.monaco-editor-container .monaco-editor .view-lines[data-v-f93e0c9a],.monaco-editor-container .monaco-editor .view-overlays[data-v-f93e0c9a],.monaco-editor-container .monaco-editor .margin[data-v-f93e0c9a]{position:relative}.monaco-editor .html-tag[data-v-f93e0c9a]{color:#4fc1ff!important;font-weight:700}.monaco-editor .html-attribute[data-v-f93e0c9a]{color:#9cdcfe!important}.monaco-editor .html-attribute-value[data-v-f93e0c9a]{color:#ff6b6b!important}.monaco-editor .html-comment[data-v-f93e0c9a]{color:#6a9955!important;font-style:italic}.monaco-editor .html-string[data-v-f93e0c9a]{color:#ff6b6b!important}.monaco-editor .html-keyword[data-v-f93e0c9a]{color:#4fc1ff!important;font-weight:700}.monaco-editor.vs .html-tag[data-v-f93e0c9a]{color:#06c!important;font-weight:700}.monaco-editor.vs .html-attribute[data-v-f93e0c9a]{color:#00f!important}.monaco-editor.vs .html-attribute-value[data-v-f93e0c9a]{color:#c00!important}.monaco-editor.vs .html-comment[data-v-f93e0c9a]{color:green!important;font-style:italic}.monaco-editor.vs .html-string[data-v-f93e0c9a]{color:#c00!important}.monaco-editor.vs .html-keyword[data-v-f93e0c9a]{color:#06c!important;font-weight:700}.monaco-editor .token.tag[data-v-f93e0c9a]{color:#4fc1ff!important;font-weight:700}.monaco-editor .token.attribute.name[data-v-f93e0c9a]{color:#9cdcfe!important}.monaco-editor .token.attribute.value[data-v-f93e0c9a],.monaco-editor .token.string[data-v-f93e0c9a]{color:#ff6b6b!important}.monaco-editor .token.comment[data-v-f93e0c9a]{color:#6a9955!important;font-style:italic}.monaco-editor.vs .token.tag[data-v-f93e0c9a]{color:#06c!important;font-weight:700}.monaco-editor.vs .token.attribute.name[data-v-f93e0c9a]{color:#00f!important}.monaco-editor.vs .token.attribute.value[data-v-f93e0c9a],.monaco-editor.vs .token.string[data-v-f93e0c9a]{color:#c00!important}.monaco-editor.vs .token.comment[data-v-f93e0c9a]{color:green!important;font-style:italic}.editor-content{min-height:160px;width:100%;overflow:hidden;max-height:500px;position:relative;display:flex;flex-direction:column}.rich-text-scroll-wrapper{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.fixed .editor-content{max-height:none;height:calc(100vh - 60px)}.html-source-editor{flex:1;min-height:0;width:100%;overflow:auto;max-height:500px}.fixed .html-source-editor{flex:1;min-height:0;max-height:none;overflow:hidden}.editor-content ul{margin-left:20px}.editor-content ul>li{list-style:disc}.editor-content ol{list-style-type:decimal;margin-left:20px}.editor-content pre{background-color:#e7e7e7;border-radius:4px;padding:0 4px}.editor-content a{color:#00f;text-decoration:underline}.editor-content table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;margin:20px 0;font-family:Arial,sans-serif;font-size:14px;position:relative}.editor-content thead{position:sticky;top:0;z-index:10}.editor-content th,.editor-content td{border:1px solid #ccc;padding:10px;position:relative}.editor-content th{background-color:#f4f4f4;font-weight:700;position:sticky;top:0;z-index:10}.editor-content tr:nth-child(2n){background-color:#f9f9f9}.editor-content tr:nth-child(odd){background-color:#fff}.editor-content .editor-image{display:inline-block;vertical-align:middle;margin:0;border:2px solid transparent;border-radius:4px;transition:border-color .2s ease}.editor-content .editor-image[width][height]{max-width:none!important;max-height:none!important;min-width:auto!important;min-height:auto!important;-o-object-fit:fill!important;object-fit:fill!important}.editor-content .editor-image[style*=width]{max-width:none!important}.editor-content .editor-image[style*=height]{max-height:none!important}.editor-content .editor-image[style*=width][style*=height]{max-width:none!important;max-height:none!important}.editor-content .editor-image[width]:not([height]){height:auto}.editor-content .editor-image[height]:not([width]){width:auto}.editor-content .editor-image:not([width]):not([height]):not([style*=width]):not([style*=height]){height:auto;width:auto;max-width:100%}.editor-content .editor-image.ProseMirror-selectednode,.editor-content .ProseMirror-selectednode.editor-image{border:2px solid #3b82f6;box-shadow:0 0 0 2px #3b82f633}.editor-content p:has(.editor-image){display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;line-height:1.5}.editor-content p:has(.editor-image)[style*="text-align: center"],.editor-content p:has(.editor-image)[style*="text-align:center"]{justify-content:center}.editor-content p:has(.editor-image)[style*="text-align: right"],.editor-content p:has(.editor-image)[style*="text-align:right"]{justify-content:flex-end}.editor-content p:has(.editor-image)[style*="text-align: left"],.editor-content p:has(.editor-image)[style*="text-align:left"]{justify-content:flex-start}.editor-content p:has(.editor-image)[style*="text-align: justify"],.editor-content p:has(.editor-image)[style*="text-align:justify"]{justify-content:space-between}.editor-content p:has(.editor-image):not(:has(text)){margin:8px 0}.editor-content p .editor-image{flex-shrink:0;max-width:calc(50% - 4px);-o-object-fit:contain;object-fit:contain}.editor-content p .editor-image:only-child{max-width:100%}.editor-content p .editor-image:nth-child(1):nth-last-child(2),.editor-content p .editor-image:nth-child(2):nth-last-child(1){max-width:calc(50% - 4px)}.editor-content p .editor-image:nth-child(1):nth-last-child(3),.editor-content p .editor-image:nth-child(2):nth-last-child(2),.editor-content p .editor-image:nth-child(3):nth-last-child(1){max-width:calc(33.333% - 6px)}.editor-content p .editor-image:nth-child(n+4){max-width:calc(33.333% - 6px)}.ProseMirror-focused{outline:none}.editor-toolbar{background-color:#f9fafb}.editor-page-content{min-height:160px;width:100%;overflow:auto;position:relative}.fixed .editor-page-content{max-height:none;height:calc(100vh - 117px)}.html-source-editor{width:100%;height:100%;overflow:auto}.fixed .html-source-editor{height:calc(100vh - 60px);max-height:none}button{transition:background-color .2s ease;outline:none}button:focus{outline:none}.editor-page-content ul{margin-left:20px}.editor-page-content ul>li{list-style:disc}.editor-page-content ol{list-style-type:decimal;margin-left:20px}.editor-page-content pre{background-color:#e7e7e7;border-radius:4px;padding:0 4px}.editor-code{background-color:#f1f1f1;border-radius:3px;padding:2px 4px;font-family:Courier New,monospace;font-size:.9em}.editor-codeblock{background-color:#f8f8f8;border:1px solid #e1e1e1;border-radius:4px;padding:12px;margin:8px 0;font-family:Courier New,monospace;overflow-x:auto}.editor-page-content a{color:#00f;text-decoration:underline}.editor-page-content table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;margin:20px 0;font-family:Arial,sans-serif;font-size:14px;position:relative}.editor-page-content thead{position:sticky;top:0;z-index:10}.editor-page-content th,.editor-page-content td{border:1px solid #ccc;padding:10px;position:relative}.editor-page-content th{background-color:#f4f4f4;font-weight:700;position:sticky;top:0;z-index:10}.editor-page-content tr:nth-child(2n){background-color:#f9f9f9}.editor-page-content tr:nth-child(odd){background-color:#fff}.selectedCell{background:#f0eeed}.column-resize-handle{background-color:#1d4ed8;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.resize-cursor{cursor:ew-resize;cursor:col-resize}.editor-link{color:#00f}.editor-link:hover{text-decoration:underline}blockquote{font-style:italic;quotes:"«" "»";text-indent:16px}blockquote>p{display:inline}blockquote:before{content:open-quote;display:inline;font-size:18px;margin-right:2px}blockquote:after{content:close-quote;font-size:18px;display:inline;margin-left:2px}.html-source-editor{width:100%;height:100%}.col-error .vs-number__input{border:1px solid red}.vs-number__input::-moz-placeholder{opacity:.5}.vs-number__input::placeholder{opacity:.5}