jit-viewer 1.0.8 → 1.0.9
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/iife/jit-viewer.min.css +1 -1
- package/dist/iife/jit-viewer.min.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +160 -167
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14197,145 +14197,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
14197
14197
|
const props = __props;
|
|
14198
14198
|
const { t } = useLocale();
|
|
14199
14199
|
const { filename, fileSource } = useViewerState();
|
|
14200
|
-
const brandingRef = /* @__PURE__ */ ref();
|
|
14201
|
-
let viewerRoot = null;
|
|
14202
|
-
let copyrightObserver = null;
|
|
14203
|
-
let copyrightCheckInterval = null;
|
|
14204
|
-
function checkCopyright() {
|
|
14205
|
-
const branding = brandingRef.value;
|
|
14206
|
-
if (!branding) return false;
|
|
14207
|
-
if (!viewerRoot) {
|
|
14208
|
-
viewerRoot = branding.closest(".jv-viewer");
|
|
14209
|
-
}
|
|
14210
|
-
if (!viewerRoot || !document.body.contains(viewerRoot)) {
|
|
14211
|
-
return false;
|
|
14212
|
-
}
|
|
14213
|
-
if (!viewerRoot.contains(branding)) {
|
|
14214
|
-
showCopyrightWarning();
|
|
14215
|
-
return false;
|
|
14216
|
-
}
|
|
14217
|
-
const link = branding.querySelector(".jv-branding-link");
|
|
14218
|
-
if (!link) {
|
|
14219
|
-
showCopyrightWarning();
|
|
14220
|
-
return false;
|
|
14221
|
-
}
|
|
14222
|
-
const href = link.getAttribute("href");
|
|
14223
|
-
if (href !== "https://github.com/jitOffice/jit-viewer-sdk") {
|
|
14224
|
-
showCopyrightWarning();
|
|
14225
|
-
return false;
|
|
14226
|
-
}
|
|
14227
|
-
const text = branding.textContent || "";
|
|
14228
|
-
if (!text.includes("JitViewer") || !text.includes("提供文档预览支持")) {
|
|
14229
|
-
showCopyrightWarning();
|
|
14230
|
-
return false;
|
|
14231
|
-
}
|
|
14232
|
-
return true;
|
|
14233
|
-
}
|
|
14234
|
-
function showCopyrightWarning() {
|
|
14235
|
-
var _a;
|
|
14236
|
-
if (document.querySelector(".jv-copyright-warning")) return;
|
|
14237
|
-
const warning = document.createElement("div");
|
|
14238
|
-
warning.className = "jv-copyright-warning";
|
|
14239
|
-
warning.innerHTML = `
|
|
14240
|
-
<div class="jv-copyright-warning__content">
|
|
14241
|
-
<div class="jv-copyright-warning__icon">⚠️</div>
|
|
14242
|
-
<div class="jv-copyright-warning__title">版权信息被移除</div>
|
|
14243
|
-
<div class="jv-copyright-warning__text">
|
|
14244
|
-
请保留 "JitViewer提供文档预览支持" 版权信息<br>
|
|
14245
|
-
<a href="https://github.com/jitOffice/jit-viewer-sdk" target="_blank">https://github.com/jitOffice/jit-viewer-sdk</a>
|
|
14246
|
-
</div>
|
|
14247
|
-
<button class="jv-copyright-warning__btn">我知道了</button>
|
|
14248
|
-
</div>
|
|
14249
|
-
`;
|
|
14250
|
-
const style = document.createElement("style");
|
|
14251
|
-
style.textContent = `
|
|
14252
|
-
.jv-copyright-warning {
|
|
14253
|
-
position: fixed;
|
|
14254
|
-
top: 0;
|
|
14255
|
-
left: 0;
|
|
14256
|
-
right: 0;
|
|
14257
|
-
bottom: 0;
|
|
14258
|
-
background: rgba(0, 0, 0, 0.7);
|
|
14259
|
-
display: flex;
|
|
14260
|
-
align-items: center;
|
|
14261
|
-
justify-content: center;
|
|
14262
|
-
z-index: 99999;
|
|
14263
|
-
}
|
|
14264
|
-
.jv-copyright-warning__content {
|
|
14265
|
-
background: white;
|
|
14266
|
-
padding: 32px;
|
|
14267
|
-
border-radius: 12px;
|
|
14268
|
-
text-align: center;
|
|
14269
|
-
max-width: 400px;
|
|
14270
|
-
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
14271
|
-
}
|
|
14272
|
-
.jv-copyright-warning__icon {
|
|
14273
|
-
font-size: 48px;
|
|
14274
|
-
margin-bottom: 16px;
|
|
14275
|
-
}
|
|
14276
|
-
.jv-copyright-warning__title {
|
|
14277
|
-
font-size: 18px;
|
|
14278
|
-
font-weight: 600;
|
|
14279
|
-
margin-bottom: 12px;
|
|
14280
|
-
color: #333;
|
|
14281
|
-
}
|
|
14282
|
-
.jv-copyright-warning__text {
|
|
14283
|
-
font-size: 14px;
|
|
14284
|
-
color: #666;
|
|
14285
|
-
margin-bottom: 20px;
|
|
14286
|
-
line-height: 1.6;
|
|
14287
|
-
}
|
|
14288
|
-
.jv-copyright-warning__text a {
|
|
14289
|
-
color: #1890ff;
|
|
14290
|
-
}
|
|
14291
|
-
.jv-copyright-warning__btn {
|
|
14292
|
-
background: #1890ff;
|
|
14293
|
-
color: white;
|
|
14294
|
-
border: none;
|
|
14295
|
-
padding: 10px 32px;
|
|
14296
|
-
border-radius: 6px;
|
|
14297
|
-
font-size: 14px;
|
|
14298
|
-
cursor: pointer;
|
|
14299
|
-
}
|
|
14300
|
-
.jv-copyright-warning__btn:hover {
|
|
14301
|
-
background: #40a9ff;
|
|
14302
|
-
}
|
|
14303
|
-
`;
|
|
14304
|
-
document.head.appendChild(style);
|
|
14305
|
-
document.body.appendChild(warning);
|
|
14306
|
-
(_a = warning.querySelector(".jv-copyright-warning__btn")) == null ? void 0 : _a.addEventListener("click", () => {
|
|
14307
|
-
location.reload();
|
|
14308
|
-
});
|
|
14309
|
-
}
|
|
14310
|
-
function startCopyrightProtection() {
|
|
14311
|
-
copyrightObserver = new MutationObserver(() => {
|
|
14312
|
-
checkCopyright();
|
|
14313
|
-
});
|
|
14314
|
-
if (brandingRef.value) {
|
|
14315
|
-
const viewer = brandingRef.value.closest(".jv-viewer");
|
|
14316
|
-
if (viewer) {
|
|
14317
|
-
viewerRoot = viewer;
|
|
14318
|
-
copyrightObserver.observe(viewerRoot, {
|
|
14319
|
-
childList: true,
|
|
14320
|
-
subtree: true,
|
|
14321
|
-
attributes: true,
|
|
14322
|
-
attributeFilter: ["href", "style", "class"]
|
|
14323
|
-
});
|
|
14324
|
-
}
|
|
14325
|
-
}
|
|
14326
|
-
copyrightCheckInterval = setInterval(checkCopyright, 1e3);
|
|
14327
|
-
}
|
|
14328
|
-
function stopCopyrightProtection() {
|
|
14329
|
-
if (copyrightObserver) {
|
|
14330
|
-
copyrightObserver.disconnect();
|
|
14331
|
-
copyrightObserver = null;
|
|
14332
|
-
}
|
|
14333
|
-
if (copyrightCheckInterval) {
|
|
14334
|
-
clearInterval(copyrightCheckInterval);
|
|
14335
|
-
copyrightCheckInterval = null;
|
|
14336
|
-
}
|
|
14337
|
-
viewerRoot = null;
|
|
14338
|
-
}
|
|
14339
14200
|
const defaultItems = [
|
|
14340
14201
|
"zoom",
|
|
14341
14202
|
"rotate",
|
|
@@ -14380,14 +14241,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
14380
14241
|
await downloadFile(fileSource.value, filename.value);
|
|
14381
14242
|
}
|
|
14382
14243
|
}
|
|
14383
|
-
onMounted(() => {
|
|
14384
|
-
setTimeout(() => {
|
|
14385
|
-
startCopyrightProtection();
|
|
14386
|
-
}, 100);
|
|
14387
|
-
});
|
|
14388
|
-
onUnmounted(() => {
|
|
14389
|
-
stopCopyrightProtection();
|
|
14390
|
-
});
|
|
14391
14244
|
return (_ctx, _cache) => {
|
|
14392
14245
|
return openBlock(), createElementBlock("div", {
|
|
14393
14246
|
class: normalizeClass(["jv-toolbar", [positionClass.value, { "jv-toolbar--hidden": !__props.visible }]])
|
|
@@ -14420,27 +14273,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
14420
14273
|
]),
|
|
14421
14274
|
createBaseVNode("div", _hoisted_9, [
|
|
14422
14275
|
renderSlot(_ctx.$slots, "bottom-right", {}, () => [
|
|
14423
|
-
createBaseVNode("span", {
|
|
14424
|
-
class: "jv-toolbar__branding",
|
|
14425
|
-
ref_key: "brandingRef",
|
|
14426
|
-
ref: brandingRef,
|
|
14427
|
-
"data-jv-copyright": "true"
|
|
14428
|
-
}, [..._cache[0] || (_cache[0] = [
|
|
14429
|
-
createBaseVNode("a", {
|
|
14430
|
-
href: "https://github.com/jitOffice/jit-viewer-sdk",
|
|
14431
|
-
target: "_blank",
|
|
14432
|
-
rel: "noopener noreferrer",
|
|
14433
|
-
class: "jv-branding-link"
|
|
14434
|
-
}, "JitViewer", -1),
|
|
14435
|
-
createTextVNode("提供文档预览支持 ", -1)
|
|
14436
|
-
])], 512),
|
|
14437
14276
|
hasItem("download") ? (openBlock(), createBlock(ActionButton, {
|
|
14438
14277
|
key: 0,
|
|
14439
14278
|
type: "download",
|
|
14440
14279
|
title: unref(t)("toolbar.download"),
|
|
14441
14280
|
onClick: handleDownload
|
|
14442
14281
|
}, {
|
|
14443
|
-
default: withCtx(() => [..._cache[
|
|
14282
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
14444
14283
|
createBaseVNode("svg", {
|
|
14445
14284
|
viewBox: "0 0 24 24",
|
|
14446
14285
|
fill: "none",
|
|
@@ -14466,7 +14305,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
14466
14305
|
};
|
|
14467
14306
|
}
|
|
14468
14307
|
});
|
|
14469
|
-
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
14308
|
+
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-74d3b30f"]]);
|
|
14470
14309
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
14471
14310
|
function getDefaultExportFromCjs(x) {
|
|
14472
14311
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
@@ -128937,6 +128776,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
128937
128776
|
const viewerRef = /* @__PURE__ */ ref();
|
|
128938
128777
|
const contentRef = /* @__PURE__ */ ref();
|
|
128939
128778
|
const ofdRenderRef = /* @__PURE__ */ ref(null);
|
|
128779
|
+
const brandingRef = /* @__PURE__ */ ref();
|
|
128780
|
+
let viewerRoot = null;
|
|
128781
|
+
let copyrightObserver = null;
|
|
128782
|
+
let copyrightCheckInterval = null;
|
|
128940
128783
|
const events = createEventBus();
|
|
128941
128784
|
const { t } = useLocaleProvider(props.locale);
|
|
128942
128785
|
const viewerRefForTheme = computed(() => viewerRef.value || null);
|
|
@@ -129027,6 +128870,141 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129027
128870
|
}
|
|
129028
128871
|
});
|
|
129029
128872
|
}
|
|
128873
|
+
function checkCopyright() {
|
|
128874
|
+
const branding = brandingRef.value;
|
|
128875
|
+
if (!branding) return false;
|
|
128876
|
+
if (!viewerRoot) {
|
|
128877
|
+
viewerRoot = branding.closest(".jv-viewer");
|
|
128878
|
+
}
|
|
128879
|
+
if (!viewerRoot || !document.body.contains(viewerRoot)) {
|
|
128880
|
+
return false;
|
|
128881
|
+
}
|
|
128882
|
+
if (!viewerRoot.contains(branding)) {
|
|
128883
|
+
showCopyrightWarning();
|
|
128884
|
+
return false;
|
|
128885
|
+
}
|
|
128886
|
+
const link = branding.querySelector(".jv-branding-link");
|
|
128887
|
+
if (!link) {
|
|
128888
|
+
showCopyrightWarning();
|
|
128889
|
+
return false;
|
|
128890
|
+
}
|
|
128891
|
+
const href = link.getAttribute("href");
|
|
128892
|
+
if (href !== "https://github.com/jitOffice/jit-viewer-sdk") {
|
|
128893
|
+
showCopyrightWarning();
|
|
128894
|
+
return false;
|
|
128895
|
+
}
|
|
128896
|
+
const text = branding.textContent || "";
|
|
128897
|
+
if (!text.includes("JitViewer") || !text.includes("提供文档预览支持")) {
|
|
128898
|
+
showCopyrightWarning();
|
|
128899
|
+
return false;
|
|
128900
|
+
}
|
|
128901
|
+
return true;
|
|
128902
|
+
}
|
|
128903
|
+
function showCopyrightWarning() {
|
|
128904
|
+
var _a2;
|
|
128905
|
+
if (document.querySelector(".jv-copyright-warning")) return;
|
|
128906
|
+
const warning = document.createElement("div");
|
|
128907
|
+
warning.className = "jv-copyright-warning";
|
|
128908
|
+
warning.innerHTML = `
|
|
128909
|
+
<div class="jv-copyright-warning__content">
|
|
128910
|
+
<div class="jv-copyright-warning__icon">⚠️</div>
|
|
128911
|
+
<div class="jv-copyright-warning__title">版权信息被移除</div>
|
|
128912
|
+
<div class="jv-copyright-warning__text">
|
|
128913
|
+
请保留 "JitViewer提供文档预览支持" 版权信息<br>
|
|
128914
|
+
<a href="https://github.com/jitOffice/jit-viewer-sdk" target="_blank">https://github.com/jitOffice/jit-viewer-sdk</a>
|
|
128915
|
+
</div>
|
|
128916
|
+
<button class="jv-copyright-warning__btn">我知道了</button>
|
|
128917
|
+
</div>
|
|
128918
|
+
`;
|
|
128919
|
+
const style = document.createElement("style");
|
|
128920
|
+
style.textContent = `
|
|
128921
|
+
.jv-copyright-warning {
|
|
128922
|
+
position: fixed;
|
|
128923
|
+
top: 0;
|
|
128924
|
+
left: 0;
|
|
128925
|
+
right: 0;
|
|
128926
|
+
bottom: 0;
|
|
128927
|
+
background: rgba(0, 0, 0, 0.7);
|
|
128928
|
+
display: flex;
|
|
128929
|
+
align-items: center;
|
|
128930
|
+
justify-content: center;
|
|
128931
|
+
z-index: 99999;
|
|
128932
|
+
}
|
|
128933
|
+
.jv-copyright-warning__content {
|
|
128934
|
+
background: white;
|
|
128935
|
+
padding: 32px;
|
|
128936
|
+
border-radius: 12px;
|
|
128937
|
+
text-align: center;
|
|
128938
|
+
max-width: 400px;
|
|
128939
|
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
128940
|
+
}
|
|
128941
|
+
.jv-copyright-warning__icon {
|
|
128942
|
+
font-size: 48px;
|
|
128943
|
+
margin-bottom: 16px;
|
|
128944
|
+
}
|
|
128945
|
+
.jv-copyright-warning__title {
|
|
128946
|
+
font-size: 18px;
|
|
128947
|
+
font-weight: 600;
|
|
128948
|
+
margin-bottom: 12px;
|
|
128949
|
+
color: #333;
|
|
128950
|
+
}
|
|
128951
|
+
.jv-copyright-warning__text {
|
|
128952
|
+
font-size: 14px;
|
|
128953
|
+
color: #666;
|
|
128954
|
+
margin-bottom: 20px;
|
|
128955
|
+
line-height: 1.6;
|
|
128956
|
+
}
|
|
128957
|
+
.jv-copyright-warning__text a {
|
|
128958
|
+
color: #1890ff;
|
|
128959
|
+
}
|
|
128960
|
+
.jv-copyright-warning__btn {
|
|
128961
|
+
background: #1890ff;
|
|
128962
|
+
color: white;
|
|
128963
|
+
border: none;
|
|
128964
|
+
padding: 10px 32px;
|
|
128965
|
+
border-radius: 6px;
|
|
128966
|
+
font-size: 14px;
|
|
128967
|
+
cursor: pointer;
|
|
128968
|
+
}
|
|
128969
|
+
.jv-copyright-warning__btn:hover {
|
|
128970
|
+
background: #40a9ff;
|
|
128971
|
+
}
|
|
128972
|
+
`;
|
|
128973
|
+
document.head.appendChild(style);
|
|
128974
|
+
document.body.appendChild(warning);
|
|
128975
|
+
(_a2 = warning.querySelector(".jv-copyright-warning__btn")) == null ? void 0 : _a2.addEventListener("click", () => {
|
|
128976
|
+
location.reload();
|
|
128977
|
+
});
|
|
128978
|
+
}
|
|
128979
|
+
function startCopyrightProtection() {
|
|
128980
|
+
copyrightObserver = new MutationObserver(() => {
|
|
128981
|
+
checkCopyright();
|
|
128982
|
+
});
|
|
128983
|
+
if (brandingRef.value) {
|
|
128984
|
+
const viewer = brandingRef.value.closest(".jv-viewer");
|
|
128985
|
+
if (viewer) {
|
|
128986
|
+
viewerRoot = viewer;
|
|
128987
|
+
copyrightObserver.observe(viewerRoot, {
|
|
128988
|
+
childList: true,
|
|
128989
|
+
subtree: true,
|
|
128990
|
+
attributes: true,
|
|
128991
|
+
attributeFilter: ["href", "style", "class"]
|
|
128992
|
+
});
|
|
128993
|
+
}
|
|
128994
|
+
}
|
|
128995
|
+
copyrightCheckInterval = setInterval(checkCopyright, 1e3);
|
|
128996
|
+
}
|
|
128997
|
+
function stopCopyrightProtection() {
|
|
128998
|
+
if (copyrightObserver) {
|
|
128999
|
+
copyrightObserver.disconnect();
|
|
129000
|
+
copyrightObserver = null;
|
|
129001
|
+
}
|
|
129002
|
+
if (copyrightCheckInterval) {
|
|
129003
|
+
clearInterval(copyrightCheckInterval);
|
|
129004
|
+
copyrightCheckInterval = null;
|
|
129005
|
+
}
|
|
129006
|
+
viewerRoot = null;
|
|
129007
|
+
}
|
|
129030
129008
|
async function mount(target) {
|
|
129031
129009
|
var _a2;
|
|
129032
129010
|
const el = target ? getElement(target) : viewerRef.value;
|
|
@@ -129076,11 +129054,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129076
129054
|
if (props.file) {
|
|
129077
129055
|
setFileInternal(props.file, props.filename);
|
|
129078
129056
|
}
|
|
129057
|
+
startCopyrightProtection();
|
|
129079
129058
|
emit2("ready");
|
|
129080
129059
|
events.emit("ready");
|
|
129081
129060
|
(_a2 = props.onReady) == null ? void 0 : _a2.call(props);
|
|
129082
129061
|
});
|
|
129083
129062
|
onUnmounted(() => {
|
|
129063
|
+
stopCopyrightProtection();
|
|
129084
129064
|
state.setPageController(null);
|
|
129085
129065
|
destroy();
|
|
129086
129066
|
});
|
|
@@ -129141,13 +129121,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129141
129121
|
config: toolbarConfig.value,
|
|
129142
129122
|
visible: toolbarVisible.value
|
|
129143
129123
|
}, null, 8, ["config", "visible"])) : createCommentVNode("", true),
|
|
129124
|
+
createBaseVNode("div", {
|
|
129125
|
+
class: "jv-viewer__branding",
|
|
129126
|
+
ref_key: "brandingRef",
|
|
129127
|
+
ref: brandingRef
|
|
129128
|
+
}, [..._cache[0] || (_cache[0] = [
|
|
129129
|
+
createBaseVNode("a", {
|
|
129130
|
+
href: "https://github.com/jitOffice/jit-viewer-sdk",
|
|
129131
|
+
target: "_blank",
|
|
129132
|
+
rel: "noopener noreferrer",
|
|
129133
|
+
class: "jv-branding-link"
|
|
129134
|
+
}, "JitViewer", -1),
|
|
129135
|
+
createTextVNode("提供文档预览支持 ", -1)
|
|
129136
|
+
])], 512),
|
|
129144
129137
|
createBaseVNode("div", {
|
|
129145
129138
|
ref_key: "contentRef",
|
|
129146
129139
|
ref: contentRef,
|
|
129147
129140
|
class: "jv-viewer__content"
|
|
129148
129141
|
}, [
|
|
129149
129142
|
unref(error) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
129150
|
-
_cache[
|
|
129143
|
+
_cache[1] || (_cache[1] = createBaseVNode("svg", {
|
|
129151
129144
|
class: "jv-error-icon",
|
|
129152
129145
|
viewBox: "0 0 24 24",
|
|
129153
129146
|
fill: "none",
|
|
@@ -129181,7 +129174,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129181
129174
|
style: normalizeStyle(renderStyle.value)
|
|
129182
129175
|
}, [
|
|
129183
129176
|
withDirectives(createBaseVNode("div", _hoisted_5, [
|
|
129184
|
-
_cache[
|
|
129177
|
+
_cache[2] || (_cache[2] = createBaseVNode("div", { class: "jv-loading-spinner" }, null, -1)),
|
|
129185
129178
|
createBaseVNode("span", _hoisted_6, toDisplayString(unref(t)("loading")), 1)
|
|
129186
129179
|
], 512), [
|
|
129187
129180
|
[vShow, unref(loading)]
|
|
@@ -129248,7 +129241,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129248
129241
|
"request-adapter": requestAdapter.value,
|
|
129249
129242
|
onLoad: handleLoad,
|
|
129250
129243
|
onError: handleError2
|
|
129251
|
-
}, null, 8, ["source", "zoom", "proxy-url", "request-adapter"])) : unref(fileType) === "unknown" && unref(fileSource) ? (openBlock(), createElementBlock("div", _hoisted_7, [..._cache[
|
|
129244
|
+
}, null, 8, ["source", "zoom", "proxy-url", "request-adapter"])) : unref(fileType) === "unknown" && unref(fileSource) ? (openBlock(), createElementBlock("div", _hoisted_7, [..._cache[3] || (_cache[3] = [
|
|
129252
129245
|
createBaseVNode("span", null, "未知文件类型", -1)
|
|
129253
129246
|
])])) : (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
129254
129247
|
createBaseVNode("span", null, toDisplayString(unref(t)("error.unsupportedType")), 1)
|
|
@@ -129259,7 +129252,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129259
129252
|
};
|
|
129260
129253
|
}
|
|
129261
129254
|
});
|
|
129262
|
-
const Viewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
129255
|
+
const Viewer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6150f325"]]);
|
|
129263
129256
|
function createViewer(options) {
|
|
129264
129257
|
const events = createEventBus();
|
|
129265
129258
|
let app = null;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.vue-office-docx{height:100%;overflow-y:auto}.vue-office-docx .docx-wrapper>section.docx{margin-bottom:5px}@media screen and (max-width: 800px){.vue-office-docx .docx-wrapper{padding:10px}.vue-office-docx .docx-wrapper>section.docx{padding:10px!important;width:100%!important}}.x-spreadsheet{font-size:13px;line-height:normal;-webkit-user-select:none;user-select:none;-moz-user-select:none;font-family:Lato,Source Sans Pro,Roboto,Helvetica,Arial,sans-serif;box-sizing:content-box;background:#fff;-webkit-font-smoothing:antialiased}.x-spreadsheet textarea{font:400 13px Arial,Lato,Source Sans Pro,Roboto,Helvetica,sans-serif}.x-spreadsheet-sheet{position:relative;overflow:hidden}.x-spreadsheet-table{vertical-align:bottom}.x-spreadsheet-tooltip{font-family:inherit;position:absolute;padding:5px 10px;color:#fff;border-radius:1px;background:#000;font-size:12px;z-index:201}.x-spreadsheet-tooltip:before{pointer-events:none;position:absolute;left:calc(50% - 4px);top:-4px;content:"";width:8px;height:8px;background:inherit;-webkit-transform:rotate(45deg);transform:rotate(45deg);z-index:1;box-shadow:1px 1px 3px -1px #0000004d}.x-spreadsheet-color-palette{padding:5px}.x-spreadsheet-color-palette table{margin:0;padding:0;border-collapse:separate;border-spacing:2;background:#fff}.x-spreadsheet-color-palette table td{margin:0;cursor:pointer;border:1px solid transparent}.x-spreadsheet-color-palette table td:hover{border-color:#ddd}.x-spreadsheet-color-palette table td .x-spreadsheet-color-palette-cell{width:16px;height:16px}.x-spreadsheet-border-palette{padding:6px}.x-spreadsheet-border-palette table{margin:0;padding:0;border-collapse:separate;border-spacing:0;background:#fff;table-layout:fixed}.x-spreadsheet-border-palette table td{margin:0}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left{border-right:1px solid #eee;padding-right:6px}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell{width:30px;height:30px;cursor:pointer;text-align:center}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell:hover{background-color:#eee}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-right{padding-left:6px}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-right .x-spreadsheet-line-type{position:relative;left:0;top:-3px}.x-spreadsheet-dropdown{position:relative}.x-spreadsheet-dropdown .x-spreadsheet-dropdown-content{position:absolute;z-index:200;background:#fff;box-shadow:1px 2px 5px 2px #33333326}.x-spreadsheet-dropdown.bottom-left .x-spreadsheet-dropdown-content{top:calc(100% + 5px);left:0}.x-spreadsheet-dropdown.bottom-right .x-spreadsheet-dropdown-content{top:calc(100% + 5px);right:0}.x-spreadsheet-dropdown.top-left .x-spreadsheet-dropdown-content{bottom:calc(100% + 5px);left:0}.x-spreadsheet-dropdown.top-right .x-spreadsheet-dropdown-content{bottom:calc(100% + 5px);right:0}.x-spreadsheet-dropdown .x-spreadsheet-dropdown-title{padding:0 5px;display:inline-block}.x-spreadsheet-resizer{position:absolute;z-index:11}.x-spreadsheet-resizer .x-spreadsheet-resizer-hover{background-color:#4b89ff40}.x-spreadsheet-resizer .x-spreadsheet-resizer-line{position:absolute}.x-spreadsheet-resizer.horizontal{cursor:row-resize}.x-spreadsheet-resizer.horizontal .x-spreadsheet-resizer-line{border-bottom:2px dashed #4b89ff;left:0;bottom:0}.x-spreadsheet-resizer.vertical{cursor:col-resize}.x-spreadsheet-resizer.vertical .x-spreadsheet-resizer-line{border-right:2px dashed #4b89ff;top:0;right:0}.x-spreadsheet-scrollbar{position:absolute;bottom:0;right:0;background-color:#f4f5f8;opacity:.9;z-index:12}.x-spreadsheet-scrollbar.horizontal{right:15px;overflow-x:scroll;overflow-y:hidden}.x-spreadsheet-scrollbar.horizontal>div{height:1px;background:#ddd}.x-spreadsheet-scrollbar.vertical{bottom:15px;overflow-x:hidden;overflow-y:scroll}.x-spreadsheet-scrollbar.vertical>div{width:1px;background:#ddd}.x-spreadsheet-overlayer{position:absolute;left:0;top:0;z-index:10}.x-spreadsheet-overlayer .x-spreadsheet-overlayer-content{position:absolute;overflow:hidden;pointer-events:none;width:100%;height:100%}.x-spreadsheet-editor,.x-spreadsheet-selector{box-sizing:content-box;position:absolute;overflow:hidden;pointer-events:none;top:0;left:0;width:100%;height:100%}.x-spreadsheet-selector .hide-input{position:absolute;z-index:0}.x-spreadsheet-selector .hide-input input{padding:0;width:0;border:none!important}.x-spreadsheet-selector .x-spreadsheet-selector-area{position:absolute;border:2px solid #4b89ff;background:#4b89ff1a;z-index:5}.x-spreadsheet-selector .x-spreadsheet-selector-clipboard,.x-spreadsheet-selector .x-spreadsheet-selector-autofill{position:absolute;background:transparent;z-index:100}.x-spreadsheet-selector .x-spreadsheet-selector-clipboard{border:2px dashed #4b89ff}.x-spreadsheet-selector .x-spreadsheet-selector-autofill{border:1px dashed rgba(0,0,0,.45)}.x-spreadsheet-selector .x-spreadsheet-selector-corner{pointer-events:auto;position:absolute;cursor:crosshair;font-size:0;height:5px;width:5px;right:-5px;bottom:-5px;border:2px solid #ffffff;background:#4b89ff}.x-spreadsheet-editor{z-index:20}.x-spreadsheet-editor .x-spreadsheet-editor-area{position:absolute;text-align:left;border:2px solid #4b89ff;line-height:0;z-index:100;pointer-events:auto}.x-spreadsheet-editor .x-spreadsheet-editor-area textarea{box-sizing:content-box;border:none;padding:0 3px;outline:none;resize:none;text-align:start;overflow-y:hidden;font:400 13px Arial,Lato,Source Sans Pro,Roboto,Helvetica,sans-serif;color:inherit;white-space:normal;word-wrap:break-word;line-height:22px;margin:0}.x-spreadsheet-editor .x-spreadsheet-editor-area .textline{overflow:hidden;visibility:hidden;position:fixed;top:0;left:0}.x-spreadsheet-item{-webkit-user-select:none;user-select:none;background:0;border:1px solid transparent;outline:none;height:26px;color:#000000e6;line-height:26px;list-style:none;padding:2px 10px;cursor:default;text-align:left;overflow:hidden}.x-spreadsheet-item.disabled{pointer-events:none;opacity:.5}.x-spreadsheet-item:hover,.x-spreadsheet-item.active{background:#0000000d}.x-spreadsheet-item.divider{height:0;padding:0;margin:5px 0;border:none;border-bottom:1px solid rgba(0,0,0,.1)}.x-spreadsheet-item .label{float:right;opacity:.65;font-size:1em}.x-spreadsheet-item.state,.x-spreadsheet-header.state{padding-left:35px!important;position:relative}.x-spreadsheet-item.state:before,.x-spreadsheet-header.state:before{content:"";position:absolute;width:10px;height:10px;left:12px;top:calc(50% - 5px);background:#00000014;border-radius:2px}.x-spreadsheet-item.state.checked:before,.x-spreadsheet-header.state.checked:before{background:#4b89ff}.x-spreadsheet-checkbox{position:relative;display:inline-block;backface-visibility:hidden;outline:0;vertical-align:baseline;font-style:normal;font-size:1rem;line-height:1em}.x-spreadsheet-checkbox>input{position:absolute;top:0;left:0;opacity:0!important;outline:0;z-index:-1}.x-spreadsheet-suggest,.x-spreadsheet-contextmenu,.x-spreadsheet-sort-filter{position:absolute;box-shadow:1px 2px 5px 2px #33333326;background:#fff;z-index:100;width:260px;pointer-events:auto;overflow:auto}.x-spreadsheet-suggest{width:200px}.x-spreadsheet-filter{border:1px solid #e9e9e9;font-size:12px;margin:10px}.x-spreadsheet-filter .x-spreadsheet-header{padding:.5em .75em;background:#f8f8f9;border-bottom:1px solid #e9e9e9;border-left:1px solid transparent}.x-spreadsheet-filter .x-spreadsheet-body{height:200px;overflow-y:auto}.x-spreadsheet-filter .x-spreadsheet-body .x-spreadsheet-item{height:20px;line-height:20px}.x-spreadsheet-sort-filter .x-spreadsheet-buttons{margin:10px}.x-spreadsheet-bottombar{height:40px;padding:0 30px;text-align:left;background:#f5f6f7;display:flex}.x-spreadsheet-bottombar{position:relative;border-top:1px solid #e0e2e4}.x-spreadsheet-bottombar .x-spreadsheet-menu>li{line-height:40px;height:40px;padding-top:0;padding-bottom:0;vertical-align:middle;border-right:1px solid #e8eaed}.x-spreadsheet-menu{display:flex;overflow-x:auto;list-style:none;margin:0;padding:0;-webkit-user-select:none;user-select:none}.x-spreadsheet-menu>li{float:left;line-height:1.25em;padding:.785em 1em;margin:0;vertical-align:middle;text-align:left;font-weight:400;color:#80868b;white-space:nowrap;cursor:pointer;transition:all .3s;font-weight:700}.x-spreadsheet-menu>li.active{background-color:#fff;color:#000000a6}.x-spreadsheet-menu>li .x-spreadsheet-dropdown{display:inline-block}.x-spreadsheet-print{position:absolute;left:0;top:0;z-index:100;width:100%;height:100%;display:flex;flex-direction:column}.x-spreadsheet-print-bar{background:#424242;height:60px;line-height:60px;padding:0 30px}.x-spreadsheet-print-bar .-title{color:#fff;font-weight:700;font-size:1.2em;float:left}.x-spreadsheet-print-bar .-right{float:right;margin-top:12px}.x-spreadsheet-print-content{display:flex;flex:auto;flex-direction:row;background:#d0d0d0;height:calc(100% - 60px)}.x-spreadsheet-print-content .-sider{flex:0 0 300px;width:300px;border-left:2px solid #ccc;background:#fff}.x-spreadsheet-print-content .-content{flex:auto;overflow-x:auto;overflow-y:scroll;height:100%}.x-spreadsheet-canvas-card-wraper{margin:40px 20px}.x-spreadsheet-canvas-card{background:#fff;margin:auto;page-break-before:auto;page-break-after:always;box-shadow:0 8px 10px 1px #00000024,0 3px 14px 3px #0000001f,0 4px 5px #0003}.x-spreadsheet-calendar{color:#000000a6;background:#fff;-webkit-user-select:none;user-select:none}.x-spreadsheet-calendar .calendar-header{font-weight:700;line-height:30px;text-align:center;width:100%;float:left;background:#f9fafb}.x-spreadsheet-calendar .calendar-header .calendar-header-left{padding-left:5px;float:left}.x-spreadsheet-calendar .calendar-header .calendar-header-right{float:right}.x-spreadsheet-calendar .calendar-header .calendar-header-right a{padding:3px 0;margin-right:2px;border-radius:2px}.x-spreadsheet-calendar .calendar-header .calendar-header-right a:hover{background:#00000014}.x-spreadsheet-calendar .calendar-body{border-collapse:collapse;border-spacing:0}.x-spreadsheet-calendar .calendar-body th,.x-spreadsheet-calendar .calendar-body td{width:14.28571429%;min-width:32px;text-align:center;font-weight:700;line-height:30px;padding:0}.x-spreadsheet-calendar .calendar-body td>.cell:hover{background:#ecf6fd}.x-spreadsheet-calendar .calendar-body td>.cell.active,.x-spreadsheet-calendar .calendar-body td>.cell.active:hover{background:#ecf6fd;color:#2185d0}.x-spreadsheet-calendar .calendar-body td>.cell.disabled{pointer-events:none;opacity:.5}.x-spreadsheet-datepicker{box-shadow:2px 2px 5px #0003;position:absolute;left:0;top:calc(100% + 5px);z-index:10;width:auto}.x-spreadsheet-buttons{display:flex;justify-content:flex-end}.x-spreadsheet-buttons .x-spreadsheet-button{margin-left:8px}.x-spreadsheet-button{display:inline-block;border-radius:3px;line-height:1em;min-height:1em;white-space:nowrap;text-align:center;cursor:pointer;font-size:1em;font-weight:700;padding:.75em 1em;color:#0009;background:#e0e1e2;text-decoration:none;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;outline:none;vertical-align:baseline;zoom:1;-webkit-user-select:none;user-select:none;transition:all .1s linear}.x-spreadsheet-button.active,.x-spreadsheet-button:hover{background-color:#c0c1c2;color:#000c}.x-spreadsheet-button.primary{color:#fff;background-color:#2185d0}.x-spreadsheet-button.primary:hover,.x-spreadsheet-button.primary.active{color:#fff;background-color:#1678c2}.x-spreadsheet-form-input{font-size:1em;position:relative;font-weight:400;display:inline-flex;color:#000000de}.x-spreadsheet-form-input input{z-index:1;margin:0;max-width:100%;flex:1 0 auto;outline:0;-webkit-tap-highlight-color:rgba(255,255,255,0);text-align:left;line-height:30px;height:30px;padding:0 8px;background:#fff;border:1px solid #e9e9e9;border-radius:3px;transition:box-shadow .1s ease,border-color .1s ease;box-shadow:inset 0 1px 2px #0a0a0a0f}.x-spreadsheet-form-input input:focus{border-color:#4b89ff;box-shadow:inset 0 1px 2px #4b89ff33}.x-spreadsheet-form-select{position:relative;display:inline-block;background:#fff;border:1px solid #e9e9e9;border-radius:2px;cursor:pointer;color:#000000de;-webkit-user-select:none;user-select:none;box-shadow:inset 0 1px 2px #0a0a0a0f}.x-spreadsheet-form-select .input-text{text-overflow:ellipsis;white-space:nowrap;min-width:60px;width:auto;height:30px;line-height:30px;padding:0 8px}.x-spreadsheet-form-fields{display:flex;flex-direction:row;flex-wrap:wrap}.x-spreadsheet-form-fields .x-spreadsheet-form-field{flex:0 1 auto}.x-spreadsheet-form-fields .x-spreadsheet-form-field .label{display:inline-block;margin:0 10px 0 0}.x-spreadsheet-form-field{display:block;vertical-align:middle;margin-left:10px;margin-bottom:10px}.x-spreadsheet-form-field:first-child{margin-left:0}.x-spreadsheet-form-field.error .x-spreadsheet-form-select,.x-spreadsheet-form-field.error input{border-color:#f04134}.x-spreadsheet-form-field .tip{color:#f04134;font-size:.9em}.x-spreadsheet-dimmer{display:none;position:absolute;top:0!important;left:0!important;width:100%;height:100%;text-align:center;vertical-align:middle;background-color:#0009;opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;animation-duration:.5s;transition:background-color .5s linear;-webkit-user-select:none;user-select:none;z-index:1000}.x-spreadsheet-dimmer.active{display:block;opacity:1}form fieldset{border:none}form fieldset label{display:block;margin-bottom:.5em;font-size:1em;color:#666}form fieldset select{font-size:1.1em;width:100%;background-color:#fff;border:none;border-bottom:2px solid #ddd;padding:.5em .85em;border-radius:2px}.x-spreadsheet-modal,.x-spreadsheet-toast{font-size:13px;position:fixed;z-index:1001;text-align:left;line-height:1.25em;min-width:360px;color:#000000de;font-family:Lato,Source Sans Pro,Roboto,Helvetica,Arial,sans-serif;border-radius:4px;border:1px solid rgba(0,0,0,.1);background-color:#fff;background-clip:padding-box;box-shadow:#0003 0 2px 8px}.x-spreadsheet-toast{background-color:#ffffffd9}.x-spreadsheet-modal-header,.x-spreadsheet-toast-header{font-weight:600;background-clip:padding-box;background-color:#ffffffd9;border-bottom:1px solid rgba(0,0,0,.05);border-radius:4px 4px 0 0}.x-spreadsheet-toast-header{color:#f2711c}.x-spreadsheet-modal-header{border-bottom:1px solid #e0e2e4;background:#00000014;font-size:1.0785em}.x-spreadsheet-modal-header,.x-spreadsheet-modal-content,.x-spreadsheet-toast-header,.x-spreadsheet-toast-content{padding:.75em 1em}.x-spreadsheet-menu li:first-child{display:none}.vue-office-excel{height:100%}body{margin:0}.gray{-webkit-filter:grayscale(100%);-moz-filter:grayscale(100%);-ms-filter:grayscale(100%);-o-filter:grayscale(100%);filter:grayscale(100%);filter:gray}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;opacity:1;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;align-content:end}.textLayer :is(span,br,div){color:transparent;white-space:pre;cursor:text;transform-origin:0 0}.textLayer .highlight{--highlight-bg-color: rgb(180 0 170 / .25);--highlight-selected-bg-color: rgb(0 100 0 / .25);--highlight-backdrop-filter: none;--highlight-selected-backdrop-filter: none}.textLayer::selection{background:#0000ff40;color:transparent;align-content:end}.selectNone::selection{background:#0000ff40;color:transparent}.highLighting{background-color:#00640040;-webkit-backdrop-filter:none;backdrop-filter:none}.selectHighLight{touch-action:none;margin:-1px;padding:1px;background-color:#00640040;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:4px}.selectHighLight::selection{background:#0000ff40;color:transparent}.pages-container{display:flex;flex-direction:column;justify-content:center;align-items:center}.jv-toolbar-btn[data-v-9abd52f0]{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 10px;border:none;border-radius:var(--jv-radius);background:transparent;color:var(--jv-text-secondary);cursor:pointer;transition:all .2s ease}.jv-toolbar-btn[data-v-9abd52f0]:hover:not(:disabled){background:var(--jv-bg-secondary);color:var(--jv-text-primary)}.jv-toolbar-btn[data-v-9abd52f0]:active:not(:disabled){background:var(--jv-bg-tertiary)}.jv-toolbar-btn--disabled[data-v-9abd52f0],.jv-toolbar-btn[data-v-9abd52f0]:disabled{opacity:.5;cursor:not-allowed}.jv-toolbar-btn__icon[data-v-9abd52f0]{display:flex;align-items:center;justify-content:center;width:18px;height:18px}.jv-toolbar-btn__icon svg[data-v-9abd52f0]{width:100%;height:100%}.jv-toolbar-btn__label[data-v-9abd52f0]{font-size:13px;font-weight:500}.jv-zoom-control[data-v-874ddbac]{display:flex;align-items:center;gap:4px}.jv-zoom-control__value[data-v-874ddbac]{min-width:50px;text-align:center;font-size:13px;font-weight:500;color:var(--jv-text-primary)}.jv-rotate-control[data-v-ad291658]{display:flex;align-items:center;gap:4px}.jv-pagination[data-v-97c0759f]{display:flex;align-items:center;gap:8px}.jv-pagination__info[data-v-97c0759f]{font-size:13px;color:var(--jv-text-secondary);min-width:100px;text-align:center}.jv-toolbar[data-v-e0907d02]{display:flex;flex-direction:column;background:var(--jv-toolbar-bg);border-bottom:1px solid var(--jv-toolbar-border)}.jv-toolbar--hidden[data-v-e0907d02]{display:none}.jv-toolbar__top[data-v-e0907d02],.jv-toolbar__bottom[data-v-e0907d02]{display:flex;align-items:center;justify-content:space-between;height:var(--jv-toolbar-height);padding:0 16px}.jv-toolbar__top[data-v-e0907d02]{border-bottom:1px solid var(--jv-toolbar-border)}.jv-toolbar__left[data-v-e0907d02],.jv-toolbar__right[data-v-e0907d02],.jv-toolbar__center[data-v-e0907d02]{display:flex;align-items:center;gap:8px}.jv-toolbar__filename[data-v-e0907d02]{font-size:14px;font-weight:500;color:var(--jv-text-primary);max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jv-toolbar__branding[data-v-e0907d02]{font-size:12px;color:var(--jv-text-secondary);margin-right:8px}.jv-branding-link[data-v-e0907d02]{color:#1890ff;text-decoration:none;font-weight:500}.jv-branding-link[data-v-e0907d02]:hover{text-decoration:underline}.jv-toolbar--bottom .jv-toolbar__top[data-v-e0907d02],.jv-toolbar--top .jv-toolbar__bottom[data-v-e0907d02]{display:none}.jv-file-render--docx[data-v-9181c8b1]{width:100%;height:100%;overflow:auto;display:flex;justify-content:center;padding:20px}.jv-file-render--docx[data-v-9181c8b1] .vue-office-docx{background:#fff;box-shadow:var(--jv-shadow)}.jv-file-render--excel[data-v-a8c7c89f]{width:100%;height:100%;overflow:auto}.jv-file-render--pdf[data-v-32fed398]{width:100%;height:100%;overflow:auto;background:var(--jv-bg-secondary)}.jv-file-render--pdf[data-v-32fed398] canvas{display:block;margin:10px auto;box-shadow:var(--jv-shadow)}.jv-pdf-iframe[data-v-32fed398]{width:100%;height:100%;display:block;border:none}.jv-file-render--pptx[data-v-b31abca4]{width:100%;height:100%;overflow:auto;background:var(--jv-bg-secondary)}.jv-file-render--pptx[data-v-b31abca4] .pptx-wrapper{display:flex;flex-direction:column;align-items:center;gap:20px;padding:20px}.jv-file-render--pptx[data-v-b31abca4] .pptx-slide{background:#fff;box-shadow:var(--jv-shadow)}.jv-file-render--text[data-v-f5957104]{width:100%;height:100%;overflow:auto;background:var(--jv-bg-primary);padding:20px}.jv-text-content[data-v-f5957104]{margin:0;padding:20px;font-family:Consolas,Monaco,Courier New,monospace;font-size:14px;line-height:1.6;color:var(--jv-text-primary);white-space:pre-wrap;word-wrap:break-word;background:var(--jv-bg-secondary);border-radius:var(--jv-radius);min-height:100%}.jv-file-render--markdown[data-v-9b60bb2a]{width:100%;height:100%;overflow:auto;background:var(--jv-bg-primary);padding:20px}.jv-markdown-content[data-v-9b60bb2a]{max-width:800px;margin:0 auto;padding:30px;background:var(--jv-bg-primary);border-radius:var(--jv-radius-lg);line-height:1.8;color:var(--jv-text-primary)}.jv-markdown-content[data-v-9b60bb2a] h1,.jv-markdown-content[data-v-9b60bb2a] h2,.jv-markdown-content[data-v-9b60bb2a] h3,.jv-markdown-content[data-v-9b60bb2a] h4,.jv-markdown-content[data-v-9b60bb2a] h5,.jv-markdown-content[data-v-9b60bb2a] h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25;color:var(--jv-text-primary)}.jv-markdown-content[data-v-9b60bb2a] h1{font-size:2em;border-bottom:1px solid var(--jv-border-color);padding-bottom:.3em}.jv-markdown-content[data-v-9b60bb2a] h2{font-size:1.5em;border-bottom:1px solid var(--jv-border-color);padding-bottom:.3em}.jv-markdown-content[data-v-9b60bb2a] h3{font-size:1.25em}.jv-markdown-content[data-v-9b60bb2a] p{margin-bottom:16px}.jv-markdown-content[data-v-9b60bb2a] code{padding:.2em .4em;background:var(--jv-bg-secondary);border-radius:3px;font-family:Consolas,Monaco,Courier New,monospace;font-size:85%}.jv-markdown-content[data-v-9b60bb2a] pre{padding:16px;overflow:auto;background:var(--jv-bg-secondary);border-radius:var(--jv-radius);margin-bottom:16px}.jv-markdown-content[data-v-9b60bb2a] pre code{padding:0;background:transparent}.jv-markdown-content[data-v-9b60bb2a] ul,.jv-markdown-content[data-v-9b60bb2a] ol{padding-left:2em;margin-bottom:16px}.jv-markdown-content[data-v-9b60bb2a] li{margin-bottom:.25em}.jv-markdown-content[data-v-9b60bb2a] blockquote{padding:0 1em;border-left:4px solid var(--jv-primary-color);margin-bottom:16px;color:var(--jv-text-secondary)}.jv-markdown-content[data-v-9b60bb2a] a{color:var(--jv-primary-color);text-decoration:none}.jv-markdown-content[data-v-9b60bb2a] a:hover{text-decoration:underline}.jv-markdown-content[data-v-9b60bb2a] hr{border:none;border-top:1px solid var(--jv-border-color);margin:24px 0}.jv-markdown-content[data-v-9b60bb2a] img{max-width:100%;height:auto;border-radius:var(--jv-radius)}.jv-file-render--ofd[data-v-f933a20c]{width:100%;height:100%;position:relative;background:var(--jv-bg-secondary, #f5f5f5)}.jv-ofd-scroll[data-v-f933a20c]{width:100%;height:100%;overflow:auto;padding:20px 0}.jv-ofd-stage[data-v-f933a20c]{min-height:100%;display:flex;justify-content:center}.jv-ofd-container[data-v-f933a20c]{min-height:100%;display:flex;flex-direction:column;align-items:center}.jv-ofd-loading[data-v-f933a20c],.jv-ofd-error[data-v-f933a20c]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:var(--jv-text-secondary, #666);font-size:14px;background:#ffffffe0;z-index:1}.jv-ofd-error[data-v-f933a20c]{color:var(--jv-error, #f56c6c)}.jv-ofd-container[data-v-f933a20c] .page-container{margin:12px auto;box-shadow:0 2px 8px #0000001a;background:#fff}.jv-ofd-container[data-v-f933a20c] canvas{display:block}.jv-file-render--html[data-v-af6df043]{width:100%;height:100%;overflow:hidden;background:#fff;position:relative}.jv-html-iframe[data-v-af6df043]{width:100%;height:100%;border:none;display:block}.jv-html-loading[data-v-af6df043]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#ffffffe6;color:#666;font-size:14px}.jv-loading-spinner[data-v-af6df043]{width:32px;height:32px;border:3px solid #e0e0e0;border-top-color:#1677ff;border-radius:50%;animation:jv-spin-af6df043 1s linear infinite}@keyframes jv-spin-af6df043{to{transform:rotate(360deg)}}.jv-html-error[data-v-af6df043]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:#ffffffe6;color:#ff4d4f;font-size:14px}.jv-viewer[data-v-67f01523]{display:flex;flex-direction:column;background:var(--jv-bg-primary);border-radius:var(--jv-radius-lg);overflow:hidden;box-shadow:var(--jv-shadow)}.jv-viewer--fullscreen[data-v-67f01523]{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;border-radius:0}.jv-viewer__content[data-v-67f01523]{flex:1;overflow:hidden;position:relative}.jv-viewer__render[data-v-67f01523]{width:100%;height:100%;transition:transform .3s ease;position:relative}.jv-viewer__loading-overlay[data-v-67f01523]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--jv-text-secondary);background:var(--jv-bg-primary);z-index:10}.jv-viewer__loading[data-v-67f01523],.jv-viewer__error[data-v-67f01523],.jv-viewer__empty[data-v-67f01523],.jv-viewer__unsupported[data-v-67f01523]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:12px;color:var(--jv-text-secondary)}.jv-loading-spinner[data-v-67f01523]{width:40px;height:40px;border:3px solid var(--jv-border-color);border-top-color:var(--jv-primary-color);border-radius:50%;animation:jv-spin-67f01523 1s linear infinite}@keyframes jv-spin-67f01523{to{transform:rotate(360deg)}}.jv-loading-text[data-v-67f01523],.jv-error-text[data-v-67f01523],.jv-empty-text[data-v-67f01523]{font-size:14px}.jv-error-icon[data-v-67f01523]{width:48px;height:48px;color:#ff4d4f}
|
|
1
|
+
.vue-office-docx{height:100%;overflow-y:auto}.vue-office-docx .docx-wrapper>section.docx{margin-bottom:5px}@media screen and (max-width: 800px){.vue-office-docx .docx-wrapper{padding:10px}.vue-office-docx .docx-wrapper>section.docx{padding:10px!important;width:100%!important}}.x-spreadsheet{font-size:13px;line-height:normal;-webkit-user-select:none;user-select:none;-moz-user-select:none;font-family:Lato,Source Sans Pro,Roboto,Helvetica,Arial,sans-serif;box-sizing:content-box;background:#fff;-webkit-font-smoothing:antialiased}.x-spreadsheet textarea{font:400 13px Arial,Lato,Source Sans Pro,Roboto,Helvetica,sans-serif}.x-spreadsheet-sheet{position:relative;overflow:hidden}.x-spreadsheet-table{vertical-align:bottom}.x-spreadsheet-tooltip{font-family:inherit;position:absolute;padding:5px 10px;color:#fff;border-radius:1px;background:#000;font-size:12px;z-index:201}.x-spreadsheet-tooltip:before{pointer-events:none;position:absolute;left:calc(50% - 4px);top:-4px;content:"";width:8px;height:8px;background:inherit;-webkit-transform:rotate(45deg);transform:rotate(45deg);z-index:1;box-shadow:1px 1px 3px -1px #0000004d}.x-spreadsheet-color-palette{padding:5px}.x-spreadsheet-color-palette table{margin:0;padding:0;border-collapse:separate;border-spacing:2;background:#fff}.x-spreadsheet-color-palette table td{margin:0;cursor:pointer;border:1px solid transparent}.x-spreadsheet-color-palette table td:hover{border-color:#ddd}.x-spreadsheet-color-palette table td .x-spreadsheet-color-palette-cell{width:16px;height:16px}.x-spreadsheet-border-palette{padding:6px}.x-spreadsheet-border-palette table{margin:0;padding:0;border-collapse:separate;border-spacing:0;background:#fff;table-layout:fixed}.x-spreadsheet-border-palette table td{margin:0}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left{border-right:1px solid #eee;padding-right:6px}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell{width:30px;height:30px;cursor:pointer;text-align:center}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-left .x-spreadsheet-border-palette-cell:hover{background-color:#eee}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-right{padding-left:6px}.x-spreadsheet-border-palette .x-spreadsheet-border-palette-right .x-spreadsheet-line-type{position:relative;left:0;top:-3px}.x-spreadsheet-dropdown{position:relative}.x-spreadsheet-dropdown .x-spreadsheet-dropdown-content{position:absolute;z-index:200;background:#fff;box-shadow:1px 2px 5px 2px #33333326}.x-spreadsheet-dropdown.bottom-left .x-spreadsheet-dropdown-content{top:calc(100% + 5px);left:0}.x-spreadsheet-dropdown.bottom-right .x-spreadsheet-dropdown-content{top:calc(100% + 5px);right:0}.x-spreadsheet-dropdown.top-left .x-spreadsheet-dropdown-content{bottom:calc(100% + 5px);left:0}.x-spreadsheet-dropdown.top-right .x-spreadsheet-dropdown-content{bottom:calc(100% + 5px);right:0}.x-spreadsheet-dropdown .x-spreadsheet-dropdown-title{padding:0 5px;display:inline-block}.x-spreadsheet-resizer{position:absolute;z-index:11}.x-spreadsheet-resizer .x-spreadsheet-resizer-hover{background-color:#4b89ff40}.x-spreadsheet-resizer .x-spreadsheet-resizer-line{position:absolute}.x-spreadsheet-resizer.horizontal{cursor:row-resize}.x-spreadsheet-resizer.horizontal .x-spreadsheet-resizer-line{border-bottom:2px dashed #4b89ff;left:0;bottom:0}.x-spreadsheet-resizer.vertical{cursor:col-resize}.x-spreadsheet-resizer.vertical .x-spreadsheet-resizer-line{border-right:2px dashed #4b89ff;top:0;right:0}.x-spreadsheet-scrollbar{position:absolute;bottom:0;right:0;background-color:#f4f5f8;opacity:.9;z-index:12}.x-spreadsheet-scrollbar.horizontal{right:15px;overflow-x:scroll;overflow-y:hidden}.x-spreadsheet-scrollbar.horizontal>div{height:1px;background:#ddd}.x-spreadsheet-scrollbar.vertical{bottom:15px;overflow-x:hidden;overflow-y:scroll}.x-spreadsheet-scrollbar.vertical>div{width:1px;background:#ddd}.x-spreadsheet-overlayer{position:absolute;left:0;top:0;z-index:10}.x-spreadsheet-overlayer .x-spreadsheet-overlayer-content{position:absolute;overflow:hidden;pointer-events:none;width:100%;height:100%}.x-spreadsheet-editor,.x-spreadsheet-selector{box-sizing:content-box;position:absolute;overflow:hidden;pointer-events:none;top:0;left:0;width:100%;height:100%}.x-spreadsheet-selector .hide-input{position:absolute;z-index:0}.x-spreadsheet-selector .hide-input input{padding:0;width:0;border:none!important}.x-spreadsheet-selector .x-spreadsheet-selector-area{position:absolute;border:2px solid #4b89ff;background:#4b89ff1a;z-index:5}.x-spreadsheet-selector .x-spreadsheet-selector-clipboard,.x-spreadsheet-selector .x-spreadsheet-selector-autofill{position:absolute;background:transparent;z-index:100}.x-spreadsheet-selector .x-spreadsheet-selector-clipboard{border:2px dashed #4b89ff}.x-spreadsheet-selector .x-spreadsheet-selector-autofill{border:1px dashed rgba(0,0,0,.45)}.x-spreadsheet-selector .x-spreadsheet-selector-corner{pointer-events:auto;position:absolute;cursor:crosshair;font-size:0;height:5px;width:5px;right:-5px;bottom:-5px;border:2px solid #ffffff;background:#4b89ff}.x-spreadsheet-editor{z-index:20}.x-spreadsheet-editor .x-spreadsheet-editor-area{position:absolute;text-align:left;border:2px solid #4b89ff;line-height:0;z-index:100;pointer-events:auto}.x-spreadsheet-editor .x-spreadsheet-editor-area textarea{box-sizing:content-box;border:none;padding:0 3px;outline:none;resize:none;text-align:start;overflow-y:hidden;font:400 13px Arial,Lato,Source Sans Pro,Roboto,Helvetica,sans-serif;color:inherit;white-space:normal;word-wrap:break-word;line-height:22px;margin:0}.x-spreadsheet-editor .x-spreadsheet-editor-area .textline{overflow:hidden;visibility:hidden;position:fixed;top:0;left:0}.x-spreadsheet-item{-webkit-user-select:none;user-select:none;background:0;border:1px solid transparent;outline:none;height:26px;color:#000000e6;line-height:26px;list-style:none;padding:2px 10px;cursor:default;text-align:left;overflow:hidden}.x-spreadsheet-item.disabled{pointer-events:none;opacity:.5}.x-spreadsheet-item:hover,.x-spreadsheet-item.active{background:#0000000d}.x-spreadsheet-item.divider{height:0;padding:0;margin:5px 0;border:none;border-bottom:1px solid rgba(0,0,0,.1)}.x-spreadsheet-item .label{float:right;opacity:.65;font-size:1em}.x-spreadsheet-item.state,.x-spreadsheet-header.state{padding-left:35px!important;position:relative}.x-spreadsheet-item.state:before,.x-spreadsheet-header.state:before{content:"";position:absolute;width:10px;height:10px;left:12px;top:calc(50% - 5px);background:#00000014;border-radius:2px}.x-spreadsheet-item.state.checked:before,.x-spreadsheet-header.state.checked:before{background:#4b89ff}.x-spreadsheet-checkbox{position:relative;display:inline-block;backface-visibility:hidden;outline:0;vertical-align:baseline;font-style:normal;font-size:1rem;line-height:1em}.x-spreadsheet-checkbox>input{position:absolute;top:0;left:0;opacity:0!important;outline:0;z-index:-1}.x-spreadsheet-suggest,.x-spreadsheet-contextmenu,.x-spreadsheet-sort-filter{position:absolute;box-shadow:1px 2px 5px 2px #33333326;background:#fff;z-index:100;width:260px;pointer-events:auto;overflow:auto}.x-spreadsheet-suggest{width:200px}.x-spreadsheet-filter{border:1px solid #e9e9e9;font-size:12px;margin:10px}.x-spreadsheet-filter .x-spreadsheet-header{padding:.5em .75em;background:#f8f8f9;border-bottom:1px solid #e9e9e9;border-left:1px solid transparent}.x-spreadsheet-filter .x-spreadsheet-body{height:200px;overflow-y:auto}.x-spreadsheet-filter .x-spreadsheet-body .x-spreadsheet-item{height:20px;line-height:20px}.x-spreadsheet-sort-filter .x-spreadsheet-buttons{margin:10px}.x-spreadsheet-bottombar{height:40px;padding:0 30px;text-align:left;background:#f5f6f7;display:flex}.x-spreadsheet-bottombar{position:relative;border-top:1px solid #e0e2e4}.x-spreadsheet-bottombar .x-spreadsheet-menu>li{line-height:40px;height:40px;padding-top:0;padding-bottom:0;vertical-align:middle;border-right:1px solid #e8eaed}.x-spreadsheet-menu{display:flex;overflow-x:auto;list-style:none;margin:0;padding:0;-webkit-user-select:none;user-select:none}.x-spreadsheet-menu>li{float:left;line-height:1.25em;padding:.785em 1em;margin:0;vertical-align:middle;text-align:left;font-weight:400;color:#80868b;white-space:nowrap;cursor:pointer;transition:all .3s;font-weight:700}.x-spreadsheet-menu>li.active{background-color:#fff;color:#000000a6}.x-spreadsheet-menu>li .x-spreadsheet-dropdown{display:inline-block}.x-spreadsheet-print{position:absolute;left:0;top:0;z-index:100;width:100%;height:100%;display:flex;flex-direction:column}.x-spreadsheet-print-bar{background:#424242;height:60px;line-height:60px;padding:0 30px}.x-spreadsheet-print-bar .-title{color:#fff;font-weight:700;font-size:1.2em;float:left}.x-spreadsheet-print-bar .-right{float:right;margin-top:12px}.x-spreadsheet-print-content{display:flex;flex:auto;flex-direction:row;background:#d0d0d0;height:calc(100% - 60px)}.x-spreadsheet-print-content .-sider{flex:0 0 300px;width:300px;border-left:2px solid #ccc;background:#fff}.x-spreadsheet-print-content .-content{flex:auto;overflow-x:auto;overflow-y:scroll;height:100%}.x-spreadsheet-canvas-card-wraper{margin:40px 20px}.x-spreadsheet-canvas-card{background:#fff;margin:auto;page-break-before:auto;page-break-after:always;box-shadow:0 8px 10px 1px #00000024,0 3px 14px 3px #0000001f,0 4px 5px #0003}.x-spreadsheet-calendar{color:#000000a6;background:#fff;-webkit-user-select:none;user-select:none}.x-spreadsheet-calendar .calendar-header{font-weight:700;line-height:30px;text-align:center;width:100%;float:left;background:#f9fafb}.x-spreadsheet-calendar .calendar-header .calendar-header-left{padding-left:5px;float:left}.x-spreadsheet-calendar .calendar-header .calendar-header-right{float:right}.x-spreadsheet-calendar .calendar-header .calendar-header-right a{padding:3px 0;margin-right:2px;border-radius:2px}.x-spreadsheet-calendar .calendar-header .calendar-header-right a:hover{background:#00000014}.x-spreadsheet-calendar .calendar-body{border-collapse:collapse;border-spacing:0}.x-spreadsheet-calendar .calendar-body th,.x-spreadsheet-calendar .calendar-body td{width:14.28571429%;min-width:32px;text-align:center;font-weight:700;line-height:30px;padding:0}.x-spreadsheet-calendar .calendar-body td>.cell:hover{background:#ecf6fd}.x-spreadsheet-calendar .calendar-body td>.cell.active,.x-spreadsheet-calendar .calendar-body td>.cell.active:hover{background:#ecf6fd;color:#2185d0}.x-spreadsheet-calendar .calendar-body td>.cell.disabled{pointer-events:none;opacity:.5}.x-spreadsheet-datepicker{box-shadow:2px 2px 5px #0003;position:absolute;left:0;top:calc(100% + 5px);z-index:10;width:auto}.x-spreadsheet-buttons{display:flex;justify-content:flex-end}.x-spreadsheet-buttons .x-spreadsheet-button{margin-left:8px}.x-spreadsheet-button{display:inline-block;border-radius:3px;line-height:1em;min-height:1em;white-space:nowrap;text-align:center;cursor:pointer;font-size:1em;font-weight:700;padding:.75em 1em;color:#0009;background:#e0e1e2;text-decoration:none;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;outline:none;vertical-align:baseline;zoom:1;-webkit-user-select:none;user-select:none;transition:all .1s linear}.x-spreadsheet-button.active,.x-spreadsheet-button:hover{background-color:#c0c1c2;color:#000c}.x-spreadsheet-button.primary{color:#fff;background-color:#2185d0}.x-spreadsheet-button.primary:hover,.x-spreadsheet-button.primary.active{color:#fff;background-color:#1678c2}.x-spreadsheet-form-input{font-size:1em;position:relative;font-weight:400;display:inline-flex;color:#000000de}.x-spreadsheet-form-input input{z-index:1;margin:0;max-width:100%;flex:1 0 auto;outline:0;-webkit-tap-highlight-color:rgba(255,255,255,0);text-align:left;line-height:30px;height:30px;padding:0 8px;background:#fff;border:1px solid #e9e9e9;border-radius:3px;transition:box-shadow .1s ease,border-color .1s ease;box-shadow:inset 0 1px 2px #0a0a0a0f}.x-spreadsheet-form-input input:focus{border-color:#4b89ff;box-shadow:inset 0 1px 2px #4b89ff33}.x-spreadsheet-form-select{position:relative;display:inline-block;background:#fff;border:1px solid #e9e9e9;border-radius:2px;cursor:pointer;color:#000000de;-webkit-user-select:none;user-select:none;box-shadow:inset 0 1px 2px #0a0a0a0f}.x-spreadsheet-form-select .input-text{text-overflow:ellipsis;white-space:nowrap;min-width:60px;width:auto;height:30px;line-height:30px;padding:0 8px}.x-spreadsheet-form-fields{display:flex;flex-direction:row;flex-wrap:wrap}.x-spreadsheet-form-fields .x-spreadsheet-form-field{flex:0 1 auto}.x-spreadsheet-form-fields .x-spreadsheet-form-field .label{display:inline-block;margin:0 10px 0 0}.x-spreadsheet-form-field{display:block;vertical-align:middle;margin-left:10px;margin-bottom:10px}.x-spreadsheet-form-field:first-child{margin-left:0}.x-spreadsheet-form-field.error .x-spreadsheet-form-select,.x-spreadsheet-form-field.error input{border-color:#f04134}.x-spreadsheet-form-field .tip{color:#f04134;font-size:.9em}.x-spreadsheet-dimmer{display:none;position:absolute;top:0!important;left:0!important;width:100%;height:100%;text-align:center;vertical-align:middle;background-color:#0009;opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;animation-duration:.5s;transition:background-color .5s linear;-webkit-user-select:none;user-select:none;z-index:1000}.x-spreadsheet-dimmer.active{display:block;opacity:1}form fieldset{border:none}form fieldset label{display:block;margin-bottom:.5em;font-size:1em;color:#666}form fieldset select{font-size:1.1em;width:100%;background-color:#fff;border:none;border-bottom:2px solid #ddd;padding:.5em .85em;border-radius:2px}.x-spreadsheet-modal,.x-spreadsheet-toast{font-size:13px;position:fixed;z-index:1001;text-align:left;line-height:1.25em;min-width:360px;color:#000000de;font-family:Lato,Source Sans Pro,Roboto,Helvetica,Arial,sans-serif;border-radius:4px;border:1px solid rgba(0,0,0,.1);background-color:#fff;background-clip:padding-box;box-shadow:#0003 0 2px 8px}.x-spreadsheet-toast{background-color:#ffffffd9}.x-spreadsheet-modal-header,.x-spreadsheet-toast-header{font-weight:600;background-clip:padding-box;background-color:#ffffffd9;border-bottom:1px solid rgba(0,0,0,.05);border-radius:4px 4px 0 0}.x-spreadsheet-toast-header{color:#f2711c}.x-spreadsheet-modal-header{border-bottom:1px solid #e0e2e4;background:#00000014;font-size:1.0785em}.x-spreadsheet-modal-header,.x-spreadsheet-modal-content,.x-spreadsheet-toast-header,.x-spreadsheet-toast-content{padding:.75em 1em}.x-spreadsheet-menu li:first-child{display:none}.vue-office-excel{height:100%}body{margin:0}.gray{-webkit-filter:grayscale(100%);-moz-filter:grayscale(100%);-ms-filter:grayscale(100%);-o-filter:grayscale(100%);filter:grayscale(100%);filter:gray}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;opacity:1;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;align-content:end}.textLayer :is(span,br,div){color:transparent;white-space:pre;cursor:text;transform-origin:0 0}.textLayer .highlight{--highlight-bg-color: rgb(180 0 170 / .25);--highlight-selected-bg-color: rgb(0 100 0 / .25);--highlight-backdrop-filter: none;--highlight-selected-backdrop-filter: none}.textLayer::selection{background:#0000ff40;color:transparent;align-content:end}.selectNone::selection{background:#0000ff40;color:transparent}.highLighting{background-color:#00640040;-webkit-backdrop-filter:none;backdrop-filter:none}.selectHighLight{touch-action:none;margin:-1px;padding:1px;background-color:#00640040;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:4px}.selectHighLight::selection{background:#0000ff40;color:transparent}.pages-container{display:flex;flex-direction:column;justify-content:center;align-items:center}.jv-toolbar-btn[data-v-9abd52f0]{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 10px;border:none;border-radius:var(--jv-radius);background:transparent;color:var(--jv-text-secondary);cursor:pointer;transition:all .2s ease}.jv-toolbar-btn[data-v-9abd52f0]:hover:not(:disabled){background:var(--jv-bg-secondary);color:var(--jv-text-primary)}.jv-toolbar-btn[data-v-9abd52f0]:active:not(:disabled){background:var(--jv-bg-tertiary)}.jv-toolbar-btn--disabled[data-v-9abd52f0],.jv-toolbar-btn[data-v-9abd52f0]:disabled{opacity:.5;cursor:not-allowed}.jv-toolbar-btn__icon[data-v-9abd52f0]{display:flex;align-items:center;justify-content:center;width:18px;height:18px}.jv-toolbar-btn__icon svg[data-v-9abd52f0]{width:100%;height:100%}.jv-toolbar-btn__label[data-v-9abd52f0]{font-size:13px;font-weight:500}.jv-zoom-control[data-v-874ddbac]{display:flex;align-items:center;gap:4px}.jv-zoom-control__value[data-v-874ddbac]{min-width:50px;text-align:center;font-size:13px;font-weight:500;color:var(--jv-text-primary)}.jv-rotate-control[data-v-ad291658]{display:flex;align-items:center;gap:4px}.jv-pagination[data-v-97c0759f]{display:flex;align-items:center;gap:8px}.jv-pagination__info[data-v-97c0759f]{font-size:13px;color:var(--jv-text-secondary);min-width:100px;text-align:center}.jv-toolbar[data-v-74d3b30f]{display:flex;flex-direction:column;background:var(--jv-toolbar-bg);border-bottom:1px solid var(--jv-toolbar-border)}.jv-toolbar--hidden[data-v-74d3b30f]{display:none}.jv-toolbar__top[data-v-74d3b30f],.jv-toolbar__bottom[data-v-74d3b30f]{display:flex;align-items:center;justify-content:space-between;height:var(--jv-toolbar-height);padding:0 16px}.jv-toolbar__top[data-v-74d3b30f]{border-bottom:1px solid var(--jv-toolbar-border)}.jv-toolbar__left[data-v-74d3b30f],.jv-toolbar__right[data-v-74d3b30f],.jv-toolbar__center[data-v-74d3b30f]{display:flex;align-items:center;gap:8px}.jv-toolbar__filename[data-v-74d3b30f]{font-size:14px;font-weight:500;color:var(--jv-text-primary);max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jv-toolbar--bottom .jv-toolbar__top[data-v-74d3b30f],.jv-toolbar--top .jv-toolbar__bottom[data-v-74d3b30f]{display:none}.jv-file-render--docx[data-v-9181c8b1]{width:100%;height:100%;overflow:auto;display:flex;justify-content:center;padding:20px}.jv-file-render--docx[data-v-9181c8b1] .vue-office-docx{background:#fff;box-shadow:var(--jv-shadow)}.jv-file-render--excel[data-v-a8c7c89f]{width:100%;height:100%;overflow:auto}.jv-file-render--pdf[data-v-32fed398]{width:100%;height:100%;overflow:auto;background:var(--jv-bg-secondary)}.jv-file-render--pdf[data-v-32fed398] canvas{display:block;margin:10px auto;box-shadow:var(--jv-shadow)}.jv-pdf-iframe[data-v-32fed398]{width:100%;height:100%;display:block;border:none}.jv-file-render--pptx[data-v-b31abca4]{width:100%;height:100%;overflow:auto;background:var(--jv-bg-secondary)}.jv-file-render--pptx[data-v-b31abca4] .pptx-wrapper{display:flex;flex-direction:column;align-items:center;gap:20px;padding:20px}.jv-file-render--pptx[data-v-b31abca4] .pptx-slide{background:#fff;box-shadow:var(--jv-shadow)}.jv-file-render--text[data-v-f5957104]{width:100%;height:100%;overflow:auto;background:var(--jv-bg-primary);padding:20px}.jv-text-content[data-v-f5957104]{margin:0;padding:20px;font-family:Consolas,Monaco,Courier New,monospace;font-size:14px;line-height:1.6;color:var(--jv-text-primary);white-space:pre-wrap;word-wrap:break-word;background:var(--jv-bg-secondary);border-radius:var(--jv-radius);min-height:100%}.jv-file-render--markdown[data-v-9b60bb2a]{width:100%;height:100%;overflow:auto;background:var(--jv-bg-primary);padding:20px}.jv-markdown-content[data-v-9b60bb2a]{max-width:800px;margin:0 auto;padding:30px;background:var(--jv-bg-primary);border-radius:var(--jv-radius-lg);line-height:1.8;color:var(--jv-text-primary)}.jv-markdown-content[data-v-9b60bb2a] h1,.jv-markdown-content[data-v-9b60bb2a] h2,.jv-markdown-content[data-v-9b60bb2a] h3,.jv-markdown-content[data-v-9b60bb2a] h4,.jv-markdown-content[data-v-9b60bb2a] h5,.jv-markdown-content[data-v-9b60bb2a] h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25;color:var(--jv-text-primary)}.jv-markdown-content[data-v-9b60bb2a] h1{font-size:2em;border-bottom:1px solid var(--jv-border-color);padding-bottom:.3em}.jv-markdown-content[data-v-9b60bb2a] h2{font-size:1.5em;border-bottom:1px solid var(--jv-border-color);padding-bottom:.3em}.jv-markdown-content[data-v-9b60bb2a] h3{font-size:1.25em}.jv-markdown-content[data-v-9b60bb2a] p{margin-bottom:16px}.jv-markdown-content[data-v-9b60bb2a] code{padding:.2em .4em;background:var(--jv-bg-secondary);border-radius:3px;font-family:Consolas,Monaco,Courier New,monospace;font-size:85%}.jv-markdown-content[data-v-9b60bb2a] pre{padding:16px;overflow:auto;background:var(--jv-bg-secondary);border-radius:var(--jv-radius);margin-bottom:16px}.jv-markdown-content[data-v-9b60bb2a] pre code{padding:0;background:transparent}.jv-markdown-content[data-v-9b60bb2a] ul,.jv-markdown-content[data-v-9b60bb2a] ol{padding-left:2em;margin-bottom:16px}.jv-markdown-content[data-v-9b60bb2a] li{margin-bottom:.25em}.jv-markdown-content[data-v-9b60bb2a] blockquote{padding:0 1em;border-left:4px solid var(--jv-primary-color);margin-bottom:16px;color:var(--jv-text-secondary)}.jv-markdown-content[data-v-9b60bb2a] a{color:var(--jv-primary-color);text-decoration:none}.jv-markdown-content[data-v-9b60bb2a] a:hover{text-decoration:underline}.jv-markdown-content[data-v-9b60bb2a] hr{border:none;border-top:1px solid var(--jv-border-color);margin:24px 0}.jv-markdown-content[data-v-9b60bb2a] img{max-width:100%;height:auto;border-radius:var(--jv-radius)}.jv-file-render--ofd[data-v-f933a20c]{width:100%;height:100%;position:relative;background:var(--jv-bg-secondary, #f5f5f5)}.jv-ofd-scroll[data-v-f933a20c]{width:100%;height:100%;overflow:auto;padding:20px 0}.jv-ofd-stage[data-v-f933a20c]{min-height:100%;display:flex;justify-content:center}.jv-ofd-container[data-v-f933a20c]{min-height:100%;display:flex;flex-direction:column;align-items:center}.jv-ofd-loading[data-v-f933a20c],.jv-ofd-error[data-v-f933a20c]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:var(--jv-text-secondary, #666);font-size:14px;background:#ffffffe0;z-index:1}.jv-ofd-error[data-v-f933a20c]{color:var(--jv-error, #f56c6c)}.jv-ofd-container[data-v-f933a20c] .page-container{margin:12px auto;box-shadow:0 2px 8px #0000001a;background:#fff}.jv-ofd-container[data-v-f933a20c] canvas{display:block}.jv-file-render--html[data-v-af6df043]{width:100%;height:100%;overflow:hidden;background:#fff;position:relative}.jv-html-iframe[data-v-af6df043]{width:100%;height:100%;border:none;display:block}.jv-html-loading[data-v-af6df043]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#ffffffe6;color:#666;font-size:14px}.jv-loading-spinner[data-v-af6df043]{width:32px;height:32px;border:3px solid #e0e0e0;border-top-color:#1677ff;border-radius:50%;animation:jv-spin-af6df043 1s linear infinite}@keyframes jv-spin-af6df043{to{transform:rotate(360deg)}}.jv-html-error[data-v-af6df043]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:#ffffffe6;color:#ff4d4f;font-size:14px}.jv-viewer[data-v-6150f325]{display:flex;flex-direction:column;background:var(--jv-bg-primary);border-radius:var(--jv-radius-lg);overflow:hidden;box-shadow:var(--jv-shadow)}.jv-viewer--fullscreen[data-v-6150f325]{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;border-radius:0}.jv-viewer__content[data-v-6150f325]{flex:1;overflow:hidden;position:relative}.jv-viewer__render[data-v-6150f325]{width:100%;height:100%;transition:transform .3s ease;position:relative}.jv-viewer__loading-overlay[data-v-6150f325]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--jv-text-secondary);background:var(--jv-bg-primary);z-index:10}.jv-viewer__loading[data-v-6150f325],.jv-viewer__error[data-v-6150f325],.jv-viewer__empty[data-v-6150f325],.jv-viewer__unsupported[data-v-6150f325]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:12px;color:var(--jv-text-secondary)}.jv-loading-spinner[data-v-6150f325]{width:40px;height:40px;border:3px solid var(--jv-border-color);border-top-color:var(--jv-primary-color);border-radius:50%;animation:jv-spin-6150f325 1s linear infinite}@keyframes jv-spin-6150f325{to{transform:rotate(360deg)}}.jv-loading-text[data-v-6150f325],.jv-error-text[data-v-6150f325],.jv-empty-text[data-v-6150f325]{font-size:14px}.jv-error-icon[data-v-6150f325]{width:48px;height:48px;color:#ff4d4f}.jv-viewer__branding[data-v-6150f325]{padding:8px 16px;text-align:center;font-size:12px;color:var(--jv-text-secondary);background:var(--jv-bg-secondary);border-top:1px solid var(--jv-border-color)}.jv-branding-link[data-v-6150f325]{color:var(--jv-primary-color);text-decoration:none;font-weight:500}.jv-branding-link[data-v-6150f325]:hover{text-decoration:underline}
|