@maltjoy/core-vue 5.4.1 → 5.5.0
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TJoyAvatarSizes } from './JoyAvatar.types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
size?: TJoyAvatarSizes | undefined;
|
|
4
4
|
/** Display the initials based on Firstname and Lastname */
|
|
5
5
|
fullName?: string | undefined;
|
|
@@ -56,5 +56,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
square: boolean;
|
|
57
57
|
placeholder: import("@maltjoy/icons").JoyIconsId;
|
|
58
58
|
showLetters: boolean;
|
|
59
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
60
|
+
/** Inject the image here. Use any Nuxt or custom wrapper to better handle performances. */
|
|
61
|
+
default(): any;
|
|
62
|
+
}> & {
|
|
63
|
+
/** Inject the image here. Use any Nuxt or custom wrapper to better handle performances. */
|
|
64
|
+
default(): any;
|
|
65
|
+
}>;
|
|
60
66
|
export default _default;
|
|
67
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
68
|
+
new (): {
|
|
69
|
+
$slots: S;
|
|
70
|
+
};
|
|
71
|
+
};
|
package/dist/core-vue.js
CHANGED
|
@@ -452,21 +452,24 @@ const Go = { class: "joy-admin-banner" }, Yo = { class: "joy-admin-banner__label
|
|
|
452
452
|
color: "neutral-50",
|
|
453
453
|
size: i.value
|
|
454
454
|
}, null, 8, ["name", "size"])) : w("", !0),
|
|
455
|
-
u
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
455
|
+
_(u.$slots, "default", {}, () => [
|
|
456
|
+
u.photoUrl ? (c(), v("img", {
|
|
457
|
+
key: 0,
|
|
458
|
+
class: "joy-avatar__img",
|
|
459
|
+
src: u.photoUrl,
|
|
460
|
+
title: u.fullName,
|
|
461
|
+
alt: u.fullName || "",
|
|
462
|
+
loading: u.loading
|
|
463
|
+
}, null, 8, Qo)) : w("", !0)
|
|
464
|
+
], !0),
|
|
465
|
+
u.fullName && u.showLetters ? (c(), v(H, { key: 1 }, [
|
|
463
466
|
F(J(d.value), 1)
|
|
464
467
|
], 64)) : w("", !0),
|
|
465
|
-
u.totalNumber ? (c(), v(H, { key:
|
|
468
|
+
u.totalNumber ? (c(), v(H, { key: 2 }, [
|
|
466
469
|
F(J("+" + u.totalNumber), 1)
|
|
467
470
|
], 64)) : w("", !0)
|
|
468
471
|
]),
|
|
469
|
-
_:
|
|
472
|
+
_: 3
|
|
470
473
|
}, 16, ["title", "class"])),
|
|
471
474
|
u.profile === "strategy" ? (c(), v("span", en, [
|
|
472
475
|
(c(), v("svg", {
|
|
@@ -484,7 +487,7 @@ const Go = { class: "joy-admin-banner" }, Yo = { class: "joy-admin-banner__label
|
|
|
484
487
|
])) : w("", !0)
|
|
485
488
|
], 2));
|
|
486
489
|
}
|
|
487
|
-
}), nn = /* @__PURE__ */ x(on, [["__scopeId", "data-v-
|
|
490
|
+
}), nn = /* @__PURE__ */ x(on, [["__scopeId", "data-v-d71c0a84"]]), ln = /* @__PURE__ */ B({
|
|
488
491
|
__name: "VJoyAvatarsList",
|
|
489
492
|
props: {
|
|
490
493
|
/** Renders a compact list of avatars */
|