f-docx-editor 0.1.0 → 0.1.1

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/FDocxEditor.css DELETED
@@ -1 +0,0 @@
1
- [data-v-4f8c18c2]:root{font-size:.77778rem}.base_box[data-v-4f8c18c2]{background:url(/img/baseBox.ef4b150d.png) no-repeat;background-size:100% 100%}.layout .el-main .page_content .page_content .back[data-v-4f8c18c2]{color:var(--el-text-color-regular);border-radius:.44444rem;height:2.77778rem}.layout .el-main .page_content .page_content .info_box[data-v-4f8c18c2]{color:var(--el-text-color-regular);border-radius:.44444rem}.layout .el-main .page_content .page_content .info_box .title[data-v-4f8c18c2]{color:var(--el-text-color-regular);height:1.66667rem;line-height:1.66667rem;font-size:.88889rem;margin-left:1.11111rem;letter-spacing:.05556rem}.layout .el-main .page_content .page_content .info_box .title[data-v-4f8c18c2]:before{height:.88889rem;width:.11111rem;top:.38889rem;left:-.55556rem;border-radius:.55556rem}.layout .el-main .page_content .page_content .info_box .content_box .chart_box[data-v-4f8c18c2]{box-shadow:0 0 0;background:#fff;border-radius:.55556rem}.el-dialog .el-dialog__body .content[data-v-4f8c18c2]{background:transparent}.contentDesc[data-v-4f8c18c2]{color:var(--el-text-color-primary)}.view-page[data-v-4f8c18c2]{height:100%;min-height:0;display:flex;justify-content:stretch}.view-page .edit-box[data-v-4f8c18c2],.view-page .view-box[data-v-4f8c18c2]{width:100%}.view-page.has-outline[data-v-4f8c18c2]{justify-content:flex-end}.view-page.has-outline .edit-box[data-v-4f8c18c2],.view-page.has-outline .view-box[data-v-4f8c18c2]{width:calc(100% - 13.88889rem)}.document-outline[data-v-4f8c18c2]{width:13.33333rem;max-height:calc(100% - 2rem);padding:.77778rem .66667rem;overflow:auto;border:.05556rem solid rgba(19,191,166,.22);border-radius:.77778rem;background:hsla(0,0%,100%,.92);box-shadow:0 .77778rem 2rem rgba(20,32,61,.16);backdrop-filter:blur(.55556rem)}.outline-title[data-v-4f8c18c2]{margin-bottom:.44444rem;padding:0 .22222rem .44444rem;border-bottom:.05556rem solid #e6edf5;color:#1f2a44;font-size:.77778rem;font-weight:700}.outline-item[data-v-4f8c18c2]{width:100%;display:block;margin:.11111rem 0;padding:.38889rem .44444rem;border:none;border-radius:.5rem;background:transparent;color:#4f5b72;font-size:.72222rem;line-height:1.35;text-align:left;cursor:pointer;transition:all .18s ease}.outline-item.is-active[data-v-4f8c18c2],.outline-item[data-v-4f8c18c2]:hover{color:#008f7c;background:rgba(19,191,166,.1)}.outline-item.level-2[data-v-4f8c18c2]{padding-left:1.11111rem}.outline-item.level-3[data-v-4f8c18c2]{padding-left:1.88889rem;font-size:.66667rem;color:#6f7b91}.outline-text[data-v-4f8c18c2]{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.edit-box[data-v-4f8c18c2],.view-box[data-v-4f8c18c2]{height:100%;min-height:0;overflow:auto;padding:0;background:#858585}.status-box[data-v-4f8c18c2]{min-height:13.33333rem;display:flex;align-items:center;justify-content:center;color:#606266;font-size:.77778rem;background:#fff;border-radius:.44444rem}.status-box.is-error[data-v-4f8c18c2]{color:#f56c6c}.docx-preview-container[data-v-4f8c18c2]{min-height:100%;width:100%}[data-v-4f8c18c2] .docx-preview-wrapper{min-height:100%;width:100%;box-sizing:border-box;background:#fff;padding:0}[data-v-4f8c18c2] .docx-preview-wrapper .docx-preview{width:100%!important}.edit-dialog[data-v-4f8c18c2]{position:relative;display:flex;flex-direction:column;gap:.66667rem}.edit-dialog-tip[data-v-4f8c18c2]{color:#4f5b72;font-size:.72222rem;line-height:1.11111rem}.edit-dialog-path[data-v-4f8c18c2]{margin-left:.44444rem;color:#9098a7}.editor-toolbar[data-v-4f8c18c2]{display:flex;flex-wrap:wrap;gap:.44444rem;padding:.77778rem;border:.05556rem solid #dbe6f3;border-radius:.77778rem;box-shadow:0 .55556rem 1.66667rem rgba(31,42,68,.06)}.editor-toolbar[data-v-4f8c18c2],.toolbar-btn[data-v-4f8c18c2]{align-items:center;background:linear-gradient(180deg,#fff,#f8fbff)}.toolbar-btn[data-v-4f8c18c2]{width:2.11111rem;height:2.11111rem;display:inline-flex;justify-content:center;border:.05556rem solid #d9e0ec;border-radius:.61111rem;color:#2b3345;cursor:pointer;box-shadow:inset 0 .05556rem 0 hsla(0,0%,100%,.9),0 .11111rem .27778rem rgba(31,42,68,.04);transition:all .16s ease}.toolbar-btn[data-v-4f8c18c2]:hover{border-color:#13bfa6;color:#13bfa6;background:linear-gradient(180deg,#fff,#effdfa);box-shadow:0 .22222rem .66667rem rgba(19,191,166,.12)}.toolbar-btn.is-active[data-v-4f8c18c2]{color:#13bfa6;border-color:#13bfa6;background:rgba(19,191,166,.1)}.toolbar-btn[data-v-4f8c18c2]:disabled{cursor:not-allowed;opacity:.45}.toolbar-tip-wrap[data-v-4f8c18c2]{display:inline-flex}.toolbar-divider[data-v-4f8c18c2]{width:.05556rem;height:1.22222rem;background:#e5e9f2;margin:0 .11111rem}.toolbar-svg[data-v-4f8c18c2]{width:1.33333rem;height:1.33333rem;display:block;color:currentColor;overflow:visible}.heading-svg[data-v-4f8c18c2]{width:1.44444rem;height:1.44444rem}.svg-stroke[data-v-4f8c18c2]{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:square;stroke-linejoin:round}.svg-stroke.thin[data-v-4f8c18c2]{stroke-width:1.25}.svg-stroke.round[data-v-4f8c18c2]{stroke-linecap:round}.svg-stroke.muted[data-v-4f8c18c2]{color:#8c96a8}.toolbar-btn.is-active .svg-stroke.muted[data-v-4f8c18c2],.toolbar-btn:hover .svg-stroke.muted[data-v-4f8c18c2]{color:currentColor}.svg-stroke.accent[data-v-4f8c18c2]{color:#13bfa6;stroke-width:2.2}.svg-stroke.danger[data-v-4f8c18c2]{color:#e47777;stroke-width:2.2}.svg-soft-fill[data-v-4f8c18c2]{fill:currentColor;opacity:.14}.svg-color-fill[data-v-4f8c18c2]{fill:currentColor}.color-preview-stroke[data-v-4f8c18c2]{stroke-width:2.8}.svg-bold[data-v-4f8c18c2],.svg-heading-level[data-v-4f8c18c2],.svg-heading-main[data-v-4f8c18c2]{fill:currentColor;font-family:Georgia,Times New Roman,serif;font-weight:700}.svg-heading-main[data-v-4f8c18c2]{font-size:1.11111rem}.svg-heading-level[data-v-4f8c18c2]{font-family:Arial,sans-serif;font-size:.55556rem;font-weight:800}.svg-bold[data-v-4f8c18c2]{font-size:1rem}.color-btn[data-v-4f8c18c2]{position:relative;width:2.33333rem;padding:0}.clear-highlight-btn[data-v-4f8c18c2]{width:2.11111rem}.table-trigger-btn[data-v-4f8c18c2]{width:2.22222rem}.table-op-btn[data-v-4f8c18c2]{width:2.44444rem;overflow:visible}.hidden-color-input[data-v-4f8c18c2]{position:absolute;opacity:0;pointer-events:none;width:0;height:0}.table-picker[data-v-4f8c18c2]{display:flex;flex-direction:column;gap:.66667rem}.table-picker-title[data-v-4f8c18c2]{color:#1f2a44;font-size:.72222rem;font-weight:700}.table-picker-grid[data-v-4f8c18c2]{display:grid;grid-template-columns:repeat(10,1fr);gap:.22222rem}.table-picker-cell[data-v-4f8c18c2]{width:1.33333rem;height:1.33333rem;border:.05556rem solid #c9d4e5;border-radius:.22222rem;background:#fff;cursor:pointer;transition:all .15s ease}.table-picker-cell.is-active[data-v-4f8c18c2],.table-picker-cell[data-v-4f8c18c2]:hover{border-color:#13bfa6;background:rgba(19,191,166,.14)}.table-picker-tip[data-v-4f8c18c2]{color:#65708a;font-size:.66667rem}.table-context-menu[data-v-4f8c18c2]{position:absolute;z-index:20;min-width:8.22222rem;padding:.33333rem;border:.05556rem solid #d8dfeb;border-radius:.44444rem;background:#fff;box-shadow:0 .88889rem 2rem rgba(31,42,68,.18)}.table-context-menu button[data-v-4f8c18c2]{width:100%;height:1.66667rem;display:flex;align-items:center;padding:0 .55556rem;border:none;border-radius:.33333rem;background:transparent;color:#2b3345;font-size:.72222rem;text-align:left;cursor:pointer}.table-context-menu button[data-v-4f8c18c2]:hover{background:rgba(19,191,166,.1);color:#008f7c}.table-context-menu button.is-danger[data-v-4f8c18c2]{color:#c45656}.table-context-menu button.is-danger[data-v-4f8c18c2]:hover{background:rgba(196,86,86,.1)}.table-context-divider[data-v-4f8c18c2]{height:.05556rem;margin:.27778rem .22222rem;background:#edf1f7}.editor-content-shell[data-v-4f8c18c2]{min-height:23.33333rem;background:linear-gradient(180deg,#fff,#fbfdff);border:.05556rem solid #dbe6f3;border-radius:1rem;overflow:auto;box-shadow:inset 0 .05556rem 0 hsla(0,0%,100%,.7),0 .77778rem 2.11111rem rgba(31,42,68,.08)}.dialog-footer[data-v-4f8c18c2]{display:flex;justify-content:flex-end}[data-v-4f8c18c2] .docx-wrapper{min-height:100%;width:100%;box-sizing:border-box;padding:1.55556rem 0 2.66667rem!important;background:#858585!important}[data-v-4f8c18c2] .docx-preview{min-height:100%;background:#858585}[data-v-4f8c18c2] .docx-preview span{line-height:2em}[data-v-4f8c18c2] .docx{margin:0 auto 1.33333rem;box-shadow:0 .88889rem 2.22222rem rgba(20,32,61,.16);border-radius:.11111rem}[data-v-4f8c18c2] .docx li,[data-v-4f8c18c2] .docx p,[data-v-4f8c18c2] .docx span,[data-v-4f8c18c2] .docx td,[data-v-4f8c18c2] .docx th{line-height:1.6!important}[data-v-4f8c18c2] .editable-field-anchor{display:inline;padding:0;margin:0;border:none;border-radius:.22222rem;background:rgba(19,191,166,.12);cursor:pointer;transition:all .2s ease;white-space:pre-wrap;word-break:break-word;box-decoration-break:clone;-webkit-box-decoration-break:clone;font:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;vertical-align:inherit;text-decoration-line:underline;text-decoration-style:dashed;text-decoration-color:rgba(19,191,166,.85);text-underline-offset:.16667rem;outline:.05556rem solid rgba(19,191,166,.28);box-shadow:0 0 0 .05556rem rgba(19,191,166,.08)}[data-v-4f8c18c2] .editable-field-anchor:hover{background:rgba(19,191,166,.2);text-decoration-color:#13bfa6;outline-color:rgba(19,191,166,.5);box-shadow:0 .33333rem .77778rem rgba(19,191,166,.12)}[data-v-4f8c18c2] .editable-field-anchor.is-placeholder{color:rgba(79,91,114,.58);font-style:italic}[data-v-4f8c18c2] .editable-field-block{display:block;margin:.11111rem 0;border-radius:.44444rem;background:rgba(19,191,166,.08);outline:.05556rem dashed rgba(19,191,166,.36);cursor:pointer;transition:all .2s ease;font:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;font-size:.88889rem;padding:1.38889rem!important}[data-v-4f8c18c2] .editable-field-block:hover{background:rgba(19,191,166,.14);outline-color:rgba(19,191,166,.58);box-shadow:0 .44444rem 1rem rgba(19,191,166,.12)}[data-v-4f8c18c2] .editable-field-block.is-placeholder{min-height:1.77778rem;display:flex;align-items:center;color:rgba(79,91,114,.58);font-style:italic}[data-v-4f8c18c2] .editable-field-block.is-table-field{padding:.33333rem .44444rem!important;background:rgba(19,191,166,.04)}[data-v-4f8c18c2] .editable-field-block p{margin:0 0 .5em;font:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;line-height:inherit;letter-spacing:inherit;color:inherit}[data-v-4f8c18c2] .editable-field-block p:last-child{margin-bottom:0}[data-v-4f8c18c2] .ProseMirror{min-height:23.33333rem;padding:1.11111rem 1.33333rem;outline:none;color:#2b3345;font-size:.83333rem;line-height:1.9}[data-v-4f8c18c2] .ProseMirror .is-empty:before{content:attr(data-placeholder);height:0;float:left;color:rgba(79,91,114,.45);pointer-events:none}[data-v-4f8c18c2] .ProseMirror h1,[data-v-4f8c18c2] .ProseMirror h2,[data-v-4f8c18c2] .ProseMirror h3{color:#1f2a44;line-height:1.5;margin:0 0 .88889rem}[data-v-4f8c18c2] .ProseMirror h1{font-size:1.66667rem}[data-v-4f8c18c2] .ProseMirror h2{font-size:1.22222rem}[data-v-4f8c18c2] .ProseMirror h3{font-size:1rem}[data-v-4f8c18c2] .ProseMirror p{margin:0 0 .77778rem}[data-v-4f8c18c2] .ProseMirror table{width:100%!important;min-width:100%!important;max-width:100%!important;margin:0 0 .88889rem;border-collapse:collapse;table-layout:fixed}[data-v-4f8c18c2] .ProseMirror table,[data-v-4f8c18c2] .ProseMirror td,[data-v-4f8c18c2] .ProseMirror th{border:.06667rem solid #000;color:#000;font-family:var(--v05faa34c);font-size:var(--v26157cce);line-height:1.15}[data-v-4f8c18c2] .ProseMirror td,[data-v-4f8c18c2] .ProseMirror th{position:relative;min-width:4rem;height:1.55556rem;padding:.11111rem .33333rem;text-align:center;vertical-align:middle}[data-v-4f8c18c2] .ProseMirror th{background:#a6a6a6;font-size:var(--v56fa5d0e);font-weight:700}[data-v-4f8c18c2] .ProseMirror td p{font-size:var(--v26157cce)!important}[data-v-4f8c18c2] .ProseMirror td p,[data-v-4f8c18c2] .ProseMirror th p{margin:0;font-family:var(--v05faa34c)!important;line-height:1.15!important}[data-v-4f8c18c2] .ProseMirror th p{font-size:var(--v56fa5d0e)!important}[data-v-4f8c18c2] .ProseMirror td *,[data-v-4f8c18c2] .ProseMirror th *{font-family:var(--v05faa34c)!important}[data-v-4f8c18c2] .ProseMirror .selectedCell:after{content:"";position:absolute;inset:0;background:rgba(19,191,166,.12);pointer-events:none}[data-v-4f8c18c2] .ProseMirror .tableWrapper{width:100%!important;max-width:100%!important;margin:0 0 .88889rem;overflow-x:auto}[data-v-4f8c18c2] .editable-field-block table{width:100%!important;min-width:100%!important;max-width:100%!important;margin:0 0 .66667rem;border-collapse:collapse;table-layout:fixed;border:.06667rem solid #000;color:#000;font-family:var(--v05faa34c);font-size:var(--v26157cce);line-height:1.15}[data-v-4f8c18c2] .editable-field-block .tableWrapper{width:100%!important;max-width:100%!important}[data-v-4f8c18c2] .editable-field-block td,[data-v-4f8c18c2] .editable-field-block th{height:1.55556rem;padding:.11111rem .33333rem;border:.06667rem solid #000;color:#000;font-family:var(--v05faa34c);font-size:var(--v26157cce);line-height:1.15;text-align:center;vertical-align:middle}[data-v-4f8c18c2] .editable-field-block th{background:#a6a6a6;font-size:var(--v56fa5d0e);font-weight:700}[data-v-4f8c18c2] .editable-field-block td p{margin:0;font-family:var(--v05faa34c)!important;font-size:var(--v26157cce)!important;line-height:1.15!important}[data-v-4f8c18c2] .editable-field-block th p{margin:0;font-family:var(--v05faa34c)!important;font-size:var(--v56fa5d0e)!important;line-height:1.15!important}[data-v-4f8c18c2] .editable-field-block td *,[data-v-4f8c18c2] .editable-field-block th *{font-family:var(--v05faa34c)!important}[data-v-4f8c18c2] .editDialog-dialog{height:70%}[data-v-4f8c18c2] .editDialog-dialog .el-dialog__body{height:calc(100% - 4.44444rem)}[data-v-4f8c18c2] .editDialog-dialog .el-dialog__body .edit-dialog{height:100%}[data-v-4f8c18c2] .editDialog-dialog .el-dialog__body .edit-dialog .editor-content-shell{height:100%;overflow:auto}