@dcodegroup-au/dsg-vue 0.1.4 → 0.1.6
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
|
@@ -25,6 +25,8 @@ export declare const DsgTable: {
|
|
|
25
25
|
}>, {
|
|
26
26
|
reloadTable: () => void;
|
|
27
27
|
updateRowTable: (rowData: any) => void;
|
|
28
|
+
addRowTable: (rowData: any) => void;
|
|
29
|
+
deleteRowTable: (rowData: any) => void;
|
|
28
30
|
termChanged: (term: string | null) => void;
|
|
29
31
|
setFilters: (filters: any) => void;
|
|
30
32
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -135,6 +137,8 @@ export declare const DsgTable: {
|
|
|
135
137
|
}>, {
|
|
136
138
|
changePage: (page: "next" | "prev" | number) => void;
|
|
137
139
|
reload: () => void;
|
|
140
|
+
getData: () => any[] | null;
|
|
141
|
+
setData: (rows: any[] | null) => void;
|
|
138
142
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
139
143
|
"update:filterParams": (value: any) => any;
|
|
140
144
|
"update:perPage": (value: any) => any;
|
|
@@ -183,9 +187,11 @@ export declare const DsgTable: {
|
|
|
183
187
|
"onDsg-table:row-dblclick"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
184
188
|
"onUpdate:filterParams"?: ((value: any) => any) | undefined;
|
|
185
189
|
"onUpdate:perPage"?: ((value: any) => any) | undefined;
|
|
186
|
-
}>, "changePage" | "reload"> & import('vue').ShallowUnwrapRef<{
|
|
190
|
+
}>, "changePage" | "reload" | "getData" | "setData"> & import('vue').ShallowUnwrapRef<{
|
|
187
191
|
changePage: (page: "next" | "prev" | number) => void;
|
|
188
192
|
reload: () => void;
|
|
193
|
+
getData: () => any[] | null;
|
|
194
|
+
setData: (rows: any[] | null) => void;
|
|
189
195
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
190
196
|
$slots: Partial<Record<string, (_: {
|
|
191
197
|
rowData: any;
|
|
@@ -276,6 +282,8 @@ export declare const DsgTable: {
|
|
|
276
282
|
}>, {
|
|
277
283
|
reloadTable: () => void;
|
|
278
284
|
updateRowTable: (rowData: any) => void;
|
|
285
|
+
addRowTable: (rowData: any) => void;
|
|
286
|
+
deleteRowTable: (rowData: any) => void;
|
|
279
287
|
termChanged: (term: string | null) => void;
|
|
280
288
|
setFilters: (filters: any) => void;
|
|
281
289
|
}, {}, {}, {}, {}>;
|
|
@@ -298,6 +306,8 @@ export declare const DsgTable: {
|
|
|
298
306
|
}>, {
|
|
299
307
|
reloadTable: () => void;
|
|
300
308
|
updateRowTable: (rowData: any) => void;
|
|
309
|
+
addRowTable: (rowData: any) => void;
|
|
310
|
+
deleteRowTable: (rowData: any) => void;
|
|
301
311
|
termChanged: (term: string | null) => void;
|
|
302
312
|
setFilters: (filters: any) => void;
|
|
303
313
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -1526,6 +1536,8 @@ declare const _default: {
|
|
|
1526
1536
|
}>, {
|
|
1527
1537
|
reloadTable: () => void;
|
|
1528
1538
|
updateRowTable: (rowData: any) => void;
|
|
1539
|
+
addRowTable: (rowData: any) => void;
|
|
1540
|
+
deleteRowTable: (rowData: any) => void;
|
|
1529
1541
|
termChanged: (term: string | null) => void;
|
|
1530
1542
|
setFilters: (filters: any) => void;
|
|
1531
1543
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -1636,6 +1648,8 @@ declare const _default: {
|
|
|
1636
1648
|
}>, {
|
|
1637
1649
|
changePage: (page: "next" | "prev" | number) => void;
|
|
1638
1650
|
reload: () => void;
|
|
1651
|
+
getData: () => any[] | null;
|
|
1652
|
+
setData: (rows: any[] | null) => void;
|
|
1639
1653
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1640
1654
|
"update:filterParams": (value: any) => any;
|
|
1641
1655
|
"update:perPage": (value: any) => any;
|
|
@@ -1684,9 +1698,11 @@ declare const _default: {
|
|
|
1684
1698
|
"onDsg-table:row-dblclick"?: ((ev: Event, rowIndex: number, rowData: Record<string, any>) => any) | undefined;
|
|
1685
1699
|
"onUpdate:filterParams"?: ((value: any) => any) | undefined;
|
|
1686
1700
|
"onUpdate:perPage"?: ((value: any) => any) | undefined;
|
|
1687
|
-
}>, "changePage" | "reload"> & import('vue').ShallowUnwrapRef<{
|
|
1701
|
+
}>, "changePage" | "reload" | "getData" | "setData"> & import('vue').ShallowUnwrapRef<{
|
|
1688
1702
|
changePage: (page: "next" | "prev" | number) => void;
|
|
1689
1703
|
reload: () => void;
|
|
1704
|
+
getData: () => any[] | null;
|
|
1705
|
+
setData: (rows: any[] | null) => void;
|
|
1690
1706
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1691
1707
|
$slots: Partial<Record<string, (_: {
|
|
1692
1708
|
rowData: any;
|
|
@@ -1777,6 +1793,8 @@ declare const _default: {
|
|
|
1777
1793
|
}>, {
|
|
1778
1794
|
reloadTable: () => void;
|
|
1779
1795
|
updateRowTable: (rowData: any) => void;
|
|
1796
|
+
addRowTable: (rowData: any) => void;
|
|
1797
|
+
deleteRowTable: (rowData: any) => void;
|
|
1780
1798
|
termChanged: (term: string | null) => void;
|
|
1781
1799
|
setFilters: (filters: any) => void;
|
|
1782
1800
|
}, {}, {}, {}, {}>;
|
|
@@ -1799,6 +1817,8 @@ declare const _default: {
|
|
|
1799
1817
|
}>, {
|
|
1800
1818
|
reloadTable: () => void;
|
|
1801
1819
|
updateRowTable: (rowData: any) => void;
|
|
1820
|
+
addRowTable: (rowData: any) => void;
|
|
1821
|
+
deleteRowTable: (rowData: any) => void;
|
|
1802
1822
|
termChanged: (term: string | null) => void;
|
|
1803
1823
|
setFilters: (filters: any) => void;
|
|
1804
1824
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|