@coolon/angular-ui-powerups 12.4.0-alpha.63 → 12.4.0-alpha.64
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/bundles/coolon-angular-ui-powerups.umd.js +20 -17
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js +1 -1
- package/esm2015/lib/components/commands/group/popup-menu/abstract-popup-menu.component.js.map +1 -1
- package/esm2015/lib/components/tables/table/column-model.js +5 -4
- package/esm2015/lib/components/tables/table/column-model.js.map +1 -1
- package/esm2015/lib/components/tables/table/column-model.metadata.json +1 -1
- package/esm2015/lib/directives/command.directive.js +1 -1
- package/esm2015/lib/directives/command.directive.js.map +1 -1
- package/esm2015/lib/interaction/activity.js +1 -1
- package/esm2015/lib/interaction/activity.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +1 -1
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js.map +1 -1
- package/esm2015/lib/interaction/services/interaction.service.js +1 -1
- package/esm2015/lib/interaction/services/interaction.service.js.map +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.js +1 -1
- package/esm2015/lib/place/components/abstract-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/place-router.js +1 -1
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +11 -10
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/tables/table/column-model.d.ts +2 -2
- package/package.json +1 -1
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
function CommandDirective(elementRef, matButton, matMenuItem) {
|
|
358
358
|
var _this = _super.call(this) || this;
|
|
359
359
|
_this.elementRef = elementRef;
|
|
360
|
-
_this._commandEnabled = new pectin.DelegatingValueModel().withDefault(false);
|
|
360
|
+
_this._commandEnabled = _this.registerDisposable(new pectin.DelegatingValueModel().withDefault(false));
|
|
361
361
|
_this._commandParameterProvided = false;
|
|
362
362
|
// Material buttons and menu items don't respond to the disabled binding so we
|
|
363
363
|
// need to inject them from our host element and handle them manually.
|
|
@@ -1372,7 +1372,7 @@
|
|
|
1372
1372
|
function AbstractPopupMenuComponent(element, parent) {
|
|
1373
1373
|
var _this = _super.call(this, element, parent) || this;
|
|
1374
1374
|
_this._unorderedChildren = new pectin.MutableListModel();
|
|
1375
|
-
_this.faceModelDelegate = new pectin.DelegatingValueModel();
|
|
1375
|
+
_this.faceModelDelegate = _this.registerDisposable(new pectin.DelegatingValueModel());
|
|
1376
1376
|
_this.xPosition = 'after';
|
|
1377
1377
|
_this.yPosition = 'below';
|
|
1378
1378
|
var _c = pectin.Dsl.disposeWith(_this), chain = _c.chain, valueOf = _c.valueOf, before = _c.before, when = _c.when, after = _c.after, observe = _c.observe, switchOn = _c.switchOn;
|
|
@@ -3073,16 +3073,19 @@
|
|
|
3073
3073
|
};
|
|
3074
3074
|
var ɵ0 = noop;
|
|
3075
3075
|
var CELL_RENDERER_COMPONENT_ROW_CACHE = Symbol('aup-cell-renderer:row-data-cache');
|
|
3076
|
-
var ColumnModel = /** @class */ (function () {
|
|
3076
|
+
var ColumnModel = /** @class */ (function (_super) {
|
|
3077
|
+
__extends(ColumnModel, _super);
|
|
3077
3078
|
function ColumnModel(columnId, textPropertiesProvider) {
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3079
|
+
var _this = _super.call(this) || this;
|
|
3080
|
+
_this.columnId = columnId;
|
|
3081
|
+
_this.textPropertiesProvider = textPropertiesProvider;
|
|
3082
|
+
_this._enableRowSelection = true;
|
|
3083
|
+
_this._flex = false;
|
|
3084
|
+
_this._defaultVisibility = _this.registerDisposable(new pectin.DelegatingValueModel().withDefault(true));
|
|
3085
|
+
_this._visible = _this.registerDisposable(new pectin.DelegatingValueModel().withDefault(_this._defaultVisibility));
|
|
3086
|
+
_this.installHeaderRenderer();
|
|
3087
|
+
_this.dasherisedColumnId = typescriptUtilities.Stringy.from(columnId).dasherize().toString();
|
|
3088
|
+
return _this;
|
|
3086
3089
|
}
|
|
3087
3090
|
ColumnModel.prototype.installHeaderRenderer = function () {
|
|
3088
3091
|
this.cellHeaderRenderer(DefaultHeaderCellRendererComponent, function (component, column) {
|
|
@@ -3180,7 +3183,7 @@
|
|
|
3180
3183
|
return this._enableRowSelection;
|
|
3181
3184
|
};
|
|
3182
3185
|
return ColumnModel;
|
|
3183
|
-
}());
|
|
3186
|
+
}(pectin.GarbageCollector));
|
|
3184
3187
|
__decorate([
|
|
3185
3188
|
src.Memoize(),
|
|
3186
3189
|
__metadata("design:type", Function),
|
|
@@ -5189,7 +5192,7 @@
|
|
|
5189
5192
|
__extends(Activity, _super);
|
|
5190
5193
|
function Activity() {
|
|
5191
5194
|
var _this = _super.call(this) || this;
|
|
5192
|
-
_this._busyModel = new pectin.DelegatingValueModel().withDefault(false);
|
|
5195
|
+
_this._busyModel = _this.registerDisposable(new pectin.DelegatingValueModel().withDefault(false));
|
|
5193
5196
|
_this._focusedModel = _this.registerDisposable(new pectin.DelegatingValueModel());
|
|
5194
5197
|
_this.class = 'aup-activity';
|
|
5195
5198
|
return _this;
|
|
@@ -5596,7 +5599,7 @@
|
|
|
5596
5599
|
_this.activityRefs = [];
|
|
5597
5600
|
_this.garbage = new pectin.GarbageCollector();
|
|
5598
5601
|
_this.inAnimation = new pectin.MutableValueModel(false);
|
|
5599
|
-
_this.busy = new pectin.DelegatingValueModel().withDefault(false);
|
|
5602
|
+
_this.busy = _this.registerDisposable(new pectin.DelegatingValueModel().withDefault(false));
|
|
5600
5603
|
_this.registerDisposable(_this.busy);
|
|
5601
5604
|
return _this;
|
|
5602
5605
|
}
|
|
@@ -6070,7 +6073,7 @@
|
|
|
6070
6073
|
function ContextRegistry() {
|
|
6071
6074
|
var _this = _super.call(this) || this;
|
|
6072
6075
|
_this._interactions = new pectin.MutableListModel();
|
|
6073
|
-
_this._disabledDelegate = new pectin.DelegatingValueModel().withDefault(false);
|
|
6076
|
+
_this._disabledDelegate = _this.registerDisposable(new pectin.DelegatingValueModel().withDefault(false));
|
|
6074
6077
|
var _a = pectin.Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
6075
6078
|
_this.active = chain(_this._interactions).isNotEmpty();
|
|
6076
6079
|
_this.interactionContextIds = chain(_this._interactions).pluck("identifier");
|
|
@@ -9038,7 +9041,7 @@
|
|
|
9038
9041
|
* An observable model containing the authoriser function. This allows places to react to changes
|
|
9039
9042
|
* in permissions when any underlying auth logic changes, e.g. a role being removed from a user.
|
|
9040
9043
|
*/
|
|
9041
|
-
_this._accessGuard = new pectin.DelegatingValueModel().withDefault(new exports.PlaceAccessGuard.NoAuth());
|
|
9044
|
+
_this._accessGuard = _this.registerDisposable(new pectin.DelegatingValueModel().withDefault(new exports.PlaceAccessGuard.NoAuth()));
|
|
9042
9045
|
if (window['Cypress']) {
|
|
9043
9046
|
window['aup.PlaceRouter'] = _this;
|
|
9044
9047
|
}
|
|
@@ -9688,7 +9691,7 @@
|
|
|
9688
9691
|
function AbstractPlaceNavigationComponent(placeRouter) {
|
|
9689
9692
|
var _this = _super.call(this) || this;
|
|
9690
9693
|
_this.placeRouter = placeRouter;
|
|
9691
|
-
_this._activePlaceComponent = new pectin.DelegatingValueModel();
|
|
9694
|
+
_this._activePlaceComponent = _this.registerDisposable(new pectin.DelegatingValueModel());
|
|
9692
9695
|
_this.trackByPlaceDef = function (data) { return data.place; };
|
|
9693
9696
|
var _a = pectin.Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
9694
9697
|
_this.placeDefinitions = chain(_this.placesModel)
|