@ones-editor/editor 2.2.19-beta.4 → 2.2.19-beta.6
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/core/src/utils/auto-scroll.d.ts +0 -2
- package/@ones-editor/file/src/file-embed/card/index.d.ts +1 -0
- package/@ones-editor/file/src/locale/en-us.d.ts +2 -0
- package/@ones-editor/file/src/locale/ja-jp.d.ts +2 -0
- package/@ones-editor/file/src/locale/zh-cn.d.ts +2 -0
- package/@ones-editor/file/src/types.d.ts +4 -1
- package/@ones-editor/media-embed/src/core/media.d.ts +1 -0
- package/@ones-editor/media-embed/src/types.d.ts +2 -1
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +165 -60
- 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: -30px;
|
|
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,74 +5087,117 @@ 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: 6px;
|
|
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:
|
|
5094
|
-
height: 48px;
|
|
5093
|
+
max-width: 100%;
|
|
5095
5094
|
cursor: pointer;
|
|
5096
5095
|
}
|
|
5097
5096
|
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 {
|
|
5098
5097
|
display: flex;
|
|
5099
|
-
align-items:
|
|
5100
|
-
|
|
5101
|
-
background-color: #
|
|
5102
|
-
border-radius:
|
|
5098
|
+
align-items: flex-start;
|
|
5099
|
+
width: 100%;
|
|
5100
|
+
background-color: #ffffff;
|
|
5101
|
+
border-radius: 6px;
|
|
5102
|
+
border: 1px solid #DFE1E5;
|
|
5103
|
+
padding: 10px;
|
|
5103
5104
|
}
|
|
5104
5105
|
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 {
|
|
5105
5106
|
border-radius: 3px;
|
|
5106
5107
|
}
|
|
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
|
+
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 .file-actions button {
|
|
5112
|
+
display: flex;
|
|
5113
|
+
}
|
|
5107
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 {
|
|
5108
5115
|
display: flex;
|
|
5109
5116
|
flex-direction: column;
|
|
5110
5117
|
justify-content: center;
|
|
5111
5118
|
font-size: 14px;
|
|
5112
|
-
flex
|
|
5119
|
+
flex: 1;
|
|
5120
|
+
min-width: 0;
|
|
5113
5121
|
}
|
|
5114
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-name {
|
|
5115
|
-
color: #
|
|
5116
|
-
max-width:
|
|
5123
|
+
color: #2D2D2E;
|
|
5124
|
+
max-width: 100%;
|
|
5117
5125
|
display: flex;
|
|
5118
5126
|
flex-direction: row;
|
|
5119
5127
|
align-items: center;
|
|
5120
5128
|
white-space: nowrap;
|
|
5129
|
+
font-size: 14px;
|
|
5130
|
+
}
|
|
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-details .file-name-pre {
|
|
5132
|
+
text-overflow: ellipsis;
|
|
5133
|
+
overflow: hidden;
|
|
5121
5134
|
}
|
|
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-
|
|
5123
|
-
|
|
5135
|
+
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 {
|
|
5136
|
+
display: flex;
|
|
5137
|
+
flex-direction: row;
|
|
5138
|
+
align-items: center;
|
|
5139
|
+
margin-top: 5px;
|
|
5140
|
+
color: #87888A;
|
|
5124
5141
|
font-size: 12px;
|
|
5125
|
-
margin-top: 2px;
|
|
5126
5142
|
}
|
|
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-
|
|
5143
|
+
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-creator {
|
|
5144
|
+
max-width: 80px;
|
|
5145
|
+
white-space: nowrap;
|
|
5146
|
+
overflow: hidden;
|
|
5128
5147
|
text-overflow: ellipsis;
|
|
5148
|
+
}
|
|
5149
|
+
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 {
|
|
5150
|
+
margin-left: 5px;
|
|
5151
|
+
white-space: nowrap;
|
|
5129
5152
|
overflow: hidden;
|
|
5153
|
+
text-overflow: ellipsis;
|
|
5154
|
+
}
|
|
5155
|
+
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 {
|
|
5156
|
+
margin-left: 15px;
|
|
5157
|
+
flex-shrink: 0;
|
|
5158
|
+
}
|
|
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-actions {
|
|
5160
|
+
align-self: center;
|
|
5161
|
+
display: flex;
|
|
5162
|
+
column-gap: 15px;
|
|
5163
|
+
margin-right: 10px;
|
|
5164
|
+
margin-left: 5px;
|
|
5130
5165
|
}
|
|
5131
5166
|
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;
|
|
5138
5167
|
padding: 0;
|
|
5139
|
-
|
|
5140
|
-
background-
|
|
5168
|
+
border: 0;
|
|
5169
|
+
background-color: transparent;
|
|
5141
5170
|
cursor: pointer;
|
|
5142
5171
|
display: flex;
|
|
5143
5172
|
align-items: center;
|
|
5144
5173
|
justify-content: center;
|
|
5145
5174
|
flex-shrink: 0;
|
|
5175
|
+
color: #2D2D2E;
|
|
5176
|
+
display: none;
|
|
5146
5177
|
}
|
|
5147
5178
|
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 {
|
|
5148
5179
|
width: 16px;
|
|
5149
5180
|
height: 16px;
|
|
5181
|
+
margin-right: 5px;
|
|
5182
|
+
color: inherit;
|
|
5183
|
+
}
|
|
5184
|
+
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 {
|
|
5185
|
+
color: #0064FF;
|
|
5186
|
+
}
|
|
5187
|
+
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 {
|
|
5188
|
+
color: #0064FF;
|
|
5189
|
+
}
|
|
5190
|
+
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 {
|
|
5191
|
+
cursor: not-allowed;
|
|
5192
|
+
opacity: 0.5;
|
|
5193
|
+
color: #2D2D2E;
|
|
5150
5194
|
}
|
|
5151
5195
|
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 {
|
|
5152
5196
|
display: flex;
|
|
5153
5197
|
flex-direction: row;
|
|
5154
5198
|
align-items: center;
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
margin: 6px 6px 6px 12px;
|
|
5199
|
+
margin-right: 10px;
|
|
5200
|
+
transform: translateY(3px);
|
|
5158
5201
|
}
|
|
5159
5202
|
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 {
|
|
5160
5203
|
width: 24px;
|
|
@@ -8192,6 +8235,13 @@ div.editor-root div.editor-content div[data-type=editor-container].root.select-a
|
|
|
8192
8235
|
}
|
|
8193
8236
|
.video-tooltip-align-style-section .style-icon.active {
|
|
8194
8237
|
color: blue;
|
|
8238
|
+
}.editor-command-bar-root .editor-command-bar .command-item .ask-ai {
|
|
8239
|
+
display: flex;
|
|
8240
|
+
align-items: center;
|
|
8241
|
+
}
|
|
8242
|
+
.editor-command-bar-root .editor-command-bar .command-item .ask-ai .button-text {
|
|
8243
|
+
margin-left: 5px;
|
|
8244
|
+
margin-right: 5px;
|
|
8195
8245
|
}`)),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
8196
8246
|
var __defProp = Object.defineProperty;
|
|
8197
8247
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -10665,7 +10715,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10665
10715
|
__publicField(this, "getScrollingDirection", (e2) => {
|
|
10666
10716
|
const { x, y } = e2;
|
|
10667
10717
|
const { top, bottom, left, right } = this.scrollDomInfo;
|
|
10668
|
-
const edge = this.
|
|
10718
|
+
const { edge } = this.options;
|
|
10669
10719
|
if (edge.top && y <= edge.top + top) {
|
|
10670
10720
|
return "top";
|
|
10671
10721
|
}
|
|
@@ -10682,7 +10732,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10682
10732
|
});
|
|
10683
10733
|
__publicField(this, "handleMouseMove", (e2) => {
|
|
10684
10734
|
var _a;
|
|
10685
|
-
const { scrollElement, onDirectionChange } = this.options;
|
|
10735
|
+
const { scrollElement, step = 10, onDirectionChange } = this.options;
|
|
10686
10736
|
const direction = this.getScrollingDirection(e2);
|
|
10687
10737
|
if (direction) {
|
|
10688
10738
|
if (this.scrolling) {
|
|
@@ -10691,7 +10741,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10691
10741
|
logger$4z.debug(`scroll direction: ${direction}`);
|
|
10692
10742
|
this.cancelScroll = continuousScroll(scrollElement, {
|
|
10693
10743
|
direction,
|
|
10694
|
-
step
|
|
10744
|
+
step
|
|
10695
10745
|
});
|
|
10696
10746
|
onDirectionChange == null ? void 0 : onDirectionChange(direction);
|
|
10697
10747
|
this.scrolling = true;
|
|
@@ -10703,12 +10753,6 @@ var __publicField = (obj, key, value) => {
|
|
|
10703
10753
|
this.options = options;
|
|
10704
10754
|
this.scrollDomInfo = this.getScrollDomInfo();
|
|
10705
10755
|
}
|
|
10706
|
-
get edge() {
|
|
10707
|
-
return window.edge || 50;
|
|
10708
|
-
}
|
|
10709
|
-
get step() {
|
|
10710
|
-
return window.step || 10;
|
|
10711
|
-
}
|
|
10712
10756
|
getScrollDomInfo() {
|
|
10713
10757
|
const { scrollElement } = this.options;
|
|
10714
10758
|
const rect = scrollElement.getBoundingClientRect();
|
|
@@ -28216,9 +28260,10 @@ var __publicField = (obj, key, value) => {
|
|
|
28216
28260
|
this.autoScroll = new AutoScroll({
|
|
28217
28261
|
scrollElement: editor.scrollContainer,
|
|
28218
28262
|
edge: {
|
|
28219
|
-
top:
|
|
28220
|
-
bottom:
|
|
28221
|
-
}
|
|
28263
|
+
top: 5,
|
|
28264
|
+
bottom: 5
|
|
28265
|
+
},
|
|
28266
|
+
step: 30
|
|
28222
28267
|
});
|
|
28223
28268
|
}
|
|
28224
28269
|
isSelecting() {
|
|
@@ -48211,8 +48256,23 @@ ${codeText}
|
|
|
48211
48256
|
}
|
|
48212
48257
|
}
|
|
48213
48258
|
}
|
|
48259
|
+
function getBlockAllItemIds(commands) {
|
|
48260
|
+
const result2 = [];
|
|
48261
|
+
function recurse(items) {
|
|
48262
|
+
items.forEach((command) => {
|
|
48263
|
+
var _a;
|
|
48264
|
+
result2.push(command.id);
|
|
48265
|
+
if ((_a = command.children) == null ? void 0 : _a.length) {
|
|
48266
|
+
recurse(command.children);
|
|
48267
|
+
}
|
|
48268
|
+
});
|
|
48269
|
+
}
|
|
48270
|
+
recurse(commands);
|
|
48271
|
+
return result2;
|
|
48272
|
+
}
|
|
48214
48273
|
for (let i = 0; i < blockCommands.length; i++) {
|
|
48215
|
-
|
|
48274
|
+
const commandIds = getBlockAllItemIds(blockCommands[i].commands);
|
|
48275
|
+
if (commandIds.find((id) => id === item.id)) {
|
|
48216
48276
|
blockCommands[i].executeCommand(editor, block, item, child);
|
|
48217
48277
|
return;
|
|
48218
48278
|
}
|
|
@@ -75748,7 +75808,7 @@ ${content}
|
|
|
75748
75808
|
return null;
|
|
75749
75809
|
}
|
|
75750
75810
|
}
|
|
75751
|
-
const toolbar = "";
|
|
75811
|
+
const toolbar$1 = "";
|
|
75752
75812
|
const logger$D = getLogger("ReAuthToolbar");
|
|
75753
75813
|
class ReAuthToolbar {
|
|
75754
75814
|
constructor(editor) {
|
|
@@ -76469,7 +76529,7 @@ ${content}
|
|
|
76469
76529
|
return FilePreviewType2;
|
|
76470
76530
|
})(FilePreviewType || {});
|
|
76471
76531
|
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>';
|
|
76472
|
-
const DownloadIcon = '<svg width="16" height="16" viewBox="0 0 16 16"
|
|
76532
|
+
const DownloadIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16" >\n <path stroke="currentColor" d="M2 9.943v4a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-4" />\n <path stroke="currentColor" d="M4.015 6.46 8 10.445l3.983-3.985M8 10.445V1" />\n <path stroke="currentColor" d="M2 9.943v4a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-4" />\n <path stroke="currentColor" d="M4.015 6.46 8 10.445l3.983-3.985M8 10.445V1" />\n</svg>';
|
|
76473
76533
|
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';
|
|
76474
76534
|
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';
|
|
76475
76535
|
const fileBoxStyle = "";
|
|
@@ -76569,7 +76629,9 @@ ${content}
|
|
|
76569
76629
|
previewType: FilePreviewType.Card,
|
|
76570
76630
|
fileName: boxData.fileName,
|
|
76571
76631
|
fileSize: boxData.fileSize,
|
|
76572
|
-
fileType: boxData.fileType
|
|
76632
|
+
fileType: boxData.fileType,
|
|
76633
|
+
created: boxData.created,
|
|
76634
|
+
creator: boxData.creator
|
|
76573
76635
|
};
|
|
76574
76636
|
if (offset.start === 0) {
|
|
76575
76637
|
if (getBlockTextLength$6(editor, block) === 1) {
|
|
@@ -76667,17 +76729,18 @@ ${content}
|
|
|
76667
76729
|
toStandardText,
|
|
76668
76730
|
getResources: getResources$1
|
|
76669
76731
|
};
|
|
76732
|
+
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>';
|
|
76670
76733
|
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>';
|
|
76671
76734
|
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>';
|
|
76672
76735
|
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>';
|
|
76673
|
-
const ImgFileIcon = '<svg width="
|
|
76674
|
-
const TxtFileIcon = '<svg width="
|
|
76675
|
-
const ZipFileIcon = '<svg width="
|
|
76676
|
-
const PptFileIcon = '<svg width="
|
|
76677
|
-
const ExcelFileIcon = '<svg
|
|
76678
|
-
const PdfFileIcon = '<svg width="
|
|
76679
|
-
const WordFileIcon = '<svg width="
|
|
76680
|
-
const UnknownFileIcon = '<svg width="
|
|
76736
|
+
const ImgFileIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#E4D7FC" d="M2 2v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5.414a1 1 0 0 0-.293-.707l-3.414-3.414A1 1 0 0 0 9.586 1H3a1 1 0 0 0-1 1Z"></path><path fill="#8851ED" fill-rule="evenodd" d="M5 6.5a.5.5 0 0 0-.5.5v2.711a.1.1 0 0 0 .164.077l.825-.688a.75.75 0 0 1 1.01.046l1.388 1.387a.25.25 0 0 0 .315.032l.902-.602a.75.75 0 0 1 .788-.027l1.458.833a.1.1 0 0 0 .15-.086V7a.5.5 0 0 0-.5-.5H5Zm5 1.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z" clip-rule="evenodd"></path><path fill="#8851ED" d="M11.5 11.489a.1.1 0 0 0-.05-.087L9.644 10.37a.25.25 0 0 0-.262.01l-.902.6a.75.75 0 0 1-.947-.093L6.146 9.5a.25.25 0 0 0-.337-.016l-1.273 1.061a.1.1 0 0 0-.036.077V12a.5.5 0 0 0 .5.5h6a.5.5 0 0 0 .5-.5v-.511Z"></path></svg>\n';
|
|
76737
|
+
const TxtFileIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#FEE4BC" d="M2 2v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5.414a1 1 0 0 0-.293-.707l-3.414-3.414A1 1 0 0 0 9.586 1H3a1 1 0 0 0-1 1Z"></path><path fill="#F59300" fill-rule="evenodd" d="M4.5 7.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-4Zm1.125 1c0-.207.168-.375.375-.375h4a.375.375 0 0 1 0 .75H6a.375.375 0 0 1-.375-.375ZM6 10.125a.375.375 0 0 0 0 .75h2.5a.375.375 0 0 0 0-.75H6Z" clip-rule="evenodd"></path></svg>\n';
|
|
76738
|
+
const ZipFileIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#FEE4BC" d="M2 2v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5.414a1 1 0 0 0-.293-.707l-3.414-3.414A1 1 0 0 0 9.586 1H3a1 1 0 0 0-1 1Z"></path><path fill="#F59300" d="M5.5 6.5h2.025a.1.1 0 0 1 .1.1v1.425a.1.1 0 0 1-.1.1H7a.375.375 0 0 0-.375.375v2c0 .207.168.375.375.375h2a.375.375 0 0 0 .375-.375v-2A.375.375 0 0 0 9 8.125h-.525a.1.1 0 0 1-.1-.1V6.6a.1.1 0 0 1 .1-.1H10.5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1Z"></path><path fill="#F59300" d="M7.475 10.125a.1.1 0 0 1-.1-.1v-1.05a.1.1 0 0 1 .1-.1h1.05a.1.1 0 0 1 .1.1v1.05a.1.1 0 0 1-.1.1h-1.05Z"></path></svg>';
|
|
76739
|
+
const PptFileIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#FDDCD8" d="M2 2v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5.414a1 1 0 0 0-.293-.707l-3.414-3.414A1 1 0 0 0 9.586 1H3a1 1 0 0 0-1 1Z"></path><path fill="#E83723" d="M11.434 9.138c.102 0 .187-.08.187-.181A2.957 2.957 0 0 0 8.664 6c-.243 0-.423.21-.423.454v2.184a.5.5 0 0 0 .5.5h2.693Z"></path><path fill="#E83723" d="M6.838 7.128c.273-.046.498.182.498.458v1.957a.5.5 0 0 0 .5.5h1.957c.276 0 .505.226.458.498a2.958 2.958 0 1 1-3.413-3.413Z"></path></svg>';
|
|
76740
|
+
const ExcelFileIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16" >\n<path fill="#B9F0D9" d="M2 2v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5.414a1 1 0 0 0-.293-.707l-3.414-3.414A1 1 0 0 0 9.586 1H3a1 1 0 0 0-1 1Z"></path><path fill="#00A865" fill-rule="evenodd" d="M4.125 7c0-.483.392-.875.875-.875h6c.483 0 .875.392.875.875v5a.875.875 0 0 1-.875.875H5A.875.875 0 0 1 4.125 12V7Zm3.75 5.125H11a.125.125 0 0 0 .125-.125V9.375h-3.25v2.75Zm-.75-2.75v2.75H5A.125.125 0 0 1 4.875 12V9.375h2.25Zm.75-.75h3.25V7A.125.125 0 0 0 11 6.875H7.875v1.75Zm-.75-1.75v1.75h-2.25V7c0-.069.056-.125.125-.125h2.125Z" clip-rule="evenodd"></path></svg>';
|
|
76741
|
+
const PdfFileIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16" ><path fill="#FDDCD8" d="M2 2v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5.414a1 1 0 0 0-.293-.707l-3.414-3.414A1 1 0 0 0 9.586 1H3a1 1 0 0 0-1 1Z"></path><path fill="#E83723" d="M3.5 11.316V8h1.356c.243 0 .458.04.644.12.19.08.338.199.446.356.107.157.161.352.161.583a.973.973 0 0 1-.611.935c-.187.08-.4.12-.64.12h-.621v1.202H3.5Zm.735-1.803h.625a.59.59 0 0 0 .27-.058.423.423 0 0 0 .176-.16.424.424 0 0 0 .066-.236.432.432 0 0 0-.066-.24.423.423 0 0 0-.175-.16.59.59 0 0 0-.27-.058h-.626v.912ZM6.578 11.316V8H7.73c.383 0 .714.071.996.214.28.142.499.338.654.587.155.25.232.534.232.855 0 .32-.077.606-.232.859-.155.249-.373.445-.654.587a2.178 2.178 0 0 1-.996.214H6.578Zm.735-.601h.436c.23 0 .43-.043.597-.13a.961.961 0 0 0 .39-.369 1.08 1.08 0 0 0 .141-.56c0-.217-.047-.404-.142-.561a.932.932 0 0 0-.389-.365 1.292 1.292 0 0 0-.597-.13h-.436v2.115ZM10.082 11.316V8H12.5v.6h-1.683v.842h1.446v.6h-1.446v1.274h-.735Z"></path></svg>';
|
|
76742
|
+
const WordFileIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#CFE2FF" d="M2 2v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5.414a1 1 0 0 0-.293-.707l-3.414-3.414A1 1 0 0 0 9.586 1H3a1 1 0 0 0-1 1Z"></path><path fill="#0064FF" fill-rule="evenodd" d="M4.825 7.032a.5.5 0 0 1 .643.293l1.063 2.834 1.01-2.356a.5.5 0 0 1 .919 0l1.01 2.356 1.062-2.834a.5.5 0 1 1 .936.35l-1.5 4a.5.5 0 0 1-.927.022L8 9.27 6.96 11.697a.5.5 0 0 1-.928-.021l-1.5-4a.5.5 0 0 1 .293-.644Z" clip-rule="evenodd"></path></svg>';
|
|
76743
|
+
const UnknownFileIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#DFE1E5" d="M2 2v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5.414a1 1 0 0 0-.293-.707l-3.414-3.414A1 1 0 0 0 9.586 1H3a1 1 0 0 0-1 1Z"></path><path fill="currentColor" d="M7 8.287c0-.434.353-.787.787-.787h.278c.516 0 .935.419.935.935a.36.36 0 0 1-.18.312l-.465.27c-.53.306-.855.871-.855 1.483a.5.5 0 0 0 1 0c0-.255.136-.49.356-.618l.465-.27A1.36 1.36 0 0 0 10 8.435 1.935 1.935 0 0 0 8.065 6.5h-.278C6.8 6.5 6 7.3 6 8.287a.5.5 0 0 0 1 0ZM8 12.6a.6.6 0 1 0 0-1.2.6.6 0 0 0 0 1.2Z"></path></svg>';
|
|
76681
76744
|
const FILE_TYPE_MAP = {
|
|
76682
76745
|
dwg: [],
|
|
76683
76746
|
rvt: [],
|
|
@@ -76718,8 +76781,8 @@ ${content}
|
|
|
76718
76781
|
return UnknownFileIcon;
|
|
76719
76782
|
}
|
|
76720
76783
|
async function renderFileCard(editor, content, data2) {
|
|
76721
|
-
var _a;
|
|
76722
|
-
const { fileName, fileType, fileSize } = data2;
|
|
76784
|
+
var _a, _b;
|
|
76785
|
+
const { fileName, fileType, fileSize, created, creator, src } = data2;
|
|
76723
76786
|
const card = createElement("div", ["card-root"], content);
|
|
76724
76787
|
const icon = createElement("div", ["file-icon"], card);
|
|
76725
76788
|
const { renderFileCardIcon } = ((_a = editor.options.componentsOptions) == null ? void 0 : _a.file) || {};
|
|
@@ -76743,15 +76806,34 @@ ${content}
|
|
|
76743
76806
|
} else {
|
|
76744
76807
|
nameElement.textContent = fileName;
|
|
76745
76808
|
}
|
|
76746
|
-
createElement("div", ["file-
|
|
76809
|
+
const infos = createElement("div", ["file-info"], detail);
|
|
76810
|
+
if (creator) {
|
|
76811
|
+
createElement("div", ["file-creator"], infos, creator);
|
|
76812
|
+
}
|
|
76813
|
+
if (created) {
|
|
76814
|
+
const timeText = i18n$1.t("file.uploadedTime", { time: formatDate(new Date(created), "YYYY-MM-DD hh:mm") });
|
|
76815
|
+
createElement("div", ["uploaded-time"], infos, timeText);
|
|
76816
|
+
}
|
|
76817
|
+
createElement("div", ["file-size"], infos, formatBytes(fileSize));
|
|
76747
76818
|
const actions2 = createElement("div", ["file-actions"], card);
|
|
76748
76819
|
const options = editor.getComponentOptions("file");
|
|
76820
|
+
let copilotButton;
|
|
76821
|
+
const checkCopilotMethod = (_b = editor.getComponentOptions("custom")) == null ? void 0 : _b.checkCopilotReadyItem;
|
|
76822
|
+
if (checkCopilotMethod) {
|
|
76823
|
+
const copilotEnabled = checkCopilotMethod(src);
|
|
76824
|
+
if (copilotEnabled) {
|
|
76825
|
+
copilotButton = createElement("button", ["copilot"], actions2);
|
|
76826
|
+
copilotButton.innerHTML = CopilotIcon;
|
|
76827
|
+
createElement("span", [], copilotButton, i18n$1.t("file.askAi"));
|
|
76828
|
+
}
|
|
76829
|
+
}
|
|
76749
76830
|
let downloadButton;
|
|
76750
76831
|
if (options.canDownload) {
|
|
76751
76832
|
downloadButton = createElement("button", ["download"], actions2);
|
|
76752
76833
|
downloadButton.innerHTML = DownloadIcon;
|
|
76834
|
+
createElement("span", [], downloadButton, i18n$1.t("file.commands.download"));
|
|
76753
76835
|
}
|
|
76754
|
-
return { card, downloadButton };
|
|
76836
|
+
return { card, downloadButton, copilotButton };
|
|
76755
76837
|
}
|
|
76756
76838
|
const fileCardStyle = "";
|
|
76757
76839
|
function downloadFile(editor, block) {
|
|
@@ -76770,7 +76852,7 @@ ${content}
|
|
|
76770
76852
|
async function createEmbedContent$7(editor, content, blockData) {
|
|
76771
76853
|
const { embedData } = blockData;
|
|
76772
76854
|
const fileData = embedData;
|
|
76773
|
-
const { card, downloadButton } = await renderFileCard(editor, content, fileData);
|
|
76855
|
+
const { card, downloadButton, copilotButton } = await renderFileCard(editor, content, fileData);
|
|
76774
76856
|
if (downloadButton) {
|
|
76775
76857
|
editor.domEvents.addEventListener(downloadButton, "click", (editor2, event) => {
|
|
76776
76858
|
if (!event.target) {
|
|
@@ -76783,6 +76865,21 @@ ${content}
|
|
|
76783
76865
|
downloadFile(editor2, block);
|
|
76784
76866
|
});
|
|
76785
76867
|
}
|
|
76868
|
+
if (copilotButton) {
|
|
76869
|
+
editor.domEvents.addEventListener(copilotButton, "click", (editor2, event) => {
|
|
76870
|
+
if (!event.target) {
|
|
76871
|
+
return;
|
|
76872
|
+
}
|
|
76873
|
+
const block = getParentBlock(event.target);
|
|
76874
|
+
if (!block) {
|
|
76875
|
+
return;
|
|
76876
|
+
}
|
|
76877
|
+
const options = editor2.options.componentsOptions.file;
|
|
76878
|
+
if (options == null ? void 0 : options.onClick) {
|
|
76879
|
+
options.onClick(editor2, block, event, "ask-copilot");
|
|
76880
|
+
}
|
|
76881
|
+
});
|
|
76882
|
+
}
|
|
76786
76883
|
editor.domEvents.addEventListener(card, "click", (editor2, event) => {
|
|
76787
76884
|
if (!event.target) {
|
|
76788
76885
|
return;
|
|
@@ -76859,6 +76956,7 @@ ${content}
|
|
|
76859
76956
|
id: genId(),
|
|
76860
76957
|
box: true,
|
|
76861
76958
|
type: "file",
|
|
76959
|
+
creator: fileData.creator,
|
|
76862
76960
|
created: Date.now(),
|
|
76863
76961
|
src: fileData.src,
|
|
76864
76962
|
fileName: fileData.fileName,
|
|
@@ -76954,7 +77052,9 @@ ${content}
|
|
|
76954
77052
|
toCard: "\u8F6C\u4E3A\u5361\u7247",
|
|
76955
77053
|
comment: "\u6DFB\u52A0\u6279\u6CE8",
|
|
76956
77054
|
preview: "\u9884\u89C8"
|
|
76957
|
-
}
|
|
77055
|
+
},
|
|
77056
|
+
uploadedTime: "\u4E0A\u4F20\u4E8E { time }",
|
|
77057
|
+
askAi: "\u8BE2\u95EE Copilot"
|
|
76958
77058
|
}
|
|
76959
77059
|
};
|
|
76960
77060
|
const enUS$e = {
|
|
@@ -76966,7 +77066,9 @@ ${content}
|
|
|
76966
77066
|
toCard: "To Card",
|
|
76967
77067
|
comment: "Add annotation",
|
|
76968
77068
|
preview: "Preview"
|
|
76969
|
-
}
|
|
77069
|
+
},
|
|
77070
|
+
uploadedTime: "uploaded at { time }",
|
|
77071
|
+
askAi: "Ask Copilot"
|
|
76970
77072
|
}
|
|
76971
77073
|
};
|
|
76972
77074
|
const jaJP$e = {
|
|
@@ -76978,7 +77080,9 @@ ${content}
|
|
|
76978
77080
|
toCard: "\u30AB\u30FC\u30C9\u306B\u5909\u63DB",
|
|
76979
77081
|
comment: "\u6CE8\u91C8\u3092\u8FFD\u52A0",
|
|
76980
77082
|
preview: "\u30D7\u30EC\u30D3\u30E5\u30FC"
|
|
76981
|
-
}
|
|
77083
|
+
},
|
|
77084
|
+
uploadedTime: "\u304C {time} \u306B\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u307E\u3057\u305F",
|
|
77085
|
+
askAi: "Copilot \u306B\u805E\u304F"
|
|
76982
77086
|
}
|
|
76983
77087
|
};
|
|
76984
77088
|
i18n$1.mergeLang({
|
|
@@ -85905,6 +86009,7 @@ ${data2.flowchartText}
|
|
|
85905
86009
|
function isReservedMediaSrc(src) {
|
|
85906
86010
|
return src === ReservedMediaSrcType.Empty || src === ReservedMediaSrcType.Error;
|
|
85907
86011
|
}
|
|
86012
|
+
const toolbar = "";
|
|
85908
86013
|
const logger$8 = getLogger("media");
|
|
85909
86014
|
class Media extends tinyTypedEmitter.TypedEmitter {
|
|
85910
86015
|
constructor(options) {
|
|
@@ -88496,7 +88601,7 @@ ${data2.flowchartText}
|
|
|
88496
88601
|
}
|
|
88497
88602
|
}
|
|
88498
88603
|
});
|
|
88499
|
-
editor.version = "2.2.19-beta.
|
|
88604
|
+
editor.version = "2.2.19-beta.6";
|
|
88500
88605
|
return editor;
|
|
88501
88606
|
}
|
|
88502
88607
|
function isDoc(doc2) {
|
|
@@ -88591,7 +88696,7 @@ ${data2.flowchartText}
|
|
|
88591
88696
|
});
|
|
88592
88697
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
88593
88698
|
OnesEditorToolbar.register(editor);
|
|
88594
|
-
editor.version = "2.2.19-beta.
|
|
88699
|
+
editor.version = "2.2.19-beta.6";
|
|
88595
88700
|
return editor;
|
|
88596
88701
|
}
|
|
88597
88702
|
async function showDocVersions(editor, options, serverUrl) {
|