@deskhero/dh_ui 1.48.6 → 1.48.7

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/dh_ui.es.js CHANGED
@@ -24171,7 +24171,10 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
24171
24171
  var DhDropdownMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-3a3f37c0"]]);
24172
24172
  var DropdownMenu_vue_vue_type_style_index_0_scoped_true_lang = "";
24173
24173
  const _hoisted_1$h = ["data-e2e", "onClick"];
24174
- const _hoisted_2$g = ["onClick"];
24174
+ const _hoisted_2$g = {
24175
+ key: 1,
24176
+ class: "center-vertical"
24177
+ };
24175
24178
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
24176
24179
  __name: "DropdownMenu",
24177
24180
  props: {
@@ -24246,8 +24249,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
24246
24249
  item.url ? (openBlock(), createBlock(_component_router_link, {
24247
24250
  key: 0,
24248
24251
  class: "center-vertical",
24249
- to: { path: item.url },
24250
- onClick: ($event) => itemSelected(item)
24252
+ to: { path: item.url }
24251
24253
  }, {
24252
24254
  default: withCtx(() => [
24253
24255
  createVNode(DhDropdownMenuItem, {
@@ -24257,24 +24259,20 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
24257
24259
  }, null, 8, ["icon-size", "item", "text-ellipsis-style"])
24258
24260
  ]),
24259
24261
  _: 2
24260
- }, 1032, ["to", "onClick"])) : (openBlock(), createElementBlock("div", {
24261
- key: 1,
24262
- class: "center-vertical",
24263
- onClick: ($event) => itemSelected(item)
24264
- }, [
24262
+ }, 1032, ["to"])) : (openBlock(), createElementBlock("div", _hoisted_2$g, [
24265
24263
  createVNode(DhDropdownMenuItem, {
24266
24264
  "icon-size": __props.iconSize,
24267
24265
  item,
24268
24266
  "text-ellipsis-style": __props.textEllipsisStyle
24269
24267
  }, null, 8, ["icon-size", "item", "text-ellipsis-style"])
24270
- ], 8, _hoisted_2$g))
24268
+ ]))
24271
24269
  ], 8, _hoisted_1$h);
24272
24270
  }), 128))
24273
24271
  ], 4);
24274
24272
  };
24275
24273
  }
24276
24274
  });
24277
- var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-2fa20f7b"]]);
24275
+ var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-50b04dea"]]);
24278
24276
  var Error_vue_vue_type_style_index_0_lang = "";
24279
24277
  const _hoisted_1$g = {
24280
24278
  key: 0,