@masterteam/work-center 0.0.53 → 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.
|
|
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/client-components": "^0.0.58",
|
|
24
|
-
"@masterteam/components": "^0.0.228",
|
|
25
|
-
"@masterteam/forms": "^0.0.117",
|
|
26
23
|
"@masterteam/discussion": "^0.0.26",
|
|
27
|
-
"@masterteam/
|
|
28
|
-
"@masterteam/
|
|
24
|
+
"@masterteam/client-components": "^0.0.58",
|
|
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": {
|
|
@@ -162,6 +162,12 @@ interface WorkCenterPreviewLevelTarget {
|
|
|
162
162
|
* workspace default tab.
|
|
163
163
|
*/
|
|
164
164
|
moduleId?: number | string | null;
|
|
165
|
+
/**
|
|
166
|
+
* Display name of that module, when the item resolves to one. Used to label
|
|
167
|
+
* the preview button as "Preview {module name}" instead of the generic
|
|
168
|
+
* "Preview Level".
|
|
169
|
+
*/
|
|
170
|
+
moduleName?: string | null;
|
|
165
171
|
}
|
|
166
172
|
interface WorkCenterItemActionsData {
|
|
167
173
|
cardKey: string | null;
|
|
@@ -356,8 +362,14 @@ declare class WorkCenterClientFormModal {
|
|
|
356
362
|
readonly formMode: _angular_core.Signal<"create" | "edit">;
|
|
357
363
|
readonly validationMessage: _angular_core.WritableSignal<string | null>;
|
|
358
364
|
readonly submitError: _angular_core.WritableSignal<string | null>;
|
|
359
|
-
readonly isSubmitting: _angular_core.WritableSignal<boolean>;
|
|
360
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>;
|
|
361
373
|
onSubmit(): void;
|
|
362
374
|
onSubmitted(response: ProcessFormSubmitResponse): void;
|
|
363
375
|
onErrored(error: string): void;
|