@hardimpactdev/craft-ui 0.0.12 → 0.0.13
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/craft-ui.js
CHANGED
|
@@ -29711,7 +29711,9 @@ const nV = {
|
|
|
29711
29711
|
}), fV = /* @__PURE__ */ b({
|
|
29712
29712
|
__name: "NavUser",
|
|
29713
29713
|
props: {
|
|
29714
|
-
user: {}
|
|
29714
|
+
user: {},
|
|
29715
|
+
onSettings: { type: Function },
|
|
29716
|
+
onLogout: { type: Function }
|
|
29715
29717
|
},
|
|
29716
29718
|
setup(e) {
|
|
29717
29719
|
return (t, n) => (v(), x(l(Bb), null, {
|
|
@@ -29742,7 +29744,11 @@ const nV = {
|
|
|
29742
29744
|
"side-offset": 4
|
|
29743
29745
|
}, {
|
|
29744
29746
|
default: g(() => [
|
|
29745
|
-
I(hb, {
|
|
29747
|
+
I(hb, {
|
|
29748
|
+
user: e.user,
|
|
29749
|
+
"on-settings": e.onSettings,
|
|
29750
|
+
"on-logout": e.onLogout
|
|
29751
|
+
}, null, 8, ["user", "on-settings", "on-logout"])
|
|
29746
29752
|
]),
|
|
29747
29753
|
_: 1
|
|
29748
29754
|
}, 8, ["side"])
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { User } from '../types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
user: User;
|
|
4
|
+
onSettings?: () => void;
|
|
5
|
+
onLogout?: () => void;
|
|
4
6
|
};
|
|
5
7
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
6
8
|
export default _default;
|