@dcodegroup-au/dsg-vue 0.0.32 → 0.0.34
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-BZcdFc4A.js → DsgTablePerPage.vue_vue_type_style_index_0_lang-B8_U5eht.js} +1776 -1755
- package/dist/{DsgTablePerPage.vue_vue_type_style_index_0_lang-CW51CLZ4.cjs → DsgTablePerPage.vue_vue_type_style_index_0_lang-DsjXXvFV.cjs} +146 -146
- package/dist/components/Elements/DsgInput.vue.d.ts +1 -0
- package/dist/components/Elements/DsgInputSelect.vue.d.ts +2 -1
- package/dist/components/Elements/DsgProgress.vue.d.ts +1 -0
- package/dist/components/Table/DsgTable.vue.d.ts +13 -18
- package/dist/dsg-vue.cjs +10 -10
- package/dist/dsg-vue.css +1 -1
- package/dist/dsg-vue.esm.js +1963 -1944
- package/dist/dsg-vue.table.cjs +2 -2
- package/dist/dsg-vue.table.esm.js +403 -398
- package/dist/main.d.ts +4 -2
- package/dist/table.d.ts +28 -86
- package/package.json +4 -4
|
@@ -19,6 +19,7 @@ export interface DsgInputSelectProps {
|
|
|
19
19
|
};
|
|
20
20
|
strategy?: "absolute" | "fixed";
|
|
21
21
|
placeholder?: string;
|
|
22
|
+
icon?: string | null;
|
|
22
23
|
label?: string;
|
|
23
24
|
showLabels?: boolean;
|
|
24
25
|
disabled?: boolean;
|
|
@@ -56,11 +57,11 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
56
57
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
57
58
|
"onUpdate:model-value"?: ((value: any) => any) | undefined;
|
|
58
59
|
onTag?: ((label: any, id: string | number) => any) | undefined;
|
|
59
|
-
"onUpdate:single"?: ((value: any) => any) | undefined;
|
|
60
60
|
"onSearch-change"?: ((queryTerm: string) => any) | undefined;
|
|
61
61
|
onOpen?: ((id: string | number) => any) | undefined;
|
|
62
62
|
onClose?: ((value: any, id: string | number) => any) | undefined;
|
|
63
63
|
onRemove?: ((value: any, id: string | number) => any) | undefined;
|
|
64
|
+
"onUpdate:single"?: ((value: any) => any) | undefined;
|
|
64
65
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
65
66
|
dsgInputSelectEl: HTMLDivElement;
|
|
66
67
|
multiselectEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue-multiselect').ComponentProps>, {}, {}, {}, {
|
|
@@ -2,6 +2,7 @@ type __VLS_Props = {
|
|
|
2
2
|
value: number;
|
|
3
3
|
max: number;
|
|
4
4
|
showText?: 'number' | 'percentage' | 'none';
|
|
5
|
+
textSuffix?: string;
|
|
5
6
|
};
|
|
6
7
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
8
|
export default _default;
|
|
@@ -26,13 +26,16 @@ export interface DsgTableProps {
|
|
|
26
26
|
}[] | null;
|
|
27
27
|
hasHeader?: boolean;
|
|
28
28
|
hasFooter?: boolean;
|
|
29
|
+
css?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
29
32
|
}
|
|
30
33
|
declare function __VLS_template(): {
|
|
31
34
|
attrs: Partial<{}>;
|
|
32
35
|
slots: Partial<Record<string, (_: {
|
|
33
36
|
rowData: any;
|
|
34
|
-
rowField: import('./DsgTableComponent.vue').DsgTableField;
|
|
35
37
|
rowIndex: number;
|
|
38
|
+
rowField: import('./DsgTableComponent.vue').DsgTableField;
|
|
36
39
|
}) => any>> & {
|
|
37
40
|
'dsg-table--pre-header'?(_: {}): any;
|
|
38
41
|
'dsg-table--page-title'?(_: {
|
|
@@ -100,6 +103,7 @@ declare function __VLS_template(): {
|
|
|
100
103
|
}): any;
|
|
101
104
|
};
|
|
102
105
|
refs: {
|
|
106
|
+
dsgTableSearchHeaderEl: HTMLDivElement;
|
|
103
107
|
dsgTable: ({
|
|
104
108
|
$: import('vue').ComponentInternalInstance;
|
|
105
109
|
$data: {};
|
|
@@ -254,6 +258,7 @@ declare function __VLS_template(): {
|
|
|
254
258
|
}): any;
|
|
255
259
|
};
|
|
256
260
|
}) | null;
|
|
261
|
+
dsgTableFooterEl: HTMLDivElement;
|
|
257
262
|
paginationInfoStart: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
258
263
|
pagination?: import('./DsgTablePaginationInfo.vue').DsgTablePaginationInfo | null;
|
|
259
264
|
} & import('./DsgTablePaginationInfo.vue').DsgTablePaginationInfoProps> & Readonly<{
|
|
@@ -307,25 +312,14 @@ declare const __VLS_component: import('vue').DefineComponent<DsgTableProps, {
|
|
|
307
312
|
updateRowTable: (rowData: any) => void;
|
|
308
313
|
termChanged: (term: string | null) => void;
|
|
309
314
|
setFilters: (filters: any) => void;
|
|
310
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
"dsg-table:action-archive": (ev: Event, rowData: Record<string, any>) => any;
|
|
315
|
-
"dsg-table:link-clicked": (ev: Event, actionId: string | number, rowData: Record<string, any>) => any;
|
|
316
|
-
"dsg-table:term-changed": (term: string | null) => any;
|
|
317
|
-
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: DsgTableSearchFacet | null | undefined) => any;
|
|
318
|
-
"dsg-table:rows-selected": (rows: any) => any;
|
|
315
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
316
|
+
[x: string]: any;
|
|
317
|
+
} & {
|
|
318
|
+
[x: string]: any;
|
|
319
319
|
}, string, import('vue').PublicProps, Readonly<DsgTableProps> & Readonly<{
|
|
320
|
-
|
|
321
|
-
"onDsg-table:action-view"?: ((ev: Event, rowData: Record<string, any>) => any) | undefined;
|
|
322
|
-
"onDsg-table:action-delete"?: ((ev: Event, rowData: Record<string, any>) => any) | undefined;
|
|
323
|
-
"onDsg-table:action-archive"?: ((ev: Event, rowData: Record<string, any>) => any) | undefined;
|
|
324
|
-
"onDsg-table:link-clicked"?: ((ev: Event, actionId: string | number, rowData: Record<string, any>) => any) | undefined;
|
|
325
|
-
"onDsg-table:term-changed"?: ((term: string | null) => any) | undefined;
|
|
326
|
-
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: DsgTableSearchFacet | null | undefined) => any) | undefined;
|
|
327
|
-
"onDsg-table:rows-selected"?: ((rows: any) => any) | undefined;
|
|
320
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
328
321
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
322
|
+
dsgTableSearchHeaderEl: HTMLDivElement;
|
|
329
323
|
dsgTable: ({
|
|
330
324
|
$: import('vue').ComponentInternalInstance;
|
|
331
325
|
$data: {};
|
|
@@ -480,6 +474,7 @@ declare const __VLS_component: import('vue').DefineComponent<DsgTableProps, {
|
|
|
480
474
|
}): any;
|
|
481
475
|
};
|
|
482
476
|
}) | null;
|
|
477
|
+
dsgTableFooterEl: HTMLDivElement;
|
|
483
478
|
paginationInfoStart: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
484
479
|
pagination?: import('./DsgTablePaginationInfo.vue').DsgTablePaginationInfo | null;
|
|
485
480
|
} & import('./DsgTablePaginationInfo.vue').DsgTablePaginationInfoProps> & Readonly<{
|