@finema/core 2.12.1 → 2.12.2
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
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<NuxtLoadingIndicator :color="coreConfig.color" />
|
|
3
|
-
<UApp
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<
|
|
8
|
-
</
|
|
2
|
+
<NuxtLoadingIndicator :color="coreConfig.color" />
|
|
3
|
+
<UApp
|
|
4
|
+
:locale="th"
|
|
5
|
+
:toaster="toaster"
|
|
6
|
+
>
|
|
7
|
+
<slot />
|
|
8
|
+
</UApp>
|
|
9
|
+
<DevOnly>
|
|
10
|
+
<DevToolsWindow />
|
|
11
|
+
</DevOnly>
|
|
9
12
|
</template>
|
|
10
13
|
|
|
11
14
|
<script setup>
|
|
@@ -14,6 +17,9 @@ import UApp from "#ui/components/App";
|
|
|
14
17
|
import { useHead } from "#imports";
|
|
15
18
|
import { useCoreConfig } from "#core/composables/useConfig";
|
|
16
19
|
import DevToolsWindow from "#core/components/DevToolsWindow/index.vue";
|
|
20
|
+
defineProps({
|
|
21
|
+
toaster: { type: null, required: false }
|
|
22
|
+
});
|
|
17
23
|
const coreConfig = useCoreConfig();
|
|
18
24
|
useHead({
|
|
19
25
|
titleTemplate: (titleChunk) => {
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import type { ToasterProps } from '@nuxt/ui';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
toaster?: ToasterProps | null;
|
|
4
|
+
};
|
|
1
5
|
declare var __VLS_9: {};
|
|
2
6
|
type __VLS_Slots = {} & {
|
|
3
7
|
default?: (props: typeof __VLS_9) => any;
|
|
4
8
|
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
10
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
11
|
export default _default;
|
|
8
12
|
type __VLS_WithSlots<T, S> = T & {
|