@masterteam/escalation 0.0.6 → 0.0.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.
|
@@ -658,8 +658,8 @@ let EscalationState = class EscalationState {
|
|
|
658
658
|
return of(null);
|
|
659
659
|
}), finalize(() => endLoading(ctx, 'deleteConnection')));
|
|
660
660
|
}
|
|
661
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
662
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
661
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EscalationState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
662
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EscalationState });
|
|
663
663
|
};
|
|
664
664
|
__decorate([
|
|
665
665
|
Action(SetModuleInfo)
|
|
@@ -745,7 +745,7 @@ EscalationState = __decorate([
|
|
|
745
745
|
defaults: DEFAULT_STATE,
|
|
746
746
|
})
|
|
747
747
|
], EscalationState);
|
|
748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EscalationState, decorators: [{
|
|
749
749
|
type: Injectable
|
|
750
750
|
}], propDecorators: { setModuleInfo: [], getEscalation: [], getFormulaProperties: [], getGroups: [], getRolesForModule: [], getStep: [], validateFlow: [], createStep: [], updateStep: [], createConnection: [], updateConnection: [], publishEscalation: [], deleteStep: [], deleteConnection: [] } });
|
|
751
751
|
|
|
@@ -811,10 +811,10 @@ class EscalationFacade {
|
|
|
811
811
|
deleteConnection(connectionId) {
|
|
812
812
|
return this.store.dispatch(new DeleteConnection(connectionId));
|
|
813
813
|
}
|
|
814
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
815
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
814
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EscalationFacade, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
815
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EscalationFacade, providedIn: 'root' });
|
|
816
816
|
}
|
|
817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EscalationFacade, decorators: [{
|
|
818
818
|
type: Injectable,
|
|
819
819
|
args: [{
|
|
820
820
|
providedIn: 'root',
|
|
@@ -1185,10 +1185,10 @@ class EscalationBuilder {
|
|
|
1185
1185
|
console.warn('Unknown structure action:', event.action);
|
|
1186
1186
|
}
|
|
1187
1187
|
}
|
|
1188
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
1189
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.
|
|
1188
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EscalationBuilder, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1189
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.2", type: EscalationBuilder, isStandalone: true, selector: "mt-escalation-builder", ngImport: i0, template: "<div class=\"h-full relative\" id=\"escalationCard\">\n @if (!loading()) {\n <mt-structure-builder\n class=\"flex-1\"\n [availableNodes]=\"availableNodes\"\n [connectionForm]=\"connectionForm()\"\n [nodeActions]=\"nodeActions()\"\n (nodeActionsEvent)=\"onNodeActionsEvent($event)\"\n [nodes]=\"steps()\"\n [connections]=\"connections()\"\n (action)=\"onStructureAction($event)\"\n [addModalType]=\"'drawer'\"\n [addModalStyleClass]=\"'!w-[25rem] !absolute !shadow-none'\"\n [updateModalStyleClass]=\"'!w-[25rem] !absolute !shadow-none'\"\n [addModalHeader]=\"'escalation.builder.addStep' | transloco\"\n [updateModalHeader]=\"'escalation.builder.editStep' | transloco\"\n [appendTo]=\"'escalationCard'\"\n [nodeFields]=\"nodeFields()\"\n >\n <ng-template\n #nodeDialog\n let-close=\"close\"\n let-save=\"save\"\n let-node=\"node\"\n >\n <div class=\"p-4\">\n @if (loadingStep()) {\n <!-- Loading skeleton -->\n <div class=\"space-y-4\">\n <!-- Form fields skeleton -->\n <div class=\"space-y-4\">\n <div>\n <p-skeleton\n width=\"8rem\"\n height=\"1rem\"\n styleClass=\"mb-2\"\n ></p-skeleton>\n <p-skeleton\n width=\"100%\"\n height=\"2.5rem\"\n borderRadius=\"0.5rem\"\n ></p-skeleton>\n </div>\n <div>\n <p-skeleton\n width=\"8rem\"\n height=\"1rem\"\n styleClass=\"mb-2\"\n ></p-skeleton>\n <p-skeleton\n width=\"100%\"\n height=\"2.5rem\"\n borderRadius=\"0.5rem\"\n ></p-skeleton>\n </div>\n <div>\n <p-skeleton\n width=\"10rem\"\n height=\"1rem\"\n styleClass=\"mb-2\"\n ></p-skeleton>\n <p-skeleton\n width=\"100%\"\n height=\"3rem\"\n borderRadius=\"0.5rem\"\n ></p-skeleton>\n </div>\n <div>\n <p-skeleton\n width=\"6rem\"\n height=\"1rem\"\n styleClass=\"mb-2\"\n ></p-skeleton>\n <p-skeleton\n width=\"100%\"\n height=\"2.5rem\"\n borderRadius=\"0.5rem\"\n ></p-skeleton>\n </div>\n <div>\n <p-skeleton\n width=\"4rem\"\n height=\"1rem\"\n styleClass=\"mb-2\"\n ></p-skeleton>\n <p-skeleton\n width=\"100%\"\n height=\"2.5rem\"\n borderRadius=\"0.5rem\"\n ></p-skeleton>\n </div>\n </div>\n </div>\n } @else {\n <!-- Actual content - just the form, no tabs -->\n <mt-dynamic-form\n [formConfig]=\"nodeForm()\"\n [formControl]=\"nodeFormControl\"\n ></mt-dynamic-form>\n }\n </div>\n </ng-template>\n </mt-structure-builder>\n }\n</div>\n", dependencies: [{ kind: "component", type: StructureBuilder, selector: "mt-structure-builder", inputs: ["availableNodes", "nodeForm", "connectionForm", "nodeActions", "nodeFields", "isAutoLayout", "addModalType", "updateModalType", "addModalStyleClass", "updateModalStyleClass", "addModalHeader", "updateModalHeader", "appendTo", "nodes", "connections"], outputs: ["nodeActionsEvent", "action", "nodesChange", "connectionsChange"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DynamicForm, selector: "mt-dynamic-form", inputs: ["formConfig"] }, { kind: "component", type: Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "pipe", type: i2.TranslocoPipe, name: "transloco" }] });
|
|
1190
1190
|
}
|
|
1191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
1191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EscalationBuilder, decorators: [{
|
|
1192
1192
|
type: Component,
|
|
1193
1193
|
args: [{ selector: 'mt-escalation-builder', imports: [
|
|
1194
1194
|
StructureBuilder,
|
package/package.json
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/escalation",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"publishConfig": {
|
|
5
|
-
"directory": "
|
|
6
|
-
"linkDirectory":
|
|
5
|
+
"directory": "../../../dist/masterteam/escalation",
|
|
6
|
+
"linkDirectory": true,
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@angular/common": "^21.0.
|
|
11
|
-
"@angular/core": "^21.0.
|
|
12
|
-
"@angular/forms": "^21.0.
|
|
10
|
+
"@angular/common": "^21.0.2",
|
|
11
|
+
"@angular/core": "^21.0.2",
|
|
12
|
+
"@angular/forms": "^21.0.2",
|
|
13
13
|
"@primeuix/themes": "^2.0.1",
|
|
14
14
|
"@tailwindcss/postcss": "^4.1.17",
|
|
15
|
+
"@jsverse/transloco": "^8.0.2",
|
|
15
16
|
"postcss": "^8.5.6",
|
|
16
17
|
"primeng": "21.0.0-beta.1",
|
|
17
18
|
"rxjs": "^7.8.2",
|
|
18
19
|
"tailwindcss": "^4.1.17",
|
|
19
20
|
"tailwindcss-primeui": "^0.6.1",
|
|
20
|
-
"@ngxs/store": "^20.1.0"
|
|
21
|
-
"@masterteam/components": "x",
|
|
22
|
-
"@masterteam/forms": "x",
|
|
23
|
-
"@masterteam/icons": "x",
|
|
24
|
-
"@masterteam/structure-builder": "x"
|
|
21
|
+
"@ngxs/store": "^20.1.0"
|
|
25
22
|
},
|
|
26
23
|
"dependencies": {
|
|
27
|
-
"tslib": "^2.3.0"
|
|
24
|
+
"tslib": "^2.3.0",
|
|
25
|
+
"@masterteam/components": "^0.0.64",
|
|
26
|
+
"@masterteam/structure-builder": "^0.0.27",
|
|
27
|
+
"@masterteam/icons": "^0.0.10",
|
|
28
|
+
"@masterteam/forms": "^0.0.29"
|
|
28
29
|
},
|
|
29
30
|
"sideEffects": false,
|
|
30
31
|
"exports": {
|
|
@@ -283,7 +283,7 @@ declare class EscalationState {
|
|
|
283
283
|
static errorFactory(state: EscalationStateModel): (loadingName: EscalationLoadingName) => string | null;
|
|
284
284
|
setModuleInfo(ctx: StateContext<EscalationStateModel>, action: SetModuleInfo): void;
|
|
285
285
|
getEscalation(ctx: StateContext<EscalationStateModel>, _action: GetEscalation): rxjs.Observable<Response<EscalationSchema> | null>;
|
|
286
|
-
getFormulaProperties(ctx: StateContext<EscalationStateModel>, _action: GetFormulaProperties): rxjs.Observable<null> | rxjs.Observable<
|
|
286
|
+
getFormulaProperties(ctx: StateContext<EscalationStateModel>, _action: GetFormulaProperties): rxjs.Observable<null> | rxjs.Observable<Response<FormulaProperty[]> | never[]>;
|
|
287
287
|
getGroups(ctx: StateContext<EscalationStateModel>, _action: GetGroups): rxjs.Observable<GroupDefinition[]> | rxjs.Observable<never[] | Response<GroupDefinition[]>>;
|
|
288
288
|
getRolesForModule(ctx: StateContext<EscalationStateModel>, _action: GetRolesForModule): rxjs.Observable<never[] | Response<RoleDefinition[]>>;
|
|
289
289
|
getStep(ctx: StateContext<EscalationStateModel>, action: GetStep): rxjs.Observable<Response<StepSchema> | null>;
|