@zkwq/business 0.0.32 → 0.0.34

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.
@@ -1,4 +1,47 @@
1
-
1
+ .AppDialog__wrapper.base-dialog__wrapper {
2
+ display: flex;
3
+ flex-direction: column;
4
+ justify-content: center;
5
+ overflow-x: hidden;
6
+ overflow-y: auto;
7
+ }
8
+ .AppDialog {
9
+ max-height: 100vh;
10
+ transition: max-height 0.8s ease, height 0.8s ease;
11
+ }
12
+ .AppDialog.base-dialog {
13
+ margin-top: 0 !important;
14
+ margin-bottom: 0 !important;
15
+ }
16
+ .AppDialog .base-dialog__header {
17
+ padding: 0;
18
+ }
19
+ .AppDialog .base-dialog__body {
20
+ padding: 0;
21
+ }
22
+ .AppDialog--fullPage {
23
+ height: 100vh;
24
+ }
25
+ .AppDialog--fullPage.AppDialog .base-dialog__body {
26
+ height: 100%;
27
+ }
28
+ .AppDialog--fullPage.AppDialog .AppDialog__inner {
29
+ height: 100vh;
30
+ overflow: visible;
31
+ }
32
+ .AppDialog--fullPage.AppDialog .AppDialog__content {
33
+ height: 100%;
34
+ }
35
+ .Modal__closeButton {
36
+ position: absolute;
37
+ top: 8px;
38
+ right: -60px;
39
+ padding: 12px;
40
+ }
41
+ .Modal__closeIcon {
42
+ vertical-align: top;
43
+ fill: #FFF;
44
+ }
2
45
 
3
46
 
4
47
 
@@ -115,47 +158,4 @@
115
158
  .AppDialog__subtitle--left[data-v-47783249] {
116
159
  padding: 0 16px;
117
160
  }
118
- }.AppDialog__wrapper.base-dialog__wrapper {
119
- display: flex;
120
- flex-direction: column;
121
- justify-content: center;
122
- overflow-x: hidden;
123
- overflow-y: auto;
124
- }
125
- .AppDialog {
126
- max-height: 100vh;
127
- transition: max-height 0.8s ease, height 0.8s ease;
128
- }
129
- .AppDialog.base-dialog {
130
- margin-top: 0 !important;
131
- margin-bottom: 0 !important;
132
- }
133
- .AppDialog .base-dialog__header {
134
- padding: 0;
135
- }
136
- .AppDialog .base-dialog__body {
137
- padding: 0;
138
- }
139
- .AppDialog--fullPage {
140
- height: 100vh;
141
- }
142
- .AppDialog--fullPage.AppDialog .base-dialog__body {
143
- height: 100%;
144
- }
145
- .AppDialog--fullPage.AppDialog .AppDialog__inner {
146
- height: 100vh;
147
- overflow: visible;
148
- }
149
- .AppDialog--fullPage.AppDialog .AppDialog__content {
150
- height: 100%;
151
- }
152
- .Modal__closeButton {
153
- position: absolute;
154
- top: 8px;
155
- right: -60px;
156
- padding: 12px;
157
- }
158
- .Modal__closeIcon {
159
- vertical-align: top;
160
- fill: #FFF;
161
161
  }
