@bagelink/vue 1.6.51 → 1.6.57

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
@@ -28029,7 +28029,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
28029
28029
  key: t,
28030
28030
  to: e.to,
28031
28031
  class: "m_h-auto",
28032
- onClick: e.onClick
28032
+ onClick: e.action
28033
28033
  }, {
28034
28034
  default: withCtx(() => [createVNode(unref(Icon_default), {
28035
28035
  icon: e.icon,
@@ -28043,7 +28043,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
28043
28043
  _: 3
28044
28044
  }));
28045
28045
  }
28046
- }), [["__scopeId", "data-v-2227f9cc"]]), Layout_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
28046
+ }), [["__scopeId", "data-v-be4d709d"]]), Layout_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
28047
28047
  __name: "Layout",
28048
28048
  props: {
28049
28049
  gap: { default: .5 },
@@ -28097,7 +28097,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
28097
28097
  (openBlock(!0), createElementBlock(Fragment, null, renderList(e.navLinks, (t, j) => withDirectives((openBlock(), createBlock(unref(Btn_default), mergeProps({ key: j }, { ref_for: !0 }, {
28098
28098
  ...t.to && { to: t.to },
28099
28099
  ...t.href && { href: t.href },
28100
- ...t.onClick && { onClick: t.onClick }
28100
+ ...t.action && { onClick: t.action }
28101
28101
  }, { class: "nav-button px-075 me-auto w-100" }), {
28102
28102
  default: withCtx(() => [createVNode(unref(Icon_default), {
28103
28103
  icon: t.icon,
@@ -28124,7 +28124,7 @@ var Icon_default = /* @__PURE__ */ defineComponent({
28124
28124
  })], 2);
28125
28125
  };
28126
28126
  }
28127
- }), [["__scopeId", "data-v-64eb4823"]]), Skeleton_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
28127
+ }), [["__scopeId", "data-v-18e53f51"]]), Skeleton_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
28128
28128
  __name: "Skeleton",
28129
28129
  props: {
28130
28130
  count: { default: 1 },
@@ -28583,14 +28583,15 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28583
28583
  __name: "Menu",
28584
28584
  props: { items: {} },
28585
28585
  setup(e) {
28586
- return (e, j) => (openBlock(), createElementBlock("div", _hoisted_1$17, [createElementVNode("div", _hoisted_2$10, [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.items, (e) => (openBlock(), createElementBlock(Fragment, { key: e.value }, [e.items ? (openBlock(), createBlock(unref(Dropdown_default), {
28586
+ return (e, j) => (openBlock(), createElementBlock("div", _hoisted_1$17, [createElementVNode("div", _hoisted_2$10, [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.items, (e) => (openBlock(), createElementBlock(Fragment, { key: e.label }, [e.children ? (openBlock(), createBlock(unref(Dropdown_default), {
28587
28587
  key: 0,
28588
- value: e.value,
28588
+ value: e.label,
28589
28589
  iconEnd: "keyboard_arrow_down"
28590
28590
  }, {
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(() => [
@@ -28599,7 +28600,7 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28599
28600
  size: "0.8",
28600
28601
  style: { "margin-bottom": "-0.1rem" }
28601
28602
  }, null, 8, ["name"]),
28602
- createElementVNode("p", _hoisted_3$7, toDisplayString(e.value), 1),
28603
+ createElementVNode("p", _hoisted_3$7, toDisplayString(e.label), 1),
28603
28604
  createVNode(unref(Icon_default), {
28604
28605
  name: "keyboard_arrow_down",
28605
28606
  size: "0.8",
@@ -28607,38 +28608,48 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28607
28608
  })
28608
28609
  ]),
28609
28610
  _: 2
28610
- }, 1032, ["onClick"])]),
28611
- default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.items, (e) => (openBlock(), createBlock(unref(Btn_default), {
28612
- key: e.value,
28611
+ }, 1032, ["class", "onClick"])]),
28612
+ default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.children, (e) => (openBlock(), createBlock(unref(Btn_default), {
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,
28620
28622
  size: "0.8",
28621
28623
  style: { "margin-bottom": "-0.1rem" }
28622
- }, null, 8, ["name"]), createElementVNode("p", _hoisted_4$5, toDisplayString(e.value), 1)]),
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,
28635
28642
  size: "0.9",
28636
28643
  style: { "margin-bottom": "-0.1rem" }
28637
- }, null, 8, ["name"]), createElementVNode("p", _hoisted_5$5, toDisplayString(e.value), 1)]),
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-8930b290"]]), _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({
@@ -28984,7 +28995,7 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28984
28995
  key: e.label,
28985
28996
  class: "nav-button",
28986
28997
  to: e.to,
28987
- onClick: (t) => e.onClick?.()
28998
+ onClick: (t) => e.action?.()
28988
28999
  }, {
28989
29000
  default: withCtx(() => [createVNode(unref(Icon_default), { icon: e.icon }, null, 8, ["icon"]), createElementVNode("div", _hoisted_4$4, toDisplayString(e.label), 1)]),
28990
29001
  _: 2
@@ -28992,14 +29003,14 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28992
29003
  key: e.label,
28993
29004
  class: "nav-button",
28994
29005
  to: e.to,
28995
- onClick: (t) => e.onClick?.()
29006
+ onClick: (t) => e.action?.()
28996
29007
  }, {
28997
29008
  default: withCtx(() => [createVNode(unref(Icon_default), { icon: e.icon }, null, 8, ["icon"]), createElementVNode("div", _hoisted_6$4, toDisplayString(e.label), 1)]),
28998
29009
  _: 2
28999
29010
  }, 1032, ["to", "onClick"]))), 128)), renderSlot(e.$slots, "floor", {}, void 0, !0)])])
29000
29011
  ], 2));
29001
29012
  }
29002
- }), [["__scopeId", "data-v-e345777d"]]), _hoisted_1$12 = { class: "page-top" }, _hoisted_2$7 = { class: "top-title m-0" }, PageTitle_default = /* @__PURE__ */ defineComponent({
29013
+ }), [["__scopeId", "data-v-0092c42d"]]), _hoisted_1$12 = { class: "page-top" }, _hoisted_2$7 = { class: "top-title m-0" }, PageTitle_default = /* @__PURE__ */ defineComponent({
29003
29014
  __name: "PageTitle",
29004
29015
  props: { value: {
29005
29016
  type: String,