@masterteam/governance 0.0.16 → 0.0.18
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/governance",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/governance",
|
|
6
6
|
"linkDirectory": false,
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"tailwindcss": "^4.2.2",
|
|
21
21
|
"tailwindcss-primeui": "^0.6.1",
|
|
22
22
|
"@ngxs/store": "^20.1.0",
|
|
23
|
-
"@masterteam/components": "^0.0.
|
|
24
|
-
"@masterteam/
|
|
25
|
-
"@masterteam/
|
|
23
|
+
"@masterteam/components": "^0.0.170",
|
|
24
|
+
"@masterteam/forms": "^0.0.77",
|
|
25
|
+
"@masterteam/icons": "^0.0.15"
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"exports": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit,
|
|
2
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
3
3
|
import { TableAction, ColumnDef, CellChangeEvent } from '@masterteam/components/table';
|
|
4
4
|
import { ModalService } from '@masterteam/components/modal';
|
|
5
5
|
import * as _masterteam_governance from '@masterteam/governance';
|
|
@@ -23,7 +23,6 @@ interface Translatable {
|
|
|
23
23
|
declare enum GovernanceRuleTypeEnum {
|
|
24
24
|
ModuleExists = 1,
|
|
25
25
|
ModuleNotExists = 2,
|
|
26
|
-
ModuleDoesNotExist = 2,
|
|
27
26
|
ModuleMaxCount = 10,
|
|
28
27
|
ModuleMinCount = 11,
|
|
29
28
|
PhaseGateCompleted = 20,
|
|
@@ -32,9 +31,7 @@ declare enum GovernanceRuleTypeEnum {
|
|
|
32
31
|
NoActiveRequest = 30,
|
|
33
32
|
PropertyValueEquals = 40,
|
|
34
33
|
PropertyHasValue = 41,
|
|
35
|
-
CustomExpression = 100
|
|
36
|
-
FieldRequired = 5,
|
|
37
|
-
FieldValue = 40
|
|
34
|
+
CustomExpression = 100
|
|
38
35
|
}
|
|
39
36
|
/**
|
|
40
37
|
* Option for select/multi-select fields
|
|
@@ -336,7 +333,7 @@ declare class GovernanceState extends CrudStateBase<GovernanceRule, GovernanceSt
|
|
|
336
333
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<GovernanceState>;
|
|
337
334
|
}
|
|
338
335
|
|
|
339
|
-
declare class GovernanceRulesList implements OnInit
|
|
336
|
+
declare class GovernanceRulesList implements OnInit {
|
|
340
337
|
typeCol: _angular_core.Signal<TemplateRef<any>>;
|
|
341
338
|
scopeCol: _angular_core.Signal<TemplateRef<any>>;
|
|
342
339
|
whenCol: _angular_core.Signal<TemplateRef<any>>;
|
|
@@ -377,7 +374,6 @@ declare class GovernanceRulesList implements OnInit, OnDestroy {
|
|
|
377
374
|
private activeRules;
|
|
378
375
|
private inactiveRules;
|
|
379
376
|
ngOnInit(): void;
|
|
380
|
-
ngOnDestroy(): void;
|
|
381
377
|
openRuleDialog(rule?: GovernanceRule | null): void;
|
|
382
378
|
onCellChange(event: CellChangeEvent): void;
|
|
383
379
|
getRuleTypeLabel(ruleTypeKey: string): string;
|