edu360-web-ui 1.0.117 → 1.0.119
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 +132 -43
- 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-
|
|
1
|
+
@charset "UTF-8";[data-v-e8932521]:root{--clnpmel-color-primary: #fc5b08 !important}.code-block-view[data-v-e8932521]{margin:10px 0}.code-block-view .code-block-view-cont[data-v-e8932521]{margin:0 30px;border-radius:6px;border:1px solid #ccc}.code-toolbar[data-v-e8932521]{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-e8932521]{display:flex;align-items:center;gap:20px}.code-toolbar .el-dropdown-link[data-v-e8932521]{cursor:pointer;display:flex;align-items:center}.hljs[data-v-e8932521]{border-radius:0 0 6px 6px}.hljs.no-toolbar[data-v-e8932521]{border-radius:6px}.dark .code-toolbar[data-v-e8932521]{background:#272822;color:#ddd}.dark .code-toolbar .el-dropdown[data-v-e8932521]{color:#ddd}pre[data-v-e8932521]{margin:0!important;padding:10px!important;font-size:14px;overflow-x:auto}.code-content[data-v-e8932521]{font-family:Courier New,Courier,monospace;white-space:pre-wrap;word-wrap:break-word}[data-v-885bddd6]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-popup[data-v-885bddd6]{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-885bddd6]{border-radius:12px 12px 0 0;padding:16px 16px 12px;width:100%;box-sizing:border-box}.ai-input[data-v-885bddd6] .el-textarea__inner{box-shadow:none;resize:none;padding:0}.ai-btns[data-v-885bddd6]{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-885bddd6]{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-885bddd6]{background-color:#6b729452;cursor:not-allowed}.ai-quick-actions[data-v-885bddd6]{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-885bddd6]{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-885bddd6]{display:flex;align-items:center;gap:4px}.tone-list[data-v-885bddd6]{display:flex;flex-direction:column;font-size:14px;gap:10px}.tone-list>p[data-v-885bddd6]{cursor:pointer}.ai-result .result-answer[data-v-885bddd6]{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-885bddd6]{padding:20px 18px 0;font-size:14px;white-space:pre-wrap;max-height:300px;overflow-y:auto}.ai-result .result-image[data-v-885bddd6]{padding:10px;display:flex;justify-content:flex-start;gap:10px}.ai-result .result-image>div[data-v-885bddd6]{flex:1;width:0;position:relative}.ai-result .result-image>div>img[data-v-885bddd6]{object-fit:cover;width:100%}.ai-result .result-image>div .result-image-checkbox[data-v-885bddd6]{position:absolute;top:10px;right:10px}.ai-result .result-actions[data-v-885bddd6]{display:flex;align-items:center;gap:8px;padding:10px 20px 20px;border-radius:0 0 12px 12px}.result-text[data-v-885bddd6]{margin-bottom:8px;white-space:pre-wrap}.result-actions[data-v-885bddd6]{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-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-6eb1e6f8]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-6eb1e6f8]{position:relative;height:25px;z-index:999}.floating-menu .floating-menu-btn[data-v-6eb1e6f8]{border-radius:4px;border:1px solid #eee;background-color:#fff;padding:4px}.floating-menu .floating-menu-btn>p[data-v-6eb1e6f8]{line-height:14px;height:14px;margin:0}.floating-menu-cont[data-v-6eb1e6f8]{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-6eb1e6f8]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-6eb1e6f8]{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-6eb1e6f8]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-6eb1e6f8]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-6eb1e6f8]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-6eb1e6f8]{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-6eb1e6f8]{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-6eb1e6f8]{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-6eb1e6f8]{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-6eb1e6f8]{margin:0}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-6eb1e6f8]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-6eb1e6f8]{flex-direction:row;justify-content:space-between;align-items:center}.icon-gray[data-v-6eb1e6f8]{color:#999!important;cursor:not-allowed!important}.icon-gray .floating-menu-common-item-r[data-v-6eb1e6f8]{color:#999!important}.block-menu-item[data-v-6eb1e6f8]{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-6eb1e6f8]{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-6eb1e6f8]:hover{background-color:#f3f4f6;font-weight:500;--tw-text-opacity: 1;color:#111827}.block-menu-item:hover .block-menu-item-icon[data-v-6eb1e6f8]{background-color:#fff}.tiptap-vue .tiptap-upload-file>div{width:100%}.tiptap-vue .tiptap-upload-file .block-menu-item{width:100%}[data-v-28ce6f0a]:root{--clnpmel-color-primary: #fc5b08 !important}.my-drawer .dialog-header[data-v-28ce6f0a]{display:flex;justify-content:flex-start;align-items:center;gap:6px}.my-drawer .dialog-header div[data-v-28ce6f0a]{color:var(--text-color);font-size:18px;font-style:normal;font-weight:400;line-height:25px}.my-drawer .close[data-v-28ce6f0a]{position:absolute;top:14px;right:14px;cursor:pointer}.my-drawer .el-drawer__header{margin-bottom:0}[data-v-577cd9c1]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-577cd9c1]{display:flex;align-items:center;cursor:pointer}.toolbar[data-v-577cd9c1]{display:flex;gap:8px;flex-wrap:wrap;padding:8px 20px;align-items:center}.toolbar .flex-center[data-v-577cd9c1],.toolbar .flex-center .upload-demo[data-v-577cd9c1]{display:flex;align-items:center;justify-content:center}.toolbar svg[data-v-577cd9c1]{color:#333}.toolbar .el-dropdown[data-v-577cd9c1]{height:22px}.is-active[data-v-577cd9c1]{color:#256cfb}.icon-gray[data-v-577cd9c1]{color:#999!important;cursor:not-allowed!important}.tiptap-upload-demo[data-v-577cd9c1]{height:18px;display:flex;justify-content:center;align-items:center}.align-item[data-v-577cd9c1]{display:flex;align-items:center;gap:4px}.table-content[data-v-577cd9c1]{display:flex;justify-content:center;align-items:center;position:relative}.el-dropdown-menu__item>p[data-v-577cd9c1]{margin:0!important}.el-dropdown-link.disabled[data-v-577cd9c1]{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-01df93dd]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-01df93dd]{position:absolute;left:-44px;top:-14px;height:40px}.floating-menu-cont[data-v-01df93dd]{display:flex;flex-direction:column;gap:4px}.floating-menu-cont .floating-menu-tit[data-v-01df93dd]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-01df93dd]{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-01df93dd]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-01df93dd]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-01df93dd]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-01df93dd]{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-01df93dd]{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-01df93dd]{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-01df93dd]{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-01df93dd]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-01df93dd]{flex-direction:row;justify-content:space-between;align-items:center}[data-v-3bf9a61b]:root{--clnpmel-color-primary: #fc5b08 !important}.table-toolbar-wrapper[data-v-3bf9a61b]{position:relative}.table-side-icon[data-v-3bf9a61b]{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-3bf9a61b]:hover{transform:translateY(-2px);background:#f5f7ff}.table-toolbar-btns[data-v-3bf9a61b]{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:10px}.table-toolbar-btns>div[data-v-3bf9a61b]{cursor:pointer;padding:4px 8px;border-radius:4px}.table-toolbar-btns>div[data-v-3bf9a61b]:hover{background-color:#f5f7fa}.table-toolbar-btns .danger[data-v-3bf9a61b]{color:#f56c6c}.merge-control-panel[data-v-3bf9a61b]{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-3bf9a61b]{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-3bf9a61b]{cursor:pointer;color:#909399}.merge-control-panel .merge-panel-header svg[data-v-3bf9a61b]:hover{color:#409eff}.merge-control-panel .merge-panel-content[data-v-3bf9a61b]{display:flex;flex-direction:column;gap:4px}.merge-control-panel .merge-option[data-v-3bf9a61b]{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-3bf9a61b]:hover{background-color:#f5f7fa}.merge-control-panel .merge-option.disabled[data-v-3bf9a61b]{opacity:.5;cursor:not-allowed}.merge-control-panel .merge-option.disabled[data-v-3bf9a61b]: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-0b13036c]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-0b13036c]{display:flex;align-items:center;gap:4px;cursor:pointer}[data-v-0b13036c] .el-dropdown-menu__item.active{color:var(--el-color-primary)}.editor-wrapper[data-v-0b13036c]{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-0b13036c]{border-bottom:1px solid #eeeeee}.editor-wrapper .editor-bottom[data-v-0b13036c]{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-0b13036c]{color:#999;font-size:12px}.editor-content-container[data-v-0b13036c]{flex:1;height:0;position:relative}.editor-content[data-v-0b13036c]{padding:20px 0;position:relative;box-sizing:border-box;height:100%;overflow-y:auto}.editor-content .editor-loading[data-v-0b13036c]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:100000}.upload-demo[data-v-0b13036c]{display:flex;align-items:center}.bubble-menu[data-v-0b13036c]{background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}.floating-menu[data-v-0b13036c]{position:absolute;left:-50px;top:-14px;height:40px}.floating-menu .floating-menu-cont[data-v-0b13036c]{display:flex;flex-direction:column}.table-toolbar[data-v-0b13036c]{position:absolute;z-index:2}.table-toolbar .table-toolbar-btns[data-v-0b13036c]{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:""}
|
|
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-6eb1e6f8]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-6eb1e6f8]{position:relative;height:25px;z-index:999}.floating-menu .floating-menu-btn[data-v-6eb1e6f8]{border-radius:4px;border:1px solid #eee;background-color:#fff;padding:4px}.floating-menu .floating-menu-btn>p[data-v-6eb1e6f8]{line-height:14px;height:14px;margin:0}.floating-menu-cont[data-v-6eb1e6f8]{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-6eb1e6f8]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-6eb1e6f8]{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-6eb1e6f8]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-6eb1e6f8]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-6eb1e6f8]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-6eb1e6f8]{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-6eb1e6f8]{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-6eb1e6f8]{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-6eb1e6f8]{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-6eb1e6f8]{margin:0}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .floating-menu-common-item-r .desc[data-v-6eb1e6f8]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-6eb1e6f8]{flex-direction:row;justify-content:space-between;align-items:center}.icon-gray[data-v-6eb1e6f8]{color:#999!important;cursor:not-allowed!important}.icon-gray .floating-menu-common-item-r[data-v-6eb1e6f8]{color:#999!important}.block-menu-item[data-v-6eb1e6f8]{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-6eb1e6f8]{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-6eb1e6f8]:hover{background-color:#f3f4f6;font-weight:500;--tw-text-opacity: 1;color:#111827}.block-menu-item:hover .block-menu-item-icon[data-v-6eb1e6f8]{background-color:#fff}.tiptap-vue .tiptap-upload-file>div{width:100%}.tiptap-vue .tiptap-upload-file .block-menu-item{width:100%}[data-v-28ce6f0a]:root{--clnpmel-color-primary: #fc5b08 !important}.my-drawer .dialog-header[data-v-28ce6f0a]{display:flex;justify-content:flex-start;align-items:center;gap:6px}.my-drawer .dialog-header div[data-v-28ce6f0a]{color:var(--text-color);font-size:18px;font-style:normal;font-weight:400;line-height:25px}.my-drawer .close[data-v-28ce6f0a]{position:absolute;top:14px;right:14px;cursor:pointer}.my-drawer .el-drawer__header{margin-bottom:0}[data-v-fb5ad3e3]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-fb5ad3e3]{display:flex;align-items:center;cursor:pointer}.toolbar[data-v-fb5ad3e3]{display:flex;gap:8px;flex-wrap:wrap;padding:8px 20px;align-items:center}.toolbar .flex-center[data-v-fb5ad3e3],.toolbar .flex-center .upload-demo[data-v-fb5ad3e3]{display:flex;align-items:center;justify-content:center}.toolbar svg[data-v-fb5ad3e3]{color:#333}.toolbar .el-dropdown[data-v-fb5ad3e3]{height:22px}.is-active[data-v-fb5ad3e3]{color:#256cfb}.icon-gray[data-v-fb5ad3e3]{color:#999!important;cursor:not-allowed!important}.tiptap-upload-demo[data-v-fb5ad3e3]{height:18px;display:flex;justify-content:center;align-items:center}.align-item[data-v-fb5ad3e3]{display:flex;align-items:center;gap:4px}.table-content[data-v-fb5ad3e3]{display:flex;justify-content:center;align-items:center;position:relative}.el-dropdown-menu__item>p[data-v-fb5ad3e3]{margin:0!important}.el-dropdown-link.disabled[data-v-fb5ad3e3]{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-01df93dd]:root{--clnpmel-color-primary: #fc5b08 !important}.floating-menu[data-v-01df93dd]{position:absolute;left:-44px;top:-14px;height:40px}.floating-menu-cont[data-v-01df93dd]{display:flex;flex-direction:column;gap:4px}.floating-menu-cont .floating-menu-tit[data-v-01df93dd]{padding:8px 8px 4px 0;margin-left:4px;font-size:14px;line-height:16px;color:#9a9dac}.floating-menu-cont .floating-menu-top[data-v-01df93dd]{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-01df93dd]{display:flex;flex-wrap:wrap;gap:10px}.floating-menu-cont .floating-menu-top .floating-menu-top-btns>svg[data-v-01df93dd]{cursor:pointer}.floating-menu-cont .floating-menu-common[data-v-01df93dd]{margin-top:10px}.floating-menu-cont .floating-menu-common .floating-menu-common-list[data-v-01df93dd]{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-01df93dd]{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-01df93dd]{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-01df93dd]{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-01df93dd]{color:#9a9dac;font-size:12px}.floating-menu-cont .floating-menu-common .floating-menu-common-list .floating-menu-common-item .flex-justify-between[data-v-01df93dd]{flex-direction:row;justify-content:space-between;align-items:center}[data-v-3bf9a61b]:root{--clnpmel-color-primary: #fc5b08 !important}.table-toolbar-wrapper[data-v-3bf9a61b]{position:relative}.table-side-icon[data-v-3bf9a61b]{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-3bf9a61b]:hover{transform:translateY(-2px);background:#f5f7ff}.table-toolbar-btns[data-v-3bf9a61b]{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:10px}.table-toolbar-btns>div[data-v-3bf9a61b]{cursor:pointer;padding:4px 8px;border-radius:4px}.table-toolbar-btns>div[data-v-3bf9a61b]:hover{background-color:#f5f7fa}.table-toolbar-btns .danger[data-v-3bf9a61b]{color:#f56c6c}.merge-control-panel[data-v-3bf9a61b]{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-3bf9a61b]{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-3bf9a61b]{cursor:pointer;color:#909399}.merge-control-panel .merge-panel-header svg[data-v-3bf9a61b]:hover{color:#409eff}.merge-control-panel .merge-panel-content[data-v-3bf9a61b]{display:flex;flex-direction:column;gap:4px}.merge-control-panel .merge-option[data-v-3bf9a61b]{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-3bf9a61b]:hover{background-color:#f5f7fa}.merge-control-panel .merge-option.disabled[data-v-3bf9a61b]{opacity:.5;cursor:not-allowed}.merge-control-panel .merge-option.disabled[data-v-3bf9a61b]: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-0b13036c]:root{--clnpmel-color-primary: #fc5b08 !important}.el-dropdown-link[data-v-0b13036c]{display:flex;align-items:center;gap:4px;cursor:pointer}[data-v-0b13036c] .el-dropdown-menu__item.active{color:var(--el-color-primary)}.editor-wrapper[data-v-0b13036c]{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-0b13036c]{border-bottom:1px solid #eeeeee}.editor-wrapper .editor-bottom[data-v-0b13036c]{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-0b13036c]{color:#999;font-size:12px}.editor-content-container[data-v-0b13036c]{flex:1;height:0;position:relative}.editor-content[data-v-0b13036c]{padding:20px 0;position:relative;box-sizing:border-box;height:100%;overflow-y:auto}.editor-content .editor-loading[data-v-0b13036c]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:100000}.upload-demo[data-v-0b13036c]{display:flex;align-items:center}.bubble-menu[data-v-0b13036c]{background:#fff;border-radius:4px;box-shadow:0 2px 12px #0000001a;padding:0 8px;z-index:999}.floating-menu[data-v-0b13036c]{position:absolute;left:-50px;top:-14px;height:40px}.floating-menu .floating-menu-cont[data-v-0b13036c]{display:flex;flex-direction:column}.table-toolbar[data-v-0b13036c]{position:absolute;z-index:2}.table-toolbar .table-toolbar-btns[data-v-0b13036c]{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:""}
|
|
@@ -81479,12 +81479,31 @@ const _sfc_main$c = {
|
|
|
81479
81479
|
return str.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
81480
81480
|
};
|
|
81481
81481
|
const preBlock = ref(null);
|
|
81482
|
+
let isHighlighting = false;
|
|
81483
|
+
let highlightTimer = null;
|
|
81482
81484
|
const highlight2 = () => {
|
|
81483
|
-
|
|
81484
|
-
|
|
81485
|
-
|
|
81486
|
-
|
|
81487
|
-
|
|
81485
|
+
if (isHighlighting) return;
|
|
81486
|
+
if (highlightTimer) {
|
|
81487
|
+
clearTimeout(highlightTimer);
|
|
81488
|
+
}
|
|
81489
|
+
highlightTimer = setTimeout(() => {
|
|
81490
|
+
nextTick(() => {
|
|
81491
|
+
var _a3;
|
|
81492
|
+
const codeEl = (_a3 = preBlock.value) == null ? void 0 : _a3.querySelector(".code-content");
|
|
81493
|
+
if (!codeEl) return;
|
|
81494
|
+
const selection = window.getSelection();
|
|
81495
|
+
let savedRange = null;
|
|
81496
|
+
let hadFocus = false;
|
|
81497
|
+
try {
|
|
81498
|
+
if (selection && selection.rangeCount > 0 && codeEl.contains(selection.anchorNode)) {
|
|
81499
|
+
hadFocus = true;
|
|
81500
|
+
savedRange = selection.getRangeAt(0).cloneRange();
|
|
81501
|
+
}
|
|
81502
|
+
} catch (e) {
|
|
81503
|
+
}
|
|
81504
|
+
isHighlighting = true;
|
|
81505
|
+
const textContent = codeEl.innerText || codeEl.textContent || "";
|
|
81506
|
+
codeEl.innerHTML = escapeHtml2(textContent);
|
|
81488
81507
|
const language = lang.value || props.node.attrs.language || "plaintext";
|
|
81489
81508
|
codeEl.className = `language-${language}`;
|
|
81490
81509
|
try {
|
|
@@ -81492,11 +81511,27 @@ const _sfc_main$c = {
|
|
|
81492
81511
|
} catch (e) {
|
|
81493
81512
|
console.warn("Highlight failed:", e);
|
|
81494
81513
|
}
|
|
81495
|
-
|
|
81496
|
-
|
|
81514
|
+
if (hadFocus && savedRange) {
|
|
81515
|
+
try {
|
|
81516
|
+
selection.removeAllRanges();
|
|
81517
|
+
selection.addRange(savedRange);
|
|
81518
|
+
} catch (e) {
|
|
81519
|
+
}
|
|
81520
|
+
}
|
|
81521
|
+
isHighlighting = false;
|
|
81522
|
+
});
|
|
81523
|
+
}, 300);
|
|
81497
81524
|
};
|
|
81498
81525
|
highlight2();
|
|
81499
|
-
|
|
81526
|
+
let contentChangeTimer = null;
|
|
81527
|
+
watch(() => props.node.content, () => {
|
|
81528
|
+
if (contentChangeTimer) {
|
|
81529
|
+
clearTimeout(contentChangeTimer);
|
|
81530
|
+
}
|
|
81531
|
+
contentChangeTimer = setTimeout(() => {
|
|
81532
|
+
highlight2();
|
|
81533
|
+
}, 500);
|
|
81534
|
+
}, { deep: true });
|
|
81500
81535
|
const codeContHeme = {
|
|
81501
81536
|
github: "light",
|
|
81502
81537
|
monokai: "dark",
|
|
@@ -81581,7 +81616,7 @@ const _sfc_main$c = {
|
|
|
81581
81616
|
};
|
|
81582
81617
|
}
|
|
81583
81618
|
};
|
|
81584
|
-
const CodeBlockView = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
81619
|
+
const CodeBlockView = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-e8932521"]]);
|
|
81585
81620
|
function _1c(hljs2) {
|
|
81586
81621
|
const UNDERSCORE_IDENT_RE2 = "[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+";
|
|
81587
81622
|
const v7_keywords = "далее ";
|
|
@@ -153859,8 +153894,7 @@ const _sfc_main$4 = {
|
|
|
153859
153894
|
const { doc: doc2 } = state;
|
|
153860
153895
|
let { tr: tr2 } = state;
|
|
153861
153896
|
let removedCount = 0;
|
|
153862
|
-
const
|
|
153863
|
-
const codeBlocksToUpdate = [];
|
|
153897
|
+
const operations = [];
|
|
153864
153898
|
let paragraphCount = 0;
|
|
153865
153899
|
doc2.descendants((node) => {
|
|
153866
153900
|
if (node.type.name === "paragraph") {
|
|
@@ -153869,56 +153903,111 @@ const _sfc_main$4 = {
|
|
|
153869
153903
|
});
|
|
153870
153904
|
doc2.descendants((node, pos) => {
|
|
153871
153905
|
if (node.type.name === "paragraph") {
|
|
153872
|
-
const
|
|
153873
|
-
const
|
|
153874
|
-
const
|
|
153875
|
-
|
|
153876
|
-
|
|
153906
|
+
const rawText = node.textContent || "";
|
|
153907
|
+
const normalizedText = rawText.replace(/\u00a0/g, " ").trim();
|
|
153908
|
+
const isEmpty3 = node.content.size === 0 || normalizedText === "";
|
|
153909
|
+
const isJupyterPrompt = /^(In|Out)\s*\[\s*\d*\s*\]\s*:?\s*$/i.test(normalizedText);
|
|
153910
|
+
if (isJupyterPrompt) {
|
|
153911
|
+
operations.push({
|
|
153912
|
+
type: "replaceJupyter",
|
|
153913
|
+
pos,
|
|
153914
|
+
size: node.nodeSize,
|
|
153915
|
+
attrs: node.attrs
|
|
153916
|
+
});
|
|
153917
|
+
removedCount++;
|
|
153918
|
+
return;
|
|
153919
|
+
}
|
|
153920
|
+
const isOnlyParagraph = paragraphCount === 1 && isEmpty3;
|
|
153921
|
+
if (isEmpty3 && !isOnlyParagraph) {
|
|
153922
|
+
operations.push({ type: "delete", pos, size: node.nodeSize });
|
|
153923
|
+
removedCount++;
|
|
153877
153924
|
}
|
|
153878
|
-
|
|
153879
|
-
|
|
153880
|
-
|
|
153881
|
-
|
|
153925
|
+
} else if (node.type.name === "heading") {
|
|
153926
|
+
let hasAnchorLink = false;
|
|
153927
|
+
node.descendants((child) => {
|
|
153928
|
+
if (child.type.name === "link" && child.marks) {
|
|
153929
|
+
const linkMark = child.marks.find((mark) => mark.type.name === "link");
|
|
153930
|
+
if (linkMark && child.textContent === "¶") {
|
|
153931
|
+
hasAnchorLink = true;
|
|
153932
|
+
}
|
|
153933
|
+
}
|
|
153934
|
+
if (child.type.name === "text" && child.text === "¶") {
|
|
153935
|
+
const hasLinkMark = child.marks && child.marks.some(
|
|
153936
|
+
(mark) => mark.type.name === "link" && mark.attrs.class === "anchor-link"
|
|
153937
|
+
);
|
|
153938
|
+
if (hasLinkMark) {
|
|
153939
|
+
hasAnchorLink = true;
|
|
153940
|
+
}
|
|
153882
153941
|
}
|
|
153942
|
+
});
|
|
153943
|
+
if (hasAnchorLink) {
|
|
153944
|
+
operations.push({
|
|
153945
|
+
type: "removeAnchorLink",
|
|
153946
|
+
pos,
|
|
153947
|
+
node
|
|
153948
|
+
});
|
|
153949
|
+
removedCount++;
|
|
153883
153950
|
}
|
|
153884
153951
|
} else if (node.type.name === "codeBlock" || node.type.name === "codeBlockCustom") {
|
|
153885
153952
|
const text2 = node.textContent;
|
|
153886
153953
|
if (!text2 || text2.trim() === "") {
|
|
153887
|
-
|
|
153954
|
+
operations.push({ type: "delete", pos, size: node.nodeSize });
|
|
153955
|
+
removedCount++;
|
|
153888
153956
|
} else if (text2.includes("\n")) {
|
|
153889
153957
|
const lines = text2.split("\n");
|
|
153890
|
-
let hasEmptyLine = false;
|
|
153891
153958
|
const nonEmptyLines = [];
|
|
153892
|
-
|
|
153893
|
-
|
|
153894
|
-
if (
|
|
153895
|
-
nonEmptyLines.push(
|
|
153959
|
+
let emptyLineCount = 0;
|
|
153960
|
+
for (const line of lines) {
|
|
153961
|
+
if (line.trim() !== "") {
|
|
153962
|
+
nonEmptyLines.push(line);
|
|
153896
153963
|
} else {
|
|
153897
|
-
|
|
153964
|
+
emptyLineCount++;
|
|
153898
153965
|
}
|
|
153899
153966
|
}
|
|
153900
|
-
if (
|
|
153901
|
-
|
|
153967
|
+
if (emptyLineCount > 0 && nonEmptyLines.length > 0) {
|
|
153968
|
+
operations.push({
|
|
153969
|
+
type: "updateCodeBlock",
|
|
153902
153970
|
pos,
|
|
153903
153971
|
nodeSize: node.nodeSize,
|
|
153904
153972
|
newContent: nonEmptyLines.join("\n"),
|
|
153905
|
-
emptyCount:
|
|
153973
|
+
emptyCount: emptyLineCount
|
|
153906
153974
|
});
|
|
153907
153975
|
}
|
|
153908
153976
|
}
|
|
153909
153977
|
}
|
|
153910
153978
|
});
|
|
153911
|
-
|
|
153912
|
-
|
|
153913
|
-
|
|
153914
|
-
|
|
153915
|
-
|
|
153916
|
-
|
|
153917
|
-
|
|
153918
|
-
|
|
153919
|
-
|
|
153920
|
-
|
|
153921
|
-
|
|
153979
|
+
operations.sort((a, b2) => b2.pos - a.pos);
|
|
153980
|
+
for (const operation of operations) {
|
|
153981
|
+
if (operation.type === "delete") {
|
|
153982
|
+
tr2 = tr2.delete(operation.pos, operation.pos + operation.size);
|
|
153983
|
+
} else if (operation.type === "replaceJupyter") {
|
|
153984
|
+
const emptyParagraph = state.schema.nodes.paragraph.create(operation.attrs || null);
|
|
153985
|
+
tr2 = tr2.replaceWith(operation.pos, operation.pos + operation.size, emptyParagraph);
|
|
153986
|
+
} else if (operation.type === "updateCodeBlock") {
|
|
153987
|
+
const from2 = operation.pos + 1;
|
|
153988
|
+
const to = operation.pos + operation.nodeSize - 1;
|
|
153989
|
+
tr2 = tr2.replaceWith(from2, to, state.schema.text(operation.newContent));
|
|
153990
|
+
removedCount += operation.emptyCount;
|
|
153991
|
+
} else if (operation.type === "removeAnchorLink") {
|
|
153992
|
+
const node = operation.node;
|
|
153993
|
+
const newContent = [];
|
|
153994
|
+
node.content.forEach((child) => {
|
|
153995
|
+
if (child.type.name === "text" && child.text === "¶") {
|
|
153996
|
+
const hasLinkMark = child.marks && child.marks.some(
|
|
153997
|
+
(mark) => mark.type.name === "link" && mark.attrs.class === "anchor-link"
|
|
153998
|
+
);
|
|
153999
|
+
if (hasLinkMark) {
|
|
154000
|
+
return;
|
|
154001
|
+
}
|
|
154002
|
+
}
|
|
154003
|
+
newContent.push(child);
|
|
154004
|
+
});
|
|
154005
|
+
const newHeading = state.schema.nodes.heading.create(
|
|
154006
|
+
node.attrs,
|
|
154007
|
+
newContent
|
|
154008
|
+
);
|
|
154009
|
+
tr2 = tr2.replaceWith(operation.pos, operation.pos + node.nodeSize, newHeading);
|
|
154010
|
+
}
|
|
153922
154011
|
}
|
|
153923
154012
|
loadingInstance.close();
|
|
153924
154013
|
if (removedCount > 0) {
|
|
@@ -153926,7 +154015,7 @@ const _sfc_main$4 = {
|
|
|
153926
154015
|
tr2 = tr2.insert(0, state.schema.nodes.paragraph.create());
|
|
153927
154016
|
}
|
|
153928
154017
|
props.editor.view.dispatch(tr2);
|
|
153929
|
-
ElMessage.success(`已删除 ${removedCount}
|
|
154018
|
+
ElMessage.success(`已删除 ${removedCount} 项(空行和代码块空行)`);
|
|
153930
154019
|
} else {
|
|
153931
154020
|
ElMessage.info("文档已经很干净了,没有需要删除的内容");
|
|
153932
154021
|
}
|
|
@@ -154933,7 +155022,7 @@ const _sfc_main$4 = {
|
|
|
154933
155022
|
};
|
|
154934
155023
|
}
|
|
154935
155024
|
};
|
|
154936
|
-
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
155025
|
+
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-fb5ad3e3"]]);
|
|
154937
155026
|
const _hoisted_1$2 = { class: "bubble-menu" };
|
|
154938
155027
|
const _sfc_main$3 = {
|
|
154939
155028
|
__name: "BubbleMenu",
|