@3squared/forge-ui-3 2.26.0 → 2.27.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.
@@ -1641,6 +1641,7 @@ const _t = {
1641
1641
  maxHeight: {},
1642
1642
  minHeight: {},
1643
1643
  hideErrorBanner: { type: Boolean, default: !1 },
1644
+ performingConfirm: { type: Boolean, default: !1 },
1644
1645
  header: { default: "Header" },
1645
1646
  footer: {},
1646
1647
  visible: { type: Boolean },
@@ -1807,8 +1808,9 @@ const _t = {
1807
1808
  class: P([l.submitClass, "ms-auto"]),
1808
1809
  onClick: r,
1809
1810
  id: "submit-button",
1810
- type: l.submitButtonType
1811
- }, null, 8, ["label", "class", "type"])
1811
+ type: l.submitButtonType,
1812
+ disabled: e.performingConfirm
1813
+ }, null, 8, ["label", "class", "type", "disabled"])
1812
1814
  ])
1813
1815
  ]),
1814
1816
  key: "0"
@@ -3092,7 +3094,8 @@ const xa = { class: "d-flex flex-column" }, ha = { class: "d-flex flex-row mt-1
3092
3094
  showSave: { type: Boolean, default: !0 },
3093
3095
  height: { default: 300 },
3094
3096
  width: { default: 600 },
3095
- lineJoin: { default: "round" }
3097
+ lineJoin: { default: "round" },
3098
+ performingSave: { type: Boolean, default: !1 }
3096
3099
  },
3097
3100
  emits: ["save"],
3098
3101
  setup(e, { emit: t }) {
@@ -3158,6 +3161,7 @@ const xa = { class: "d-flex flex-column" }, ha = { class: "d-flex flex-row mt-1
3158
3161
  a.showSave ? (d(), y(x, {
3159
3162
  key: 3,
3160
3163
  onClick: u,
3164
+ disabled: e.performingSave,
3161
3165
  class: "ms-auto",
3162
3166
  "data-cy": "save-button"
3163
3167
  }, {
@@ -3165,7 +3169,7 @@ const xa = { class: "d-flex flex-column" }, ha = { class: "d-flex flex-row mt-1
3165
3169
  O("Save", -1)
3166
3170
  ])]),
3167
3171
  _: 1
3168
- })) : T("", !0)
3172
+ }, 8, ["disabled"])) : T("", !0)
3169
3173
  ])
3170
3174
  ]);
3171
3175
  };
@@ -19,6 +19,7 @@ export interface ForgeModalProps extends DialogProps {
19
19
  maxHeight?: string | null;
20
20
  minHeight?: string | null;
21
21
  hideErrorBanner?: boolean;
22
+ performingConfirm?: boolean;
22
23
  }
23
24
  type __VLS_Props = ForgeModalProps;
24
25
  type __VLS_PublicProps = {
@@ -54,6 +55,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
54
55
  submitClass: string;
55
56
  resetErrorOnClose: boolean;
56
57
  hideErrorBanner: boolean;
58
+ performingConfirm: boolean;
57
59
  modal: boolean;
58
60
  showHeader: boolean;
59
61
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, 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": "2.26.0",
5
+ "version": "2.27.0",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "contributors": [
@@ -47,7 +47,7 @@
47
47
  "yup": "1.7.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@cypress/code-coverage": "3.14.6",
50
+ "@cypress/code-coverage": "3.14.7",
51
51
  "@primevue/auto-import-resolver": "4.4.1",
52
52
  "@vitejs/plugin-vue": "6.0.1",
53
53
  "@vitest/coverage-v8": "3.2.4",