@zkwq/business 0.2.39 → 0.2.40
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/css/ReadableItem.css +84 -84
- package/dist/css/ReadableItem.min.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +7 -3
- package/dist/index.min.css +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/index.umd.min.cjs +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -26469,9 +26469,9 @@ var R7 = function() {
|
|
|
26469
26469
|
staticClass: "ContentItem__status"
|
|
26470
26470
|
}, [e._v("「" + e._s(e.t("custom.readableItem.授权")) + "」")]) : e._e(), e.readable.type === e.TYPE_ARTICLE && e.readable.is_representativeWork ? t("span", {
|
|
26471
26471
|
staticClass: "ContentItem__status"
|
|
26472
|
-
}, [e._v("「" + e._s(e.t("custom.readableItem.代表作")) + "」")]) : e._e(), !e.isArrayEmpty(e.readable.local_links) || e.readable.download_url || !e.isArrayEmpty(e.readable.attachments) && e.readable.attachments.filter(function(i) {
|
|
26472
|
+
}, [e._v("「" + e._s(e.t("custom.readableItem.代表作")) + "」")]) : e._e(), e.showPdfIcon && (!e.isArrayEmpty(e.readable.local_links) || e.readable.download_url || !e.isArrayEmpty(e.readable.attachments) && e.readable.attachments.filter(function(i) {
|
|
26473
26473
|
return i.file_name.endsWith(".pdf");
|
|
26474
|
-
}).length ? t("span", {
|
|
26474
|
+
}).length) ? t("span", {
|
|
26475
26475
|
staticClass: "ContentItem__pdf"
|
|
26476
26476
|
}, [t("svg", {
|
|
26477
26477
|
staticClass: "Icon",
|
|
@@ -27973,6 +27973,10 @@ const j7 = {
|
|
|
27973
27973
|
showOpenAccesss: {
|
|
27974
27974
|
type: Boolean,
|
|
27975
27975
|
default: !1
|
|
27976
|
+
},
|
|
27977
|
+
showPdfIcon: {
|
|
27978
|
+
type: Boolean,
|
|
27979
|
+
default: !0
|
|
27976
27980
|
}
|
|
27977
27981
|
},
|
|
27978
27982
|
computed: {
|
|
@@ -28194,7 +28198,7 @@ var V7 = /* @__PURE__ */ S(
|
|
|
28194
28198
|
H7,
|
|
28195
28199
|
!1,
|
|
28196
28200
|
z7,
|
|
28197
|
-
"
|
|
28201
|
+
"260620bc"
|
|
28198
28202
|
);
|
|
28199
28203
|
function z7(e) {
|
|
28200
28204
|
for (let s in wu)
|