@dcodegroup-au/dsg-vue 1.0.4-next → 1.0.5-next
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/{DsgTablePerPage.vue_vue_type_style_index_0_lang-eTosSqko.cjs → DsgTablePerPage.vue_vue_type_style_index_0_lang-7nhJxEEm.cjs} +1206 -1200
- package/dist/{DsgTablePerPage.vue_vue_type_style_index_0_lang-gN_n5gOu.js → DsgTablePerPage.vue_vue_type_style_index_0_lang-CuY0Wrto.js} +10914 -9400
- package/dist/components/Elements/DsgInputSelect.vue.d.ts +1 -1
- package/dist/components/Table/DsgTable.vue.d.ts +6 -4
- package/dist/components/Table/DsgTablePagination.vue.d.ts +2 -2
- package/dist/components/Table/DsgTablePerPage.vue.d.ts +3 -2
- package/dist/dsg-vue.cjs +15 -21
- package/dist/dsg-vue.css +2 -2
- package/dist/dsg-vue.esm.js +4205 -5660
- package/dist/dsg-vue.table.cjs +2 -2
- package/dist/dsg-vue.table.esm.js +385 -381
- package/dist/table.d.ts +8 -8
- package/dist/tailwind/plugins/DsgGradientPlugin.d.ts +12 -0
- package/dist/tailwind/plugins/DsgShadowsPlugin.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { nextTick } from 'vue';
|
|
2
|
+
import { DsgTablePaginationProps } from './DsgTablePagination.vue';
|
|
2
3
|
import { DsgTableSearchFacet } from './DsgTableFilter.vue';
|
|
3
4
|
/**
|
|
4
5
|
* ------------------------------------------------
|
|
@@ -34,6 +35,7 @@ export interface DsgTableProps {
|
|
|
34
35
|
hasHeader?: boolean;
|
|
35
36
|
hasFooter?: boolean;
|
|
36
37
|
perPage?: number;
|
|
38
|
+
pagination?: DsgTablePaginationProps;
|
|
37
39
|
paginationPath?: string;
|
|
38
40
|
css?: {
|
|
39
41
|
[key: string]: string;
|
|
@@ -364,7 +366,7 @@ declare function __VLS_template(): {
|
|
|
364
366
|
}>, {}, {}, {}, {}, {}> | null;
|
|
365
367
|
pagination: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
366
368
|
pagination?: import('./DsgTablePagination.vue').DsgTablePagination | null;
|
|
367
|
-
} &
|
|
369
|
+
} & DsgTablePaginationProps> & Readonly<{
|
|
368
370
|
"onDsg-table:change-page"?: ((page: import('./DsgTablePagination.vue').Page) => any) | undefined;
|
|
369
371
|
"onUpdate:pagination"?: ((value: import('./DsgTablePagination.vue').DsgTablePagination | null) => any) | undefined;
|
|
370
372
|
}>, {
|
|
@@ -382,7 +384,7 @@ declare function __VLS_template(): {
|
|
|
382
384
|
Defaults: {};
|
|
383
385
|
}, Readonly<{
|
|
384
386
|
pagination?: import('./DsgTablePagination.vue').DsgTablePagination | null;
|
|
385
|
-
} &
|
|
387
|
+
} & DsgTablePaginationProps> & Readonly<{
|
|
386
388
|
"onDsg-table:change-page"?: ((page: import('./DsgTablePagination.vue').Page) => any) | undefined;
|
|
387
389
|
"onUpdate:pagination"?: ((value: import('./DsgTablePagination.vue').DsgTablePagination | null) => any) | undefined;
|
|
388
390
|
}>, {
|
|
@@ -665,7 +667,7 @@ declare const __VLS_component: import('vue').DefineComponent<DsgTableProps, {
|
|
|
665
667
|
}>, {}, {}, {}, {}, {}> | null;
|
|
666
668
|
pagination: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
667
669
|
pagination?: import('./DsgTablePagination.vue').DsgTablePagination | null;
|
|
668
|
-
} &
|
|
670
|
+
} & DsgTablePaginationProps> & Readonly<{
|
|
669
671
|
"onDsg-table:change-page"?: ((page: import('./DsgTablePagination.vue').Page) => any) | undefined;
|
|
670
672
|
"onUpdate:pagination"?: ((value: import('./DsgTablePagination.vue').DsgTablePagination | null) => any) | undefined;
|
|
671
673
|
}>, {
|
|
@@ -683,7 +685,7 @@ declare const __VLS_component: import('vue').DefineComponent<DsgTableProps, {
|
|
|
683
685
|
Defaults: {};
|
|
684
686
|
}, Readonly<{
|
|
685
687
|
pagination?: import('./DsgTablePagination.vue').DsgTablePagination | null;
|
|
686
|
-
} &
|
|
688
|
+
} & DsgTablePaginationProps> & Readonly<{
|
|
687
689
|
"onDsg-table:change-page"?: ((page: import('./DsgTablePagination.vue').Page) => any) | undefined;
|
|
688
690
|
"onUpdate:pagination"?: ((value: import('./DsgTablePagination.vue').DsgTablePagination | null) => any) | undefined;
|
|
689
691
|
}>, {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* # Setup: Props/Variables
|
|
4
4
|
* ------------------------------------------------
|
|
5
5
|
*/
|
|
6
|
-
export interface
|
|
6
|
+
export interface DsgTablePaginationProps {
|
|
7
7
|
onEachSide?: number;
|
|
8
8
|
firstPage?: number;
|
|
9
9
|
showFirstLast?: boolean;
|
|
@@ -24,7 +24,7 @@ export interface DsgTablePaginationCss {
|
|
|
24
24
|
wrapperClass?: string;
|
|
25
25
|
}
|
|
26
26
|
export type Page = number | "next" | "prev";
|
|
27
|
-
type __VLS_Props =
|
|
27
|
+
type __VLS_Props = DsgTablePaginationProps;
|
|
28
28
|
type __VLS_PublicProps = {
|
|
29
29
|
"pagination"?: DsgTablePagination | null;
|
|
30
30
|
} & __VLS_Props;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { DsgInputSelectOption } from '../Elements/DsgInputSelect.vue';
|
|
1
2
|
/**
|
|
2
3
|
* ------------------------------------------------
|
|
3
4
|
* # Setup: Props/Variables/Models
|
|
4
5
|
* ------------------------------------------------
|
|
5
6
|
*/
|
|
6
7
|
export interface DsgTablePerPage {
|
|
7
|
-
perPage: number;
|
|
8
|
+
perPage: number | string;
|
|
8
9
|
change: Function;
|
|
9
10
|
}
|
|
10
11
|
export interface DsgTablePerPageProps {
|
|
11
|
-
perPageOptions?:
|
|
12
|
+
perPageOptions?: DsgInputSelectOption[];
|
|
12
13
|
perPage: DsgTablePerPage;
|
|
13
14
|
}
|
|
14
15
|
declare const _default: import('vue').DefineComponent<DsgTablePerPageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DsgTablePerPageProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|