@dcodegroup-au/dsg-vue 1.0.7-next → 1.0.9-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-CcSyXBr6.js → DsgTablePerPage.vue_vue_type_style_index_0_lang-CaBn8JMp.js} +3195 -3163
- package/dist/{DsgTablePerPage.vue_vue_type_style_index_0_lang-DncMp8KQ.cjs → DsgTablePerPage.vue_vue_type_style_index_0_lang-DQk8doWV.cjs} +1200 -1200
- package/dist/components/Table/DsgTable.vue.d.ts +30 -2
- package/dist/components/Table/DsgTableComponent.vue.d.ts +6 -0
- package/dist/components/Table/DsgTableFilter.vue.d.ts +18 -0
- package/dist/components/Table/DsgTableRowHeader.vue.d.ts +2 -0
- package/dist/dsg-vue.cjs +1 -1
- package/dist/dsg-vue.css +1 -1
- package/dist/dsg-vue.esm.js +1 -1
- package/dist/dsg-vue.table.cjs +2 -2
- package/dist/dsg-vue.table.esm.js +561 -517
- package/dist/main.d.ts +10 -0
- package/dist/table.d.ts +46 -2
- package/dist/utilities/URL.d.ts +5 -0
- package/package.json +1 -6
package/dist/main.d.ts
CHANGED
|
@@ -2018,8 +2018,10 @@ export declare const DsgTooltip: {
|
|
|
2018
2018
|
export declare const DsgFilter: {
|
|
2019
2019
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
2020
2020
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
2021
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
2021
2022
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
2022
2023
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
2024
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
2023
2025
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
2024
2026
|
dsgTableFilter: HTMLDivElement;
|
|
2025
2027
|
floatingVueFilterDropdownEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -2520,14 +2522,17 @@ export declare const DsgFilter: {
|
|
|
2520
2522
|
Defaults: {};
|
|
2521
2523
|
}, Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
2522
2524
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
2525
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
2523
2526
|
}>, {}, {}, {}, {}, {}>;
|
|
2524
2527
|
__isFragment?: never;
|
|
2525
2528
|
__isTeleport?: never;
|
|
2526
2529
|
__isSuspense?: never;
|
|
2527
2530
|
} & import('vue').ComponentOptionsBase<Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
2528
2531
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
2532
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
2529
2533
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
2530
2534
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
2535
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
2531
2536
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
2532
2537
|
$slots: {
|
|
2533
2538
|
'dsg-table--filter-trigger'?(_: {}): any;
|
|
@@ -4809,8 +4814,10 @@ declare const _default: {
|
|
|
4809
4814
|
DsgFilter: {
|
|
4810
4815
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
4811
4816
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
4817
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
4812
4818
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4813
4819
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
4820
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
4814
4821
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
4815
4822
|
dsgTableFilter: HTMLDivElement;
|
|
4816
4823
|
floatingVueFilterDropdownEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -5311,14 +5318,17 @@ declare const _default: {
|
|
|
5311
5318
|
Defaults: {};
|
|
5312
5319
|
}, Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
5313
5320
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
5321
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
5314
5322
|
}>, {}, {}, {}, {}, {}>;
|
|
5315
5323
|
__isFragment?: never;
|
|
5316
5324
|
__isTeleport?: never;
|
|
5317
5325
|
__isSuspense?: never;
|
|
5318
5326
|
} & import('vue').ComponentOptionsBase<Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
5319
5327
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
5328
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
5320
5329
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
5321
5330
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
5331
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
5322
5332
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
5323
5333
|
$slots: {
|
|
5324
5334
|
'dsg-table--filter-trigger'?(_: {}): any;
|
package/dist/table.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export declare const DsgTable: {
|
|
|
17
17
|
"onDsg-table:link-clicked"?: ((ev: Event, actionId: string | number, rowData: Record<string, any>) => any) | undefined;
|
|
18
18
|
"onDsg-table:term-changed"?: ((term: string | null) => any) | undefined;
|
|
19
19
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
20
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
20
21
|
"onDsg-table:rows-selected"?: ((rows: any) => any) | undefined;
|
|
21
22
|
"onDsg-table:row-clicked"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
22
23
|
"onDsg-table:row-hover"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
@@ -44,6 +45,8 @@ export declare const DsgTable: {
|
|
|
44
45
|
expandAllRows: () => void;
|
|
45
46
|
collapseAllRows: () => void;
|
|
46
47
|
getExpandedRows: () => Set<any>;
|
|
48
|
+
getSelection: () => any[];
|
|
49
|
+
clearSelection: () => void;
|
|
47
50
|
changePage: (page: any) => void;
|
|
48
51
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
49
52
|
"dsg-table:action-edit": (ev: Event, rowData: Record<string, any>) => any;
|
|
@@ -53,6 +56,7 @@ export declare const DsgTable: {
|
|
|
53
56
|
"dsg-table:link-clicked": (ev: Event, actionId: string | number, rowData: Record<string, any>) => any;
|
|
54
57
|
"dsg-table:term-changed": (term: string | null) => any;
|
|
55
58
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
59
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
56
60
|
"dsg-table:rows-selected": (rows: any) => any;
|
|
57
61
|
"dsg-table:row-clicked": (ev: Event, rowIndex: number, rowData: Record<string, any>) => any;
|
|
58
62
|
"dsg-table:row-hover": (ev: Event, rowIndex: number, rowData: Record<string, any>) => any;
|
|
@@ -111,6 +115,8 @@ export declare const DsgTable: {
|
|
|
111
115
|
readonly fieldPrefix?: string | undefined;
|
|
112
116
|
readonly eventPrefix?: string | undefined;
|
|
113
117
|
readonly selectable?: boolean | undefined;
|
|
118
|
+
readonly selectableColumnWidth?: string | undefined;
|
|
119
|
+
readonly expandableColumnWidth?: string | undefined;
|
|
114
120
|
readonly shiftSelectHighlight?: string | undefined;
|
|
115
121
|
readonly selectedRowHighlight?: string | undefined;
|
|
116
122
|
readonly replaceState?: boolean | undefined;
|
|
@@ -173,6 +179,8 @@ export declare const DsgTable: {
|
|
|
173
179
|
collapseAllRows: () => void;
|
|
174
180
|
getExpandedRows: () => Set<any>;
|
|
175
181
|
isRowExpanded: (item: any) => boolean;
|
|
182
|
+
getSelection: () => any[];
|
|
183
|
+
clearSelection: () => void;
|
|
176
184
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
177
185
|
"update:filterParams": (value: any) => any;
|
|
178
186
|
"update:perPage": (value: any) => any;
|
|
@@ -225,7 +233,7 @@ export declare const DsgTable: {
|
|
|
225
233
|
"onDsg-table:row-collapsed"?: ((rowData: Record<string, any>, rowIndex: number) => any) | undefined;
|
|
226
234
|
"onUpdate:filterParams"?: ((value: any) => any) | undefined;
|
|
227
235
|
"onUpdate:perPage"?: ((value: any) => any) | undefined;
|
|
228
|
-
}>, "changePage" | "reload" | "getData" | "setData" | "setLoading" | "expandRow" | "collapseRow" | "toggleRowExpand" | "expandAllRows" | "collapseAllRows" | "getExpandedRows" | "isRowExpanded"> & {
|
|
236
|
+
}>, "changePage" | "reload" | "getData" | "setData" | "setLoading" | "expandRow" | "collapseRow" | "toggleRowExpand" | "expandAllRows" | "collapseAllRows" | "getExpandedRows" | "isRowExpanded" | "getSelection" | "clearSelection"> & {
|
|
229
237
|
changePage: (page: "next" | "prev" | number) => void;
|
|
230
238
|
reload: () => void;
|
|
231
239
|
getData: () => any[] | null;
|
|
@@ -238,6 +246,8 @@ export declare const DsgTable: {
|
|
|
238
246
|
collapseAllRows: () => void;
|
|
239
247
|
getExpandedRows: () => Set<any>;
|
|
240
248
|
isRowExpanded: (item: any) => boolean;
|
|
249
|
+
getSelection: () => any[];
|
|
250
|
+
clearSelection: () => void;
|
|
241
251
|
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
242
252
|
$slots: Partial<Record<string, (_: {
|
|
243
253
|
rowData: any;
|
|
@@ -321,6 +331,7 @@ export declare const DsgTable: {
|
|
|
321
331
|
"onDsg-table:link-clicked"?: ((ev: Event, actionId: string | number, rowData: Record<string, any>) => any) | undefined;
|
|
322
332
|
"onDsg-table:term-changed"?: ((term: string | null) => any) | undefined;
|
|
323
333
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
334
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
324
335
|
"onDsg-table:rows-selected"?: ((rows: any) => any) | undefined;
|
|
325
336
|
"onDsg-table:row-clicked"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
326
337
|
"onDsg-table:row-hover"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
@@ -348,6 +359,8 @@ export declare const DsgTable: {
|
|
|
348
359
|
expandAllRows: () => void;
|
|
349
360
|
collapseAllRows: () => void;
|
|
350
361
|
getExpandedRows: () => Set<any>;
|
|
362
|
+
getSelection: () => any[];
|
|
363
|
+
clearSelection: () => void;
|
|
351
364
|
changePage: (page: any) => void;
|
|
352
365
|
}, {}, {}, {}, {}>;
|
|
353
366
|
__isFragment?: never;
|
|
@@ -361,6 +374,7 @@ export declare const DsgTable: {
|
|
|
361
374
|
"onDsg-table:link-clicked"?: ((ev: Event, actionId: string | number, rowData: Record<string, any>) => any) | undefined;
|
|
362
375
|
"onDsg-table:term-changed"?: ((term: string | null) => any) | undefined;
|
|
363
376
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
377
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
364
378
|
"onDsg-table:rows-selected"?: ((rows: any) => any) | undefined;
|
|
365
379
|
"onDsg-table:row-clicked"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
366
380
|
"onDsg-table:row-hover"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
@@ -388,6 +402,8 @@ export declare const DsgTable: {
|
|
|
388
402
|
expandAllRows: () => void;
|
|
389
403
|
collapseAllRows: () => void;
|
|
390
404
|
getExpandedRows: () => Set<any>;
|
|
405
|
+
getSelection: () => any[];
|
|
406
|
+
clearSelection: () => void;
|
|
391
407
|
changePage: (page: any) => void;
|
|
392
408
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
393
409
|
"dsg-table:action-edit": (ev: Event, rowData: Record<string, any>) => any;
|
|
@@ -397,6 +413,7 @@ export declare const DsgTable: {
|
|
|
397
413
|
"dsg-table:link-clicked": (ev: Event, actionId: string | number, rowData: Record<string, any>) => any;
|
|
398
414
|
"dsg-table:term-changed": (term: string | null) => any;
|
|
399
415
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
416
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
400
417
|
"dsg-table:rows-selected": (rows: any) => any;
|
|
401
418
|
"dsg-table:row-clicked": (ev: Event, rowIndex: number, rowData: Record<string, any>) => any;
|
|
402
419
|
"dsg-table:row-hover": (ev: Event, rowIndex: number, rowData: Record<string, any>) => any;
|
|
@@ -1018,8 +1035,10 @@ export declare const DsgTablePerPage: import('vue').DefineComponent<import('./co
|
|
|
1018
1035
|
export declare const DsgTableFilter: {
|
|
1019
1036
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
1020
1037
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1038
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1021
1039
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
1022
1040
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
1041
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
1023
1042
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1024
1043
|
dsgTableFilter: HTMLDivElement;
|
|
1025
1044
|
floatingVueFilterDropdownEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -1520,14 +1539,17 @@ export declare const DsgTableFilter: {
|
|
|
1520
1539
|
Defaults: {};
|
|
1521
1540
|
}, Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
1522
1541
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1542
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1523
1543
|
}>, {}, {}, {}, {}, {}>;
|
|
1524
1544
|
__isFragment?: never;
|
|
1525
1545
|
__isTeleport?: never;
|
|
1526
1546
|
__isSuspense?: never;
|
|
1527
1547
|
} & import('vue').ComponentOptionsBase<Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
1528
1548
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1549
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1529
1550
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
1530
1551
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
1552
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
1531
1553
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1532
1554
|
$slots: {
|
|
1533
1555
|
'dsg-table--filter-trigger'?(_: {}): any;
|
|
@@ -1609,6 +1631,7 @@ declare const _default: {
|
|
|
1609
1631
|
"onDsg-table:link-clicked"?: ((ev: Event, actionId: string | number, rowData: Record<string, any>) => any) | undefined;
|
|
1610
1632
|
"onDsg-table:term-changed"?: ((term: string | null) => any) | undefined;
|
|
1611
1633
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1634
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1612
1635
|
"onDsg-table:rows-selected"?: ((rows: any) => any) | undefined;
|
|
1613
1636
|
"onDsg-table:row-clicked"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
1614
1637
|
"onDsg-table:row-hover"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
@@ -1636,6 +1659,8 @@ declare const _default: {
|
|
|
1636
1659
|
expandAllRows: () => void;
|
|
1637
1660
|
collapseAllRows: () => void;
|
|
1638
1661
|
getExpandedRows: () => Set<any>;
|
|
1662
|
+
getSelection: () => any[];
|
|
1663
|
+
clearSelection: () => void;
|
|
1639
1664
|
changePage: (page: any) => void;
|
|
1640
1665
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
1641
1666
|
"dsg-table:action-edit": (ev: Event, rowData: Record<string, any>) => any;
|
|
@@ -1645,6 +1670,7 @@ declare const _default: {
|
|
|
1645
1670
|
"dsg-table:link-clicked": (ev: Event, actionId: string | number, rowData: Record<string, any>) => any;
|
|
1646
1671
|
"dsg-table:term-changed": (term: string | null) => any;
|
|
1647
1672
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
1673
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
1648
1674
|
"dsg-table:rows-selected": (rows: any) => any;
|
|
1649
1675
|
"dsg-table:row-clicked": (ev: Event, rowIndex: number, rowData: Record<string, any>) => any;
|
|
1650
1676
|
"dsg-table:row-hover": (ev: Event, rowIndex: number, rowData: Record<string, any>) => any;
|
|
@@ -1703,6 +1729,8 @@ declare const _default: {
|
|
|
1703
1729
|
readonly fieldPrefix?: string | undefined;
|
|
1704
1730
|
readonly eventPrefix?: string | undefined;
|
|
1705
1731
|
readonly selectable?: boolean | undefined;
|
|
1732
|
+
readonly selectableColumnWidth?: string | undefined;
|
|
1733
|
+
readonly expandableColumnWidth?: string | undefined;
|
|
1706
1734
|
readonly shiftSelectHighlight?: string | undefined;
|
|
1707
1735
|
readonly selectedRowHighlight?: string | undefined;
|
|
1708
1736
|
readonly replaceState?: boolean | undefined;
|
|
@@ -1765,6 +1793,8 @@ declare const _default: {
|
|
|
1765
1793
|
collapseAllRows: () => void;
|
|
1766
1794
|
getExpandedRows: () => Set<any>;
|
|
1767
1795
|
isRowExpanded: (item: any) => boolean;
|
|
1796
|
+
getSelection: () => any[];
|
|
1797
|
+
clearSelection: () => void;
|
|
1768
1798
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1769
1799
|
"update:filterParams": (value: any) => any;
|
|
1770
1800
|
"update:perPage": (value: any) => any;
|
|
@@ -1817,7 +1847,7 @@ declare const _default: {
|
|
|
1817
1847
|
"onDsg-table:row-collapsed"?: ((rowData: Record<string, any>, rowIndex: number) => any) | undefined;
|
|
1818
1848
|
"onUpdate:filterParams"?: ((value: any) => any) | undefined;
|
|
1819
1849
|
"onUpdate:perPage"?: ((value: any) => any) | undefined;
|
|
1820
|
-
}>, "changePage" | "reload" | "getData" | "setData" | "setLoading" | "expandRow" | "collapseRow" | "toggleRowExpand" | "expandAllRows" | "collapseAllRows" | "getExpandedRows" | "isRowExpanded"> & {
|
|
1850
|
+
}>, "changePage" | "reload" | "getData" | "setData" | "setLoading" | "expandRow" | "collapseRow" | "toggleRowExpand" | "expandAllRows" | "collapseAllRows" | "getExpandedRows" | "isRowExpanded" | "getSelection" | "clearSelection"> & {
|
|
1821
1851
|
changePage: (page: "next" | "prev" | number) => void;
|
|
1822
1852
|
reload: () => void;
|
|
1823
1853
|
getData: () => any[] | null;
|
|
@@ -1830,6 +1860,8 @@ declare const _default: {
|
|
|
1830
1860
|
collapseAllRows: () => void;
|
|
1831
1861
|
getExpandedRows: () => Set<any>;
|
|
1832
1862
|
isRowExpanded: (item: any) => boolean;
|
|
1863
|
+
getSelection: () => any[];
|
|
1864
|
+
clearSelection: () => void;
|
|
1833
1865
|
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1834
1866
|
$slots: Partial<Record<string, (_: {
|
|
1835
1867
|
rowData: any;
|
|
@@ -1913,6 +1945,7 @@ declare const _default: {
|
|
|
1913
1945
|
"onDsg-table:link-clicked"?: ((ev: Event, actionId: string | number, rowData: Record<string, any>) => any) | undefined;
|
|
1914
1946
|
"onDsg-table:term-changed"?: ((term: string | null) => any) | undefined;
|
|
1915
1947
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1948
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1916
1949
|
"onDsg-table:rows-selected"?: ((rows: any) => any) | undefined;
|
|
1917
1950
|
"onDsg-table:row-clicked"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
1918
1951
|
"onDsg-table:row-hover"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
@@ -1940,6 +1973,8 @@ declare const _default: {
|
|
|
1940
1973
|
expandAllRows: () => void;
|
|
1941
1974
|
collapseAllRows: () => void;
|
|
1942
1975
|
getExpandedRows: () => Set<any>;
|
|
1976
|
+
getSelection: () => any[];
|
|
1977
|
+
clearSelection: () => void;
|
|
1943
1978
|
changePage: (page: any) => void;
|
|
1944
1979
|
}, {}, {}, {}, {}>;
|
|
1945
1980
|
__isFragment?: never;
|
|
@@ -1953,6 +1988,7 @@ declare const _default: {
|
|
|
1953
1988
|
"onDsg-table:link-clicked"?: ((ev: Event, actionId: string | number, rowData: Record<string, any>) => any) | undefined;
|
|
1954
1989
|
"onDsg-table:term-changed"?: ((term: string | null) => any) | undefined;
|
|
1955
1990
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1991
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
1956
1992
|
"onDsg-table:rows-selected"?: ((rows: any) => any) | undefined;
|
|
1957
1993
|
"onDsg-table:row-clicked"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
1958
1994
|
"onDsg-table:row-hover"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
@@ -1980,6 +2016,8 @@ declare const _default: {
|
|
|
1980
2016
|
expandAllRows: () => void;
|
|
1981
2017
|
collapseAllRows: () => void;
|
|
1982
2018
|
getExpandedRows: () => Set<any>;
|
|
2019
|
+
getSelection: () => any[];
|
|
2020
|
+
clearSelection: () => void;
|
|
1983
2021
|
changePage: (page: any) => void;
|
|
1984
2022
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
1985
2023
|
"dsg-table:action-edit": (ev: Event, rowData: Record<string, any>) => any;
|
|
@@ -1989,6 +2027,7 @@ declare const _default: {
|
|
|
1989
2027
|
"dsg-table:link-clicked": (ev: Event, actionId: string | number, rowData: Record<string, any>) => any;
|
|
1990
2028
|
"dsg-table:term-changed": (term: string | null) => any;
|
|
1991
2029
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
2030
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
1992
2031
|
"dsg-table:rows-selected": (rows: any) => any;
|
|
1993
2032
|
"dsg-table:row-clicked": (ev: Event, rowIndex: number, rowData: Record<string, any>) => any;
|
|
1994
2033
|
"dsg-table:row-hover": (ev: Event, rowIndex: number, rowData: Record<string, any>) => any;
|
|
@@ -2610,8 +2649,10 @@ declare const _default: {
|
|
|
2610
2649
|
DsgTableFilter: {
|
|
2611
2650
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
2612
2651
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
2652
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
2613
2653
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
2614
2654
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
2655
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
2615
2656
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
2616
2657
|
dsgTableFilter: HTMLDivElement;
|
|
2617
2658
|
floatingVueFilterDropdownEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -3112,14 +3153,17 @@ declare const _default: {
|
|
|
3112
3153
|
Defaults: {};
|
|
3113
3154
|
}, Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
3114
3155
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
3156
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
3115
3157
|
}>, {}, {}, {}, {}, {}>;
|
|
3116
3158
|
__isFragment?: never;
|
|
3117
3159
|
__isTeleport?: never;
|
|
3118
3160
|
__isSuspense?: never;
|
|
3119
3161
|
} & import('vue').ComponentOptionsBase<Readonly<import('./main').DsgFilterProps> & Readonly<{
|
|
3120
3162
|
"onDsg-table:filter-updated"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
3163
|
+
"onDsg-table:save-as-default"?: ((params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any) | undefined;
|
|
3121
3164
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3122
3165
|
"dsg-table:filter-updated": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
3166
|
+
"dsg-table:save-as-default": (params: any, payload: any, activeFacet: import('./main').DsgSearchFacet | null | undefined) => any;
|
|
3123
3167
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
3124
3168
|
$slots: {
|
|
3125
3169
|
'dsg-table--filter-trigger'?(_: {}): any;
|
package/dist/utilities/URL.d.ts
CHANGED
|
@@ -15,4 +15,9 @@ export interface URLParam {
|
|
|
15
15
|
key: string;
|
|
16
16
|
value: string[];
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* Extract the Spatie/DSG filter name from a query key.
|
|
20
|
+
* Supports `filter[key]`, `filter[key][]`, `filter[key][0]`, and percent-encoded brackets.
|
|
21
|
+
*/
|
|
22
|
+
export declare const parseFilterQueryKey: (paramKey: string) => string | null;
|
|
18
23
|
export declare const getQueryStrings: (url?: string) => URLParam[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcodegroup-au/dsg-vue",
|
|
3
3
|
"description": "Front-end Vue/Tailwind DSG for UntitledUI.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.9-next",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"preinstall": "npx only-allow pnpm",
|
|
@@ -158,11 +158,6 @@
|
|
|
158
158
|
"resolutions": {
|
|
159
159
|
"axios": "1.13.6"
|
|
160
160
|
},
|
|
161
|
-
"pnpm": {
|
|
162
|
-
"overrides": {
|
|
163
|
-
"axios": "1.13.6"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
161
|
"dependencies": {
|
|
167
162
|
"@tailwindcss/vite": "^4.2.2"
|
|
168
163
|
}
|