@ones-editor/editor 2.9.8-beta.70 → 2.9.8-beta.71
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/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +20 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5794,6 +5794,20 @@ div.editor-root:not(.mobile) div.editor-content div[data-type=editor-container]
|
|
|
5794
5794
|
}
|
|
5795
5795
|
div.editor-root:not(.mobile) 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 {
|
|
5796
5796
|
min-width: 200px;
|
|
5797
|
+
}
|
|
5798
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office]:not(.upload-error) .card-root.file-empty, div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office]:not(.uploading) .card-root.file-empty {
|
|
5799
|
+
background-color: #F7F8FA;
|
|
5800
|
+
}
|
|
5801
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office]:not(.upload-error) .card-root.file-empty .file-icon, div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office]:not(.uploading) .card-root.file-empty .file-icon {
|
|
5802
|
+
flex: 1;
|
|
5803
|
+
justify-content: center;
|
|
5804
|
+
}
|
|
5805
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office]:not(.upload-error) .card-root.file-empty .file-actions,
|
|
5806
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office]:not(.upload-error) .card-root.file-empty .file-details,
|
|
5807
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office]:not(.upload-error) .card-root.file-empty .upload-progress, div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office]:not(.uploading) .card-root.file-empty .file-actions,
|
|
5808
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office]:not(.uploading) .card-root.file-empty .file-details,
|
|
5809
|
+
div.editor-root div.editor-content div[data-type=editor-container] div.embed-block[data-type=editor-block][data-embed-type=office]:not(.uploading) .card-root.file-empty .upload-progress {
|
|
5810
|
+
display: none !important;
|
|
5797
5811
|
}:root {
|
|
5798
5812
|
--editor-version-button-border: black;
|
|
5799
5813
|
--editor-bg-color: #ffffff;
|
|
@@ -41911,6 +41925,7 @@ ${codeText}
|
|
|
41911
41925
|
}
|
|
41912
41926
|
const createOptions = {
|
|
41913
41927
|
id: subMenuId,
|
|
41928
|
+
tooltipId: this.options.tooltipId,
|
|
41914
41929
|
...this.getSubBarCreateOptions(item)
|
|
41915
41930
|
};
|
|
41916
41931
|
const subBar = _CommandBar.createSubCommandBar(item, (_d = this.closeable) != null ? _d : this, createOptions);
|
|
@@ -80912,6 +80927,9 @@ ${docStr}
|
|
|
80912
80927
|
var _a, _b, _c, _d;
|
|
80913
80928
|
const { fileName, fileType, fileSize, created, creator, src } = data2;
|
|
80914
80929
|
const card = createElement("div", ["card-root"], content);
|
|
80930
|
+
if (!src) {
|
|
80931
|
+
addClass(card, "file-empty");
|
|
80932
|
+
}
|
|
80915
80933
|
const icon = createElement("div", ["file-icon"], card);
|
|
80916
80934
|
const { renderFileCardIcon } = ((_a = editor.options.componentsOptions) == null ? void 0 : _a.file) || {};
|
|
80917
80935
|
if (!renderFileCardIcon) {
|
|
@@ -95924,7 +95942,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95924
95942
|
}
|
|
95925
95943
|
}
|
|
95926
95944
|
});
|
|
95927
|
-
editor.version = "2.9.8-beta.
|
|
95945
|
+
editor.version = "2.9.8-beta.71";
|
|
95928
95946
|
return editor;
|
|
95929
95947
|
}
|
|
95930
95948
|
function isDoc(doc2) {
|
|
@@ -96058,7 +96076,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
96058
96076
|
OnesEditorDropTarget.register(editor);
|
|
96059
96077
|
OnesEditorTocProvider.register(editor);
|
|
96060
96078
|
OnesEditorExclusiveBlock.register(editor);
|
|
96061
|
-
editor.version = "2.9.8-beta.
|
|
96079
|
+
editor.version = "2.9.8-beta.71";
|
|
96062
96080
|
return editor;
|
|
96063
96081
|
}
|
|
96064
96082
|
async function showDocVersions(editor, options, serverUrl) {
|