@signal24/vue-foundation 4.13.7 → 4.13.8

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.
@@ -10,6 +10,6 @@ export declare function maskComponent(cmp: AnyComponentPublicInstance, message?:
10
10
  export declare function unmaskComponent(cmp: AnyComponentPublicInstance): void;
11
11
  export declare function maskEl(el: MaskElement, message?: string): () => void;
12
12
  export declare function unmaskEl(el: MaskElement): void;
13
- export declare function maskForm(formOrCmp: Element | AnyComponentPublicInstance, buttonSelector?: string | Element, buttonText?: string): (() => void) | undefined;
13
+ export declare function maskForm(formOrCmp: Element | AnyComponentPublicInstance, buttonSelector?: string | Element, buttonText?: string): () => void;
14
14
  export declare function unmaskForm(formOrCmp: Element | AnyComponentPublicInstance): void;
15
15
  export {};
@@ -258,7 +258,8 @@ const Q = Symbol("FormMaskState");
258
258
  function ft(e, t, n) {
259
259
  const i = e instanceof Element ? e : He(e);
260
260
  if (!i)
261
- return;
261
+ return () => {
262
+ };
262
263
  i.classList.add("vf-masked");
263
264
  const s = t instanceof Element ? t : i.querySelectorAll(t ?? 'button:not([disabled]):not([type="button"])')[0];
264
265
  let o;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@signal24/vue-foundation",
3
3
  "type": "module",
4
- "version": "4.13.7",
4
+ "version": "4.13.8",
5
5
  "description": "Common components, directives, and helpers for Vue 3 apps",
6
6
  "module": "./dist/vue-foundation.es.js",
7
7
  "exports": {
@@ -58,7 +58,7 @@ type FormMaskElement = Element & IFormMaskState;
58
58
 
59
59
  export function maskForm(formOrCmp: Element | AnyComponentPublicInstance, buttonSelector?: string | Element, buttonText?: string) {
60
60
  const form = formOrCmp instanceof Element ? formOrCmp : getFormFromCmp(formOrCmp);
61
- if (!form) return;
61
+ if (!form) return () => {};
62
62
 
63
63
  form.classList.add('vf-masked');
64
64