@3squared/forge-ui-3 2.21.3 → 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.
@@ -757,8 +757,7 @@ const Qe = {
757
757
  mask: () => ({
758
758
  class: "table-overlay table-spinner"
759
759
  }),
760
- rowGroupHeaderCell: "border",
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
@@ -3880,7 +3879,7 @@ const wa = {
3880
3879
  emits: ["update:modelValue"],
3881
3880
  setup(e) {
3882
3881
  const t = N(e, "modelValue"), a = (o, l) => {
3883
- if (!o || Array.isArray(o) && o.length === 0)
3882
+ if (!o && typeof o != "boolean" || Array.isArray(o) && o.length === 0)
3884
3883
  return l;
3885
3884
  const n = (s) => {
3886
3885
  var u;
@@ -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.maxFileInput);
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;
@@ -27,7 +27,6 @@ declare const _default: {
27
27
  class: string;
28
28
  };
29
29
  rowGroupHeaderCell: string;
30
- rowGroupHeader: string;
31
30
  rowToggleButton: string;
32
31
  pcPaginator: {
33
32
  paginatorContainer: (options: DataTablePassThroughMethodOptions) => {
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.3",
5
+ "version": "2.21.5",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "contributors": [
@@ -50,23 +50,23 @@
50
50
  "@cypress/code-coverage": "3.14.4",
51
51
  "@primevue/auto-import-resolver": "4.3.5",
52
52
  "@vitejs/plugin-vue": "5.2.4",
53
- "@vitest/coverage-v8": "3.2.2",
54
- "@vitest/ui": "3.2.2",
53
+ "@vitest/coverage-v8": "3.2.3",
54
+ "@vitest/ui": "3.2.3",
55
55
  "cypress": "14.4.1",
56
56
  "cypress-real-events": "1.14.0",
57
57
  "rollup-plugin-visualizer": "6.0.3",
58
- "sass": "1.89.1",
58
+ "sass": "1.89.2",
59
59
  "typescript": "5.8.3",
60
60
  "unplugin-vue-components": "28.7.0",
61
61
  "vite": "6.3.5",
62
62
  "vite-bundle-visualizer": "1.2.1",
63
63
  "vite-plugin-dts": "4.5.4",
64
64
  "vite-plugin-istanbul": "7.0.0",
65
- "vitest": "3.2.2",
65
+ "vitest": "3.2.3",
66
66
  "vue-drawing-canvas": "1.0.14"
67
67
  },
68
68
  "optionalDependencies": {
69
- "@rollup/rollup-linux-x64-gnu": "4.42.0"
69
+ "@rollup/rollup-linux-x64-gnu": "4.43.0"
70
70
  },
71
71
  "nyc": {
72
72
  "all": true,