@bagelink/vue 1.15.47 → 1.15.51

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
@@ -32973,17 +32973,20 @@ var K8 = /* @__PURE__ */ Ce({
32973
32973
  emits: ["message", "load"],
32974
32974
  setup(e, { expose: t, emit: n }) {
32975
32975
  const a = n, r = H();
32976
- function o(s) {
32977
- a("message", s.data);
32976
+ function o(u) {
32977
+ a("message", u.data);
32978
32978
  }
32979
- function i(s) {
32980
- s.source === r.value?.contentWindow && o(s);
32979
+ function i(u) {
32980
+ u.source === r.value?.contentWindow && o(u);
32981
32981
  }
32982
32982
  return Ye(() => {
32983
32983
  window.addEventListener("message", i);
32984
32984
  }), Ja(() => {
32985
32985
  window.removeEventListener("message", i);
32986
- }), t({ contentWindow: () => r.value?.contentWindow }), (s, u) => (w(), E("iframe", {
32986
+ }), t({
32987
+ contentWindow: () => r.value?.contentWindow,
32988
+ element: () => r.value ?? null
32989
+ }), (u, d) => (w(), E("iframe", {
32987
32990
  ref_key: "iframe",
32988
32991
  ref: r,
32989
32992
  src: e.src,
@@ -33001,7 +33004,7 @@ var K8 = /* @__PURE__ */ Ce({
33001
33004
  display: "block",
33002
33005
  border: "none"
33003
33006
  },
33004
- onLoad: u[0] || (u[0] = (d) => a("load", d))
33007
+ onLoad: d[0] || (d[0] = (c) => a("load", c))
33005
33008
  }, null, 40, J8));
33006
33009
  }
33007
33010
  }), CB = Z8;
@@ -39180,52 +39183,56 @@ var _M = { key: 0 }, yM = /* @__PURE__ */ Ce({
39180
39183
  });
39181
39184
  return (o, i) => {
39182
39185
  const l = en("ripple");
39183
- return w(), E("div", EM, [Je((w(), ie(Wt(n.value), pt(r.value, {
39184
- class: ["flex flex-grow-1 gap-05 list-item", {
39185
- "py-1": !t.thin,
39186
- "py-05": t.thin,
39187
- "px-1": !t.fullWidth,
39188
- "px-0": t.fullWidth
39189
- }],
39190
- onClick: e.onClick
39191
- }), {
39192
- default: _e(() => [
39193
- e.src || e.showAvatar ? (w(), ie(_(f_), {
39194
- key: 0,
39195
- style: { "flex-basis": "1" },
39196
- name: e.title,
39197
- src: e.src,
39198
- size: 40
39199
- }, null, 8, ["name", "src"])) : q("", !0),
39200
- e.icon ? (w(), ie(_(Ne), {
39201
- key: 1,
39202
- size: "1.2",
39203
- class: "color-primary",
39204
- icon: e.icon
39205
- }, null, 8, ["icon"])) : q("", !0),
39206
- I("div", CM, [
39207
- e.lead ? (w(), E("p", {
39186
+ return w(), E("div", EM, [
39187
+ ke(o.$slots, "start"),
39188
+ Je((w(), ie(Wt(n.value), pt(r.value, {
39189
+ class: ["flex flex-grow-1 gap-05 list-item", {
39190
+ "py-1": !t.thin,
39191
+ "py-05": t.thin,
39192
+ "px-1": !t.fullWidth,
39193
+ "px-0": t.fullWidth
39194
+ }],
39195
+ onClick: e.onClick
39196
+ }), {
39197
+ default: _e(() => [
39198
+ e.src || e.showAvatar ? (w(), ie(_(f_), {
39208
39199
  key: 0,
39209
- class: le(["txt10 m-0 p-0 txt-gray", { ellipsis: e.ellipsis }])
39210
- }, [Ve(re(e.lead) + " ", 1), ke(o.$slots, "lead")], 2)) : q("", !0),
39211
- I("p", { class: le(["m-0 p-0 line-height-14 pb-025 item-title", { "ellipsis-1": e.ellipsis }]) }, [Ve(re(e.title) + " ", 1), ke(o.$slots, "default")], 2),
39212
- e.subtitle ? (w(), E("p", {
39200
+ style: { "flex-basis": "1" },
39201
+ name: e.title,
39202
+ src: e.src,
39203
+ size: 40
39204
+ }, null, 8, ["name", "src"])) : q("", !0),
39205
+ e.icon ? (w(), ie(_(Ne), {
39213
39206
  key: 1,
39214
- class: le(["txt12 m-0 m-0 py-0 ps-0 pe-1-5 opacity-7 me-2", { "ellipsis-1": e.ellipsis }])
39215
- }, [Ve(re(e.subtitle) + " ", 1), ke(o.$slots, "subtitle")], 2)) : q("", !0)
39207
+ size: "1.2",
39208
+ class: "color-primary",
39209
+ icon: e.icon
39210
+ }, null, 8, ["icon"])) : q("", !0),
39211
+ I("div", CM, [
39212
+ e.lead ? (w(), E("p", {
39213
+ key: 0,
39214
+ class: le(["txt10 m-0 p-0 txt-gray", { ellipsis: e.ellipsis }])
39215
+ }, [Ve(re(e.lead) + " ", 1), ke(o.$slots, "lead")], 2)) : q("", !0),
39216
+ I("p", { class: le(["m-0 p-0 line-height-14 pb-025 item-title", { "ellipsis-1": e.ellipsis }]) }, [Ve(re(e.title) + " ", 1), ke(o.$slots, "default")], 2),
39217
+ e.subtitle ? (w(), E("p", {
39218
+ key: 1,
39219
+ class: le(["txt12 m-0 m-0 py-0 ps-0 pe-1-5 opacity-7 me-2", { "ellipsis-1": e.ellipsis }])
39220
+ }, [Ve(re(e.subtitle) + " ", 1), ke(o.$slots, "subtitle")], 2)) : q("", !0)
39221
+ ]),
39222
+ i[0] || (i[0] = I("div", { class: "flex-grow-1" }, null, -1))
39216
39223
  ]),
39217
- i[0] || (i[0] = I("div", { class: "flex-grow-1" }, null, -1))
39218
- ]),
39219
- _: 3
39220
- }, 16, ["class", "onClick"])), [[l, e.ripple && a.value]]), ke(o.$slots, "end", {}, () => [e.iconEnd ? (w(), ie(_(Ne), {
39221
- key: 0,
39222
- icon: e.iconEnd,
39223
- class: "transition-400"
39224
- }, null, 8, ["icon"])) : q("", !0), e.end ? (w(), E("p", {
39225
- key: 1,
39226
- class: le(["txt12 m-0 py-0 ps-0 pe-1-5 opacity-7", { "ellipsis-1": e.ellipsis }]),
39227
- textContent: re(e.end)
39228
- }, null, 10, xM)) : q("", !0)])]);
39224
+ _: 3
39225
+ }, 16, ["class", "onClick"])), [[l, e.ripple && a.value]]),
39226
+ ke(o.$slots, "end", {}, () => [e.iconEnd ? (w(), ie(_(Ne), {
39227
+ key: 0,
39228
+ icon: e.iconEnd,
39229
+ class: "transition-400"
39230
+ }, null, 8, ["icon"])) : q("", !0), e.end ? (w(), E("p", {
39231
+ key: 1,
39232
+ class: le(["txt12 m-0 py-0 ps-0 pe-1-5 opacity-7", { "ellipsis-1": e.ellipsis }]),
39233
+ textContent: re(e.end)
39234
+ }, null, 10, xM)) : q("", !0)])
39235
+ ]);
39229
39236
  };
39230
39237
  }
39231
39238
  }), Ca = TM, kM = {}, AM = { class: "list-wrap bgl_card thin grid overflow-hidden pt-0 pb-05 px-0 m_pb-0" }, DM = { class: "p-0" }, LM = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };