@3squared/forge-ui-3 0.11.1 → 0.12.0
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/esm/forge-ui-3.js
CHANGED
|
@@ -2528,6 +2528,7 @@ const Qt = {
|
|
|
2528
2528
|
showExporterButton: { type: Boolean, default: !1 },
|
|
2529
2529
|
stickyHeader: { type: Boolean, default: !0 },
|
|
2530
2530
|
severity: {},
|
|
2531
|
+
clearAll: {},
|
|
2531
2532
|
dataKey: {},
|
|
2532
2533
|
rows: {},
|
|
2533
2534
|
first: {},
|
|
@@ -2632,8 +2633,11 @@ const Qt = {
|
|
|
2632
2633
|
]
|
|
2633
2634
|
})
|
|
2634
2635
|
})), s = () => {
|
|
2635
|
-
|
|
2636
|
-
|
|
2636
|
+
if (o.clearAll)
|
|
2637
|
+
o.clearAll();
|
|
2638
|
+
else
|
|
2639
|
+
for (const g in o.filters)
|
|
2640
|
+
typeof o.filters[g] == "string" ? o.filters[g] = "" : o.filters[g].value = null;
|
|
2637
2641
|
M(o.filters);
|
|
2638
2642
|
}, T = () => {
|
|
2639
2643
|
l.value.exportCSV();
|
|
@@ -8,6 +8,7 @@ export interface ForgeTableProps extends DataTableProps {
|
|
|
8
8
|
showExporterButton?: boolean;
|
|
9
9
|
stickyHeader?: boolean;
|
|
10
10
|
severity?: Severity;
|
|
11
|
+
clearAll?: Function;
|
|
11
12
|
}
|
|
12
13
|
declare function __VLS_template(): Partial<Record<NonNullable<keyof DataTableSlots>, (_: {}) => any>> & {
|
|
13
14
|
"above-table"?(_: {}): any;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@3squared/forge-ui-3",
|
|
3
3
|
"repository": "https://github.com/3Squared/ForgeUI-3",
|
|
4
4
|
"description": "ForgeUI 3 is Vue 3 UI Library which combines a variety of popular packages to create a consistent UI for your application.",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.12.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"contributors": [
|