@hostlink/nuxt-light 1.46.7 → 1.48.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.
- package/dist/module.json +1 -1
- package/dist/runtime/components/l-app-main.d.vue.ts +5 -1
- package/dist/runtime/components/l-app-main.vue +2 -0
- package/dist/runtime/components/l-app-main.vue.d.ts +5 -1
- package/dist/runtime/components/l-app.d.vue.ts +4 -0
- package/dist/runtime/components/l-app.vue +8 -0
- package/dist/runtime/components/l-app.vue.d.ts +4 -0
- package/dist/runtime/components/l-page.vue +1 -8
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
declare var __VLS_30: {}, __VLS_180: {};
|
|
1
|
+
declare var __VLS_30: {}, __VLS_180: {}, __VLS_267: {}, __VLS_273: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
header?: (props: typeof __VLS_30) => any;
|
|
4
4
|
} & {
|
|
5
5
|
'user-menu'?: (props: typeof __VLS_180) => any;
|
|
6
|
+
} & {
|
|
7
|
+
'page-top'?: (props: typeof __VLS_267) => any;
|
|
8
|
+
} & {
|
|
9
|
+
'page-bottom'?: (props: typeof __VLS_273) => any;
|
|
6
10
|
};
|
|
7
11
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
12
|
logout: (...args: any[]) => void;
|
|
@@ -383,7 +383,9 @@ const onLogout = async () => {
|
|
|
383
383
|
</template>
|
|
384
384
|
</router-view -->
|
|
385
385
|
<NuxtLoadingIndicator />
|
|
386
|
+
<slot name="page-top"></slot>
|
|
386
387
|
<NuxtPage />
|
|
388
|
+
<slot name="page-bottom"></slot>
|
|
387
389
|
</q-page-container>
|
|
388
390
|
<q-footer bordered v-if="style.footer">
|
|
389
391
|
<q-item>
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
declare var __VLS_30: {}, __VLS_180: {};
|
|
1
|
+
declare var __VLS_30: {}, __VLS_180: {}, __VLS_267: {}, __VLS_273: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
header?: (props: typeof __VLS_30) => any;
|
|
4
4
|
} & {
|
|
5
5
|
'user-menu'?: (props: typeof __VLS_180) => any;
|
|
6
|
+
} & {
|
|
7
|
+
'page-top'?: (props: typeof __VLS_267) => any;
|
|
8
|
+
} & {
|
|
9
|
+
'page-bottom'?: (props: typeof __VLS_273) => any;
|
|
6
10
|
};
|
|
7
11
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
12
|
logout: (...args: any[]) => void;
|
|
@@ -91,5 +91,13 @@ if (app.value.facebookAppId) {
|
|
|
91
91
|
<slot name="user-menu"></slot>
|
|
92
92
|
</template>
|
|
93
93
|
|
|
94
|
+
<template #page-top>
|
|
95
|
+
<slot name="page-top"></slot>
|
|
96
|
+
</template>
|
|
97
|
+
|
|
98
|
+
<template #page-bottom>
|
|
99
|
+
<slot name="page-bottom"></slot>
|
|
100
|
+
</template>
|
|
101
|
+
|
|
94
102
|
</l-app-main>
|
|
95
103
|
</template>
|
|
@@ -46,13 +46,7 @@ const localClass = computed(() => {
|
|
|
46
46
|
</script>
|
|
47
47
|
|
|
48
48
|
<template>
|
|
49
|
-
<q-page :padding="padding">
|
|
50
|
-
<!-- q-breadcrumbs>
|
|
51
|
-
<q-breadcrumbs-el icon="home" to="/" />
|
|
52
|
-
<q-breadcrumbs-el label="Permission" to="/Permission" />
|
|
53
|
-
<q-breadcrumbs-el label="Build" />
|
|
54
|
-
</q-breadcrumbs -->
|
|
55
|
-
|
|
49
|
+
<q-page :padding="padding" class="q-pt-sm">
|
|
56
50
|
<q-toolbar v-if="showToolbar">
|
|
57
51
|
<l-back-btn v-if="backBtn" dense />
|
|
58
52
|
<l-add-btn v-if="addBtn" dense />
|
|
@@ -66,6 +60,5 @@ const localClass = computed(() => {
|
|
|
66
60
|
<slot></slot>
|
|
67
61
|
</div>
|
|
68
62
|
|
|
69
|
-
|
|
70
63
|
</q-page>
|
|
71
64
|
</template>
|