edu360-web-ui 1.0.110 → 1.0.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.css +2 -2
- package/dist/shizhanyun-web-ui.js +112 -29
- package/dist/shizhanyun-web-ui.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@charset "UTF-8";[data-v-4036ce0f]:root{--clnpmel-color-primary: #fc5b08 !important}.code-block-view[data-v-4036ce0f]{margin:10px 0}.code-block-view .code-block-view-cont[data-v-4036ce0f]{margin:0 30px;border-radius:6px;border:1px solid #ccc}.code-toolbar[data-v-4036ce0f]{display:flex;gap:6px;align-items:center;justify-content:space-between;padding:4px 8px;font-size:12px;background:#f8fafe;border-bottom:1px solid #ddd;height:36px;border-radius:6px 6px 0 0}.code-toolbar .code-toolbar-right[data-v-4036ce0f]{display:flex;align-items:center;gap:20px}.code-toolbar .el-dropdown-link[data-v-4036ce0f]{cursor:pointer;display:flex;align-items:center}.hljs[data-v-4036ce0f]{border-radius:0 0 6px 6px}.hljs.no-toolbar[data-v-4036ce0f]{border-radius:6px}.dark .code-toolbar[data-v-4036ce0f]{background:#272822;color:#ddd}.dark .code-toolbar .el-dropdown[data-v-4036ce0f]{color:#ddd}pre[data-v-4036ce0f]{margin:0!important;padding:10px!important;font-size:14px;overflow-x:auto}.code-content[data-v-4036ce0f]{font-family:Courier New,Courier,monospace;white-space:pre-wrap;word-wrap:break-word}[data-v-
|
|
1
|
+
@charset "UTF-8";[data-v-4036ce0f]:root{--clnpmel-color-primary: #fc5b08 !important}.code-block-view[data-v-4036ce0f]{margin:10px 0}.code-block-view .code-block-view-cont[data-v-4036ce0f]{margin:0 30px;border-radius:6px;border:1px solid #ccc}.code-toolbar[data-v-4036ce0f]{display:flex;gap:6px;align-items:center;justify-content:space-between;padding:4px 8px;font-size:12px;background:#f8fafe;border-bottom:1px solid #ddd;height:36px;border-radius:6px 6px 0 0}.code-toolbar .code-toolbar-right[data-v-4036ce0f]{display:flex;align-items:center;gap:20px}.code-toolbar .el-dropdown-link[data-v-4036ce0f]{cursor:pointer;display:flex;align-items:center}.hljs[data-v-4036ce0f]{border-radius:0 0 6px 6px}.hljs.no-toolbar[data-v-4036ce0f]{border-radius:6px}.dark .code-toolbar[data-v-4036ce0f]{background:#272822;color:#ddd}.dark .code-toolbar .el-dropdown[data-v-4036ce0f]{color:#ddd}pre[data-v-4036ce0f]{margin:0!important;padding:10px!important;font-size:14px;overflow-x:auto}.code-content[data-v-4036ce0f]{font-family:Courier New,Courier,monospace;white-space:pre-wrap;word-wrap:break-word}[data-v-244d909d]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-popup[data-v-244d909d]{margin:8px 30px;background:#fff;font-size:14px;box-shadow:0 0 0 .5px #6b729447,0 2px 4px #565b760a,0 4px 24px -2px #565b7614;border-radius:12px;position:relative;z-index:2}.ai-input[data-v-244d909d]{border-radius:12px 12px 0 0;padding:16px 16px 12px;width:100%;box-sizing:border-box}.ai-input[data-v-244d909d] .el-textarea__inner{box-shadow:none;resize:none;padding:0}.ai-btns[data-v-244d909d]{display:flex;justify-content:flex-end;align-items:center;padding:0 16px 16px;border-radius:0 0 12px 12px}.ai-btns .ai-btns-send[data-v-244d909d]{width:32px;height:32px;background-color:var(--el-color-primary);border-radius:50%;color:#fff;display:flex;justify-content:center;align-items:center;font-size:18px;cursor:pointer}.ai-btns .ai-btns-send.is-disabled[data-v-244d909d]{background-color:#6b729452;cursor:not-allowed}.ai-quick-actions[data-v-244d909d]{padding:20px;top:calc(100% + 6px);left:0;position:absolute!important;width:160px;max-height:46vh;overflow-y:auto;background:#fff;border-radius:12px;-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);box-shadow:#565b7647 0 0 0 .5px,#00000014 0 2px 4px,#00000014 0 4px 12px -4px,#00000029 0 16px 24px -4px;gap:10px}.ai-quick-actions .ai-quick-actions-item[data-v-244d909d]{height:32px;display:flex;justify-content:space-between;align-items:center;font-size:14px;cursor:pointer}.ai-quick-actions .ai-quick-actions-item>div[data-v-244d909d]{display:flex;align-items:center;gap:4px}.tone-list[data-v-244d909d]{display:flex;flex-direction:column;font-size:14px;gap:10px}.tone-list>p[data-v-244d909d]{cursor:pointer}.ai-result .result-answer[data-v-244d909d]{padding:0 18px;height:45px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #EEEEEE;font-size:14px;border-radius:12px 12px 0 0}.ai-result .result-text[data-v-244d909d]{padding:20px 18px 0;font-size:14px;white-space:pre-wrap;max-height:300px;overflow-y:auto}.ai-result .result-image[data-v-244d909d]{padding:10px;display:flex;justify-content:flex-start;gap:10px}.ai-result .result-image>div[data-v-244d909d]{flex:1;width:0;position:relative}.ai-result .result-image>div>img[data-v-244d909d]{object-fit:cover;width:100%}.ai-result .result-image>div .result-image-checkbox[data-v-244d909d]{position:absolute;top:10px;right:10px}.ai-result .result-actions[data-v-244d909d]{display:flex;align-items:center;gap:8px;padding:10px 20px 20px;border-radius:0 0 12px 12px}.result-text[data-v-244d909d]{margin-bottom:8px;white-space:pre-wrap}.result-actions[data-v-244d909d]{display:flex;gap:8px}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
|
|
2
2
|
Theme: GitHub
|
|
3
3
|
Description: Light theme as seen on github.com
|
|
4
4
|
Author: github.com
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
|
|
8
8
|
Outdated base version: https://github.com/primer/github-syntax-light
|
|
9
9
|
Current colors taken from GitHub's CSS
|
|
10
|
-
*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.link-bubble[data-v-652c40fc]{position:absolute;width:300px}.unlink-btn[data-v-652c40fc]{color:#f56c6c;border-color:#f56c6c;display:flex;align-items:center;transition:all .2s}.unlink-btn[data-v-652c40fc]:hover{background-color:#f56c6c;color:#fff;border-color:#f56c6c}.unlink-btn svg[data-v-652c40fc]{flex-shrink:0}.flex[data-v-652c40fc]{display:flex}.justify-between[data-v-652c40fc]{justify-content:space-between}.items-center[data-v-652c40fc]{align-items:center}.ml-1[data-v-652c40fc]{margin-left:4px}.mt-2[data-v-652c40fc]{margin-top:8px}.text-right[data-v-652c40fc]{text-align:right}[data-v-c0c6a2ad]:root{--clnpmel-color-primary: #fc5b08 !important}.jupyter-icon[data-v-c0c6a2ad]{display:inline-block;vertical-align:middle;fill:#333}.sudoku-div[data-v-d94a94d9]{background-color:#fff;display:inline-block}.sudoku-row[data-v-d94a94d9]{height:20px;display:flex;gap:2px}.sudoku-col[data-v-d94a94d9]{display:inline-block;width:16px;height:16px;margin-right:2px;background-color:#171a1d1a;cursor:pointer}.sudoku-col.active[data-v-d94a94d9]{background-color:#256cfb!important}[data-v-df6b62d1]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-df6b62d1]{position:relative;height:25px;z-index:999}.floating-menu .floating-menu-btn[data-v-df6b62d1]{border-radius:4px;border:1px solid #eee;background-color:#fff;padding:4px}.floating-menu .floating-menu-btn>p[data-v-df6b62d1]{line-height:14px;height:14px;margin:0}.floating-menu-cont[data-v-df6b62d1]{display:flex;flex-direction:column;gap:4px;position:absolute;border-radius:4px;border:1px solid #eee;background-color:#fff;padding:0 20px 20px;width:220px;box-sizing:border-box}.floating-menu-cont .floating-menu-tit[data-v-df6b62d1]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-df6b62d1]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-df6b62d1]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-df6b62d1]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-df6b62d1]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-df6b62d1]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-df6b62d1]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-df6b62d1]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-df6b62d1]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r>p[data-v-df6b62d1]{margin:0}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-df6b62d1]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-df6b62d1]{flex-direction:row;justify-content:space-between;align-items:center}.icon-gray[data-v-df6b62d1]{color:#999!important;cursor:not-allowed!important}.icon-gray .floating-menu-common-item-r[data-v-df6b62d1]{color:#999!important}.block-menu-item[data-v-df6b62d1]{padding:.25rem;display:flex;align-items:center;gap:1rem;cursor:pointer;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:#4b5563}.block-menu-item .block-menu-item-icon[data-v-df6b62d1]{background-color:#f3f4f6;display:flex;justify-content:center;align-items:center;height:24px;width:24px;border-radius:4px;--tw-bg-opacity: 1;padding:4px;font-size:20px}.block-menu-item[data-v-df6b62d1]:hover{background-color:#f3f4f6;font-weight:500;--tw-text-opacity: 1;color:#111827}.block-menu-item:hover .block-menu-item-icon[data-v-df6b62d1]{background-color:#fff}.tiptap-vue .tiptap-upload-file>div{width:100%}.tiptap-vue .tiptap-upload-file .block-menu-item{width:100%}[data-v-be715d1d]:root{--clnpmel-color-primary: #fc5b08 !important}.my-drawer .dialog-header[data-v-be715d1d]{display:flex;justify-content:flex-start;align-items:center;gap:6px}.my-drawer .dialog-header div[data-v-be715d1d]{color:var(--text-color);font-size:18px;font-style:normal;font-weight:400;line-height:25px}.my-drawer .close[data-v-be715d1d]{position:absolute;top:14px;right:14px;cursor:pointer}.my-drawer .el-drawer__header{margin-bottom:0}[data-v-146ec70a]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-146ec70a]{display:flex;align-items:center;cursor:pointer}.toolbar[data-v-146ec70a]{display:flex;gap:8px;flex-wrap:wrap;padding:8px 20px;align-items:center}.toolbar .flex-center[data-v-146ec70a],.toolbar .flex-center .upload-demo[data-v-146ec70a]{display:flex;align-items:center;justify-content:center}.toolbar svg[data-v-146ec70a]{color:#333}.toolbar .el-dropdown[data-v-146ec70a]{height:22px}.is-active[data-v-146ec70a]{color:#256cfb}.icon-gray[data-v-146ec70a]{color:#999!important;cursor:not-allowed!important}.tiptap-upload-demo[data-v-146ec70a]{height:18px;display:flex;justify-content:center;align-items:center}.align-item[data-v-146ec70a]{display:flex;align-items:center;gap:4px}.table-content[data-v-146ec70a]{display:flex;justify-content:center;align-items:center;position:relative}.el-dropdown-menu__item>p[data-v-146ec70a]{margin:0!important}.el-dropdown-link.disabled[data-v-146ec70a]{opacity:.5;cursor:not-allowed!important;pointer-events:none}.tiptap-drop-down .el-dropdown-menu__item:not(.is-disabled):hover{background-color:#171a1d0f!important;color:inherit!important}.tiptap-drop-down .el-button--primary.is-link,.tiptap-drop-down .el-button--primary.is-plain,.tiptap-drop-down .el-button--primary.is-text{color:#256cfb!important}.tiptap-drop-down .el-button--primary.is-link svg,.tiptap-drop-down .el-button--primary.is-plain svg,.tiptap-drop-down .el-button--primary.is-text svg{color:#256cfb!important}.bubble-menu[data-v-dc69236f]{background:#fff;border-radius:12px;box-shadow:0 0 0 .5px #565b7647,0 2px 4px #00000014,0 4px 12px -4px #00000014,0 16px 24px -4px #00000029;z-index:999;display:flex}[data-v-1f02baea]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-1f02baea]{position:absolute;left:-44px;top:-14px;height:40px}.floating-menu-cont[data-v-1f02baea]{display:flex;flex-direction:column;gap:4px}.floating-menu-cont .floating-menu-tit[data-v-1f02baea]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-1f02baea]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-1f02baea]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-1f02baea]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-1f02baea]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-1f02baea]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-1f02baea]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-1f02baea]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-1f02baea]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-1f02baea]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-1f02baea]{flex-direction:row;justify-content:space-between;align-items:center}[data-v-291951b5]:root{--clnpmel-color-primary: #fc5b08 !important}.table-toolbar-wrapper[data-v-291951b5]{position:relative}.table-side-icon[data-v-291951b5]{width:24px;height:24px;border-radius:4px;background:#fff;box-shadow:0 2px 8px #0000001f;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#333;transition:transform .12s ease,background .12s ease}.table-side-icon[data-v-291951b5]:hover{transform:translateY(-2px);background:#f5f7ff}.table-toolbar-btns[data-v-291951b5]{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:10px}.table-toolbar-btns>div[data-v-291951b5]{cursor:pointer;padding:4px 8px;border-radius:4px}.table-toolbar-btns>div[data-v-291951b5]:hover{background-color:#f5f7fa}.table-toolbar-btns .danger[data-v-291951b5]{color:#f56c6c}.merge-control-panel[data-v-291951b5]{position:absolute;background:#fff;border-radius:6px;box-shadow:0 4px 12px #00000026;padding:8px;min-width:160px;z-index:1001}.merge-control-panel .merge-panel-header[data-v-291951b5]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #ebeef5;font-size:12px;color:#606266}.merge-control-panel .merge-panel-header svg[data-v-291951b5]{cursor:pointer;color:#909399}.merge-control-panel .merge-panel-header svg[data-v-291951b5]:hover{color:#409eff}.merge-control-panel .merge-panel-content[data-v-291951b5]{display:flex;flex-direction:column;gap:4px}.merge-control-panel .merge-option[data-v-291951b5]{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:13px}.merge-control-panel .merge-option[data-v-291951b5]:hover{background-color:#f5f7fa}.merge-control-panel .merge-option.disabled[data-v-291951b5]{opacity:.5;cursor:not-allowed}.merge-control-panel .merge-option.disabled[data-v-291951b5]:hover{background-color:transparent}[data-v-39837116]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-content[data-v-39837116]{position:absolute;width:calc(100% - 40px)}[data-v-82f11bbd]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-82f11bbd]{display:flex;align-items:center;gap:4px;cursor:pointer}[data-v-82f11bbd] .el-dropdown-menu__item.active{color:var(--el-color-primary)}.editor-wrapper[data-v-82f11bbd]{border:1px solid #eeeeee;border-radius:6px;position:relative;box-sizing:border-box;display:flex;flex-direction:column}.editor-wrapper .editor-wrapper-toolbar[data-v-82f11bbd]{border-bottom:1px solid #eeeeee}.editor-wrapper .editor-bottom[data-v-82f11bbd]{display:flex;justify-content:space-between;align-items:center;padding:0 20px;height:40px;border-top:1px solid #eeeeee}.editor-wrapper .editor-bottom .editor-bottom-r[data-v-82f11bbd]{color:#999;font-size:12px}.editor-content-container[data-v-82f11bbd]{flex:1;height:0;position:relative}.editor-content[data-v-82f11bbd]{padding:20px 0;position:relative;box-sizing:border-box;height:100%;overflow-y:auto}.editor-content .editor-loading[data-v-82f11bbd]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:100000}.upload-demo[data-v-82f11bbd]{display:flex;align-items:center}.bubble-menu[data-v-82f11bbd]{background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}.floating-menu[data-v-82f11bbd]{position:absolute;left:-50px;top:-14px;height:40px}.floating-menu .floating-menu-cont[data-v-82f11bbd]{display:flex;flex-direction:column}.table-toolbar[data-v-82f11bbd]{position:absolute;z-index:2}.table-toolbar .table-toolbar-btns[data-v-82f11bbd]{display:flex;flex-direction:column;gap:10px;background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}:root{--clnpmel-color-primary: #fc5b08 !important}.tiptap-vue .editor-content table{border-collapse:collapse;margin:10px 0;overflow:hidden;table-layout:fixed;width:100%;border:1px solid #ccc}.tiptap-vue .editor-content table td,.tiptap-vue .editor-content table th{border:1px solid #ccc;box-sizing:border-box;min-width:1em;padding:10px;position:relative;vertical-align:top}.tiptap-vue .editor-content table td>*,.tiptap-vue .editor-content table th>*{margin-bottom:0}.tiptap-vue .editor-content table td ul[data-type=taskList],.tiptap-vue .editor-content table th ul[data-type=taskList]{padding-left:0!important}.tiptap-vue .editor-content table td ul.bullet-list,.tiptap-vue .editor-content table th ul.bullet-list,.tiptap-vue .editor-content table td ol.ordered-list,.tiptap-vue .editor-content table th ol.ordered-list{padding-left:18px!important}.tiptap-vue .editor-content table th{background-color:var(--gray-1);font-weight:700;text-align:left}.tiptap-vue .editor-content table .selectedCell:after{background:#b7dcfb4d;content:"";left:0;right:0;top:0;bottom:0;pointer-events:none;position:absolute;z-index:2}.tiptap-vue .editor-content table .column-resize-handle,.tiptap-vue .editor-content table .row-resize-handle{background-color:#000;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.tiptap-vue .editor-content.resize-cursor{cursor:ew-resize;cursor:col-resize}.tiptap-vue .editor-content ul[data-type=taskList]{list-style:none;padding-left:30px;margin:10px 0}.tiptap-vue .editor-content ul[data-type=taskList] li{display:flex;align-items:baseline;-webkit-box-align:baseline}.tiptap-vue .editor-content ul[data-type=taskList] li>label{flex:0 0 auto;margin-right:.5rem;margin-top:.15em;-webkit-user-select:none;user-select:none;display:flex;align-items:center;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] li>div{flex:1 1 auto;word-wrap:break-word;word-break:break-word;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] li>div>p{margin:0!important;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] input[type=checkbox]{cursor:pointer;margin:0;flex-shrink:0}.tiptap-vue .editor-content ul[data-type=taskList] ul[data-type=taskList]{margin:0}.tiptap-vue .editor-content img,.tiptap-vue .editor-content p,.tiptap-vue .editor-content ol,.tiptap-vue .editor-content h1,.tiptap-vue .editor-content h2,.tiptap-vue .editor-content h3,.tiptap-vue .editor-content h4,.tiptap-vue .editor-content h5,.tiptap-vue .editor-content h6{margin:10px 0}.tiptap-vue .editor-content .ProseMirror{height:calc(100% - 10px)}.tiptap-vue .editor-content .ProseMirror p.is-empty:before{padding-left:30px;content:attr(data-placeholder);position:absolute;top:0;left:0;color:#999;pointer-events:none;font-size:inherit;font-style:italic;-webkit-user-select:none;user-select:none}.tiptap-vue .editor-content .ProseMirror>*{padding:0 30px}.tiptap-vue .editor-content .code-block-view,.tiptap-vue .editor-content .ai-assistant-card{padding:0!important}.tiptap-vue .editor-content ul[data-type=taskList] li>p{margin:0!important}.tiptap-vue .editor-content .bullet-list{padding-left:50px}.tiptap-vue .editor-content .bullet-list li>p{margin:0!important}.tiptap-vue .editor-content .ordered-list li>p{margin:0!important}.tiptap-vue .editor-content h1{font-size:2em!important}.tiptap-vue .editor-content h2{font-size:1.5em!important}.tiptap-vue .editor-content h3{font-size:1.17em!important}.tiptap-vue .editor-content h4{font-size:inherit!important}.tiptap-vue .editor-content h5{font-size:.83em!important}.tiptap-vue .editor-content h6{font-size:.67em!important}.is-inline .bullet-list,.is-inline .ordered-list,.is-inline ol,.is-inline ul[data-type=taskList]{padding-left:0!important}.tiptap-vue .el-form-item{margin-bottom:10px!important}.tiptap-vue .noPadding{padding:0}.tiptap-vue .noPadding .ProseMirror>*{padding:0}.tiptap-vue .noPadding .code-block-view-cont{margin:0!important}:focus{outline:none!important}:focus-visible{outline:none!important}.tiptap ol{padding-left:50px!important;list-style-type:decimal;margin:.5em 0}.tiptap ol ol{list-style-type:lower-alpha}.tiptap ol ol ol{list-style-type:lower-roman}.tiptap ol ol ol ol{list-style-type:upper-alpha}.tiptap ol ol ol ol ol{list-style-type:upper-roman}.tiptap li{position:relative}.tiptap ol[data-level="2"]{background-color:#00000005}.tiptap ol[data-level="3"]{background-color:#0000000a}.source-dialog-content{width:100%;height:100%}.source-dialog-content :deep(.el-textarea){width:100%}.source-dialog-content :deep(.el-textarea__inner){font-family:Consolas,Monaco,Courier New,monospace;font-size:13px;line-height:1.5;resize:none}.tiptap-vue .editor-content :deep(u),.tiptap-vue .editor-content :deep(.underline){text-decoration:underline!important}.tiptap-vue .editor-content :deep(s),.tiptap-vue .editor-content :deep(del),.tiptap-vue .editor-content :deep(strike){text-decoration:line-through!important}.tiptap-vue .editor-content :deep([style*="text-align"]){text-align:inherit}@font-face{font-family:iconfont;src:url(iconfont.woff2?t=1761630666591) format("woff2"),url(iconfont.woff?t=1761630666591) format("woff"),url(iconfont.ttf?t=1761630666591) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-logos--jupyter:before{content:""}
|
|
10
|
+
*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.link-bubble[data-v-547694a0]{position:absolute;width:300px}.unlink-btn[data-v-547694a0]{color:#f56c6c;border-color:#f56c6c;display:flex;align-items:center;transition:all .2s}.unlink-btn[data-v-547694a0]:hover{background-color:#f56c6c;color:#fff;border-color:#f56c6c}.unlink-btn svg[data-v-547694a0]{flex-shrink:0}.flex[data-v-547694a0]{display:flex}.justify-between[data-v-547694a0]{justify-content:space-between}.items-center[data-v-547694a0]{align-items:center}.ml-1[data-v-547694a0]{margin-left:4px}.mt-2[data-v-547694a0]{margin-top:8px}.text-right[data-v-547694a0]{text-align:right}[data-v-c0c6a2ad]:root{--clnpmel-color-primary: #fc5b08 !important}.jupyter-icon[data-v-c0c6a2ad]{display:inline-block;vertical-align:middle;fill:#333}.sudoku-div[data-v-d94a94d9]{background-color:#fff;display:inline-block}.sudoku-row[data-v-d94a94d9]{height:20px;display:flex;gap:2px}.sudoku-col[data-v-d94a94d9]{display:inline-block;width:16px;height:16px;margin-right:2px;background-color:#171a1d1a;cursor:pointer}.sudoku-col.active[data-v-d94a94d9]{background-color:#256cfb!important}[data-v-d72f0e9a]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-d72f0e9a]{position:relative;height:25px;z-index:999}.floating-menu .floating-menu-btn[data-v-d72f0e9a]{border-radius:4px;border:1px solid #eee;background-color:#fff;padding:4px}.floating-menu .floating-menu-btn>p[data-v-d72f0e9a]{line-height:14px;height:14px;margin:0}.floating-menu-cont[data-v-d72f0e9a]{display:flex;flex-direction:column;gap:4px;position:absolute;border-radius:4px;border:1px solid #eee;background-color:#fff;padding:0 20px 20px;width:220px;box-sizing:border-box}.floating-menu-cont .floating-menu-tit[data-v-d72f0e9a]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-d72f0e9a]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-d72f0e9a]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-d72f0e9a]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-d72f0e9a]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-d72f0e9a]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-d72f0e9a]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-d72f0e9a]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-d72f0e9a]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r>p[data-v-d72f0e9a]{margin:0}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-d72f0e9a]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-d72f0e9a]{flex-direction:row;justify-content:space-between;align-items:center}.icon-gray[data-v-d72f0e9a]{color:#999!important;cursor:not-allowed!important}.icon-gray .floating-menu-common-item-r[data-v-d72f0e9a]{color:#999!important}.block-menu-item[data-v-d72f0e9a]{padding:.25rem;display:flex;align-items:center;gap:1rem;cursor:pointer;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;color:#4b5563}.block-menu-item .block-menu-item-icon[data-v-d72f0e9a]{background-color:#f3f4f6;display:flex;justify-content:center;align-items:center;height:24px;width:24px;border-radius:4px;--tw-bg-opacity: 1;padding:4px;font-size:20px}.block-menu-item[data-v-d72f0e9a]:hover{background-color:#f3f4f6;font-weight:500;--tw-text-opacity: 1;color:#111827}.block-menu-item:hover .block-menu-item-icon[data-v-d72f0e9a]{background-color:#fff}.tiptap-vue .tiptap-upload-file>div{width:100%}.tiptap-vue .tiptap-upload-file .block-menu-item{width:100%}[data-v-be715d1d]:root{--clnpmel-color-primary: #fc5b08 !important}.my-drawer .dialog-header[data-v-be715d1d]{display:flex;justify-content:flex-start;align-items:center;gap:6px}.my-drawer .dialog-header div[data-v-be715d1d]{color:var(--text-color);font-size:18px;font-style:normal;font-weight:400;line-height:25px}.my-drawer .close[data-v-be715d1d]{position:absolute;top:14px;right:14px;cursor:pointer}.my-drawer .el-drawer__header{margin-bottom:0}[data-v-8a153055]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-8a153055]{display:flex;align-items:center;cursor:pointer}.toolbar[data-v-8a153055]{display:flex;gap:8px;flex-wrap:wrap;padding:8px 20px;align-items:center}.toolbar .flex-center[data-v-8a153055],.toolbar .flex-center .upload-demo[data-v-8a153055]{display:flex;align-items:center;justify-content:center}.toolbar svg[data-v-8a153055]{color:#333}.toolbar .el-dropdown[data-v-8a153055]{height:22px}.is-active[data-v-8a153055]{color:#256cfb}.icon-gray[data-v-8a153055]{color:#999!important;cursor:not-allowed!important}.tiptap-upload-demo[data-v-8a153055]{height:18px;display:flex;justify-content:center;align-items:center}.align-item[data-v-8a153055]{display:flex;align-items:center;gap:4px}.table-content[data-v-8a153055]{display:flex;justify-content:center;align-items:center;position:relative}.el-dropdown-menu__item>p[data-v-8a153055]{margin:0!important}.el-dropdown-link.disabled[data-v-8a153055]{opacity:.5;cursor:not-allowed!important;pointer-events:none}.tiptap-drop-down .el-dropdown-menu__item:not(.is-disabled):hover{background-color:#171a1d0f!important;color:inherit!important}.tiptap-drop-down .el-button--primary.is-link,.tiptap-drop-down .el-button--primary.is-plain,.tiptap-drop-down .el-button--primary.is-text{color:#256cfb!important}.tiptap-drop-down .el-button--primary.is-link svg,.tiptap-drop-down .el-button--primary.is-plain svg,.tiptap-drop-down .el-button--primary.is-text svg{color:#256cfb!important}.bubble-menu[data-v-dc69236f]{background:#fff;border-radius:12px;box-shadow:0 0 0 .5px #565b7647,0 2px 4px #00000014,0 4px 12px -4px #00000014,0 16px 24px -4px #00000029;z-index:999;display:flex}[data-v-1f02baea]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-1f02baea]{position:absolute;left:-44px;top:-14px;height:40px}.floating-menu-cont[data-v-1f02baea]{display:flex;flex-direction:column;gap:4px}.floating-menu-cont .floating-menu-tit[data-v-1f02baea]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-1f02baea]{padding-bottom:20px;width:100%;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #EEEEEE}.floating-menu-cont .floating-menu-top .floating-menu-top-btns[data-v-1f02baea]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-1f02baea]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-1f02baea]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-1f02baea]{margin-top:10px;display:flex;flex-direction:column;gap:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item[data-v-1f02baea]{display:flex;align-items:center;gap:10px;cursor:pointer}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-l[data-v-1f02baea]{width:42px;height:42px;border:1px solid #EEEEEE;display:flex;align-items:center;justify-content:center;border-radius:4px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r[data-v-1f02baea]{width:100%;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#333}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-1f02baea]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-1f02baea]{flex-direction:row;justify-content:space-between;align-items:center}[data-v-61adf0aa]:root{--clnpmel-color-primary: #fc5b08 !important}.table-toolbar-wrapper[data-v-61adf0aa]{position:relative}.table-side-icon[data-v-61adf0aa]{width:24px;height:24px;border-radius:4px;background:#fff;box-shadow:0 2px 8px #0000001f;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#333;transition:transform .12s ease,background .12s ease}.table-side-icon[data-v-61adf0aa]:hover{transform:translateY(-2px);background:#f5f7ff}.table-toolbar-btns[data-v-61adf0aa]{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:10px}.table-toolbar-btns>div[data-v-61adf0aa]{cursor:pointer;padding:4px 8px;border-radius:4px}.table-toolbar-btns>div[data-v-61adf0aa]:hover{background-color:#f5f7fa}.table-toolbar-btns .danger[data-v-61adf0aa]{color:#f56c6c}.merge-control-panel[data-v-61adf0aa]{position:absolute;background:#fff;border-radius:6px;box-shadow:0 4px 12px #00000026;padding:8px;min-width:160px;z-index:1001}.merge-control-panel .merge-panel-header[data-v-61adf0aa]{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #ebeef5;font-size:12px;color:#606266}.merge-control-panel .merge-panel-header svg[data-v-61adf0aa]{cursor:pointer;color:#909399}.merge-control-panel .merge-panel-header svg[data-v-61adf0aa]:hover{color:#409eff}.merge-control-panel .merge-panel-content[data-v-61adf0aa]{display:flex;flex-direction:column;gap:4px}.merge-control-panel .merge-option[data-v-61adf0aa]{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:13px}.merge-control-panel .merge-option[data-v-61adf0aa]:hover{background-color:#f5f7fa}.merge-control-panel .merge-option.disabled[data-v-61adf0aa]{opacity:.5;cursor:not-allowed}.merge-control-panel .merge-option.disabled[data-v-61adf0aa]:hover{background-color:transparent}[data-v-39837116]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-content[data-v-39837116]{position:absolute;width:calc(100% - 40px)}[data-v-c80a7e6c]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-c80a7e6c]{display:flex;align-items:center;gap:4px;cursor:pointer}[data-v-c80a7e6c] .el-dropdown-menu__item.active{color:var(--el-color-primary)}.editor-wrapper[data-v-c80a7e6c]{border:1px solid #eeeeee;border-radius:6px;position:relative;box-sizing:border-box;display:flex;flex-direction:column}.editor-wrapper .editor-wrapper-toolbar[data-v-c80a7e6c]{border-bottom:1px solid #eeeeee}.editor-wrapper .editor-bottom[data-v-c80a7e6c]{display:flex;justify-content:space-between;align-items:center;padding:0 20px;height:40px;border-top:1px solid #eeeeee}.editor-wrapper .editor-bottom .editor-bottom-r[data-v-c80a7e6c]{color:#999;font-size:12px}.editor-content-container[data-v-c80a7e6c]{flex:1;height:0;position:relative}.editor-content[data-v-c80a7e6c]{padding:20px 0;position:relative;box-sizing:border-box;height:100%;overflow-y:auto}.editor-content .editor-loading[data-v-c80a7e6c]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:100000}.upload-demo[data-v-c80a7e6c]{display:flex;align-items:center}.bubble-menu[data-v-c80a7e6c]{background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}.floating-menu[data-v-c80a7e6c]{position:absolute;left:-50px;top:-14px;height:40px}.floating-menu .floating-menu-cont[data-v-c80a7e6c]{display:flex;flex-direction:column}.table-toolbar[data-v-c80a7e6c]{position:absolute;z-index:2}.table-toolbar .table-toolbar-btns[data-v-c80a7e6c]{display:flex;flex-direction:column;gap:10px;background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}:root{--clnpmel-color-primary: #fc5b08 !important}.tiptap-vue .editor-content table{border-collapse:collapse;margin:10px 0;overflow:hidden;table-layout:fixed;width:100%;border:1px solid #ccc}.tiptap-vue .editor-content table td,.tiptap-vue .editor-content table th{border:1px solid #ccc;box-sizing:border-box;min-width:1em;padding:10px;position:relative;vertical-align:top}.tiptap-vue .editor-content table td>*,.tiptap-vue .editor-content table th>*{margin-bottom:0}.tiptap-vue .editor-content table td ul[data-type=taskList],.tiptap-vue .editor-content table th ul[data-type=taskList]{padding-left:0!important}.tiptap-vue .editor-content table td ul.bullet-list,.tiptap-vue .editor-content table th ul.bullet-list,.tiptap-vue .editor-content table td ol.ordered-list,.tiptap-vue .editor-content table th ol.ordered-list{padding-left:18px!important}.tiptap-vue .editor-content table th{background-color:var(--gray-1);font-weight:700;text-align:left}.tiptap-vue .editor-content table .selectedCell:after{background:#b7dcfb4d;content:"";left:0;right:0;top:0;bottom:0;pointer-events:none;position:absolute;z-index:2}.tiptap-vue .editor-content table .column-resize-handle,.tiptap-vue .editor-content table .row-resize-handle{background-color:#000;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.tiptap-vue .editor-content.resize-cursor{cursor:ew-resize;cursor:col-resize}.tiptap-vue .editor-content ul[data-type=taskList]{list-style:none;padding-left:30px;margin:10px 0}.tiptap-vue .editor-content ul[data-type=taskList] li{display:flex;align-items:baseline;-webkit-box-align:baseline}.tiptap-vue .editor-content ul[data-type=taskList] li>label{flex:0 0 auto;margin-right:.5rem;margin-top:.15em;-webkit-user-select:none;user-select:none;display:flex;align-items:center;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] li>div{flex:1 1 auto;word-wrap:break-word;word-break:break-word;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] li>div>p{margin:0!important;line-height:1.5}.tiptap-vue .editor-content ul[data-type=taskList] input[type=checkbox]{cursor:pointer;margin:0;flex-shrink:0}.tiptap-vue .editor-content ul[data-type=taskList] ul[data-type=taskList]{margin:0}.tiptap-vue .editor-content img,.tiptap-vue .editor-content p,.tiptap-vue .editor-content ol,.tiptap-vue .editor-content h1,.tiptap-vue .editor-content h2,.tiptap-vue .editor-content h3,.tiptap-vue .editor-content h4,.tiptap-vue .editor-content h5,.tiptap-vue .editor-content h6{margin:10px 0}.tiptap-vue .editor-content .ProseMirror{height:calc(100% - 10px)}.tiptap-vue .editor-content .ProseMirror p.is-empty:before{padding-left:30px;content:attr(data-placeholder);position:absolute;top:0;left:0;color:#999;pointer-events:none;font-size:inherit;font-style:italic;-webkit-user-select:none;user-select:none}.tiptap-vue .editor-content .ProseMirror>*{padding:0 30px}.tiptap-vue .editor-content .code-block-view,.tiptap-vue .editor-content .ai-assistant-card{padding:0!important}.tiptap-vue .editor-content ul[data-type=taskList] li>p{margin:0!important}.tiptap-vue .editor-content .bullet-list{padding-left:50px}.tiptap-vue .editor-content .bullet-list li>p{margin:0!important}.tiptap-vue .editor-content .ordered-list li>p{margin:0!important}.tiptap-vue .editor-content h1{font-size:2em!important}.tiptap-vue .editor-content h2{font-size:1.5em!important}.tiptap-vue .editor-content h3{font-size:1.17em!important}.tiptap-vue .editor-content h4{font-size:inherit!important}.tiptap-vue .editor-content h5{font-size:.83em!important}.tiptap-vue .editor-content h6{font-size:.67em!important}.is-inline .bullet-list,.is-inline .ordered-list,.is-inline ol,.is-inline ul[data-type=taskList]{padding-left:0!important}.tiptap-vue .el-form-item{margin-bottom:10px!important}.tiptap-vue .noPadding{padding:0}.tiptap-vue .noPadding .ProseMirror>*{padding:0}.tiptap-vue .noPadding .code-block-view-cont{margin:0!important}:focus{outline:none!important}:focus-visible{outline:none!important}.tiptap ol{padding-left:50px!important;list-style-type:decimal;margin:.5em 0}.tiptap ol ol{list-style-type:lower-alpha}.tiptap ol ol ol{list-style-type:lower-roman}.tiptap ol ol ol ol{list-style-type:upper-alpha}.tiptap ol ol ol ol ol{list-style-type:upper-roman}.tiptap li{position:relative}.tiptap ol[data-level="2"]{background-color:#00000005}.tiptap ol[data-level="3"]{background-color:#0000000a}.source-dialog-content{width:100%;height:100%}.source-dialog-content :deep(.el-textarea){width:100%}.source-dialog-content :deep(.el-textarea__inner){font-family:Consolas,Monaco,Courier New,monospace;font-size:13px;line-height:1.5;resize:none}.tiptap-vue .editor-content :deep(u),.tiptap-vue .editor-content :deep(.underline){text-decoration:underline!important}.tiptap-vue .editor-content :deep(s),.tiptap-vue .editor-content :deep(del),.tiptap-vue .editor-content :deep(strike){text-decoration:line-through!important}.tiptap-vue .editor-content :deep([style*="text-align"]){text-align:inherit}.tiptap-vue .editor-content :deep(mark){font-size:inherit!important;font-weight:inherit!important;font-style:inherit!important;color:inherit!important;line-height:inherit!important}@font-face{font-family:iconfont;src:url(iconfont.woff2?t=1761630666591) format("woff2"),url(iconfont.woff?t=1761630666591) format("woff"),url(iconfont.ttf?t=1761630666591) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-logos--jupyter:before{content:""}
|
|
@@ -137879,7 +137879,7 @@ const _hoisted_6$3 = {
|
|
|
137879
137879
|
const _hoisted_7$3 = ["onClick"];
|
|
137880
137880
|
const _hoisted_8$3 = ["src"];
|
|
137881
137881
|
const _hoisted_9$3 = { class: "result-image-checkbox" };
|
|
137882
|
-
const _hoisted_10$
|
|
137882
|
+
const _hoisted_10$1 = { class: "result-text" };
|
|
137883
137883
|
const _hoisted_11 = { class: "result-actions" };
|
|
137884
137884
|
const _sfc_main$b = {
|
|
137885
137885
|
__name: "AiComponent",
|
|
@@ -138012,7 +138012,9 @@ const _sfc_main$b = {
|
|
|
138012
138012
|
previewEditor.commands.setContent(answer.value);
|
|
138013
138013
|
nextTick(() => {
|
|
138014
138014
|
const cont = document.querySelector(".result-text");
|
|
138015
|
-
cont
|
|
138015
|
+
if (cont) {
|
|
138016
|
+
cont.scrollTop = cont.scrollHeight;
|
|
138017
|
+
}
|
|
138016
138018
|
});
|
|
138017
138019
|
}
|
|
138018
138020
|
}
|
|
@@ -138293,7 +138295,7 @@ const _sfc_main$b = {
|
|
|
138293
138295
|
], 8, _hoisted_7$3);
|
|
138294
138296
|
}), 128))
|
|
138295
138297
|
])) : createCommentVNode("", true),
|
|
138296
|
-
createElementVNode("div", _hoisted_10$
|
|
138298
|
+
createElementVNode("div", _hoisted_10$1, [
|
|
138297
138299
|
unref(previewEditor) ? (openBlock(), createBlock(unref(EditorContent), {
|
|
138298
138300
|
key: 0,
|
|
138299
138301
|
editor: unref(previewEditor)
|
|
@@ -138339,7 +138341,7 @@ const _sfc_main$b = {
|
|
|
138339
138341
|
};
|
|
138340
138342
|
}
|
|
138341
138343
|
};
|
|
138342
|
-
const AiComponent = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
138344
|
+
const AiComponent = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-244d909d"]]);
|
|
138343
138345
|
const _sfc_main$a = {
|
|
138344
138346
|
__name: "AiAssistantView",
|
|
138345
138347
|
props: {
|
|
@@ -140776,6 +140778,7 @@ const _sfc_main$9 = {
|
|
|
140776
140778
|
return !!form.href && form.text;
|
|
140777
140779
|
});
|
|
140778
140780
|
const open = () => {
|
|
140781
|
+
var _a3;
|
|
140779
140782
|
console.log("22222");
|
|
140780
140783
|
const { editor } = props;
|
|
140781
140784
|
const { state } = editor;
|
|
@@ -140797,11 +140800,12 @@ const _sfc_main$9 = {
|
|
|
140797
140800
|
};
|
|
140798
140801
|
} else {
|
|
140799
140802
|
console.log(props.editorWrapper, "props.linkPosition");
|
|
140803
|
+
const editorWrapperScrollTop = ((_a3 = props.editorWrapper) == null ? void 0 : _a3.scrollTop) || 0;
|
|
140800
140804
|
bubbleStyle.value = {
|
|
140801
140805
|
position: "absolute",
|
|
140802
140806
|
// top: `${coords.bottom + window.scrollY - 20}px`,
|
|
140803
140807
|
// left: `${coords.left + window.scrollX}px`,
|
|
140804
|
-
top: `${
|
|
140808
|
+
top: `${editorWrapperScrollTop}px`,
|
|
140805
140809
|
left: `${editorRect.width / 2 - 150}px`,
|
|
140806
140810
|
zIndex: 9999
|
|
140807
140811
|
};
|
|
@@ -140942,7 +140946,7 @@ const _sfc_main$9 = {
|
|
|
140942
140946
|
};
|
|
140943
140947
|
}
|
|
140944
140948
|
};
|
|
140945
|
-
const LinkToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
140949
|
+
const LinkToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-547694a0"]]);
|
|
140946
140950
|
const _hoisted_1$7 = ["width", "height"];
|
|
140947
140951
|
const _sfc_main$8 = {
|
|
140948
140952
|
__name: "jupyterSvg",
|
|
@@ -147592,11 +147596,10 @@ const _hoisted_2$4 = { class: "floating-menu-top-btns" };
|
|
|
147592
147596
|
const _hoisted_3$4 = { class: "floating-menu-common" };
|
|
147593
147597
|
const _hoisted_4$2 = { class: "floating-menu-common-list" };
|
|
147594
147598
|
const _hoisted_5$2 = { class: "block-menu-item-icon" };
|
|
147595
|
-
const _hoisted_6$2 = { class: "block-menu-item" };
|
|
147599
|
+
const _hoisted_6$2 = { class: "block-menu-item-icon" };
|
|
147596
147600
|
const _hoisted_7$2 = { class: "block-menu-item-icon" };
|
|
147597
147601
|
const _hoisted_8$2 = { class: "block-menu-item-icon" };
|
|
147598
147602
|
const _hoisted_9$2 = { class: "block-menu-item-icon" };
|
|
147599
|
-
const _hoisted_10$1 = { class: "block-menu-item-icon" };
|
|
147600
147603
|
const _sfc_main$6 = {
|
|
147601
147604
|
__name: "BlockMenu",
|
|
147602
147605
|
props: {
|
|
@@ -148060,18 +148063,21 @@ const _sfc_main$6 = {
|
|
|
148060
148063
|
},
|
|
148061
148064
|
accept: ".jpg,.png,.jpeg,.gif",
|
|
148062
148065
|
"before-upload": handleImageUpload,
|
|
148063
|
-
"on-success": uploadFileSuccess
|
|
148066
|
+
"on-success": uploadFileSuccess,
|
|
148067
|
+
disabled: isActive2("codeBlock") || isActive2("table") || isActive2("bulletList") || isActive2("orderedList") || isActive2("taskList")
|
|
148064
148068
|
}, {
|
|
148065
148069
|
default: withCtx(() => [
|
|
148066
|
-
createElementVNode("div",
|
|
148067
|
-
|
|
148070
|
+
createElementVNode("div", {
|
|
148071
|
+
class: normalizeClass(["block-menu-item", { "icon-gray": isActive2("codeBlock") || isActive2("table") || isActive2("bulletList") || isActive2("orderedList") || isActive2("taskList") }])
|
|
148072
|
+
}, [
|
|
148073
|
+
createElementVNode("div", _hoisted_6$2, [
|
|
148068
148074
|
createVNode(unref(Icon), { icon: "material-symbols:imagesmode-outline-sharp" })
|
|
148069
148075
|
]),
|
|
148070
148076
|
_cache[25] || (_cache[25] = createElementVNode("div", null, "上传本地图片", -1))
|
|
148071
|
-
])
|
|
148077
|
+
], 2)
|
|
148072
148078
|
]),
|
|
148073
148079
|
_: 1
|
|
148074
|
-
}, 8, ["action", "headers"]), [
|
|
148080
|
+
}, 8, ["action", "headers", "disabled"]), [
|
|
148075
148081
|
[vShow, unref(isShowMenu)("image", __props.showMenu)]
|
|
148076
148082
|
]),
|
|
148077
148083
|
withDirectives(createElementVNode("div", null, [
|
|
@@ -148087,7 +148093,7 @@ const _sfc_main$6 = {
|
|
|
148087
148093
|
class: normalizeClass(["block-menu-item", { "icon-gray": isActive2("codeBlock") || isActive2("table") || isActive2("bulletList") || isActive2("orderedList") || isActive2("taskList") }]),
|
|
148088
148094
|
ref: "tableRef"
|
|
148089
148095
|
}, [
|
|
148090
|
-
createElementVNode("div",
|
|
148096
|
+
createElementVNode("div", _hoisted_7$2, [
|
|
148091
148097
|
createVNode(unref(Icon), {
|
|
148092
148098
|
icon: "material-symbols:table-outline-sharp",
|
|
148093
148099
|
width: "20"
|
|
@@ -148125,7 +148131,7 @@ const _sfc_main$6 = {
|
|
|
148125
148131
|
createElementVNode("div", {
|
|
148126
148132
|
class: normalizeClass(["block-menu-item", { "icon-gray": isActive2("codeBlock") || isActive2("table") || isActive2("bulletList") || isActive2("orderedList") || isActive2("taskList") }])
|
|
148127
148133
|
}, [
|
|
148128
|
-
createElementVNode("div",
|
|
148134
|
+
createElementVNode("div", _hoisted_8$2, [
|
|
148129
148135
|
createVNode(unref(Icon), { icon: "tabler:file-word" })
|
|
148130
148136
|
]),
|
|
148131
148137
|
_cache[27] || (_cache[27] = createElementVNode("div", null, "上传word文件", -1))
|
|
@@ -148154,7 +148160,7 @@ const _sfc_main$6 = {
|
|
|
148154
148160
|
createElementVNode("div", {
|
|
148155
148161
|
class: normalizeClass(["block-menu-item", { "icon-gray": isActive2("codeBlock") || isActive2("table") || isActive2("bulletList") || isActive2("orderedList") || isActive2("taskList") }])
|
|
148156
148162
|
}, [
|
|
148157
|
-
createElementVNode("div",
|
|
148163
|
+
createElementVNode("div", _hoisted_9$2, [
|
|
148158
148164
|
createVNode(JupyterSvg, {
|
|
148159
148165
|
width: 20,
|
|
148160
148166
|
height: 20,
|
|
@@ -148180,7 +148186,7 @@ const _sfc_main$6 = {
|
|
|
148180
148186
|
};
|
|
148181
148187
|
}
|
|
148182
148188
|
};
|
|
148183
|
-
const BlockMenu = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
148189
|
+
const BlockMenu = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-d72f0e9a"]]);
|
|
148184
148190
|
function BlockMenuPlugin(editor, options) {
|
|
148185
148191
|
const PLUGIN_KEY = new PluginKey("blockMenu");
|
|
148186
148192
|
let wrapperEl = options.wrapperEl || null;
|
|
@@ -148850,9 +148856,7 @@ const createEditor = ({ content = "", info = {}, limit = 50, isInline: isInline2
|
|
|
148850
148856
|
]
|
|
148851
148857
|
}),
|
|
148852
148858
|
EnhancedOrderedList,
|
|
148853
|
-
|
|
148854
|
-
index_default$3,
|
|
148855
|
-
index_default$4,
|
|
148859
|
+
// TableRow, TableHeader, TableCell 已在 TableKit.extensions 中配置,移除重复
|
|
148856
148860
|
CodeBlockCustom.configure({
|
|
148857
148861
|
isInline: isInline2
|
|
148858
148862
|
}),
|
|
@@ -148934,6 +148938,20 @@ const createEditor = ({ content = "", info = {}, limit = 50, isInline: isInline2
|
|
|
148934
148938
|
const items = Array.from(((_a3 = event.clipboardData) == null ? void 0 : _a3.items) || []);
|
|
148935
148939
|
const imageItem = items.find((item) => item.type.startsWith("image/"));
|
|
148936
148940
|
if (imageItem) {
|
|
148941
|
+
const { selection } = view.state;
|
|
148942
|
+
const { $from } = selection;
|
|
148943
|
+
let inTableCell = false;
|
|
148944
|
+
for (let i = $from.depth; i > 0; i--) {
|
|
148945
|
+
if ($from.node(i).type.name === "tableCell" || $from.node(i).type.name === "tableHeader") {
|
|
148946
|
+
inTableCell = true;
|
|
148947
|
+
break;
|
|
148948
|
+
}
|
|
148949
|
+
}
|
|
148950
|
+
if (inTableCell) {
|
|
148951
|
+
event.preventDefault();
|
|
148952
|
+
ElMessage.warning("表格中不支持粘贴图片");
|
|
148953
|
+
return true;
|
|
148954
|
+
}
|
|
148937
148955
|
event.preventDefault();
|
|
148938
148956
|
const file = imageItem.getAsFile();
|
|
148939
148957
|
if (!file) {
|
|
@@ -149107,6 +149125,62 @@ const createEditor = ({ content = "", info = {}, limit = 50, isInline: isInline2
|
|
|
149107
149125
|
return true;
|
|
149108
149126
|
}
|
|
149109
149127
|
return false;
|
|
149128
|
+
},
|
|
149129
|
+
// 全局粘贴转换,过滤表格中的图片、表格、代码块
|
|
149130
|
+
transformPasted: (slice2, view) => {
|
|
149131
|
+
const { selection } = view.state;
|
|
149132
|
+
const { $from } = selection;
|
|
149133
|
+
let inTableCell = false;
|
|
149134
|
+
for (let i = $from.depth; i > 0; i--) {
|
|
149135
|
+
if ($from.node(i).type.name === "tableCell" || $from.node(i).type.name === "tableHeader") {
|
|
149136
|
+
inTableCell = true;
|
|
149137
|
+
break;
|
|
149138
|
+
}
|
|
149139
|
+
}
|
|
149140
|
+
if (!inTableCell) {
|
|
149141
|
+
return slice2;
|
|
149142
|
+
}
|
|
149143
|
+
let hasFilteredContent = false;
|
|
149144
|
+
const filteredTypes = /* @__PURE__ */ new Set();
|
|
149145
|
+
const filterNode = (node) => {
|
|
149146
|
+
if (node.type.name === "image" || node.type.name === "table" || node.type.name === "codeBlock" || node.type.name === "codeBlockCustom") {
|
|
149147
|
+
hasFilteredContent = true;
|
|
149148
|
+
if (node.type.name === "image") {
|
|
149149
|
+
filteredTypes.add("图片");
|
|
149150
|
+
} else if (node.type.name === "table") {
|
|
149151
|
+
filteredTypes.add("表格");
|
|
149152
|
+
} else if (node.type.name === "codeBlock" || node.type.name === "codeBlockCustom") {
|
|
149153
|
+
filteredTypes.add("代码块");
|
|
149154
|
+
}
|
|
149155
|
+
return null;
|
|
149156
|
+
}
|
|
149157
|
+
if (node.content && node.content.size > 0) {
|
|
149158
|
+
const newContent2 = [];
|
|
149159
|
+
node.content.forEach((child) => {
|
|
149160
|
+
const filtered = filterNode(child);
|
|
149161
|
+
if (filtered) {
|
|
149162
|
+
newContent2.push(filtered);
|
|
149163
|
+
}
|
|
149164
|
+
});
|
|
149165
|
+
if (newContent2.length === 0 && node.type.name !== "paragraph") {
|
|
149166
|
+
return null;
|
|
149167
|
+
}
|
|
149168
|
+
return node.copy(Fragment.from(newContent2));
|
|
149169
|
+
}
|
|
149170
|
+
return node;
|
|
149171
|
+
};
|
|
149172
|
+
const newContent = [];
|
|
149173
|
+
slice2.content.forEach((node) => {
|
|
149174
|
+
const filtered = filterNode(node);
|
|
149175
|
+
if (filtered) {
|
|
149176
|
+
newContent.push(filtered);
|
|
149177
|
+
}
|
|
149178
|
+
});
|
|
149179
|
+
if (hasFilteredContent) {
|
|
149180
|
+
const types = Array.from(filteredTypes).join("、");
|
|
149181
|
+
ElMessage.warning(`表格中不支持粘贴${types},已自动过滤`);
|
|
149182
|
+
}
|
|
149183
|
+
return new Slice(Fragment.from(newContent), slice2.openStart, slice2.openEnd);
|
|
149110
149184
|
}
|
|
149111
149185
|
},
|
|
149112
149186
|
editable: !isInline2,
|
|
@@ -150253,16 +150327,18 @@ const _sfc_main$4 = {
|
|
|
150253
150327
|
},
|
|
150254
150328
|
accept: ".jpg,.png,.jpeg,.gif",
|
|
150255
150329
|
"before-upload": handleImageUpload,
|
|
150256
|
-
"on-success": uploadFileSuccess
|
|
150330
|
+
"on-success": uploadFileSuccess,
|
|
150331
|
+
disabled: isActive2("codeBlock") || isActive2("table") || isActive2("bulletList") || isActive2("orderedList") || isActive2("taskList")
|
|
150257
150332
|
}, {
|
|
150258
150333
|
default: withCtx(() => [
|
|
150259
150334
|
createVNode(unref(Icon), {
|
|
150260
150335
|
icon: "mdi:file-image-box",
|
|
150261
|
-
width: "20"
|
|
150262
|
-
|
|
150336
|
+
width: "20",
|
|
150337
|
+
class: normalizeClass(isActive2("codeBlock") || isActive2("table") || isActive2("bulletList") || isActive2("orderedList") || isActive2("taskList") ? "icon-gray" : "")
|
|
150338
|
+
}, null, 8, ["class"])
|
|
150263
150339
|
]),
|
|
150264
150340
|
_: 1
|
|
150265
|
-
}, 8, ["action", "headers"])
|
|
150341
|
+
}, 8, ["action", "headers", "disabled"])
|
|
150266
150342
|
]),
|
|
150267
150343
|
_: 1
|
|
150268
150344
|
})) : createCommentVNode("", true)
|
|
@@ -150532,7 +150608,7 @@ const _sfc_main$4 = {
|
|
|
150532
150608
|
};
|
|
150533
150609
|
}
|
|
150534
150610
|
};
|
|
150535
|
-
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
150611
|
+
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-8a153055"]]);
|
|
150536
150612
|
const _hoisted_1$2 = { class: "bubble-menu" };
|
|
150537
150613
|
const _sfc_main$3 = {
|
|
150538
150614
|
__name: "BubbleMenu",
|
|
@@ -150625,6 +150701,7 @@ const _sfc_main$2 = {
|
|
|
150625
150701
|
return props.editor.can().splitCell();
|
|
150626
150702
|
});
|
|
150627
150703
|
const updateIcons = () => {
|
|
150704
|
+
var _a3, _b;
|
|
150628
150705
|
const editor = props.editor;
|
|
150629
150706
|
if (!editor || !editor.view) return;
|
|
150630
150707
|
const state = editor.state;
|
|
@@ -150665,7 +150742,8 @@ const _sfc_main$2 = {
|
|
|
150665
150742
|
const rowRect = rowDom.getBoundingClientRect();
|
|
150666
150743
|
const tableRect = tableDom.getBoundingClientRect();
|
|
150667
150744
|
const rowIconLeft = rowRect.left - editorRect.left - 30;
|
|
150668
|
-
const
|
|
150745
|
+
const editorWrapperScrollTop = ((_a3 = props.editorWrapper) == null ? void 0 : _a3.scrollTop) || 0;
|
|
150746
|
+
const rowIconTop = rowRect.top - editorRect.top + rowRect.height / 2 + 18 - editorWrapperScrollTop;
|
|
150669
150747
|
rowIconStyle.value = {
|
|
150670
150748
|
position: "absolute",
|
|
150671
150749
|
left: `${Math.max(rowIconLeft, -10)}px`,
|
|
@@ -150675,7 +150753,8 @@ const _sfc_main$2 = {
|
|
|
150675
150753
|
showRowIcon.value = true;
|
|
150676
150754
|
const cellCenterX = (cellRect.left + cellRect.right) / 2 + 10;
|
|
150677
150755
|
const colIconLeft = cellCenterX - editorRect.left - 20;
|
|
150678
|
-
const
|
|
150756
|
+
const viewDomScrollTop = ((_b = view.dom) == null ? void 0 : _b.scrollTop) || 0;
|
|
150757
|
+
const colIconTop = tableRect.top - editorRect.top - viewDomScrollTop - editorWrapperScrollTop;
|
|
150679
150758
|
colIconStyle.value = {
|
|
150680
150759
|
position: "absolute",
|
|
150681
150760
|
left: `${colIconLeft}px`,
|
|
@@ -150868,7 +150947,7 @@ const _sfc_main$2 = {
|
|
|
150868
150947
|
};
|
|
150869
150948
|
}
|
|
150870
150949
|
};
|
|
150871
|
-
const TableToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
150950
|
+
const TableToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-61adf0aa"]]);
|
|
150872
150951
|
function L() {
|
|
150873
150952
|
return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
|
|
150874
150953
|
}
|
|
@@ -152082,6 +152161,10 @@ const _sfc_main = {
|
|
|
152082
152161
|
slashState.value.range = { from: start, to: start + 1 };
|
|
152083
152162
|
nextTick(() => {
|
|
152084
152163
|
const editorEl = editor.view.dom;
|
|
152164
|
+
if (!editorEl) {
|
|
152165
|
+
console.warn("Editor DOM element is not available");
|
|
152166
|
+
return;
|
|
152167
|
+
}
|
|
152085
152168
|
const coords = editor.view.coordsAtPos(start);
|
|
152086
152169
|
const editorRect = editorEl.getBoundingClientRect();
|
|
152087
152170
|
const relativeCoords = {
|
|
@@ -152414,7 +152497,7 @@ const _sfc_main = {
|
|
|
152414
152497
|
};
|
|
152415
152498
|
}
|
|
152416
152499
|
};
|
|
152417
|
-
const TiptapVue = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
152500
|
+
const TiptapVue = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c80a7e6c"]]);
|
|
152418
152501
|
const components = [
|
|
152419
152502
|
{
|
|
152420
152503
|
name: "TiptapVue",
|