@zkwq/business 0.2.39 → 0.2.41
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 +9 -4
- package/dist/index.min.css +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.umd.cjs +4 -4
- package/dist/index.umd.min.cjs +4 -4
- package/dist/locale/lang/en.js +1 -0
- package/dist/locale/lang/ru-RU.js +25 -24
- package/dist/locale/lang/zh-CN.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -810,6 +810,7 @@ const fd = er, ep = {
|
|
|
810
810
|
"姓名,如:张三 清华大学": "姓名,如:张三 清华大学"
|
|
811
811
|
},
|
|
812
812
|
cover: {
|
|
813
|
+
编辑: "编辑",
|
|
813
814
|
删除: "删除"
|
|
814
815
|
},
|
|
815
816
|
keyword: {
|
|
@@ -13635,7 +13636,7 @@ const c2 = {
|
|
|
13635
13636
|
if (!e || !this.prop)
|
|
13636
13637
|
return;
|
|
13637
13638
|
let s = this.prop;
|
|
13638
|
-
return s.indexOf(":") !== -1 && (s = s.replace(/:/, ".")), mn(e, s, !0).v;
|
|
13639
|
+
return s && s.indexOf(":") !== -1 && (s = s.replace(/:/, ".")), mn(e, s, !0).v;
|
|
13639
13640
|
},
|
|
13640
13641
|
isRequired() {
|
|
13641
13642
|
let e = this.getRules(), s = !1;
|
|
@@ -26469,9 +26470,9 @@ var R7 = function() {
|
|
|
26469
26470
|
staticClass: "ContentItem__status"
|
|
26470
26471
|
}, [e._v("「" + e._s(e.t("custom.readableItem.授权")) + "」")]) : e._e(), e.readable.type === e.TYPE_ARTICLE && e.readable.is_representativeWork ? t("span", {
|
|
26471
26472
|
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) {
|
|
26473
|
+
}, [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
26474
|
return i.file_name.endsWith(".pdf");
|
|
26474
|
-
}).length ? t("span", {
|
|
26475
|
+
}).length) ? t("span", {
|
|
26475
26476
|
staticClass: "ContentItem__pdf"
|
|
26476
26477
|
}, [t("svg", {
|
|
26477
26478
|
staticClass: "Icon",
|
|
@@ -27973,6 +27974,10 @@ const j7 = {
|
|
|
27973
27974
|
showOpenAccesss: {
|
|
27974
27975
|
type: Boolean,
|
|
27975
27976
|
default: !1
|
|
27977
|
+
},
|
|
27978
|
+
showPdfIcon: {
|
|
27979
|
+
type: Boolean,
|
|
27980
|
+
default: !0
|
|
27976
27981
|
}
|
|
27977
27982
|
},
|
|
27978
27983
|
computed: {
|
|
@@ -28194,7 +28199,7 @@ var V7 = /* @__PURE__ */ S(
|
|
|
28194
28199
|
H7,
|
|
28195
28200
|
!1,
|
|
28196
28201
|
z7,
|
|
28197
|
-
"
|
|
28202
|
+
"260620bc"
|
|
28198
28203
|
);
|
|
28199
28204
|
function z7(e) {
|
|
28200
28205
|
for (let s in wu)
|