@shwfed/nuxt 0.11.8 → 0.11.9
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
|
@@ -261,7 +261,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
261
261
|
style?: string | undefined;
|
|
262
262
|
}>) => any) | undefined;
|
|
263
263
|
"onInitial-value-ready"?: (() => any) | undefined;
|
|
264
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Record<string, (_props
|
|
264
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Record<string, (_props: FieldsSlotProps) => unknown>>;
|
|
265
265
|
type __VLS_WithSlots<T, S> = T & {
|
|
266
266
|
new (): {
|
|
267
267
|
$slots: S;
|
|
@@ -25,6 +25,12 @@ function handleConfigUpdate(config2) {
|
|
|
25
25
|
function handleInitialValueReady() {
|
|
26
26
|
emit("initial-value-ready");
|
|
27
27
|
}
|
|
28
|
+
function requireSlotProps(slotProps) {
|
|
29
|
+
if (!slotProps) {
|
|
30
|
+
throw new TypeError("missing slot props");
|
|
31
|
+
}
|
|
32
|
+
return slotProps;
|
|
33
|
+
}
|
|
28
34
|
const fieldsRef = ref(null);
|
|
29
35
|
defineExpose(new Proxy({}, {
|
|
30
36
|
get(_target, property) {
|
|
@@ -89,7 +95,7 @@ export {
|
|
|
89
95
|
>
|
|
90
96
|
<slot
|
|
91
97
|
:name="slotName"
|
|
92
|
-
v-bind="slotProps
|
|
98
|
+
v-bind="requireSlotProps(slotProps)"
|
|
93
99
|
/>
|
|
94
100
|
</template>
|
|
95
101
|
</UiFields>
|
|
@@ -261,7 +261,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
261
261
|
style?: string | undefined;
|
|
262
262
|
}>) => any) | undefined;
|
|
263
263
|
"onInitial-value-ready"?: (() => any) | undefined;
|
|
264
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Record<string, (_props
|
|
264
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Record<string, (_props: FieldsSlotProps) => unknown>>;
|
|
265
265
|
type __VLS_WithSlots<T, S> = T & {
|
|
266
266
|
new (): {
|
|
267
267
|
$slots: S;
|