@ones-editor/editor 2.2.19-beta.5 → 2.2.20
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/@ones-editor/file/src/file-embed/card/index.d.ts +0 -1
- package/@ones-editor/file/src/locale/en-us.d.ts +0 -2
- package/@ones-editor/file/src/locale/ja-jp.d.ts +0 -2
- package/@ones-editor/file/src/locale/zh-cn.d.ts +0 -2
- package/@ones-editor/file/src/types.d.ts +1 -4
- package/@ones-editor/media-embed/src/core/media.d.ts +0 -1
- package/@ones-editor/media-embed/src/types.d.ts +1 -2
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +54 -155
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4178,7 +4178,7 @@ div.editor-root.readonly div.editor-content div[data-type=editor-container] div[
|
|
|
4178
4178
|
position: absolute;
|
|
4179
4179
|
top: 0;
|
|
4180
4180
|
left: 50%;
|
|
4181
|
-
margin-left: -
|
|
4181
|
+
margin-left: -10px;
|
|
4182
4182
|
transition: top 0.2s cubic-bezier(0.65, 0.05, 0.36, 1);
|
|
4183
4183
|
}
|
|
4184
4184
|
:is(.editor-web-comment-root, .editor-mobile-comments-root, .editor-mini-comment-root).hidden {
|
|
@@ -5087,113 +5087,74 @@ div.editor-root div.editor-content div[data-type=editor-container] div[data-type
|
|
|
5087
5087
|
justify-content: start;
|
|
5088
5088
|
}
|
|
5089
5089
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office].hover [data-type=block-content] {
|
|
5090
|
-
border-radius:
|
|
5090
|
+
border-radius: 3px;
|
|
5091
5091
|
}
|
|
5092
5092
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] {
|
|
5093
|
-
max-width:
|
|
5093
|
+
max-width: 360px;
|
|
5094
|
+
height: 48px;
|
|
5094
5095
|
cursor: pointer;
|
|
5095
5096
|
}
|
|
5096
5097
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root {
|
|
5097
5098
|
display: flex;
|
|
5098
|
-
align-items:
|
|
5099
|
-
width: 100%;
|
|
5100
|
-
background-color: #
|
|
5101
|
-
border-radius:
|
|
5102
|
-
border: 1px solid #DFE1E5;
|
|
5103
|
-
padding: 10px;
|
|
5099
|
+
align-items: center;
|
|
5100
|
+
max-width: 100%;
|
|
5101
|
+
background-color: #f5f6f7;
|
|
5102
|
+
border-radius: 3px;
|
|
5104
5103
|
}
|
|
5105
5104
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root::before {
|
|
5106
5105
|
border-radius: 3px;
|
|
5107
5106
|
}
|
|
5108
|
-
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root:hover {
|
|
5109
|
-
background-color: rgba(0, 36, 90, 0.04);
|
|
5110
|
-
}
|
|
5111
5107
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-details {
|
|
5112
5108
|
display: flex;
|
|
5113
5109
|
flex-direction: column;
|
|
5114
5110
|
justify-content: center;
|
|
5115
5111
|
font-size: 14px;
|
|
5116
|
-
flex: 1;
|
|
5117
|
-
min-width: 0;
|
|
5112
|
+
flex-grow: 1;
|
|
5118
5113
|
}
|
|
5119
5114
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-details .file-name {
|
|
5120
|
-
color: #
|
|
5121
|
-
max-width:
|
|
5115
|
+
color: #1f2329;
|
|
5116
|
+
max-width: 185px;
|
|
5122
5117
|
display: flex;
|
|
5123
5118
|
flex-direction: row;
|
|
5124
5119
|
align-items: center;
|
|
5125
5120
|
white-space: nowrap;
|
|
5126
|
-
font-size: 14px;
|
|
5127
|
-
}
|
|
5128
|
-
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-details .file-name-pre {
|
|
5129
|
-
text-overflow: ellipsis;
|
|
5130
|
-
overflow: hidden;
|
|
5131
5121
|
}
|
|
5132
|
-
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-
|
|
5133
|
-
|
|
5134
|
-
flex-direction: row;
|
|
5135
|
-
align-items: center;
|
|
5136
|
-
margin-top: 5px;
|
|
5137
|
-
color: #87888A;
|
|
5122
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-details .file-size {
|
|
5123
|
+
color: #646a73;
|
|
5138
5124
|
font-size: 12px;
|
|
5125
|
+
margin-top: 2px;
|
|
5139
5126
|
}
|
|
5140
|
-
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-
|
|
5141
|
-
max-width: 80px;
|
|
5142
|
-
white-space: nowrap;
|
|
5143
|
-
overflow: hidden;
|
|
5127
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-details .file-name-pre {
|
|
5144
5128
|
text-overflow: ellipsis;
|
|
5145
|
-
}
|
|
5146
|
-
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-info .uploaded-time {
|
|
5147
|
-
margin-left: 5px;
|
|
5148
|
-
white-space: nowrap;
|
|
5149
5129
|
overflow: hidden;
|
|
5150
|
-
text-overflow: ellipsis;
|
|
5151
|
-
}
|
|
5152
|
-
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-info .file-size {
|
|
5153
|
-
margin-left: 15px;
|
|
5154
|
-
flex-shrink: 0;
|
|
5155
|
-
}
|
|
5156
|
-
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-actions {
|
|
5157
|
-
align-self: center;
|
|
5158
|
-
display: flex;
|
|
5159
|
-
column-gap: 15px;
|
|
5160
|
-
margin-right: 10px;
|
|
5161
|
-
margin-left: 5px;
|
|
5162
5130
|
}
|
|
5163
5131
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-actions button {
|
|
5132
|
+
width: 34px;
|
|
5133
|
+
height: 34px;
|
|
5134
|
+
background-color: #ffffff;
|
|
5135
|
+
border: 1px solid #dee0e3;
|
|
5136
|
+
border-radius: 50%;
|
|
5137
|
+
margin: 0 8px;
|
|
5164
5138
|
padding: 0;
|
|
5165
|
-
|
|
5166
|
-
background-
|
|
5139
|
+
background-repeat: no-repeat;
|
|
5140
|
+
background-position: 50%;
|
|
5167
5141
|
cursor: pointer;
|
|
5168
5142
|
display: flex;
|
|
5169
5143
|
align-items: center;
|
|
5170
5144
|
justify-content: center;
|
|
5171
5145
|
flex-shrink: 0;
|
|
5172
|
-
color: #2D2D2E;
|
|
5173
5146
|
}
|
|
5174
5147
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-actions button svg {
|
|
5175
5148
|
width: 16px;
|
|
5176
5149
|
height: 16px;
|
|
5177
|
-
margin-right: 5px;
|
|
5178
|
-
color: inherit;
|
|
5179
|
-
}
|
|
5180
|
-
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-actions button:hover {
|
|
5181
|
-
color: #0064FF;
|
|
5182
|
-
}
|
|
5183
|
-
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-actions button:hover svg {
|
|
5184
|
-
color: #0064FF;
|
|
5185
|
-
}
|
|
5186
|
-
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-actions button.disabled {
|
|
5187
|
-
cursor: not-allowed;
|
|
5188
|
-
opacity: 0.5;
|
|
5189
|
-
color: #2D2D2E;
|
|
5190
5150
|
}
|
|
5191
5151
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-icon {
|
|
5192
5152
|
display: flex;
|
|
5193
5153
|
flex-direction: row;
|
|
5194
5154
|
align-items: center;
|
|
5195
|
-
|
|
5196
|
-
|
|
5155
|
+
width: 36px;
|
|
5156
|
+
height: 36px;
|
|
5157
|
+
margin: 6px 6px 6px 12px;
|
|
5197
5158
|
}
|
|
5198
5159
|
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office] [data-type=block-content] .card-root .file-icon > svg {
|
|
5199
5160
|
width: 24px;
|
|
@@ -8231,13 +8192,6 @@ div.editor-root div.editor-content div[data-type=editor-container].root.select-a
|
|
|
8231
8192
|
}
|
|
8232
8193
|
.video-tooltip-align-style-section .style-icon.active {
|
|
8233
8194
|
color: blue;
|
|
8234
|
-
}.editor-command-bar-root .editor-command-bar .command-item .ask-ai {
|
|
8235
|
-
display: flex;
|
|
8236
|
-
align-items: center;
|
|
8237
|
-
}
|
|
8238
|
-
.editor-command-bar-root .editor-command-bar .command-item .ask-ai .button-text {
|
|
8239
|
-
margin-left: 5px;
|
|
8240
|
-
margin-right: 5px;
|
|
8241
8195
|
}`)),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
8242
8196
|
var __defProp = Object.defineProperty;
|
|
8243
8197
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -48252,23 +48206,8 @@ ${codeText}
|
|
|
48252
48206
|
}
|
|
48253
48207
|
}
|
|
48254
48208
|
}
|
|
48255
|
-
function getBlockAllItemIds(commands) {
|
|
48256
|
-
const result2 = [];
|
|
48257
|
-
function recurse(items) {
|
|
48258
|
-
items.forEach((command) => {
|
|
48259
|
-
var _a;
|
|
48260
|
-
result2.push(command.id);
|
|
48261
|
-
if ((_a = command.children) == null ? void 0 : _a.length) {
|
|
48262
|
-
recurse(command.children);
|
|
48263
|
-
}
|
|
48264
|
-
});
|
|
48265
|
-
}
|
|
48266
|
-
recurse(commands);
|
|
48267
|
-
return result2;
|
|
48268
|
-
}
|
|
48269
48209
|
for (let i = 0; i < blockCommands.length; i++) {
|
|
48270
|
-
|
|
48271
|
-
if (commandIds.find((id) => id === item.id)) {
|
|
48210
|
+
if (blockCommands[i].commands.find((c) => c.id === item.id)) {
|
|
48272
48211
|
blockCommands[i].executeCommand(editor, block, item, child);
|
|
48273
48212
|
return;
|
|
48274
48213
|
}
|
|
@@ -74645,7 +74584,12 @@ ${content}
|
|
|
74645
74584
|
}
|
|
74646
74585
|
const images = getImages(files);
|
|
74647
74586
|
if (images.length > 0) {
|
|
74648
|
-
|
|
74587
|
+
const officeHtml = docs["text/office-html"];
|
|
74588
|
+
let useOfficeHtml = !!officeHtml;
|
|
74589
|
+
if (officeHtml && officeHtml.blocks.root.length === 1 && officeHtml.blocks.root[0].embedType === "image") {
|
|
74590
|
+
useOfficeHtml = false;
|
|
74591
|
+
}
|
|
74592
|
+
if (!useOfficeHtml) {
|
|
74649
74593
|
await this.handleInsertImages(editor, images);
|
|
74650
74594
|
return true;
|
|
74651
74595
|
}
|
|
@@ -75804,7 +75748,7 @@ ${content}
|
|
|
75804
75748
|
return null;
|
|
75805
75749
|
}
|
|
75806
75750
|
}
|
|
75807
|
-
const toolbar
|
|
75751
|
+
const toolbar = "";
|
|
75808
75752
|
const logger$D = getLogger("ReAuthToolbar");
|
|
75809
75753
|
class ReAuthToolbar {
|
|
75810
75754
|
constructor(editor) {
|
|
@@ -76525,7 +76469,7 @@ ${content}
|
|
|
76525
76469
|
return FilePreviewType2;
|
|
76526
76470
|
})(FilePreviewType || {});
|
|
76527
76471
|
const AttachIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M6.49669 1C4.80282 1 3.0118 2.3515 3.0118 3.76237L3 10.6206M6.49669 1C8.41943 1 10.0154 2.60058 10.0154 4.17342M6.49669 1C7.43289 1 8.28684 1.42118 8.90405 1.96796C9.50746 2.50252 10.0154 3.29036 10.0154 4.17342M10.0154 4.17342L10.0154 9.61446C10.0154 10.4166 9.23033 11.2316 8 11.2316C6.91283 11.2316 6.01026 10.5735 6.01026 9.87981L5.98457 5.04102M3 10.6206C3 13.1126 5.38055 15 8 15M3 10.6206C3 12.9301 5.13252 15 8 15M8 15C10.6194 15 13 13.1988 13 10.7068M8 15C10.8675 15 13 13.0162 13 10.7068M13 10.7068V5.04102" stroke="currentColor" stroke-linecap="square" stroke-linejoin="round"/>\n<path d="M13 4V10C13 12.7614 10.7614 15 8 15C5.23858 15 3 12.7614 3 10V4.5" stroke="currentColor"/>\n<path d="M10 9V4.5C10 2.567 8.433 1 6.5 1C4.567 1 3 2.567 3 4.5" stroke="currentColor"/>\n<path d="M10 9C10 10.1046 9.10457 11 8 11C6.89543 11 6 10.1046 6 9V4" stroke="currentColor"/>\n</svg>';
|
|
76528
|
-
const DownloadIcon = '<svg
|
|
76472
|
+
const DownloadIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2 8.94336L2 12.9434C2 13.4956 2.44772 13.9434 3 13.9434L13 13.9434C13.5523 13.9434 14 13.4956 14 12.9434L14 8.94336" stroke="#606060"/>\n<path d="M4.015 5.4597L8.00002 9.44472L11.9835 5.4597" stroke="#606060"/>\n<path d="M7.99994 9.44471L8 0" stroke="#606060"/>\n</svg>\n';
|
|
76529
76473
|
const ToLinkIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<rect x="0.5" y="5.5" width="5" height="5" rx="1" stroke="currentColor"/>\n<path d="M0 2.5L16 2.5" stroke="currentColor"/>\n<path d="M0 13.5L16 13.5" stroke="currentColor"/>\n<path d="M8 8L16 8" stroke="currentColor"/>\n</svg>\n';
|
|
76530
76474
|
const ToCardIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<rect x="0.5" y="5.5" width="15" height="5" rx="1" stroke="currentColor"/>\n<path d="M0 2.5L16 2.5" stroke="currentColor"/>\n<path d="M0 13.5L16 13.5" stroke="currentColor"/>\n</svg>\n';
|
|
76531
76475
|
const fileBoxStyle = "";
|
|
@@ -76625,9 +76569,7 @@ ${content}
|
|
|
76625
76569
|
previewType: FilePreviewType.Card,
|
|
76626
76570
|
fileName: boxData.fileName,
|
|
76627
76571
|
fileSize: boxData.fileSize,
|
|
76628
|
-
fileType: boxData.fileType
|
|
76629
|
-
created: boxData.created,
|
|
76630
|
-
creator: boxData.creator
|
|
76572
|
+
fileType: boxData.fileType
|
|
76631
76573
|
};
|
|
76632
76574
|
if (offset.start === 0) {
|
|
76633
76575
|
if (getBlockTextLength$6(editor, block) === 1) {
|
|
@@ -76725,18 +76667,17 @@ ${content}
|
|
|
76725
76667
|
toStandardText,
|
|
76726
76668
|
getResources: getResources$1
|
|
76727
76669
|
};
|
|
76728
|
-
const CopilotIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none">\n <g clip-path="url(#clip0_1985_35427)">\n <g filter="url(#filter0_i_1985_35427)">\n <path d="M16 8.5C16 12.9183 12.4183 16.5 8 16.5C3.58172 16.5 0 12.9183 0 8.5C0 4.08172 3.58172 0.5 8 0.5C12.4183 0.5 16 4.08172 16 8.5ZM4 8.5C4 10.7091 5.79086 12.5 8 12.5C10.2091 12.5 12 10.7091 12 8.5C12 6.29086 10.2091 4.5 8 4.5C5.79086 4.5 4 6.29086 4 8.5Z" fill="url(#paint0_linear_1985_35427)"/>\n </g>\n </g>\n <defs>\n <filter id="filter0_i_1985_35427" x="0" y="0.5" width="16" height="16.4" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n <feFlood flood-opacity="0" result="BackgroundImageFix"/>\n <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>\n <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n <feMorphology radius="0.399999" operator="erode" in="SourceAlpha" result="effect1_innerShadow_1985_35427"/>\n <feOffset dy="0.399999"/>\n <feGaussianBlur stdDeviation="0.999998"/>\n <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>\n <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0"/>\n <feBlend mode="normal" in2="shape" result="effect1_innerShadow_1985_35427"/>\n </filter>\n <linearGradient id="paint0_linear_1985_35427" x1="15.9116" y1="8.4558" x2="-5.82481e-07" y2="8.4558" gradientUnits="userSpaceOnUse">\n <stop stop-color="#02F563"/>\n <stop offset="0.997672" stop-color="#2BFFE6"/>\n </linearGradient>\n <clipPath id="clip0_1985_35427">\n <rect width="16" height="16" fill="white" transform="translate(0 0.5)"/>\n </clipPath>\n </defs>\n</svg>';
|
|
76729
76670
|
const DwgFileIcon = '<svg width="48" height="48" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M12 1C13.5 2.5 14 3 16 5V15.6087C16 15.7914 15.9638 15.9723 15.8934 16.1411C15.8231 16.3099 15.7199 16.4633 15.5899 16.5925C15.4599 16.7217 15.3056 16.8242 15.1358 16.8941C14.9659 16.964 14.7838 17 14.6 17H3.4C3.21615 17 3.0341 16.964 2.86424 16.8941C2.69439 16.8242 2.54005 16.7217 2.41005 16.5925C2.28005 16.4633 2.17693 16.3099 2.10657 16.1411C2.03621 15.9723 2 15.7914 2 15.6087V2.3913C2 2.2086 2.03621 2.02768 2.10657 1.85888C2.17693 1.69007 2.28005 1.5367 2.41005 1.4075C2.54005 1.27831 2.69439 1.17583 2.86424 1.10591C3.0341 1.03599 3.21615 1 3.4 1H12Z" fill="#FFBE5A"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 7.5V11.1H8.7C9.69411 11.1 10.5 10.2941 10.5 9.3C10.5 8.30589 9.69411 7.5 8.7 7.5H7.5ZM7 6C6.44772 6 6 6.44771 6 7V11.6C6 12.1523 6.44772 12.6 7 12.6H8.7C10.5225 12.6 12 11.1225 12 9.3C12 7.47746 10.5225 6 8.7 6H7Z" fill="white"/>\n<path d="M12 1L14 3L16 5H13.3333C12.9797 5 12.6406 4.84675 12.3905 4.57397C12.1405 4.30119 12 3.93122 12 3.54546V1Z" fill="#FFD89C"/>\n</svg>';
|
|
76730
76671
|
const RvtFileIcon = '<svg width="48" height="48" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M12 1C13.5 2.5 14 3 16 5V15.6087C16 15.7914 15.9638 15.9723 15.8934 16.1411C15.8231 16.3099 15.7199 16.4633 15.5899 16.5925C15.4599 16.7217 15.3056 16.8242 15.1358 16.8941C14.9659 16.964 14.7838 17 14.6 17H3.4C3.21615 17 3.0341 16.964 2.86424 16.8941C2.69439 16.8242 2.54005 16.7217 2.41005 16.5925C2.28005 16.4633 2.17693 16.3099 2.10657 16.1411C2.03621 15.9723 2 15.7914 2 15.6087V2.3913C2 2.2086 2.03621 2.02768 2.10657 1.85888C2.17693 1.69007 2.28005 1.5367 2.41005 1.4075C2.54005 1.27831 2.69439 1.17583 2.86424 1.10591C3.0341 1.03599 3.21615 1 3.4 1H12Z" fill="#6B77F3"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 6.90039V8.70039H9.6C10.0971 8.70039 10.5 8.29745 10.5 7.80039C10.5 7.30333 10.0971 6.90039 9.6 6.90039H7.5ZM7 5.40039C6.44772 5.40039 6 5.84811 6 6.40039V7.0504V9.20039V12.1504C6 12.3989 6.20147 12.6004 6.45 12.6004C6.69853 12.6004 6.9 12.3989 6.9 12.1504V10.1955C6.93289 10.1987 6.96625 10.2004 7 10.2004H9.6C9.6944 10.2004 9.78753 10.1949 9.87909 10.1843L11.1521 12.3892C11.2764 12.6045 11.5516 12.6782 11.7668 12.554C11.982 12.4297 12.0558 12.1545 11.9315 11.9392L10.7564 9.90392C11.4977 9.4955 12 8.7066 12 7.80039C12 6.47491 10.9255 5.40039 9.6 5.40039H7Z" fill="white"/>\n<path d="M12 1L14 3L16 5H13.3333C12.9797 5 12.6406 4.84675 12.3905 4.57397C12.1405 4.30119 12 3.93122 12 3.54546V1Z" fill="#B5BBF9"/>\n</svg>';
|
|
76731
76672
|
const SkpFileIcon = '<svg width="48" height="48" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M12 1C13.5 2.5 14 3 16 5V15.6087C16 15.7914 15.9638 15.9723 15.8934 16.1411C15.8231 16.3099 15.72 16.4633 15.5899 16.5925C15.4599 16.7217 15.3056 16.8242 15.1358 16.8941C14.9659 16.964 14.7838 17 14.6 17H3.4C3.21615 17 3.0341 16.964 2.86424 16.8941C2.69439 16.8242 2.54005 16.7217 2.41005 16.5925C2.28005 16.4633 2.17693 16.3099 2.10657 16.1411C2.03621 15.9723 2 15.7914 2 15.6087V2.3913C2 2.2086 2.03621 2.02768 2.10657 1.85888C2.17693 1.69007 2.28005 1.5367 2.41005 1.4075C2.54005 1.27831 2.69439 1.17583 2.86424 1.10591C3.0341 1.03599 3.21615 1 3.4 1H12Z" fill="#9773E3"/>\n<path d="M12 1L14 3L16 5H13.3333C12.9797 5 12.6406 4.84675 12.3905 4.57397C12.1405 4.30119 12 3.93122 12 3.54546V1Z" fill="#D8CAF4"/>\n<path d="M10.6499 6.375H8.21241C7.48753 6.375 6.8999 6.96263 6.8999 7.68751V7.68751C6.8999 8.41239 7.48753 9.00001 8.21241 9.00001H9.79277" stroke="white" stroke-width="1.2" stroke-linecap="round"/>\n<path d="M7.27488 11.025C6.94351 11.025 6.67488 11.2936 6.67488 11.625C6.67488 11.9564 6.94351 12.225 7.27488 12.225V11.025ZM9.71239 11.025H7.27488V12.225H9.71239V11.025ZM8.39989 9.59999H9.7124V8.39999H8.39989V9.59999ZM9.7124 9.59999C10.1059 9.59999 10.4249 9.91899 10.4249 10.3125H11.6249C11.6249 9.25624 10.7686 8.39999 9.7124 8.39999V9.59999ZM9.71239 12.225C10.7686 12.225 11.6249 11.3687 11.6249 10.3125H10.4249C10.4249 10.706 10.1059 11.025 9.71239 11.025V12.225Z" fill="white"/>\n</svg>';
|
|
76732
|
-
const ImgFileIcon = '<svg
|
|
76733
|
-
const TxtFileIcon = '<svg
|
|
76734
|
-
const ZipFileIcon = '<svg
|
|
76735
|
-
const PptFileIcon = '<svg
|
|
76736
|
-
const ExcelFileIcon = '<svg
|
|
76737
|
-
const PdfFileIcon = '<svg xmlns="http://www.w3.org/2000/svg"
|
|
76738
|
-
const WordFileIcon = '<svg
|
|
76739
|
-
const UnknownFileIcon = '<svg
|
|
76673
|
+
const ImgFileIcon = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7 5V27C7 28.1046 7.89543 29 9 29H27C28.1046 29 29 28.1046 29 27V10.8284C29 10.298 28.7893 9.78929 28.4142 9.41421L22.5858 3.58579C22.2107 3.21071 21.702 3 21.1716 3H9C7.89543 3 7 3.89543 7 5Z" fill="#E3EEFF" stroke="#0064FF" stroke-width="2" stroke-linecap="round"/>\n<path d="M21 3V9C21 10.1046 21.8954 11 23 11H29" stroke="#0064FF" stroke-width="2" stroke-linejoin="round"/>\n<rect x="3" y="12" width="14" height="12" rx="1" fill="#0064FF" stroke="#0064FF" stroke-width="2" stroke-linejoin="round"/>\n<rect x="3" y="12" width="14" height="12" rx="1" fill="#E3EEFF" stroke="#0064FF" stroke-width="2" stroke-linejoin="round"/>\n<path d="M14 15.5C14 16.3284 13.3284 17 12.5 17C11.6715 17 11 16.3284 11 15.5C11 14.6716 11.6715 14 12.5 14C13.3284 14 14 14.6716 14 15.5Z" fill="#0064FF"/>\n<path d="M3 20.5L5.79289 17.7071C6.18342 17.3166 6.81658 17.3166 7.20711 17.7071L9.29289 19.7929C9.68342 20.1834 10.3166 20.1834 10.7071 19.7929L11.2929 19.2071C11.6834 18.8166 12.3166 18.8166 12.7071 19.2071L16.5 23" stroke="#0064FF" stroke-width="2"/>\n</svg>\n';
|
|
76674
|
+
const TxtFileIcon = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7 5V27C7 28.1046 7.89543 29 9 29H27C28.1046 29 29 28.1046 29 27V10.8284C29 10.298 28.7893 9.78929 28.4142 9.41421L22.5858 3.58579C22.2107 3.21071 21.702 3 21.1716 3H9C7.89543 3 7 3.89543 7 5Z" fill="#FFF1DB" stroke="#F59300" stroke-width="2" stroke-linecap="round"/>\n<path d="M21 3V9C21 10.1046 21.8954 11 23 11H29" stroke="#F59300" stroke-width="2" stroke-linejoin="round"/>\n<rect x="3" y="12" width="14" height="12" rx="2" fill="#FFF1DB" stroke="#F59300" stroke-width="2" stroke-linejoin="round"/>\n<path d="M6 16H14" stroke="#F59300" stroke-width="2" stroke-linejoin="round"/>\n<path d="M6 20H11" stroke="#F59300" stroke-width="2" stroke-linejoin="round"/>\n</svg>\n';
|
|
76675
|
+
const ZipFileIcon = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7 5V27C7 28.1046 7.89543 29 9 29H27C28.1046 29 29 28.1046 29 27V10.8284C29 10.298 28.7893 9.78929 28.4142 9.41421L22.5858 3.58579C22.2107 3.21071 21.702 3 21.1716 3H9C7.89543 3 7 3.89543 7 5Z" fill="#FFF1DB" stroke="#F59300" stroke-width="2" stroke-linecap="round"/>\n<path d="M21 3V9C21 10.1046 21.8954 11 23 11H29" stroke="#F59300" stroke-width="2" stroke-linejoin="round"/>\n<rect x="3" y="12" width="14" height="12" rx="2" fill="#FFF1DB" stroke="#F59300" stroke-width="2" stroke-linejoin="round"/>\n<path d="M10 13V16" stroke="#F59300" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<rect x="8" y="16" width="4" height="4" stroke="#F59300" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n';
|
|
76676
|
+
const PptFileIcon = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7 5V27C7 28.1046 7.89543 29 9 29H27C28.1046 29 29 28.1046 29 27V10.8284C29 10.298 28.7893 9.78929 28.4142 9.41421L22.5858 3.58579C22.2107 3.21071 21.702 3 21.1716 3H9C7.89543 3 7 3.89543 7 5Z" fill="#FFEBE0" stroke="#EB3723" stroke-width="2" stroke-linecap="round"/>\n<path d="M21 3V9C21 10.1046 21.8954 11 23 11H29" stroke="#EB3723" stroke-width="2" stroke-linejoin="round"/>\n<path d="M17.9987 16.1363C17.9892 16.6338 17.5595 17.0001 17.062 17.0001H11C10.4477 17.0001 10 16.5523 10 16.0001V9.93803C10 9.44045 10.3663 9.01079 10.8638 9.0013C10.9091 9.00043 10.9545 9 11 9C14.866 9 18 12.134 18 16C18 16.0455 17.9996 16.091 17.9987 16.1363Z" fill="#FFA473"/>\n<path d="M9 24.9998C12.5275 24.9998 15.4456 22.3906 15.9295 18.9968C16.0075 18.4501 15.5523 17.9998 15 17.9998H10C9.44772 17.9998 9 17.5521 9 16.9998V11.9998C9 11.4475 8.54972 10.9923 8.00297 11.0703C4.60923 11.5542 2 14.4723 2 17.9998C2 21.8658 5.13401 24.9998 9 24.9998Z" fill="#EB3723"/>\n</svg>\n';
|
|
76677
|
+
const ExcelFileIcon = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7 5V27C7 28.1046 7.89543 29 9 29H27C28.1046 29 29 28.1046 29 27V10.8284C29 10.298 28.7893 9.78929 28.4142 9.41421L22.5858 3.58579C22.2107 3.21071 21.702 3 21.1716 3H9C7.89543 3 7 3.89543 7 5Z" fill="#D7F7EA" stroke="#00A865" stroke-width="2" stroke-linecap="round"/>\n<path d="M21 3V9C21 10.1046 21.8954 11 23 11H29" stroke="#00A865" stroke-width="2" stroke-linejoin="round"/>\n<rect x="3" y="12" width="14" height="12" rx="1" fill="#94E3C3" stroke="#00A865" stroke-width="2" stroke-linejoin="round"/>\n<path d="M3.5 17.5H16.5V23.5H3.5V17.5Z" fill="#D7F7EA" stroke="#00A865"/>\n<path d="M3 17L17 17" stroke="#00A865" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M9 12L9 24" stroke="#00A865" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n';
|
|
76678
|
+
const PdfFileIcon = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7 5V27C7 28.1046 7.89543 29 9 29H27C28.1046 29 29 28.1046 29 27V10.8284C29 10.298 28.7893 9.78929 28.4142 9.41421L22.5858 3.58579C22.2107 3.21071 21.702 3 21.1716 3H9C7.89543 3 7 3.89543 7 5Z" fill="#FFEAE8" stroke="#EB3723" stroke-width="2" stroke-linecap="round"/>\n<path d="M21 3V9C21 10.1046 21.8954 11 23 11H29" stroke="#EB3723" stroke-width="2" stroke-linejoin="round"/>\n<rect x="3" y="12" width="14" height="12" rx="1" fill="#EB3723" stroke="#EB3723" stroke-width="2" stroke-linejoin="round"/>\n<path d="M4.46924 20V15.53H6.18524C6.49324 15.53 6.76524 15.584 7.00124 15.692C7.24124 15.8 7.42924 15.96 7.56524 16.172C7.70124 16.384 7.76924 16.646 7.76924 16.958C7.76924 17.262 7.69924 17.52 7.55924 17.732C7.42324 17.944 7.23524 18.106 6.99524 18.218C6.75924 18.326 6.48924 18.38 6.18524 18.38H5.39924V20H4.46924ZM5.39924 17.57H6.19124C6.32324 17.57 6.43724 17.544 6.53324 17.492C6.62924 17.44 6.70324 17.368 6.75524 17.276C6.81124 17.184 6.83924 17.078 6.83924 16.958C6.83924 16.834 6.81124 16.726 6.75524 16.634C6.70324 16.542 6.62924 16.47 6.53324 16.418C6.43724 16.366 6.32324 16.34 6.19124 16.34H5.39924V17.57Z" fill="white"/>\n<path d="M8.36572 20V15.53H9.82372C10.3077 15.53 10.7277 15.626 11.0837 15.818C11.4397 16.01 11.7157 16.274 11.9117 16.61C12.1077 16.946 12.2057 17.33 12.2057 17.762C12.2057 18.194 12.1077 18.58 11.9117 18.92C11.7157 19.256 11.4397 19.52 11.0837 19.712C10.7277 19.904 10.3077 20 9.82372 20H8.36572ZM9.29572 19.19H9.84772C10.1397 19.19 10.3917 19.132 10.6037 19.016C10.8157 18.896 10.9797 18.73 11.0957 18.518C11.2157 18.302 11.2757 18.05 11.2757 17.762C11.2757 17.47 11.2157 17.218 11.0957 17.006C10.9797 16.794 10.8157 16.63 10.6037 16.514C10.3917 16.398 10.1397 16.34 9.84772 16.34H9.29572V19.19Z" fill="white"/>\n<path d="M12.8013 20V15.53H15.8613V16.34H13.7313V17.474H15.5613V18.284H13.7313V20H12.8013Z" fill="white"/>\n</svg>\n';
|
|
76679
|
+
const WordFileIcon = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7 5V27C7 28.1046 7.89543 29 9 29H27C28.1046 29 29 28.1046 29 27V10.8284C29 10.298 28.7893 9.78929 28.4142 9.41421L22.5858 3.58579C22.2107 3.21071 21.702 3 21.1716 3H9C7.89543 3 7 3.89543 7 5Z" fill="#E3EEFF" stroke="#0064FF" stroke-width="2" stroke-linecap="round"/>\n<path d="M21 3V9C21 10.1046 21.8954 11 23 11H29" stroke="#0064FF" stroke-width="2" stroke-linejoin="round"/>\n<rect x="3" y="12" width="14" height="12" rx="1" fill="#E3EEFF" stroke="#0064FF" stroke-width="2" stroke-linejoin="round"/>\n<path d="M6 15.5L8 21L10 16L12 21L14 15.5" stroke="#0064FF" stroke-width="2" stroke-linejoin="round"/>\n</svg>\n';
|
|
76680
|
+
const UnknownFileIcon = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M7 5V27C7 28.1046 7.89543 29 9 29H27C28.1046 29 29 28.1046 29 27V10.8284C29 10.298 28.7893 9.78929 28.4142 9.41421L22.5858 3.58579C22.2107 3.21071 21.702 3 21.1716 3H9C7.89543 3 7 3.89543 7 5Z" fill="#F2F3F5" stroke="#6C6D6E" stroke-width="2" stroke-linecap="round"/>\n<path d="M21 3V9C21 10.1046 21.8954 11 23 11H29" stroke="#6C6D6E" stroke-width="2" stroke-linejoin="round"/>\n<rect x="3" y="11" width="14" height="14" rx="2" fill="#F2F3F5" stroke="#6C6D6E" stroke-width="2" stroke-linecap="round"/>\n<path d="M8 15.8391V15.8391C8 14.8234 8.82338 14 9.83908 14H10C11.1046 14 12 14.8954 12 16V16.0683C12 16.4975 11.7782 16.8963 11.4135 17.1227L10.8496 17.4726C10.3213 17.8006 10 18.3782 10 19V19" stroke="#6C6D6E" stroke-width="2" stroke-linecap="square"/>\n<circle cx="10" cy="22" r="1" fill="#6C6D6E"/>\n</svg>\n';
|
|
76740
76681
|
const FILE_TYPE_MAP = {
|
|
76741
76682
|
dwg: [],
|
|
76742
76683
|
rvt: [],
|
|
@@ -76777,8 +76718,8 @@ ${content}
|
|
|
76777
76718
|
return UnknownFileIcon;
|
|
76778
76719
|
}
|
|
76779
76720
|
async function renderFileCard(editor, content, data2) {
|
|
76780
|
-
var _a
|
|
76781
|
-
const { fileName, fileType, fileSize
|
|
76721
|
+
var _a;
|
|
76722
|
+
const { fileName, fileType, fileSize } = data2;
|
|
76782
76723
|
const card = createElement("div", ["card-root"], content);
|
|
76783
76724
|
const icon = createElement("div", ["file-icon"], card);
|
|
76784
76725
|
const { renderFileCardIcon } = ((_a = editor.options.componentsOptions) == null ? void 0 : _a.file) || {};
|
|
@@ -76802,34 +76743,15 @@ ${content}
|
|
|
76802
76743
|
} else {
|
|
76803
76744
|
nameElement.textContent = fileName;
|
|
76804
76745
|
}
|
|
76805
|
-
|
|
76806
|
-
if (creator) {
|
|
76807
|
-
createElement("div", ["file-creator"], infos, creator);
|
|
76808
|
-
}
|
|
76809
|
-
if (created) {
|
|
76810
|
-
const timeText = i18n$1.t("file.uploadedTime", { time: formatDate(new Date(created), "YYYY-MM-DD hh:mm") });
|
|
76811
|
-
createElement("div", ["uploaded-time"], infos, timeText);
|
|
76812
|
-
}
|
|
76813
|
-
createElement("div", ["file-size"], infos, formatBytes(fileSize));
|
|
76746
|
+
createElement("div", ["file-size"], detail, formatBytes(fileSize));
|
|
76814
76747
|
const actions2 = createElement("div", ["file-actions"], card);
|
|
76815
76748
|
const options = editor.getComponentOptions("file");
|
|
76816
|
-
let copilotButton;
|
|
76817
|
-
const checkCopilotMethod = (_b = editor.getComponentOptions("custom")) == null ? void 0 : _b.checkCopilotReadyItem;
|
|
76818
|
-
if (checkCopilotMethod) {
|
|
76819
|
-
const copilotEnabled = checkCopilotMethod(src);
|
|
76820
|
-
if (copilotEnabled) {
|
|
76821
|
-
copilotButton = createElement("button", ["copilot"], actions2);
|
|
76822
|
-
copilotButton.innerHTML = CopilotIcon;
|
|
76823
|
-
createElement("span", [], copilotButton, i18n$1.t("file.askAi"));
|
|
76824
|
-
}
|
|
76825
|
-
}
|
|
76826
76749
|
let downloadButton;
|
|
76827
76750
|
if (options.canDownload) {
|
|
76828
76751
|
downloadButton = createElement("button", ["download"], actions2);
|
|
76829
76752
|
downloadButton.innerHTML = DownloadIcon;
|
|
76830
|
-
createElement("span", [], downloadButton, i18n$1.t("file.commands.download"));
|
|
76831
76753
|
}
|
|
76832
|
-
return { card, downloadButton
|
|
76754
|
+
return { card, downloadButton };
|
|
76833
76755
|
}
|
|
76834
76756
|
const fileCardStyle = "";
|
|
76835
76757
|
function downloadFile(editor, block) {
|
|
@@ -76848,7 +76770,7 @@ ${content}
|
|
|
76848
76770
|
async function createEmbedContent$7(editor, content, blockData) {
|
|
76849
76771
|
const { embedData } = blockData;
|
|
76850
76772
|
const fileData = embedData;
|
|
76851
|
-
const { card, downloadButton
|
|
76773
|
+
const { card, downloadButton } = await renderFileCard(editor, content, fileData);
|
|
76852
76774
|
if (downloadButton) {
|
|
76853
76775
|
editor.domEvents.addEventListener(downloadButton, "click", (editor2, event) => {
|
|
76854
76776
|
if (!event.target) {
|
|
@@ -76861,21 +76783,6 @@ ${content}
|
|
|
76861
76783
|
downloadFile(editor2, block);
|
|
76862
76784
|
});
|
|
76863
76785
|
}
|
|
76864
|
-
if (copilotButton) {
|
|
76865
|
-
editor.domEvents.addEventListener(copilotButton, "click", (editor2, event) => {
|
|
76866
|
-
if (!event.target) {
|
|
76867
|
-
return;
|
|
76868
|
-
}
|
|
76869
|
-
const block = getParentBlock(event.target);
|
|
76870
|
-
if (!block) {
|
|
76871
|
-
return;
|
|
76872
|
-
}
|
|
76873
|
-
const options = editor2.options.componentsOptions.file;
|
|
76874
|
-
if (options == null ? void 0 : options.onClick) {
|
|
76875
|
-
options.onClick(editor2, block, event, "ask-copilot");
|
|
76876
|
-
}
|
|
76877
|
-
});
|
|
76878
|
-
}
|
|
76879
76786
|
editor.domEvents.addEventListener(card, "click", (editor2, event) => {
|
|
76880
76787
|
if (!event.target) {
|
|
76881
76788
|
return;
|
|
@@ -76952,7 +76859,6 @@ ${content}
|
|
|
76952
76859
|
id: genId(),
|
|
76953
76860
|
box: true,
|
|
76954
76861
|
type: "file",
|
|
76955
|
-
creator: fileData.creator,
|
|
76956
76862
|
created: Date.now(),
|
|
76957
76863
|
src: fileData.src,
|
|
76958
76864
|
fileName: fileData.fileName,
|
|
@@ -77048,9 +76954,7 @@ ${content}
|
|
|
77048
76954
|
toCard: "\u8F6C\u4E3A\u5361\u7247",
|
|
77049
76955
|
comment: "\u6DFB\u52A0\u6279\u6CE8",
|
|
77050
76956
|
preview: "\u9884\u89C8"
|
|
77051
|
-
}
|
|
77052
|
-
uploadedTime: "\u4E0A\u4F20\u4E8E { time }",
|
|
77053
|
-
askAi: "\u8BE2\u95EE Copilot"
|
|
76957
|
+
}
|
|
77054
76958
|
}
|
|
77055
76959
|
};
|
|
77056
76960
|
const enUS$e = {
|
|
@@ -77062,9 +76966,7 @@ ${content}
|
|
|
77062
76966
|
toCard: "To Card",
|
|
77063
76967
|
comment: "Add annotation",
|
|
77064
76968
|
preview: "Preview"
|
|
77065
|
-
}
|
|
77066
|
-
uploadedTime: "uploaded at { time }",
|
|
77067
|
-
askAi: "Ask Copilot"
|
|
76969
|
+
}
|
|
77068
76970
|
}
|
|
77069
76971
|
};
|
|
77070
76972
|
const jaJP$e = {
|
|
@@ -77076,9 +76978,7 @@ ${content}
|
|
|
77076
76978
|
toCard: "\u30AB\u30FC\u30C9\u306B\u5909\u63DB",
|
|
77077
76979
|
comment: "\u6CE8\u91C8\u3092\u8FFD\u52A0",
|
|
77078
76980
|
preview: "\u30D7\u30EC\u30D3\u30E5\u30FC"
|
|
77079
|
-
}
|
|
77080
|
-
uploadedTime: "\u304C {time} \u306B\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u307E\u3057\u305F",
|
|
77081
|
-
askAi: "Copilot \u306B\u805E\u304F"
|
|
76981
|
+
}
|
|
77082
76982
|
}
|
|
77083
76983
|
};
|
|
77084
76984
|
i18n$1.mergeLang({
|
|
@@ -86005,7 +85905,6 @@ ${data2.flowchartText}
|
|
|
86005
85905
|
function isReservedMediaSrc(src) {
|
|
86006
85906
|
return src === ReservedMediaSrcType.Empty || src === ReservedMediaSrcType.Error;
|
|
86007
85907
|
}
|
|
86008
|
-
const toolbar = "";
|
|
86009
85908
|
const logger$8 = getLogger("media");
|
|
86010
85909
|
class Media extends tinyTypedEmitter.TypedEmitter {
|
|
86011
85910
|
constructor(options) {
|
|
@@ -88597,7 +88496,7 @@ ${data2.flowchartText}
|
|
|
88597
88496
|
}
|
|
88598
88497
|
}
|
|
88599
88498
|
});
|
|
88600
|
-
editor.version = "2.2.
|
|
88499
|
+
editor.version = "2.2.20";
|
|
88601
88500
|
return editor;
|
|
88602
88501
|
}
|
|
88603
88502
|
function isDoc(doc2) {
|
|
@@ -88692,7 +88591,7 @@ ${data2.flowchartText}
|
|
|
88692
88591
|
});
|
|
88693
88592
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
88694
88593
|
OnesEditorToolbar.register(editor);
|
|
88695
|
-
editor.version = "2.2.
|
|
88594
|
+
editor.version = "2.2.20";
|
|
88696
88595
|
return editor;
|
|
88697
88596
|
}
|
|
88698
88597
|
async function showDocVersions(editor, options, serverUrl) {
|