@opendesign-plus/components 0.0.1-rc.26 → 0.0.1-rc.27

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.
@@ -1331,7 +1331,7 @@ const uy = { name: "components-icon-header-back", render: ly }, cy = {
1331
1331
  var se, J;
1332
1332
  x.value = "", n("clear"), (J = (se = c.value) == null ? void 0 : se.focus) == null || J.call(se);
1333
1333
  }, K = (se) => {
1334
- n("recommend-click", se), x.value = se.key, A();
1334
+ n("recommend-click", se), x.value = se.key, A(se.key ?? "");
1335
1335
  }, $ = (se) => {
1336
1336
  n("recommend-click", se), A(se);
1337
1337
  }, z = (se) => {
@@ -1566,7 +1566,7 @@ const uy = { name: "components-icon-header-back", render: ly }, cy = {
1566
1566
  })) : pe("", !0)
1567
1567
  ], 2));
1568
1568
  }
1569
- }), hy = /* @__PURE__ */ $t(dy, [["__scopeId", "data-v-f24f1dc5"]]), fy = ["src"], py = /* @__PURE__ */ at({
1569
+ }), hy = /* @__PURE__ */ $t(dy, [["__scopeId", "data-v-bcd56a74"]]), fy = ["src"], py = /* @__PURE__ */ at({
1570
1570
  __name: "AppAvatar",
1571
1571
  props: {
1572
1572
  // 头像
@@ -45920,7 +45920,7 @@ const G9 = { name: "components-icon-header-menu", render: z9 }, W9 = { class: "h
45920
45920
  }, S = () => {
45921
45921
  c.value = "", n("clear");
45922
45922
  }, A = (re) => {
45923
- n("recommend-click", re), G = !0, c.value = re.key, W();
45923
+ n("recommend-click", re), G = !0, c.value = re.key, W(re.key ?? "");
45924
45924
  }, P = (re) => {
45925
45925
  if (n("onestep-click", re), re.path) {
45926
45926
  const oe = re.path;
@@ -45937,7 +45937,7 @@ const G9 = { name: "components-icon-header-menu", render: z9 }, W9 = { class: "h
45937
45937
  L.clearAll(), n("delete-history", re);
45938
45938
  }, ie = (re) => {
45939
45939
  const oe = re.replace(/<[^>]+>/g, "");
45940
- n("suggest-list-click", oe), G = !0, c.value = oe, W();
45940
+ n("suggest-list-click", oe), G = !0, c.value = oe, W(oe);
45941
45941
  }, q = (re) => {
45942
45942
  m.value = re, re || (w.value = !0, setTimeout(() => {
45943
45943
  w.value = !1;
@@ -46114,7 +46114,7 @@ const G9 = { name: "components-icon-header-menu", render: z9 }, W9 = { class: "h
46114
46114
  ], 2);
46115
46115
  };
46116
46116
  }
46117
- }), w0 = /* @__PURE__ */ $t(dE, [["__scopeId", "data-v-762d98b8"]]), ME = Object.assign(w0, {
46117
+ }), w0 = /* @__PURE__ */ $t(dE, [["__scopeId", "data-v-18e8aec0"]]), ME = Object.assign(w0, {
46118
46118
  install(s) {
46119
46119
  s.component("OSearchInput", w0);
46120
46120
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus/components",
3
- "version": "0.0.1-rc.26",
3
+ "version": "0.0.1-rc.27",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -32,8 +32,8 @@
32
32
  "dayjs": "^1.11.13",
33
33
  "video.js": "^8.23.7",
34
34
  "vue-dompurify-html": "^3.1.2",
35
- "@opendesign-plus/styles": "0.0.1-rc.2",
36
- "@opendesign-plus/composables": "0.0.1-rc.8"
35
+ "@opendesign-plus/composables": "0.0.1-rc.8",
36
+ "@opendesign-plus/styles": "0.0.1-rc.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@vitejs/plugin-vue": "^5.1.0",
@@ -214,7 +214,7 @@ const handleClear = () => {
214
214
  const handleSuggestClick = (item: OSearchRecommendItem) => {
215
215
  emit('recommend-click', item);
216
216
  innerValue.value = item.key;
217
- runSearch();
217
+ runSearch(item.key ?? '');
218
218
  };
219
219
 
220
220
  const handleRecommendClick = (val: string) => {
@@ -230,7 +230,7 @@ const handleSuggestClick = (item: OSearchRecommendItem) => {
230
230
  emit('recommend-click', item);
231
231
  suppressNextInput = true;
232
232
  innerValue.value = item.key;
233
- runSearch();
233
+ runSearch(item.key ?? '');
234
234
  };
235
235
 
236
236
  const handleOnestepClick = (item: OSearchRecommendItem) => {
@@ -267,7 +267,7 @@ const handleSuggestListClick = (val: string) => {
267
267
  emit('suggest-list-click', text);
268
268
  suppressNextInput = true;
269
269
  innerValue.value = text;
270
- runSearch();
270
+ runSearch(text);
271
271
  };
272
272
 
273
273
  const onPreviewChange = (visible: boolean) => {