@zkwq/business 0.2.22 → 0.2.24

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/index.js CHANGED
@@ -176,7 +176,7 @@ function Rh(e) {
176
176
  const Hh = /* @__PURE__ */ (function() {
177
177
  return Bh.exports;
178
178
  })();
179
- function we(e) {
179
+ function $e(e) {
180
180
  for (let t = 1, s = arguments.length; t < s; t++) {
181
181
  let i = arguments[t] || {};
182
182
  for (let n in i)
@@ -445,7 +445,7 @@ const tr = {
445
445
  methods: {
446
446
  open(e) {
447
447
  this.rendered || (this.rendered = !0);
448
- const t = we({}, this.$props || this, e);
448
+ const t = $e({}, this.$props || this, e);
449
449
  this._closeTimer && (clearTimeout(this._closeTimer), this._closeTimer = null), clearTimeout(this._openTimer);
450
450
  const s = Number(t.openDelay);
451
451
  s > 0 ? this._openTimer = setTimeout(() => {
@@ -1317,7 +1317,7 @@ const wf = {
1317
1317
  }[this.validateState];
1318
1318
  },
1319
1319
  textareaStyle() {
1320
- return we({}, this.textareaCalcStyle, { resize: this.resize });
1320
+ return $e({}, this.textareaCalcStyle, { resize: this.resize });
1321
1321
  },
1322
1322
  inputSize() {
1323
1323
  return this.size || this._baseFormItemSize || (this.$ELEMENT || {}).size;
@@ -1477,7 +1477,7 @@ function Sf(e) {
1477
1477
  for (let t in jr)
1478
1478
  this[t] = jr[t];
1479
1479
  }
1480
- const $e = /* @__PURE__ */ (function() {
1480
+ const Se = /* @__PURE__ */ (function() {
1481
1481
  return $f.exports;
1482
1482
  })(), kf = 80;
1483
1483
  function Wr(e, t) {
@@ -1964,7 +1964,7 @@ const Rf = {
1964
1964
  }
1965
1965
  },
1966
1966
  components: {
1967
- BaseInput: $e,
1967
+ BaseInput: Se,
1968
1968
  BaseButton: Ze
1969
1969
  },
1970
1970
  computed: {
@@ -2173,14 +2173,14 @@ const Ru = (e) => {
2173
2173
  }, typeof arguments[1] == "string" && (e.title = arguments[1])) : e.callback && !t && (t = e.callback), typeof Promise != "undefined")
2174
2174
  return new Promise((s, i) => {
2175
2175
  ri.push({
2176
- options: we({}, Gr, Le.defaults, e),
2176
+ options: $e({}, Gr, Le.defaults, e),
2177
2177
  callback: t,
2178
2178
  resolve: s,
2179
2179
  reject: i
2180
2180
  }), Ta();
2181
2181
  });
2182
2182
  ri.push({
2183
- options: we({}, Gr, Le.defaults, e),
2183
+ options: $e({}, Gr, Le.defaults, e),
2184
2184
  callback: t
2185
2185
  }), Ta();
2186
2186
  }
@@ -2188,20 +2188,20 @@ const Ru = (e) => {
2188
2188
  Le.setDefaults = (e) => {
2189
2189
  Le.defaults = e;
2190
2190
  };
2191
- Le.alert = (e, t, s) => (typeof t == "object" ? (s = t, t = "") : t === void 0 && (t = ""), Le(we({
2191
+ Le.alert = (e, t, s) => (typeof t == "object" ? (s = t, t = "") : t === void 0 && (t = ""), Le($e({
2192
2192
  title: t,
2193
2193
  message: e,
2194
2194
  $type: "alert",
2195
2195
  closeOnPressEscape: !1,
2196
2196
  closeOnClickModal: !1
2197
2197
  }, s)));
2198
- Le.confirm = (e, t, s) => (typeof t == "object" ? (s = t, t = "") : t === void 0 && (t = ""), Le(we({
2198
+ Le.confirm = (e, t, s) => (typeof t == "object" ? (s = t, t = "") : t === void 0 && (t = ""), Le($e({
2199
2199
  title: t,
2200
2200
  message: e,
2201
2201
  $type: "confirm",
2202
2202
  showCancelButton: !0
2203
2203
  }, s)));
2204
- Le.prompt = (e, t, s) => (typeof t == "object" ? (s = t, t = "") : t === void 0 && (t = ""), Le(we({
2204
+ Le.prompt = (e, t, s) => (typeof t == "object" ? (s = t, t = "") : t === void 0 && (t = ""), Le($e({
2205
2205
  title: t,
2206
2206
  message: e,
2207
2207
  showCancelButton: !0,
@@ -4183,7 +4183,7 @@ const dm = {
4183
4183
  inheritAttrs: !1,
4184
4184
  componentName: "BaseAutocomplete",
4185
4185
  components: {
4186
- BaseInput: $e,
4186
+ BaseInput: Se,
4187
4187
  BaseAutocompleteSuggestions: Yu
4188
4188
  },
4189
4189
  directives: { Clickoutside: $t },
@@ -5429,7 +5429,7 @@ const { keys: Wt } = qe, Ym = {
5429
5429
  },
5430
5430
  computed: {
5431
5431
  config() {
5432
- return we(X({}, Ym), this.props || {});
5432
+ return $e(X({}, Ym), this.props || {});
5433
5433
  },
5434
5434
  multiple() {
5435
5435
  return this.config.multiple;
@@ -5889,7 +5889,7 @@ const { keys: kt } = qe, xo = {
5889
5889
  }
5890
5890
  },
5891
5891
  components: {
5892
- BaseInput: $e,
5892
+ BaseInput: Se,
5893
5893
  BaseTag: Ts,
5894
5894
  BaseScrollbar: wt,
5895
5895
  BaseCascaderPanel: Qu
@@ -6536,7 +6536,7 @@ const _g = function(e, t) {
6536
6536
  }, Hi = function(e) {
6537
6537
  const t = e.getFullYear(), s = e.getMonth();
6538
6538
  return s === 0 ? zt(e, t - 1, 11) : zt(e, t, s - 1);
6539
- }, ke = function(e) {
6539
+ }, Ie = function(e) {
6540
6540
  const t = e.getFullYear(), s = e.getMonth();
6541
6541
  return s === 11 ? zt(e, t + 1, 0) : zt(e, t, s + 1);
6542
6542
  }, ss = function(e, t = 1) {
@@ -6687,7 +6687,7 @@ const xg = {
6687
6687
  },
6688
6688
  methods: te.methods,
6689
6689
  data() {
6690
- return we({ visibleArrow: !0 }, te.data);
6690
+ return $e({ visibleArrow: !0 }, te.data);
6691
6691
  },
6692
6692
  beforeDestroy: te.beforeDestroy
6693
6693
  }, lr = {
@@ -6913,7 +6913,7 @@ const xg = {
6913
6913
  default: !1
6914
6914
  }
6915
6915
  },
6916
- components: { BaseInput: $e },
6916
+ components: { BaseInput: Se },
6917
6917
  directives: { Clickoutside: $t },
6918
6918
  data() {
6919
6919
  return {
@@ -8565,7 +8565,7 @@ const nb = {
8565
8565
  this.date = Hi(this.date);
8566
8566
  },
8567
8567
  nextMonth() {
8568
- this.date = ke(this.date);
8568
+ this.date = Ie(this.date);
8569
8569
  },
8570
8570
  prevYear() {
8571
8571
  this.currentView === "year" ? this.date = ss(this.date, 10) : this.date = ss(this.date);
@@ -8689,7 +8689,7 @@ const nb = {
8689
8689
  YearTable: zg,
8690
8690
  MonthTable: hd,
8691
8691
  DateTable: fd,
8692
- BaseInput: $e,
8692
+ BaseInput: Se,
8693
8693
  BaseButton: Ze
8694
8694
  },
8695
8695
  data() {
@@ -9148,7 +9148,7 @@ const Zn = (e) => Array.isArray(e) ? [new Date(e[0]), new Date(e[1])] : e ? [new
9148
9148
  minDate: "",
9149
9149
  maxDate: "",
9150
9150
  leftDate: /* @__PURE__ */ new Date(),
9151
- rightDate: ke(/* @__PURE__ */ new Date()),
9151
+ rightDate: Ie(/* @__PURE__ */ new Date()),
9152
9152
  rangeState: {
9153
9153
  endDate: null,
9154
9154
  selecting: !1,
@@ -9210,22 +9210,22 @@ const Zn = (e) => Array.isArray(e) ? [new Date(e[0]), new Date(e[1])] : e ? [new
9210
9210
  if (this.minDate = ue(e[0]) ? new Date(e[0]) : null, this.maxDate = ue(e[1]) ? new Date(e[1]) : null, this.minDate)
9211
9211
  if (this.leftDate = this.minDate, this.unlinkPanels && this.maxDate) {
9212
9212
  const t = this.minDate.getFullYear(), s = this.minDate.getMonth(), i = this.maxDate.getFullYear(), n = this.maxDate.getMonth();
9213
- this.rightDate = t === i && s === n ? ke(this.maxDate) : this.maxDate;
9213
+ this.rightDate = t === i && s === n ? Ie(this.maxDate) : this.maxDate;
9214
9214
  } else
9215
- this.rightDate = ke(this.leftDate);
9215
+ this.rightDate = Ie(this.leftDate);
9216
9216
  else
9217
- this.leftDate = Zn(this.defaultValue)[0], this.rightDate = ke(this.leftDate);
9217
+ this.leftDate = Zn(this.defaultValue)[0], this.rightDate = Ie(this.leftDate);
9218
9218
  },
9219
9219
  defaultValue(e) {
9220
9220
  if (!Array.isArray(this.value)) {
9221
9221
  const [t, s] = Zn(e);
9222
- this.leftDate = t, this.rightDate = e && e[1] && this.unlinkPanels ? s : ke(this.leftDate);
9222
+ this.leftDate = t, this.rightDate = e && e[1] && this.unlinkPanels ? s : Ie(this.leftDate);
9223
9223
  }
9224
9224
  }
9225
9225
  },
9226
9226
  methods: {
9227
9227
  handleClear() {
9228
- this.minDate = null, this.maxDate = null, this.leftDate = Zn(this.defaultValue)[0], this.rightDate = ke(this.leftDate), this.$emit("pick", null);
9228
+ this.minDate = null, this.maxDate = null, this.leftDate = Zn(this.defaultValue)[0], this.rightDate = Ie(this.leftDate), this.$emit("pick", null);
9229
9229
  },
9230
9230
  handleChangeRange(e) {
9231
9231
  this.minDate = e.minDate, this.maxDate = e.maxDate, this.rangeState = e.rangeState;
@@ -9236,7 +9236,7 @@ const Zn = (e) => Array.isArray(e) ? [new Date(e[0]), new Date(e[1])] : e ? [new
9236
9236
  if (s) {
9237
9237
  if (typeof this.disabledDate == "function" && this.disabledDate(new Date(s)))
9238
9238
  return;
9239
- t === "min" ? (this.minDate = Ke(this.minDate || /* @__PURE__ */ new Date(), s.getFullYear(), s.getMonth(), s.getDate()), this.leftDate = new Date(s), this.unlinkPanels || (this.rightDate = ke(this.leftDate))) : (this.maxDate = Ke(this.maxDate || /* @__PURE__ */ new Date(), s.getFullYear(), s.getMonth(), s.getDate()), this.rightDate = new Date(s), this.unlinkPanels || (this.leftDate = Hi(s)));
9239
+ t === "min" ? (this.minDate = Ke(this.minDate || /* @__PURE__ */ new Date(), s.getFullYear(), s.getMonth(), s.getDate()), this.leftDate = new Date(s), this.unlinkPanels || (this.rightDate = Ie(this.leftDate))) : (this.maxDate = Ke(this.maxDate || /* @__PURE__ */ new Date(), s.getFullYear(), s.getMonth(), s.getDate()), this.rightDate = new Date(s), this.unlinkPanels || (this.leftDate = Hi(s)));
9240
9240
  }
9241
9241
  },
9242
9242
  handleDateChange(e, t) {
@@ -9275,23 +9275,23 @@ const Zn = (e) => Array.isArray(e) ? [new Date(e[0]), new Date(e[1])] : e ? [new
9275
9275
  },
9276
9276
  // leftPrev*, rightNext* need to take care of `unlinkPanels`
9277
9277
  leftPrevYear() {
9278
- this.leftDate = ss(this.leftDate), this.unlinkPanels || (this.rightDate = ke(this.leftDate));
9278
+ this.leftDate = ss(this.leftDate), this.unlinkPanels || (this.rightDate = Ie(this.leftDate));
9279
9279
  },
9280
9280
  leftPrevMonth() {
9281
- this.leftDate = Hi(this.leftDate), this.unlinkPanels || (this.rightDate = ke(this.leftDate));
9281
+ this.leftDate = Hi(this.leftDate), this.unlinkPanels || (this.rightDate = Ie(this.leftDate));
9282
9282
  },
9283
9283
  rightNextYear() {
9284
- this.unlinkPanels ? this.rightDate = Re(this.rightDate) : (this.leftDate = Re(this.leftDate), this.rightDate = ke(this.leftDate));
9284
+ this.unlinkPanels ? this.rightDate = Re(this.rightDate) : (this.leftDate = Re(this.leftDate), this.rightDate = Ie(this.leftDate));
9285
9285
  },
9286
9286
  rightNextMonth() {
9287
- this.unlinkPanels ? this.rightDate = ke(this.rightDate) : (this.leftDate = ke(this.leftDate), this.rightDate = ke(this.leftDate));
9287
+ this.unlinkPanels ? this.rightDate = Ie(this.rightDate) : (this.leftDate = Ie(this.leftDate), this.rightDate = Ie(this.leftDate));
9288
9288
  },
9289
9289
  // leftNext*, rightPrev* are called when `unlinkPanels` is true
9290
9290
  leftNextYear() {
9291
9291
  this.leftDate = Re(this.leftDate);
9292
9292
  },
9293
9293
  leftNextMonth() {
9294
- this.leftDate = ke(this.leftDate);
9294
+ this.leftDate = Ie(this.leftDate);
9295
9295
  },
9296
9296
  rightPrevYear() {
9297
9297
  this.rightDate = ss(this.rightDate);
@@ -9309,7 +9309,7 @@ const Zn = (e) => Array.isArray(e) ? [new Date(e[0]), new Date(e[1])] : e ? [new
9309
9309
  this.minDate && this.maxDate == null && (this.rangeState.selecting = !1), this.minDate = this.value && ue(this.value[0]) ? new Date(this.value[0]) : null, this.maxDate = this.value && ue(this.value[0]) ? new Date(this.value[1]) : null;
9310
9310
  }
9311
9311
  },
9312
- components: { TimePicker: qs, DateTable: fd, BaseInput: $e, BaseButton: Ze }
9312
+ components: { TimePicker: qs, DateTable: fd, BaseInput: Se, BaseButton: Ze }
9313
9313
  }, Vo = {};
9314
9314
  var db = /* @__PURE__ */ w(
9315
9315
  ub,
@@ -9445,7 +9445,7 @@ var pb = function() {
9445
9445
  }
9446
9446
  })], 1)])], 2)])]);
9447
9447
  }, mb = [];
9448
- const Qn = (e) => Array.isArray(e) ? [new Date(e[0]), new Date(e[1])] : e ? [new Date(e), ke(new Date(e))] : [/* @__PURE__ */ new Date(), ke(/* @__PURE__ */ new Date())], gb = {
9448
+ const Qn = (e) => Array.isArray(e) ? [new Date(e[0]), new Date(e[1])] : e ? [new Date(e), Ie(new Date(e))] : [/* @__PURE__ */ new Date(), Ie(/* @__PURE__ */ new Date())], gb = {
9449
9449
  mixins: [U],
9450
9450
  directives: { Clickoutside: $t },
9451
9451
  computed: {
@@ -9553,7 +9553,7 @@ const Qn = (e) => Array.isArray(e) ? [new Date(e[0]), new Date(e[1])] : e ? [new
9553
9553
  this.minDate = this.value && ue(this.value[0]) ? new Date(this.value[0]) : null, this.maxDate = this.value && ue(this.value[0]) ? new Date(this.value[1]) : null;
9554
9554
  }
9555
9555
  },
9556
- components: { MonthTable: hd, BaseInput: $e, BaseButton: Ze }
9556
+ components: { MonthTable: hd, BaseInput: Se, BaseButton: Ze }
9557
9557
  }, zo = {};
9558
9558
  var bb = /* @__PURE__ */ w(
9559
9559
  gb,
@@ -10408,7 +10408,7 @@ const sv = (e, t, s) => {
10408
10408
  });
10409
10409
  }, qo = (e = {}) => {
10410
10410
  if (L.prototype.$isServer) return;
10411
- if (e = we({}, tv, e), typeof e.target == "string" && (e.target = document.querySelector(e.target)), e.target = e.target || document.body, e.target !== document.body ? e.fullscreen = !1 : e.body = !0, e.fullscreen && Vi)
10411
+ if (e = $e({}, tv, e), typeof e.target == "string" && (e.target = document.querySelector(e.target)), e.target = e.target || document.body, e.target !== document.body ? e.fullscreen = !1 : e.body = !0, e.fullscreen && Vi)
10412
10412
  return Vi;
10413
10413
  let t = e.body ? document.body : e.target, s = new An({
10414
10414
  el: document.createElement("div"),
@@ -11343,7 +11343,7 @@ const Kv = {
11343
11343
  SvPanel: kv,
11344
11344
  HueSlider: Mv,
11345
11345
  AlphaSlider: Bv,
11346
- BaseInput: $e,
11346
+ BaseInput: Se,
11347
11347
  BaseButton: Ze,
11348
11348
  Predefine: Wv
11349
11349
  },
@@ -12452,7 +12452,7 @@ const L_ = {
12452
12452
  let n = {};
12453
12453
  if (this.fields.forEach((a) => {
12454
12454
  a.validate("", (r, o) => {
12455
- r && (s = !1), n = we({}, n, o), typeof e == "function" && ++i === this.fields.length && e(s, n);
12455
+ r && (s = !1), n = $e({}, n, o), typeof e == "function" && ++i === this.fields.length && e(s, n);
12456
12456
  });
12457
12457
  }), t)
12458
12458
  return t;
@@ -13400,7 +13400,7 @@ const Sy = {
13400
13400
  return e = e ? i.o[this.prop || ""] || i.v : [], [].concat(t || e || []).concat(s);
13401
13401
  },
13402
13402
  getFilteredRule(e) {
13403
- return this.getRules().filter((s) => !s.trigger || e === "" ? !0 : Array.isArray(s.trigger) ? s.trigger.indexOf(e) > -1 : s.trigger === e).map((s) => we({}, s));
13403
+ return this.getRules().filter((s) => !s.trigger || e === "" ? !0 : Array.isArray(s.trigger) ? s.trigger.indexOf(e) > -1 : s.trigger === e).map((s) => $e({}, s));
13404
13404
  },
13405
13405
  onFieldBlur() {
13406
13406
  this.validate("blur");
@@ -15615,7 +15615,7 @@ const TC = {
15615
15615
  }
15616
15616
  },
15617
15617
  components: {
15618
- BaseInput: $e,
15618
+ BaseInput: Se,
15619
15619
  BaseSelectMenu: kd,
15620
15620
  BaseOption: On,
15621
15621
  BaseTag: Ts,
@@ -16158,7 +16158,7 @@ const pr = /* @__PURE__ */ (function() {
16158
16158
  Jumper: {
16159
16159
  mixins: [U],
16160
16160
  components: {
16161
- BaseInput: $e
16161
+ BaseInput: Se
16162
16162
  },
16163
16163
  data() {
16164
16164
  return {
@@ -19339,7 +19339,7 @@ const zw = {
19339
19339
  clearFilter(e) {
19340
19340
  const t = this.states, { tableHeader: s, fixedTableHeader: i, rightFixedTableHeader: n } = this.table.$refs;
19341
19341
  let a = {};
19342
- s && (a = we(a, s.filterPanels)), i && (a = we(a, i.filterPanels)), n && (a = we(a, n.filterPanels));
19342
+ s && (a = $e(a, s.filterPanels)), i && (a = $e(a, i.filterPanels)), n && (a = $e(a, n.filterPanels));
19343
19343
  const r = Object.keys(a);
19344
19344
  if (r.length)
19345
19345
  if (typeof e == "string" && (e = [e]), Array.isArray(e)) {
@@ -21751,7 +21751,7 @@ const I1 = {
21751
21751
  repeatClick: ud
21752
21752
  },
21753
21753
  components: {
21754
- BaseInput: $e
21754
+ BaseInput: Se
21755
21755
  },
21756
21756
  props: {
21757
21757
  step: {
@@ -23373,7 +23373,7 @@ let C0 = 0, Sc = class Va {
23373
23373
  const n = this.getChildren(!0) || [];
23374
23374
  n.indexOf(t.data) === -1 && (typeof s == "undefined" || s < 0 ? n.push(t.data) : n.splice(s, 0, t.data));
23375
23375
  }
23376
- we(t, {
23376
+ $e(t, {
23377
23377
  parent: this,
23378
23378
  store: this.store
23379
23379
  }), t = new Va(t);
@@ -23418,7 +23418,7 @@ let C0 = 0, Sc = class Va {
23418
23418
  }
23419
23419
  doCreateChildren(t, s = {}) {
23420
23420
  t.forEach((i) => {
23421
- this.insertChild(we({ data: i }, s), void 0, !0);
23421
+ this.insertChild($e({ data: i }, s), void 0, !0);
23422
23422
  });
23423
23423
  }
23424
23424
  collapse() {
@@ -24476,7 +24476,7 @@ const V0 = /* @__PURE__ */ (function() {
24476
24476
  let tt, yt = [], j0 = 1;
24477
24477
  const ws = function(e) {
24478
24478
  if (L.prototype.$isServer) return;
24479
- e = we({}, e);
24479
+ e = $e({}, e);
24480
24480
  const t = e.onClose, s = "notification_" + j0++, i = e.position || "top-right";
24481
24481
  e.onClose = function() {
24482
24482
  ws.close(s, t);
@@ -24787,7 +24787,7 @@ const W0 = [
24787
24787
  hr,
24788
24788
  ar,
24789
24789
  Ry,
24790
- $e,
24790
+ Se,
24791
24791
  Uy,
24792
24792
  Jy,
24793
24793
  iC,
@@ -25080,7 +25080,7 @@ var X0 = function() {
25080
25080
  const Z0 = {
25081
25081
  name: "AggItemV",
25082
25082
  mixins: [U],
25083
- components: { BaseCheckbox: mt, BaseCheckboxGroup: ur, BaseInput: $e },
25083
+ components: { BaseCheckbox: mt, BaseCheckboxGroup: ur, BaseInput: Se },
25084
25084
  data() {
25085
25085
  return {
25086
25086
  fold: !1,
@@ -25440,7 +25440,7 @@ const VD = /* @__PURE__ */ (function() {
25440
25440
  e && (clearInterval(e), e = null);
25441
25441
  }, tS = (e) => {
25442
25442
  e && (clearTimeout(e), e = null);
25443
- }, Ie = (e, t = ",") => e && e.length > 0 && e[0] !== null && e[0] !== "null" ? typeof e == "string" ? e : e.join(t) : "", sS = (e, t = ",") => e ? e.split(t) : [], It = (e) => !(e && (e.length > 0 && e.length !== 1 || e.length === 1 && e[0] && e[0] !== "null")), N = (e) => e ? e.replace(/<span class="Highlight">/g, "").replace(/<\/span>/g, "") : "", Tt = (e, t = mi, s = gi) => {
25443
+ }, we = (e, t = ",") => e && e.length > 0 && e[0] !== null && e[0] !== "null" ? typeof e == "string" ? e : e.join(t) : "", sS = (e, t = ",") => e ? e.split(t) : [], It = (e) => !(e && (e.length > 0 && e.length !== 1 || e.length === 1 && e[0] && e[0] !== "null")), N = (e) => e ? e.replace(/<span class="Highlight">/g, "").replace(/<\/span>/g, "") : "", Tt = (e, t = mi, s = gi) => {
25444
25444
  let i = Q.enc.Utf8.parse(t), n = Q.enc.Utf8.parse(s);
25445
25445
  return Q.AES.encrypt(Q.enc.Utf8.parse(e), i, { iv: n, mode: Q.mode.CBC, padding: Q.pad.Pkcs7 }).ciphertext.toString();
25446
25446
  }, iS = (e, t = mi, s = gi) => {
@@ -25512,7 +25512,7 @@ const VD = /* @__PURE__ */ (function() {
25512
25512
  ClearHtml: hS,
25513
25513
  ClearInterval: eS,
25514
25514
  ClearTimeout: tS,
25515
- ConvertArrayToString: Ie,
25515
+ ConvertArrayToString: we,
25516
25516
  ConvertStringToArray: sS,
25517
25517
  DownloadFile: oS,
25518
25518
  DownloadUrl: lS,
@@ -26352,7 +26352,7 @@ var lk = function() {
26352
26352
  fill: "#FF7171",
26353
26353
  "p-id": "4808"
26354
26354
  }
26355
- })])]) : e._e(), e.readable.type === e.TYPE_ARTICLE && (e.readable.is_free || !e.isArrayEmpty(e.readable.local_links)) ? s("span", {
26355
+ })])]) : e._e(), e.showOpenAccesss && e.readable.type === e.TYPE_ARTICLE && (e.readable.is_free || !e.isArrayEmpty(e.readable.local_links)) ? s("span", {
26356
26356
  staticClass: "ContentItem__linkDotMeta"
26357
26357
  }, [s("span", {
26358
26358
  staticClass: "ContentItem__linkDot"
@@ -27821,7 +27821,11 @@ const uk = {
27821
27821
  showCPC: Boolean,
27822
27822
  authorHover: Boolean,
27823
27823
  openSearch: Boolean,
27824
- notShowCover: Boolean
27824
+ notShowCover: Boolean,
27825
+ showOpenAccesss: {
27826
+ type: Boolean,
27827
+ default: !1
27828
+ }
27825
27829
  },
27826
27830
  computed: {
27827
27831
  authorLabel() {
@@ -28042,7 +28046,7 @@ var dk = /* @__PURE__ */ w(
28042
28046
  ck,
28043
28047
  !1,
28044
28048
  hk,
28045
- "7ede2390"
28049
+ "e77bc064"
28046
28050
  );
28047
28051
  function hk(e) {
28048
28052
  for (let t in jc)
@@ -28556,7 +28560,7 @@ var Ek = function() {
28556
28560
  }, Tk = [];
28557
28561
  const Ak = {
28558
28562
  name: "Annex",
28559
- components: { BaseUpload: gr, BaseTooltip: St, BaseProgress: Nn, AppDialog: ch, BaseForm: dr, FormItem: hr, BaseInput: $e },
28563
+ components: { BaseUpload: gr, BaseTooltip: St, BaseProgress: Nn, AppDialog: ch, BaseForm: dr, FormItem: hr, BaseInput: Se },
28560
28564
  mixins: [U],
28561
28565
  model: {
28562
28566
  prop: "files",
@@ -30254,7 +30258,7 @@ const F2 = {
30254
30258
  BaseSelect: pr,
30255
30259
  BaseOption: On,
30256
30260
  BaseAutocomplete: fi,
30257
- BaseInput: $e,
30261
+ BaseInput: Se,
30258
30262
  UserProfileItem: dh,
30259
30263
  BaseCheckbox: mt
30260
30264
  },
@@ -31301,7 +31305,7 @@ var Be = function(t, s) {
31301
31305
  cloneEl: fe,
31302
31306
  cloneHidden: Ft,
31303
31307
  dragStarted: Ys,
31304
- putSortable: Se,
31308
+ putSortable: ke,
31305
31309
  activeSortable: F.active,
31306
31310
  originalEvent: n,
31307
31311
  oldIndex: hs,
@@ -31327,7 +31331,7 @@ var Be = function(t, s) {
31327
31331
  };
31328
31332
  function Pe(e) {
31329
31333
  Us(jt({
31330
- putSortable: Se,
31334
+ putSortable: ke,
31331
31335
  cloneEl: fe,
31332
31336
  targetEl: E,
31333
31337
  rootEl: de,
@@ -31337,7 +31341,7 @@ function Pe(e) {
31337
31341
  newDraggableIndex: Nt
31338
31342
  }, e));
31339
31343
  }
31340
- var E, ve, R, de, Jt, cn, fe, Ft, hs, Ue, ti, Nt, Oi, Se, ds = !1, Sn = !1, kn = [], Gt, ut, ga, ba, mu, gu, Ys, cs, si, ii = !1, Ni = !1, un, Me, va = [], Xa = !1, In = [], Rn = typeof document != "undefined", Pi = hh, bu = bi || Mt ? "cssFloat" : "float", wI = Rn && !mI && !hh && "draggable" in document.createElement("div"), bh = (function() {
31344
+ var E, ve, R, de, Jt, cn, fe, Ft, hs, Ue, ti, Nt, Oi, ke, ds = !1, Sn = !1, kn = [], Gt, ut, ga, ba, mu, gu, Ys, cs, si, ii = !1, Ni = !1, un, Me, va = [], Xa = !1, In = [], Rn = typeof document != "undefined", Pi = hh, bu = bi || Mt ? "cssFloat" : "float", wI = Rn && !mI && !hh && "draggable" in document.createElement("div"), bh = (function() {
31341
31345
  if (Rn) {
31342
31346
  if (Mt)
31343
31347
  return !1;
@@ -31655,7 +31659,7 @@ F.prototype = /** @lends Sortable.prototype */
31655
31659
  },
31656
31660
  // Returns true - if no further action is needed (either inserted or another condition)
31657
31661
  _onDragOver: function(t) {
31658
- var s = this.el, i = t.target, n, a, r, o = this.options, l = o.group, c = F.active, u = Oi === l, h = o.sort, f = Se || c, m, v = this, p = !1;
31662
+ var s = this.el, i = t.target, n, a, r, o = this.options, l = o.group, c = F.active, u = Oi === l, h = o.sort, f = ke || c, m, v = this, p = !1;
31659
31663
  if (Xa) return;
31660
31664
  function y(ce, Ve) {
31661
31665
  Be(ce, v, jt({
@@ -31681,7 +31685,7 @@ F.prototype = /** @lends Sortable.prototype */
31681
31685
  function g(ce) {
31682
31686
  return y("dragOverCompleted", {
31683
31687
  insertion: ce
31684
- }), ce && (u ? c._hideClone() : c._showClone(v), v !== f && (he(E, Se ? Se.options.ghostClass : c.options.ghostClass, !1), he(E, o.ghostClass, !0)), Se !== v && v !== F.active ? Se = v : v === F.active && Se && (Se = null), f === v && (v._ignoreWhileAnimating = i), v.animateAll(function() {
31688
+ }), ce && (u ? c._hideClone() : c._showClone(v), v !== f && (he(E, ke ? ke.options.ghostClass : c.options.ghostClass, !1), he(E, o.ghostClass, !0)), ke !== v && v !== F.active ? ke = v : v === F.active && ke && (ke = null), f === v && (v._ignoreWhileAnimating = i), v.animateAll(function() {
31685
31689
  y("dragOverAnimationComplete"), v._ignoreWhileAnimating = null;
31686
31690
  }), v !== f && (f.animateAll(), f._ignoreWhileAnimating = null)), (i === E && !E.animated || i === s && !i.animated) && (cs = null), !o.dragoverBubble && !t.rootEl && i !== document && (E.parentNode[Ne]._isOutsideThisEl(t.target), !ce && qt(t)), !o.dragoverBubble && t.stopPropagation && t.stopPropagation(), p = !0;
31687
31691
  }
@@ -31698,7 +31702,7 @@ F.prototype = /** @lends Sortable.prototype */
31698
31702
  if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), i = ft(i, o.draggable, s, !0), y("dragOver"), F.eventCanceled) return p;
31699
31703
  if (E.contains(t.target) || i.animated && i.animatingX && i.animatingY || v._ignoreWhileAnimating === i)
31700
31704
  return g(!1);
31701
- if (Sn = !1, c && !o.disabled && (u ? h || (r = !de.contains(E)) : Se === this || (this.lastPutMode = Oi.checkPull(this, c, E, t)) && l.checkPut(this, c, E, t))) {
31705
+ if (Sn = !1, c && !o.disabled && (u ? h || (r = !de.contains(E)) : ke === this || (this.lastPutMode = Oi.checkPull(this, c, E, t)) && l.checkPut(this, c, E, t))) {
31702
31706
  if (m = this._getDirection(t, i) === "vertical", n = ge(E), y("dragOverValid"), F.eventCanceled) return p;
31703
31707
  if (r)
31704
31708
  return ve = de, d(), this._hideClone(), y("revert"), F.eventCanceled || (Jt ? de.insertBefore(E, Jt) : de.appendChild(E)), g(!0);
@@ -31749,7 +31753,7 @@ F.prototype = /** @lends Sortable.prototype */
31749
31753
  this._nulling();
31750
31754
  return;
31751
31755
  }
31752
- ds = !1, Ni = !1, ii = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ja(this.cloneId), Ja(this._dragStartId), this.nativeDraggable && (W(document, "drop", this), W(s, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), qa && M(document.body, "user-select", ""), M(E, "transform", ""), t && (Ys && (t.cancelable && t.preventDefault(), !i.dropBubble && t.stopPropagation()), R && R.parentNode && R.parentNode.removeChild(R), (de === ve || Se && Se.lastPutMode !== "clone") && fe && fe.parentNode && fe.parentNode.removeChild(fe), E && (this.nativeDraggable && W(E, "dragend", this), ya(E), E.style["will-change"] = "", Ys && !ds && he(E, Se ? Se.options.ghostClass : this.options.ghostClass, !1), he(E, this.options.chosenClass, !1), Pe({
31756
+ ds = !1, Ni = !1, ii = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ja(this.cloneId), Ja(this._dragStartId), this.nativeDraggable && (W(document, "drop", this), W(s, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), qa && M(document.body, "user-select", ""), M(E, "transform", ""), t && (Ys && (t.cancelable && t.preventDefault(), !i.dropBubble && t.stopPropagation()), R && R.parentNode && R.parentNode.removeChild(R), (de === ve || ke && ke.lastPutMode !== "clone") && fe && fe.parentNode && fe.parentNode.removeChild(fe), E && (this.nativeDraggable && W(E, "dragend", this), ya(E), E.style["will-change"] = "", Ys && !ds && he(E, ke ? ke.options.ghostClass : this.options.ghostClass, !1), he(E, this.options.chosenClass, !1), Pe({
31753
31757
  sortable: this,
31754
31758
  name: "unchoose",
31755
31759
  toEl: ve,
@@ -31778,7 +31782,7 @@ F.prototype = /** @lends Sortable.prototype */
31778
31782
  name: "sort",
31779
31783
  toEl: ve,
31780
31784
  originalEvent: t
31781
- })), Se && Se.save()) : Ue !== hs && Ue >= 0 && (Pe({
31785
+ })), ke && ke.save()) : Ue !== hs && Ue >= 0 && (Pe({
31782
31786
  sortable: this,
31783
31787
  name: "update",
31784
31788
  toEl: ve,
@@ -31796,7 +31800,7 @@ F.prototype = /** @lends Sortable.prototype */
31796
31800
  }), this.save()))), this._nulling();
31797
31801
  },
31798
31802
  _nulling: function() {
31799
- Be("nulling", this), de = E = ve = R = Jt = fe = cn = Ft = Gt = ut = Ys = Ue = Nt = hs = ti = cs = si = Se = Oi = F.dragged = F.ghost = F.clone = F.active = null, In.forEach(function(t) {
31803
+ Be("nulling", this), de = E = ve = R = Jt = fe = cn = Ft = Gt = ut = Ys = Ue = Nt = hs = ti = cs = si = ke = Oi = F.dragged = F.ghost = F.clone = F.active = null, In.forEach(function(t) {
31800
31804
  t.checked = !0;
31801
31805
  }), In.length = ga = ba = 0;
31802
31806
  },
@@ -34071,7 +34075,7 @@ const KI = {
34071
34075
  },
34072
34076
  components: {
34073
34077
  BaseButton: Ze,
34074
- BaseInput: $e,
34078
+ BaseInput: Se,
34075
34079
  BaseTag: Ts,
34076
34080
  draggable: WI
34077
34081
  },
@@ -34391,7 +34395,7 @@ var lD = function() {
34391
34395
  }, cD = [];
34392
34396
  const uD = {
34393
34397
  name: "CaptchaFormItem",
34394
- components: { BaseInput: $e, BaseFormItem: hr, BaseTooltip: St },
34398
+ components: { BaseInput: Se, BaseFormItem: hr, BaseTooltip: St },
34395
34399
  componentName: "CaptchaFormItem",
34396
34400
  model: {
34397
34401
  prop: "captcha",
@@ -34512,7 +34516,7 @@ const gD = (e, t, s) => {
34512
34516
  });
34513
34517
  }, vD = {
34514
34518
  name: "CaptchaDialog",
34515
- components: { CaptchaFormItem: fD, BaseForm: dr, AppDialogGlobal: ch, BaseButton: Ze, BaseInput: $e },
34519
+ components: { CaptchaFormItem: fD, BaseForm: dr, AppDialogGlobal: ch, BaseButton: Ze, BaseInput: Se },
34516
34520
  mixins: [ne],
34517
34521
  data() {
34518
34522
  return {
@@ -34618,6 +34622,7 @@ const xD = (e, t, s, i, n) => ah(wh(e, t, s, i, n)).then((a) => {
34618
34622
  ["类型"],
34619
34623
  ["标题"],
34620
34624
  ["作者"],
34625
+ ["机构"],
34621
34626
  ["出版物"],
34622
34627
  ["卷"],
34623
34628
  ["期"],
@@ -34635,18 +34640,19 @@ const xD = (e, t, s, i, n) => ah(wh(e, t, s, i, n)).then((a) => {
34635
34640
  ], l = [
34636
34641
  o.article_type,
34637
34642
  N(o.title),
34638
- N(Ie(o.author)),
34643
+ N(we(o.author)),
34644
+ N(we(o.institution)),
34639
34645
  o.source ? N(o.source) : "",
34640
34646
  o.volume ? o.volume : "",
34641
34647
  o.issue ? o.issue : "",
34642
34648
  o.year ? o.year : "",
34643
- N(Ie(o.keywords || o.keyword)),
34649
+ N(we(o.keywords || o.keyword)),
34644
34650
  o.abstracts ? N(o.abstracts) : "",
34645
34651
  o.article_type === "会议论文" ? N(o.source) : "",
34646
34652
  N(o.major),
34647
34653
  N(o.degree),
34648
34654
  o.year,
34649
- N(Ie(o.graduation_institution)),
34655
+ N(we(o.graduation_institution)),
34650
34656
  o.doi,
34651
34657
  "",
34652
34658
  n + Tt(o.id)
@@ -34687,12 +34693,12 @@ const xD = (e, t, s, i, n) => ah(wh(e, t, s, i, n)).then((a) => {
34687
34693
  ], l = [
34688
34694
  N(o.title),
34689
34695
  N(o.patent_type),
34690
- N(Ie(o.inventors || o.inventor)),
34691
- N(Ie(o.applicants || o.applicant)),
34696
+ N(we(o.inventors || o.inventor)),
34697
+ N(we(o.applicants || o.applicant)),
34692
34698
  N(o.apply_number),
34693
34699
  N(o.apply_date),
34694
- N(Ie(o.ipc_number)),
34695
- N(Ie(o.cpc_number)),
34700
+ N(we(o.ipc_number)),
34701
+ N(we(o.cpc_number)),
34696
34702
  o.abstracts ? N(o.abstracts) : "",
34697
34703
  n + Tt(o.id)
34698
34704
  ];
@@ -34723,8 +34729,8 @@ const xD = (e, t, s, i, n) => ah(wh(e, t, s, i, n)).then((a) => {
34723
34729
  ], l = [
34724
34730
  N(o.title),
34725
34731
  N(o.date),
34726
- N(Ie(o.author)),
34727
- N(Ie(o.keywords || o.keyword)),
34732
+ N(we(o.author)),
34733
+ N(we(o.keywords || o.keyword)),
34728
34734
  o.abstracts ? N(o.abstracts) : "",
34729
34735
  o.cstr || "",
34730
34736
  n + Tt(o.id)
@@ -34752,7 +34758,7 @@ const xD = (e, t, s, i, n) => ah(wh(e, t, s, i, n)).then((a) => {
34752
34758
  ]
34753
34759
  ], l = [
34754
34760
  N(o.title),
34755
- N(Ie(o.author)),
34761
+ N(we(o.author)),
34756
34762
  N(o.date),
34757
34763
  N(o.journal),
34758
34764
  o.abstracts ? N(o.abstracts) : "",
@@ -34787,7 +34793,7 @@ const xD = (e, t, s, i, n) => ah(wh(e, t, s, i, n)).then((a) => {
34787
34793
  ]
34788
34794
  ], l = [
34789
34795
  N(o.title),
34790
- N(Ie(o.author)),
34796
+ N(we(o.author)),
34791
34797
  N(o.year),
34792
34798
  N(o.publisher),
34793
34799
  N(o.isbn),
@@ -34799,7 +34805,7 @@ const xD = (e, t, s, i, n) => ah(wh(e, t, s, i, n)).then((a) => {
34799
34805
  default:
34800
34806
  a.head = [["标题"], ["作者"], ["摘要"]], l = [
34801
34807
  N(o.title),
34802
- N(Ie(o.author)),
34808
+ N(we(o.author)),
34803
34809
  o.abstracts ? N(o.abstracts) : ""
34804
34810
  ];
34805
34811
  }
@@ -34815,11 +34821,11 @@ const xD = (e, t, s, i, n) => ah(wh(e, t, s, i, n)).then((a) => {
34815
34821
  text: []
34816
34822
  };
34817
34823
  return s == null || s.forEach((a) => {
34818
- a.type === $s ? n.text.push("RT - PATENT", "SR - 1", `A1 - ${N(Ie(a.inventors || a.inventor))}`, `A2 - ${N(Ie(a.applicants || a.applicant))}`, `T1 - ${N(a.title)}`, `FD - ${a.apply_date}`, `ID - ${a.issue_number}`, `CL - ${a.patent_type}`, `AB - ${a.abstracts ? N(a.abstracts) : ""}`, `UR - ${i + Tt(a.id)}`, "ER -") : a.type === Ss ? n.text.push(
34824
+ a.type === $s ? n.text.push("RT - PATENT", "SR - 1", `A1 - ${N(we(a.inventors || a.inventor))}`, `A2 - ${N(we(a.applicants || a.applicant))}`, `T1 - ${N(a.title)}`, `FD - ${a.apply_date}`, `ID - ${a.issue_number}`, `CL - ${a.patent_type}`, `AB - ${a.abstracts ? N(a.abstracts) : ""}`, `UR - ${i + Tt(a.id)}`, "ER -") : a.type === Ss ? n.text.push(
34819
34825
  "RT - BOOK",
34820
34826
  "SR - 1",
34821
34827
  `T1 - ${N(a.title)}`,
34822
- `A1 - ${N(Ie(a.author))}`,
34828
+ `A1 - ${N(we(a.author))}`,
34823
34829
  // `A2 - ${clearHighlight(ConvertArrayToString(readable.applicants))}`,
34824
34830
  `PB - ${a.publisher}`,
34825
34831
  `FD - ${a.year}`,
@@ -34837,7 +34843,7 @@ const xD = (e, t, s, i, n) => ah(wh(e, t, s, i, n)).then((a) => {
34837
34843
  `SP - ${a.first_page ? a.first_page : ""}`,
34838
34844
  `EP - ${a.last_page ? a.last_page : ""}`,
34839
34845
  `PY - ${a.year ? a.year : ""}`,
34840
- `KW - ${N(Ie(a.keywords || a.keyword))}`,
34846
+ `KW - ${N(we(a.keywords || a.keyword))}`,
34841
34847
  `AB - ${a.abstracts ? N(a.abstracts) : ""}`,
34842
34848
  `DO - ${a.doi || ""}`,
34843
34849
  `UR - ${i + Tt(a.id)}`,
@@ -35066,7 +35072,7 @@ export {
35066
35072
  lE as HighLight,
35067
35073
  rk as HoverCard,
35068
35074
  Oy as ImageViewer,
35069
- $e as Input,
35075
+ Se as Input,
35070
35076
  Od as InputNumber,
35071
35077
  ZD as Institution,
35072
35078
  m2 as InstitutionAvatar,