@dcodegroup-au/dsg-vue 1.0.8-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/table.d.ts CHANGED
@@ -45,6 +45,8 @@ export declare const DsgTable: {
45
45
  expandAllRows: () => void;
46
46
  collapseAllRows: () => void;
47
47
  getExpandedRows: () => Set<any>;
48
+ getSelection: () => any[];
49
+ clearSelection: () => void;
48
50
  changePage: (page: any) => void;
49
51
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
50
52
  "dsg-table:action-edit": (ev: Event, rowData: Record<string, any>) => any;
@@ -113,6 +115,8 @@ export declare const DsgTable: {
113
115
  readonly fieldPrefix?: string | undefined;
114
116
  readonly eventPrefix?: string | undefined;
115
117
  readonly selectable?: boolean | undefined;
118
+ readonly selectableColumnWidth?: string | undefined;
119
+ readonly expandableColumnWidth?: string | undefined;
116
120
  readonly shiftSelectHighlight?: string | undefined;
117
121
  readonly selectedRowHighlight?: string | undefined;
118
122
  readonly replaceState?: boolean | undefined;
@@ -175,6 +179,8 @@ export declare const DsgTable: {
175
179
  collapseAllRows: () => void;
176
180
  getExpandedRows: () => Set<any>;
177
181
  isRowExpanded: (item: any) => boolean;
182
+ getSelection: () => any[];
183
+ clearSelection: () => void;
178
184
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
179
185
  "update:filterParams": (value: any) => any;
180
186
  "update:perPage": (value: any) => any;
@@ -227,7 +233,7 @@ export declare const DsgTable: {
227
233
  "onDsg-table:row-collapsed"?: ((rowData: Record<string, any>, rowIndex: number) => any) | undefined;
228
234
  "onUpdate:filterParams"?: ((value: any) => any) | undefined;
229
235
  "onUpdate:perPage"?: ((value: any) => any) | undefined;
230
- }>, "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"> & {
231
237
  changePage: (page: "next" | "prev" | number) => void;
232
238
  reload: () => void;
233
239
  getData: () => any[] | null;
@@ -240,6 +246,8 @@ export declare const DsgTable: {
240
246
  collapseAllRows: () => void;
241
247
  getExpandedRows: () => Set<any>;
242
248
  isRowExpanded: (item: any) => boolean;
249
+ getSelection: () => any[];
250
+ clearSelection: () => void;
243
251
  } & {} & import('vue').ComponentCustomProperties & {} & {
244
252
  $slots: Partial<Record<string, (_: {
245
253
  rowData: any;
@@ -351,6 +359,8 @@ export declare const DsgTable: {
351
359
  expandAllRows: () => void;
352
360
  collapseAllRows: () => void;
353
361
  getExpandedRows: () => Set<any>;
362
+ getSelection: () => any[];
363
+ clearSelection: () => void;
354
364
  changePage: (page: any) => void;
355
365
  }, {}, {}, {}, {}>;
356
366
  __isFragment?: never;
@@ -392,6 +402,8 @@ export declare const DsgTable: {
392
402
  expandAllRows: () => void;
393
403
  collapseAllRows: () => void;
394
404
  getExpandedRows: () => Set<any>;
405
+ getSelection: () => any[];
406
+ clearSelection: () => void;
395
407
  changePage: (page: any) => void;
396
408
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
397
409
  "dsg-table:action-edit": (ev: Event, rowData: Record<string, any>) => any;
@@ -1647,6 +1659,8 @@ declare const _default: {
1647
1659
  expandAllRows: () => void;
1648
1660
  collapseAllRows: () => void;
1649
1661
  getExpandedRows: () => Set<any>;
1662
+ getSelection: () => any[];
1663
+ clearSelection: () => void;
1650
1664
  changePage: (page: any) => void;
1651
1665
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1652
1666
  "dsg-table:action-edit": (ev: Event, rowData: Record<string, any>) => any;
@@ -1715,6 +1729,8 @@ declare const _default: {
1715
1729
  readonly fieldPrefix?: string | undefined;
1716
1730
  readonly eventPrefix?: string | undefined;
1717
1731
  readonly selectable?: boolean | undefined;
1732
+ readonly selectableColumnWidth?: string | undefined;
1733
+ readonly expandableColumnWidth?: string | undefined;
1718
1734
  readonly shiftSelectHighlight?: string | undefined;
1719
1735
  readonly selectedRowHighlight?: string | undefined;
1720
1736
  readonly replaceState?: boolean | undefined;
@@ -1777,6 +1793,8 @@ declare const _default: {
1777
1793
  collapseAllRows: () => void;
1778
1794
  getExpandedRows: () => Set<any>;
1779
1795
  isRowExpanded: (item: any) => boolean;
1796
+ getSelection: () => any[];
1797
+ clearSelection: () => void;
1780
1798
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1781
1799
  "update:filterParams": (value: any) => any;
1782
1800
  "update:perPage": (value: any) => any;
@@ -1829,7 +1847,7 @@ declare const _default: {
1829
1847
  "onDsg-table:row-collapsed"?: ((rowData: Record<string, any>, rowIndex: number) => any) | undefined;
1830
1848
  "onUpdate:filterParams"?: ((value: any) => any) | undefined;
1831
1849
  "onUpdate:perPage"?: ((value: any) => any) | undefined;
1832
- }>, "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"> & {
1833
1851
  changePage: (page: "next" | "prev" | number) => void;
1834
1852
  reload: () => void;
1835
1853
  getData: () => any[] | null;
@@ -1842,6 +1860,8 @@ declare const _default: {
1842
1860
  collapseAllRows: () => void;
1843
1861
  getExpandedRows: () => Set<any>;
1844
1862
  isRowExpanded: (item: any) => boolean;
1863
+ getSelection: () => any[];
1864
+ clearSelection: () => void;
1845
1865
  } & {} & import('vue').ComponentCustomProperties & {} & {
1846
1866
  $slots: Partial<Record<string, (_: {
1847
1867
  rowData: any;
@@ -1953,6 +1973,8 @@ declare const _default: {
1953
1973
  expandAllRows: () => void;
1954
1974
  collapseAllRows: () => void;
1955
1975
  getExpandedRows: () => Set<any>;
1976
+ getSelection: () => any[];
1977
+ clearSelection: () => void;
1956
1978
  changePage: (page: any) => void;
1957
1979
  }, {}, {}, {}, {}>;
1958
1980
  __isFragment?: never;
@@ -1994,6 +2016,8 @@ declare const _default: {
1994
2016
  expandAllRows: () => void;
1995
2017
  collapseAllRows: () => void;
1996
2018
  getExpandedRows: () => Set<any>;
2019
+ getSelection: () => any[];
2020
+ clearSelection: () => void;
1997
2021
  changePage: (page: any) => void;
1998
2022
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1999
2023
  "dsg-table:action-edit": (ev: Event, rowData: Record<string, any>) => any;
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.8-next",
4
+ "version": "1.0.9-next",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "preinstall": "npx only-allow pnpm",