@masterteam/work-center 0.0.54 → 0.0.55

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masterteam/work-center",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/work-center",
6
6
  "linkDirectory": false,
@@ -20,12 +20,12 @@
20
20
  "rxjs": "^7.8.2",
21
21
  "tailwindcss": "^4.2.2",
22
22
  "tailwindcss-primeui": "^0.6.1",
23
- "@masterteam/components": "^0.0.229",
24
- "@masterteam/forms": "^0.0.119",
25
23
  "@masterteam/discussion": "^0.0.26",
26
24
  "@masterteam/client-components": "^0.0.58",
27
- "@masterteam/icons": "^0.0.17",
28
- "@masterteam/structure-builder": "^0.0.61"
25
+ "@masterteam/forms": "^0.0.119",
26
+ "@masterteam/components": "^0.0.230",
27
+ "@masterteam/structure-builder": "^0.0.61",
28
+ "@masterteam/icons": "^0.0.17"
29
29
  },
30
30
  "sideEffects": false,
31
31
  "exports": {
@@ -362,8 +362,14 @@ declare class WorkCenterClientFormModal {
362
362
  readonly formMode: _angular_core.Signal<"create" | "edit">;
363
363
  readonly validationMessage: _angular_core.WritableSignal<string | null>;
364
364
  readonly submitError: _angular_core.WritableSignal<string | null>;
365
- readonly isSubmitting: _angular_core.WritableSignal<boolean>;
366
365
  readonly submitStatus: _angular_core.WritableSignal<"pending" | "executed" | null>;
366
+ /**
367
+ * Mirrors the client form's own submit state instead of tracking it locally.
368
+ * A blocking `process-submit/validate` failure ends the submit without
369
+ * emitting `submitted` or `errored`, so a local flag would stay stuck at
370
+ * `true` and permanently disable Submit / keep the "Submitting…" hint up.
371
+ */
372
+ readonly isSubmitting: _angular_core.Signal<boolean>;
367
373
  onSubmit(): void;
368
374
  onSubmitted(response: ProcessFormSubmitResponse): void;
369
375
  onErrored(error: string): void;