@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.
@@ -128,8 +128,6 @@ var GovernanceRuleTypeEnum;
128
128
  (function (GovernanceRuleTypeEnum) {
129
129
  GovernanceRuleTypeEnum[GovernanceRuleTypeEnum["ModuleExists"] = 1] = "ModuleExists";
130
130
  GovernanceRuleTypeEnum[GovernanceRuleTypeEnum["ModuleNotExists"] = 2] = "ModuleNotExists";
131
- // Legacy alias kept for older consumers and saved rules.
132
- GovernanceRuleTypeEnum[GovernanceRuleTypeEnum["ModuleDoesNotExist"] = 2] = "ModuleDoesNotExist";
133
131
  GovernanceRuleTypeEnum[GovernanceRuleTypeEnum["ModuleMaxCount"] = 10] = "ModuleMaxCount";
134
132
  GovernanceRuleTypeEnum[GovernanceRuleTypeEnum["ModuleMinCount"] = 11] = "ModuleMinCount";
135
133
  GovernanceRuleTypeEnum[GovernanceRuleTypeEnum["PhaseGateCompleted"] = 20] = "PhaseGateCompleted";
@@ -139,9 +137,6 @@ var GovernanceRuleTypeEnum;
139
137
  GovernanceRuleTypeEnum[GovernanceRuleTypeEnum["PropertyValueEquals"] = 40] = "PropertyValueEquals";
140
138
  GovernanceRuleTypeEnum[GovernanceRuleTypeEnum["PropertyHasValue"] = 41] = "PropertyHasValue";
141
139
  GovernanceRuleTypeEnum[GovernanceRuleTypeEnum["CustomExpression"] = 100] = "CustomExpression";
142
- // Legacy aliases kept for backwards compatibility.
143
- GovernanceRuleTypeEnum[GovernanceRuleTypeEnum["FieldRequired"] = 5] = "FieldRequired";
144
- GovernanceRuleTypeEnum[GovernanceRuleTypeEnum["FieldValue"] = 40] = "FieldValue";
145
140
  })(GovernanceRuleTypeEnum || (GovernanceRuleTypeEnum = {}));
146
141
  // ============================================================================
147
142
  // State Model
@@ -2818,9 +2813,6 @@ class GovernanceRulesList {
2818
2813
  this.facade.getRuleTypes();
2819
2814
  }
2820
2815
  }
2821
- ngOnDestroy() {
2822
- this.facade.resetState();
2823
- }
2824
2816
  openRuleDialog(rule = null) {
2825
2817
  const modalType = rule ? 'drawer' : 'drawer';
2826
2818
  this.modal.openModal(GovernanceRuleForm, modalType, {