intelliwaketssveltekitv25 0.1.127 → 0.1.128
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/Paginator.svelte
CHANGED
|
@@ -17,11 +17,13 @@
|
|
|
17
17
|
page = $bindable(),
|
|
18
18
|
pageCount,
|
|
19
19
|
verbose = false,
|
|
20
|
-
updateQueryParams = false
|
|
20
|
+
updateQueryParams = false,
|
|
21
|
+
class: clazz = ''
|
|
21
22
|
}: (Pick<IPaginatorResponse, 'page' | 'pageCount'> &
|
|
22
23
|
{
|
|
23
24
|
verbose?: boolean
|
|
24
25
|
updateQueryParams?: boolean | string
|
|
26
|
+
class?: string
|
|
25
27
|
}) = $props()
|
|
26
28
|
|
|
27
29
|
type TDisplay = {
|
|
@@ -108,7 +110,7 @@
|
|
|
108
110
|
</script>
|
|
109
111
|
|
|
110
112
|
{#if display.pageCount > 1}
|
|
111
|
-
<div bind:clientWidth class="px-1 flex flex-row justify-center gap-2 relative">
|
|
113
|
+
<div bind:clientWidth class="px-1 flex flex-row justify-center gap-2 relative {clazz}">
|
|
112
114
|
{#if display.backNextFastCount}
|
|
113
115
|
<button type="button"
|
|
114
116
|
class="btnClean px-2"
|
|
@@ -2,6 +2,7 @@ import { type IPaginatorResponse } from '@solidbasisventures/intelliwaketsfounda
|
|
|
2
2
|
type $$ComponentProps = (Pick<IPaginatorResponse, 'page' | 'pageCount'> & {
|
|
3
3
|
verbose?: boolean;
|
|
4
4
|
updateQueryParams?: boolean | string;
|
|
5
|
+
class?: string;
|
|
5
6
|
});
|
|
6
7
|
declare const Paginator: import("svelte").Component<$$ComponentProps, {}, "page">;
|
|
7
8
|
type Paginator = ReturnType<typeof Paginator>;
|