intelliwaketssveltekitv25 0.1.41 → 0.1.42
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.
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
header,
|
|
30
30
|
list,
|
|
31
31
|
footer,
|
|
32
|
-
|
|
32
|
+
detail
|
|
33
33
|
}: {
|
|
34
34
|
pageRoute: string
|
|
35
35
|
listItems?: TListGroupItem[] | null
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
header?: Snippet
|
|
51
51
|
list?: Snippet
|
|
52
52
|
footer?: Snippet
|
|
53
|
-
|
|
53
|
+
detail?: Snippet
|
|
54
54
|
} = $props()
|
|
55
55
|
|
|
56
56
|
let pathAnalyzer = $derived(browser ? new PathAnalyzer(pageStore, pageRoute) : null)
|
|
@@ -120,8 +120,8 @@
|
|
|
120
120
|
<div
|
|
121
121
|
class='relative grid grid-rows-1 md:relative overflow-hidden print:overflow-visible max-md:h-full max-md:w-full'
|
|
122
122
|
transition:fly|local={!animate ? undefined : {duration: 300, x: 100, opacity: 0, easing: quintOut}}>
|
|
123
|
-
{#if
|
|
124
|
-
{@render
|
|
123
|
+
{#if detail}
|
|
124
|
+
{@render detail()}
|
|
125
125
|
{/if}
|
|
126
126
|
</div>
|
|
127
127
|
{/if}
|
|
@@ -21,7 +21,7 @@ type $$ComponentProps = {
|
|
|
21
21
|
header?: Snippet;
|
|
22
22
|
list?: Snippet;
|
|
23
23
|
footer?: Snippet;
|
|
24
|
-
|
|
24
|
+
detail?: Snippet;
|
|
25
25
|
};
|
|
26
26
|
declare const MasterDetailLayout: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
27
27
|
type MasterDetailLayout = ReturnType<typeof MasterDetailLayout>;
|