@sprucelabs/spruce-role-utils 3.0.137 → 3.0.138
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.
|
@@ -76,8 +76,8 @@ class RoleSelectCardViewController extends AbstractViewController {
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
handleDidChange() {
|
|
79
|
-
var _a;
|
|
80
79
|
return __awaiter(this, void 0, void 0, function* () {
|
|
80
|
+
var _a;
|
|
81
81
|
yield ((_a = this.changeHandler) === null || _a === void 0 ? void 0 : _a.call(this, this.getSelectedRoles()));
|
|
82
82
|
});
|
|
83
83
|
}
|
|
@@ -121,8 +121,8 @@ class RoleSelectCardViewController extends AbstractViewController {
|
|
|
121
121
|
this.shouldIgnoreControlChanges = false;
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
|
-
selectRole(
|
|
125
|
-
return __awaiter(this,
|
|
124
|
+
selectRole(id_1) {
|
|
125
|
+
return __awaiter(this, arguments, void 0, function* (id, requirement = 'optional') {
|
|
126
126
|
yield this.enableRow(id, requirement);
|
|
127
127
|
yield this.handleDidChange();
|
|
128
128
|
});
|