@@ -1 +1 @@
1
- [data-v-47783249]:export{primary:#2F3A91;success:#67C23A;warning:#FF791A;danger:#F1403C;info:#8590a6}.AppDialog__inner[data-v-47783249]{max-height:100vh;transition:max-height .8s ease,height .8s ease}.AppDialog__content[data-v-47783249]{padding:10px 20px 50px}.AppDialog__title[data-v-47783249]{margin-top:40px;font-size:24px;font-weight:500;color:#2f3a91;text-align:center}.AppDialog__subtitle[data-v-47783249]{padding:0 38px;margin-top:4px;font-size:14px;line-height:1.5;color:#8590a6;text-align:center}.AppDialog__title--left[data-v-47783249]{padding:0 20px;font-size:15px;color:#2f3a91;font-weight:600;height:60px;line-height:60px}.AppDialog__subtitle--left[data-v-47783249]{padding:0 20px;font-size:14px;line-height:1;color:#8590a6;text-align:left}@media (max-width:576px){.AppDialog__title--left[data-v-47783249]{padding:20px 16px 10px}.AppDialog__subtitle--left[data-v-47783249]{padding:0 16px}}.AppDialog__wrapper.base-dialog__wrapper{display:flex;flex-direction:column;justify-content:center;overflow-x:hidden;overflow-y:auto}.AppDialog{max-height:100vh;transition:max-height .8s ease,height .8s ease}.AppDialog.base-dialog{margin-top:0!important;margin-bottom:0!important}.AppDialog .base-dialog__header{padding:0}.AppDialog .base-dialog__body{padding:0}.AppDialog--fullPage{height:100vh}.AppDialog--fullPage.AppDialog .base-dialog__body{height:100%}.AppDialog--fullPage.AppDialog .AppDialog__inner{height:100vh;overflow:visible}.AppDialog--fullPage.AppDialog .AppDialog__content{height:100%}.Modal__closeButton{position:absolute;top:8px;right:-60px;padding:12px}.Modal__closeIcon{vertical-align:top;fill:#FFF}
1
+ .AppDialog__wrapper.base-dialog__wrapper{display:flex;flex-direction:column;justify-content:center;overflow-x:hidden;overflow-y:auto}.AppDialog{max-height:100vh;transition:max-height .8s ease,height .8s ease}.AppDialog.base-dialog{margin-top:0!important;margin-bottom:0!important}.AppDialog .base-dialog__header{padding:0}.AppDialog .base-dialog__body{padding:0}.AppDialog--fullPage{height:100vh}.AppDialog--fullPage.AppDialog .base-dialog__body{height:100%}.AppDialog--fullPage.AppDialog .AppDialog__inner{height:100vh;overflow:visible}.AppDialog--fullPage.AppDialog .AppDialog__content{height:100%}.Modal__closeButton{position:absolute;top:8px;right:-60px;padding:12px}.Modal__closeIcon{vertical-align:top;fill:#FFF}[data-v-47783249]:export{primary:#2F3A91;success:#67C23A;warning:#FF791A;danger:#F1403C;info:#8590a6}.AppDialog__inner[data-v-47783249]{max-height:100vh;transition:max-height .8s ease,height .8s ease}.AppDialog__content[data-v-47783249]{padding:10px 20px 50px}.AppDialog__title[data-v-47783249]{margin-top:40px;font-size:24px;font-weight:500;color:#2f3a91;text-align:center}.AppDialog__subtitle[data-v-47783249]{padding:0 38px;margin-top:4px;font-size:14px;line-height:1.5;color:#8590a6;text-align:center}.AppDialog__title--left[data-v-47783249]{padding:0 20px;font-size:15px;color:#2f3a91;font-weight:600;height:60px;line-height:60px}.AppDialog__subtitle--left[data-v-47783249]{padding:0 20px;font-size:14px;line-height:1;color:#8590a6;text-align:left}@media (max-width:576px){.AppDialog__title--left[data-v-47783249]{padding:20px 16px 10px}.AppDialog__subtitle--left[data-v-47783249]{padding:0 16px}}
package/dist/index.js CHANGED
@@ -23093,7 +23093,7 @@ const jC = /* @__PURE__ */ function() {
23093
23093
  e && (clearInterval(e), e = null);
23094
23094
  }, Qw = (e) => {
23095
23095
  e && (clearTimeout(e), e = null);
23096
- }, q = (e, t = ",") => e && e.length > 0 && e[0] !== null && e[0] !== "null" ? e.join(t) : "", eC = (e, t = ",") => e ? e.split(t) : [], Pe = (e) => !(e && (e.length > 0 && e.length !== 1 || e.length === 1 && e[0] && e[0] !== "null")), $ = (e) => e ? e.replace(/<span class="Highlight">/g, "").replace(/<\/span>/g, "") : "", tC = (e, t = sn, s = nn) => {
23096
+ }, q = (e, t = ",") => e && e.length > 0 && e[0] !== null && e[0] !== "null" ? e instanceof String ? e : e.join(t) : "", eC = (e, t = ",") => e ? e.split(t) : [], Pe = (e) => !(e && (e.length > 0 && e.length !== 1 || e.length === 1 && e[0] && e[0] !== "null")), $ = (e) => e ? e.replace(/<span class="Highlight">/g, "").replace(/<\/span>/g, "") : "", tC = (e, t = sn, s = nn) => {
23097
23097
  let i = ee.enc.Utf8.parse(t), n = ee.enc.Utf8.parse(s);
23098
23098
  return ee.AES.encrypt(ee.enc.Utf8.parse(e), i, { iv: n, mode: ee.mode.CBC, padding: ee.pad.Pkcs7 }).ciphertext.toString();
23099
23099
  }, Ee = (e, t = sn, s = nn) => {
@@ -25063,12 +25063,10 @@ const AC = (e, t, s, i = "后台管理") => (e.event_key || (i == "前台" ? e.e
25063
25063
  ExportResource: gl,
25064
25064
  ExportResourceTxt: bl,
25065
25065
  SaveLog: AC
25066
- }, Symbol.toStringTag, { value: "Module" })), OC = (e, t, s, i, n) => {
25067
- gl(_l(e, t, s, i, n)).then((a) => {
25068
- let r = `${t}.xlsx`, o = new Blob([a], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8" }), l = document.createElement("a");
25069
- l.href = window.URL.createObjectURL(o), l.setAttribute("download", r), l.target = "downloadIframe", l.click(), window.navigator.msSaveBlob && window.navigator.msSaveBlob(o, r);
25070
- });
25071
- }, _l = (e, t, s, i, n) => {
25066
+ }, Symbol.toStringTag, { value: "Module" })), OC = (e, t, s, i, n) => gl(_l(e, t, s, i, n)).then((a) => {
25067
+ let r = `${t}.xlsx`, o = new Blob([a], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8" }), l = document.createElement("a");
25068
+ l.href = window.URL.createObjectURL(o), l.setAttribute("download", r), l.target = "downloadIframe", l.click(), window.navigator.msSaveBlob && window.navigator.msSaveBlob(o, r);
25069
+ }), _l = (e, t, s, i, n) => {
25072
25070
  let a = {
25073
25071
  appid: e,
25074
25072
  fileName: t,
@@ -25106,7 +25104,7 @@ const AC = (e, t, s, i = "后台管理") => (e.event_key || (i == "前台" ? e.e
25106
25104
  o.volume ? o.volume : "",
25107
25105
  o.issue ? o.issue : "",
25108
25106
  o.year ? o.year : "",
25109
- $(q(o.keywords)),
25107
+ $(q(o.keywords || o.keyword)),
25110
25108
  o.abstracts ? $(o.abstracts) : "",
25111
25109
  o.article_type === "会议论文" ? $(o.source) : "",
25112
25110
  $(o.major),
@@ -25153,8 +25151,8 @@ const AC = (e, t, s, i = "后台管理") => (e.event_key || (i == "前台" ? e.e
25153
25151
  ], l = [
25154
25152
  $(o.title),
25155
25153
  $(o.patent_type),
25156
- $(q(o.inventors)),
25157
- $(q(o.applicants)),
25154
+ $(q(o.inventors || o.inventor)),
25155
+ $(q(o.applicants || o.applicant)),
25158
25156
  $(o.apply_number),
25159
25157
  $(o.apply_date),
25160
25158
  $(q(o.ipc_number)),
@@ -25190,7 +25188,7 @@ const AC = (e, t, s, i = "后台管理") => (e.event_key || (i == "前台" ? e.e
25190
25188
  $(o.title),
25191
25189
  $(o.date),
25192
25190
  $(q(o.author)),
25193
- $(q(o.keywords)),
25191
+ $(q(o.keywords || o.keyword)),
25194
25192
  o.abstracts ? $(o.abstracts) : "",
25195
25193
  o.cstr || "",
25196
25194
  n + Ee(o.id)
@@ -25271,23 +25269,21 @@ const AC = (e, t, s, i = "后台管理") => (e.event_key || (i == "前台" ? e.e
25271
25269
  }
25272
25270
  a.data.push(l);
25273
25271
  }), a;
25274
- }, FC = (e, t, s, i) => {
25275
- bl(vl(e, t, s, i)).then((n) => {
25276
- let a = `${t}.ris`, r = new Blob([n], { type: "application/octet-stream;charset=utf-8" }), o = document.createElement("a");
25277
- o.href = window.URL.createObjectURL(r), o.setAttribute("download", a), o.target = "downloadIframe", o.click(), window.navigator.msSaveBlob && window.navigator.msSaveBlob(r, a);
25278
- });
25279
- }, vl = (e, t, s, i) => {
25272
+ }, FC = (e, t, s, i) => bl(vl(e, t, s, i)).then((n) => {
25273
+ let a = `${t}.ris`, r = new Blob([n], { type: "application/octet-stream;charset=utf-8" }), o = document.createElement("a");
25274
+ o.href = window.URL.createObjectURL(r), o.setAttribute("download", a), o.target = "downloadIframe", o.click(), window.navigator.msSaveBlob && window.navigator.msSaveBlob(r, a);
25275
+ }), vl = (e, t, s, i) => {
25280
25276
  let n = {
25281
25277
  appid: e,
25282
25278
  fileName: t,
25283
25279
  text: []
25284
25280
  };
25285
25281
  return s == null || s.forEach((a) => {
25286
- a.type === dt ? n.text.push("RT - PATENT", "SR - 1", `A1 - ${$(q(a.inventors))}`, `A2 - ${$(q(a.applicants))}`, `T1 - ${$(a.title)}`, `FD - ${a.apply_date}`, `ID - ${a.issue_number}`, `CL - ${a.patent_type}`, `AB - ${a.abstracts ? $(a.abstracts) : ""}`, `UR - ${i + Ee(a.id)}`, "ER -") : a.type === pt ? n.text.push(
25282
+ a.type === dt ? n.text.push("RT - PATENT", "SR - 1", `A1 - ${$(q(a.inventors || a.inventor))}`, `A2 - ${$(q(a.applicants || a.applicant))}`, `T1 - ${$(a.title)}`, `FD - ${a.apply_date}`, `ID - ${a.issue_number}`, `CL - ${a.patent_type}`, `AB - ${a.abstracts ? $(a.abstracts) : ""}`, `UR - ${i + Ee(a.id)}`, "ER -") : a.type === pt ? n.text.push(
25287
25283
  "RT - BOOK",
25288
25284
  "SR - 1",
25289
25285
  `T1 - ${$(a.title)}`,
25290
- `A1 - ${$(q(a.inventors))}`,
25286
+ `A1 - ${$(q(a.author))}`,
25291
25287
  // `A2 - ${clearHighlight(ConvertArrayToString(readable.applicants))}`,
25292
25288
  `PB - ${a.publisher}`,
25293
25289
  `FD - ${a.year}`,
@@ -25305,7 +25301,7 @@ const AC = (e, t, s, i = "后台管理") => (e.event_key || (i == "前台" ? e.e
25305
25301
  `SP - ${a.first_page ? a.first_page : ""}`,
25306
25302
  `EP - ${a.last_page ? a.last_page : ""}`,
25307
25303
  `PY - ${a.year ? a.year : ""}`,
25308
- `KW - ${$(q(a.keywords))}`,
25304
+ `KW - ${$(q(a.keywords || a.keyword))}`,
25309
25305
  `AB - ${a.abstracts ? $(a.abstracts) : ""}`,
25310
25306
  `DO - ${a.doi || ""}`,
25311
25307
  `UR - ${i + Ee(a.id)}`,