@zkwq/business 0.1.2 → 0.1.21

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
@@ -28760,6 +28760,7 @@ var g$ = function() {
28760
28760
  "hide-loading": !1
28761
28761
  },
28762
28762
  on: {
28763
+ input: e._institutionInput,
28763
28764
  select: e._institutionSelectChange,
28764
28765
  clear: e._institutionClear
28765
28766
  },
@@ -28833,8 +28834,11 @@ const b$ = {
28833
28834
  }
28834
28835
  },
28835
28836
  methods: {
28837
+ _institutionInput(e) {
28838
+ this.insInfo.id = "", this.insInfo.name = e, this.insInfo.logo = "", this.updateIns();
28839
+ },
28836
28840
  _institutionSelectChange(e) {
28837
- typeof e == "string" ? this.insInfo.name = e : (this.insInfo.id = e.id, this.insInfo.name = e.name, this.insInfo.logo = e.logo), this.updateIns();
28841
+ typeof e == "string" ? (this.insInfo.id = "", this.insInfo.name = e, this.insInfo.logo = "") : (this.insInfo.id = e.id, this.insInfo.name = e.name, this.insInfo.logo = e.logo), this.updateIns();
28838
28842
  },
28839
28843
  _getInstitutionName(e, t) {
28840
28844
  ni(e).then((s) => {
@@ -28863,7 +28867,7 @@ var v$ = /* @__PURE__ */ _(
28863
28867
  _$,
28864
28868
  !1,
28865
28869
  y$,
28866
- "59c6b9e9",
28870
+ "e222aae0",
28867
28871
  null,
28868
28872
  null
28869
28873
  );
@@ -29298,6 +29302,7 @@ var I$ = function() {
29298
29302
  },
29299
29303
  on: {
29300
29304
  select: e._authorSelectChange,
29305
+ input: e._authorInput,
29301
29306
  clear: e._authorClear
29302
29307
  },
29303
29308
  scopedSlots: e._u([{
@@ -29367,6 +29372,9 @@ const E$ = {
29367
29372
  }
29368
29373
  },
29369
29374
  methods: {
29375
+ _authorInput(e) {
29376
+ this.authorInfo.id = "", this.authorInfo.name = e, this.authorInfo.institution = "", this.updateAuthor();
29377
+ },
29370
29378
  _getAuthorName(e, t) {
29371
29379
  In(e).then((s) => {
29372
29380
  let i = [];
@@ -29386,7 +29394,7 @@ const E$ = {
29386
29394
  },
29387
29395
  _authorSelectChange(e) {
29388
29396
  var t, s;
29389
- typeof e == "string" ? this.authorInfo.name = e : (this.authorInfo.id = e.id, this.authorInfo.name = e.name, this.authorInfo.institution = ((t = e.affiliation) == null ? void 0 : t.length) > 0 ? [(s = e.affiliation) == null ? void 0 : s[0]] : []), this.updateAuthor();
29397
+ typeof e == "string" ? (this.authorInfo.id = "", this.authorInfo.name = e, this.authorInfo.institution = "") : (this.authorInfo.id = e.id, this.authorInfo.name = e.name, this.authorInfo.institution = ((t = e.affiliation) == null ? void 0 : t.length) > 0 ? [(s = e.affiliation) == null ? void 0 : s[0]] : []), this.updateAuthor();
29390
29398
  },
29391
29399
  _authorClear() {
29392
29400
  this.authorInfo.id = "", this.authorInfo.name = "", this.authorInfo.institution = "", this.updateAuthor();
@@ -29402,7 +29410,7 @@ var A$ = /* @__PURE__ */ _(
29402
29410
  T$,
29403
29411
  !1,
29404
29412
  M$,
29405
- "6edfbb8c",
29413
+ "7e0f0551",
29406
29414
  null,
29407
29415
  null
29408
29416
  );