@bagelink/vue 1.6.51 → 1.6.53

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,9 +28583,9 @@ 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), {
@@ -28599,7 +28599,7 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28599
28599
  size: "0.8",
28600
28600
  style: { "margin-bottom": "-0.1rem" }
28601
28601
  }, null, 8, ["name"]),
28602
- createElementVNode("p", _hoisted_3$7, toDisplayString(e.value), 1),
28602
+ createElementVNode("p", _hoisted_3$7, toDisplayString(e.label), 1),
28603
28603
  createVNode(unref(Icon_default), {
28604
28604
  name: "keyboard_arrow_down",
28605
28605
  size: "0.8",
@@ -28608,8 +28608,8 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28608
28608
  ]),
28609
28609
  _: 2
28610
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
+ default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.children, (e) => (openBlock(), createBlock(unref(Btn_default), {
28612
+ key: e.label,
28613
28613
  thin: "",
28614
28614
  flat: "",
28615
28615
  to: e.to,
@@ -28619,7 +28619,7 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28619
28619
  name: e.icon,
28620
28620
  size: "0.8",
28621
28621
  style: { "margin-bottom": "-0.1rem" }
28622
- }, null, 8, ["name"]), createElementVNode("p", _hoisted_4$5, toDisplayString(e.value), 1)]),
28622
+ }, null, 8, ["name"]), createElementVNode("p", _hoisted_4$5, toDisplayString(e.label), 1)]),
28623
28623
  _: 2
28624
28624
  }, 1032, ["to"]))), 128))]),
28625
28625
  _: 2
@@ -28634,11 +28634,11 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28634
28634
  name: e.icon,
28635
28635
  size: "0.9",
28636
28636
  style: { "margin-bottom": "-0.1rem" }
28637
- }, null, 8, ["name"]), createElementVNode("p", _hoisted_5$5, toDisplayString(e.value), 1)]),
28637
+ }, null, 8, ["name"]), createElementVNode("p", _hoisted_5$5, toDisplayString(e.label), 1)]),
28638
28638
  _: 2
28639
28639
  }, 1032, ["to"]))], 64))), 128))]), renderSlot(e.$slots, "end", {}, void 0, !0)]));
28640
28640
  }
28641
- }), [["__scopeId", "data-v-8930b290"]]), _hoisted_1$16 = {
28641
+ }), [["__scopeId", "data-v-2ef6ae47"]]), _hoisted_1$16 = {
28642
28642
  key: 0,
28643
28643
  class: "tool-bar w-100p flex space-between sticky z-3 py-1"
28644
28644
  }, Modal_default = /* @__PURE__ */ defineComponent({
@@ -28984,7 +28984,7 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28984
28984
  key: e.label,
28985
28985
  class: "nav-button",
28986
28986
  to: e.to,
28987
- onClick: (t) => e.onClick?.()
28987
+ onClick: (t) => e.action?.()
28988
28988
  }, {
28989
28989
  default: withCtx(() => [createVNode(unref(Icon_default), { icon: e.icon }, null, 8, ["icon"]), createElementVNode("div", _hoisted_4$4, toDisplayString(e.label), 1)]),
28990
28990
  _: 2
@@ -28992,14 +28992,14 @@ var _hoisted_1$19 = ["width", "height"], _hoisted_2$11 = [
28992
28992
  key: e.label,
28993
28993
  class: "nav-button",
28994
28994
  to: e.to,
28995
- onClick: (t) => e.onClick?.()
28995
+ onClick: (t) => e.action?.()
28996
28996
  }, {
28997
28997
  default: withCtx(() => [createVNode(unref(Icon_default), { icon: e.icon }, null, 8, ["icon"]), createElementVNode("div", _hoisted_6$4, toDisplayString(e.label), 1)]),
28998
28998
  _: 2
28999
28999
  }, 1032, ["to", "onClick"]))), 128)), renderSlot(e.$slots, "floor", {}, void 0, !0)])])
29000
29000
  ], 2));
29001
29001
  }
29002
- }), [["__scopeId", "data-v-e345777d"]]), _hoisted_1$12 = { class: "page-top" }, _hoisted_2$7 = { class: "top-title m-0" }, PageTitle_default = /* @__PURE__ */ defineComponent({
29002
+ }), [["__scopeId", "data-v-0092c42d"]]), _hoisted_1$12 = { class: "page-top" }, _hoisted_2$7 = { class: "top-title m-0" }, PageTitle_default = /* @__PURE__ */ defineComponent({
29003
29003
  __name: "PageTitle",
29004
29004
  props: { value: {
29005
29005
  type: String,