@bagelink/vue 1.6.53 → 1.6.61

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.mjs CHANGED
@@ -28591,6 +28591,7 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28591
28591
  trigger: withCtx(({ show: t }) => [createVNode(unref(Btn_default), {
28592
28592
  thin: "",
28593
28593
  flat: "",
28594
+ class: normalizeClass(e.class),
28594
28595
  onClick: (e) => t()
28595
28596
  }, {
28596
28597
  default: withCtx(() => [
@@ -28607,13 +28608,14 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28607
28608
  })
28608
28609
  ]),
28609
28610
  _: 2
28610
- }, 1032, ["onClick"])]),
28611
+ }, 1032, ["class", "onClick"])]),
28611
28612
  default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.children, (e) => (openBlock(), createBlock(unref(Btn_default), {
28612
28613
  key: e.label,
28613
28614
  thin: "",
28614
28615
  flat: "",
28615
28616
  to: e.to,
28616
- class: "block m_px-025"
28617
+ class: normalizeClass([e.class, "block m_px-025"]),
28618
+ onClick: (t) => e.action?.()
28617
28619
  }, {
28618
28620
  default: withCtx(() => [createVNode(unref(Icon_default), {
28619
28621
  name: e.icon,
@@ -28621,14 +28623,19 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28621
28623
  style: { "margin-bottom": "-0.1rem" }
28622
28624
  }, null, 8, ["name"]), createElementVNode("p", _hoisted_4$5, toDisplayString(e.label), 1)]),
28623
28625
  _: 2
28624
- }, 1032, ["to"]))), 128))]),
28626
+ }, 1032, [
28627
+ "to",
28628
+ "class",
28629
+ "onClick"
28630
+ ]))), 128))]),
28625
28631
  _: 2
28626
28632
  }, 1032, ["value"])) : (openBlock(), createBlock(unref(Btn_default), {
28627
28633
  key: 1,
28628
28634
  thin: "",
28629
28635
  flat: "",
28630
28636
  to: e.to,
28631
- class: "m_px-025"
28637
+ class: normalizeClass([e.class, "m_px-025"]),
28638
+ onClick: (t) => e.action?.()
28632
28639
  }, {
28633
28640
  default: withCtx(() => [createVNode(unref(Icon_default), {
28634
28641
  name: e.icon,
@@ -28636,9 +28643,13 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28636
28643
  style: { "margin-bottom": "-0.1rem" }
28637
28644
  }, null, 8, ["name"]), createElementVNode("p", _hoisted_5$5, toDisplayString(e.label), 1)]),
28638
28645
  _: 2
28639
- }, 1032, ["to"]))], 64))), 128))]), renderSlot(e.$slots, "end", {}, void 0, !0)]));
28646
+ }, 1032, [
28647
+ "to",
28648
+ "class",
28649
+ "onClick"
28650
+ ]))], 64))), 128))]), renderSlot(e.$slots, "end", {}, void 0, !0)]));
28640
28651
  }
28641
- }), [["__scopeId", "data-v-2ef6ae47"]]), _hoisted_1$16 = {
28652
+ }), [["__scopeId", "data-v-52c0b5d5"]]), _hoisted_1$16 = {
28642
28653
  key: 0,
28643
28654
  class: "tool-bar w-100p flex space-between sticky z-3 py-1"
28644
28655
  }, Modal_default = /* @__PURE__ */ defineComponent({