@3squared/forge-ui-3 2.21.4 → 2.21.5
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
|
@@ -757,8 +757,7 @@ const Qe = {
|
|
|
757
757
|
mask: () => ({
|
|
758
758
|
class: "table-overlay table-spinner"
|
|
759
759
|
}),
|
|
760
|
-
rowGroupHeaderCell: "
|
|
761
|
-
rowGroupHeader: "border-top border-bottom",
|
|
760
|
+
rowGroupHeaderCell: "fw-600 bg-grey-300",
|
|
762
761
|
rowToggleButton: "btn",
|
|
763
762
|
pcPaginator: {
|
|
764
763
|
//remove paginator if there are initially no values
|
|
@@ -3957,7 +3956,7 @@ const wa = {
|
|
|
3957
3956
|
"onUpdate:modelValue": l[4] || (l[4] = (p) => t.value = p),
|
|
3958
3957
|
modelModifiers: { trim: !0 }
|
|
3959
3958
|
}, o.$attrs), null, 16, ["modelValue"])),
|
|
3960
|
-
o.showClearButton && t.value !== null && o.dataType !== "select" && o.dataType !== "multiselect" && o.dataType !== "date" ? (d(), x(s, {
|
|
3959
|
+
o.showClearButton && t.value !== null && o.dataType !== "select" && o.dataType !== "multiselect" && o.dataType !== "date" && t.value != "" ? (d(), x(s, {
|
|
3961
3960
|
key: 5,
|
|
3962
3961
|
onClick: Q(i, ["prevent"]),
|
|
3963
3962
|
size: "small",
|
|
@@ -5169,6 +5168,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
|
|
|
5169
5168
|
props: /* @__PURE__ */ E({
|
|
5170
5169
|
acceptedFileTypes: {},
|
|
5171
5170
|
maxFileInput: {},
|
|
5171
|
+
maxFileSize: {},
|
|
5172
5172
|
showDragDropArea: { type: Boolean }
|
|
5173
5173
|
}, {
|
|
5174
5174
|
modelValue: { required: !0 },
|
|
@@ -5177,7 +5177,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
|
|
|
5177
5177
|
emits: ["update:modelValue"],
|
|
5178
5178
|
setup(e) {
|
|
5179
5179
|
const t = N(e, "modelValue"), a = M(), i = (n) => a.value.toggle(n), o = _(() => e.maxFileInput <= t.value.length), l = (n) => {
|
|
5180
|
-
t.value = ke(n, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.
|
|
5180
|
+
t.value = ke(n, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileSize);
|
|
5181
5181
|
};
|
|
5182
5182
|
return (n, s) => {
|
|
5183
5183
|
const p = q;
|
|
@@ -2,6 +2,7 @@ import { ForgeFileStatus, ForgeFileType } from '../../../types/forge-types';
|
|
|
2
2
|
interface FileUploaderButtonProps {
|
|
3
3
|
acceptedFileTypes: ForgeFileType[];
|
|
4
4
|
maxFileInput: number;
|
|
5
|
+
maxFileSize: number;
|
|
5
6
|
showDragDropArea: boolean;
|
|
6
7
|
}
|
|
7
8
|
type __VLS_Props = FileUploaderButtonProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DataTableFilterMeta, DataTablePageEvent, DataTableProps, DataTableSlots, DataTableSortEvent } from 'primevue/datatable';
|
|
2
|
-
import { Severity } from '../../types/forge-types';
|
|
2
|
+
import { Severity } from '../../types/forge-types.ts';
|
|
3
3
|
export interface ForgeTableProps extends DataTableProps {
|
|
4
4
|
value: any[];
|
|
5
5
|
legacyPaginationFooter?: boolean;
|
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": "2.21.
|
|
5
|
+
"version": "2.21.5",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"contributors": [
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"vue-drawing-canvas": "1.0.14"
|
|
67
67
|
},
|
|
68
68
|
"optionalDependencies": {
|
|
69
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
69
|
+
"@rollup/rollup-linux-x64-gnu": "4.43.0"
|
|
70
70
|
},
|
|
71
71
|
"nyc": {
|
|
72
72
|
"all": true,
|