@coolon/angular-ui-powerups 11.2.0 → 11.2.3
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 +13 -11
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.js +1 -1
- package/esm2015/lib/components/forms/abstract-list-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.js +1 -1
- package/esm2015/lib/components/forms/abstract-value-input.component.js.map +1 -1
- package/esm2015/lib/components/table/abstract-table-model.js +4 -9
- package/esm2015/lib/components/table/abstract-table-model.js.map +1 -1
- package/esm2015/lib/components/table/abstract-table-model.metadata.json +1 -1
- package/esm2015/lib/place/place.decorator.js +5 -1
- package/esm2015/lib/place/place.decorator.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +10 -9
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/abstract-list-input.component.d.ts +1 -1
- package/lib/components/forms/abstract-value-input.component.d.ts +1 -1
- package/lib/place/place.decorator.d.ts +4 -0
- package/package.json +2 -2
- package/schematics/bootstrap-app/templates/src/app/app.component.ts.template +5 -3
- package/schematics/bootstrap-app/templates/src/app/components/components.module.ts.template +16 -0
|
@@ -1801,7 +1801,7 @@
|
|
|
1801
1801
|
* gets told it's an Object and can't scan for a base type annotated with @DelegateUsing(..).
|
|
1802
1802
|
*/
|
|
1803
1803
|
// We have to register it as a disposable so it ditches any listeners when we're disposed.
|
|
1804
|
-
_this.formValueModel = _this.registerDisposable(new pectin.Form.
|
|
1804
|
+
_this.formValueModel = _this.registerDisposable(new pectin.Form.DelegatingFormListModel());
|
|
1805
1805
|
_this.componentListModel = new pectin.MutableListModel();
|
|
1806
1806
|
_this.setValueIsInProgress = new pectin.Guard();
|
|
1807
1807
|
_this.valueChange = new i0.EventEmitter();
|
|
@@ -1871,7 +1871,7 @@
|
|
|
1871
1871
|
* gets told it's an Object and can't scan for a base type annotated with @DelegateUsing(..).
|
|
1872
1872
|
*/
|
|
1873
1873
|
// We have to register it as a disposable so it ditches any listeners when we're disposed.
|
|
1874
|
-
_this.formValueModel = _this.registerDisposable(new pectin.Form.
|
|
1874
|
+
_this.formValueModel = _this.registerDisposable(new pectin.Form.DelegatingFormValueModel());
|
|
1875
1875
|
_this.setValueInProgress = new pectin.Guard();
|
|
1876
1876
|
_this.componentValueModel = new pectin.MutableValueModel();
|
|
1877
1877
|
_this.valueChange = new i0.EventEmitter();
|
|
@@ -3235,7 +3235,7 @@
|
|
|
3235
3235
|
};
|
|
3236
3236
|
return VisibleColumnListModel;
|
|
3237
3237
|
}(pectin.AbstractComputedListModel));
|
|
3238
|
-
|
|
3238
|
+
var AbstractTableModel = /** @class */ (function (_super) {
|
|
3239
3239
|
__extends(AbstractTableModel, _super);
|
|
3240
3240
|
function AbstractTableModel(sourceOfTruth) {
|
|
3241
3241
|
var _this = _super.call(this) || this;
|
|
@@ -3418,10 +3418,7 @@
|
|
|
3418
3418
|
};
|
|
3419
3419
|
return AbstractTableModel;
|
|
3420
3420
|
}(pectin.GarbageCollector));
|
|
3421
|
-
|
|
3422
|
-
pectin.TrackExternal.Strategy(new pectin.TrackExternal.OneTimeBinding()),
|
|
3423
|
-
__metadata("design:paramtypes", [pectin.ListModel])
|
|
3424
|
-
], exports.AbstractTableModel);
|
|
3421
|
+
pectin.TrackExternal.oneTimeBinding(AbstractTableModel);
|
|
3425
3422
|
|
|
3426
3423
|
/**
|
|
3427
3424
|
* Create your model:
|
|
@@ -3578,7 +3575,7 @@
|
|
|
3578
3575
|
};
|
|
3579
3576
|
__decorate([
|
|
3580
3577
|
pectin.TrackExternal(),
|
|
3581
|
-
__metadata("design:type",
|
|
3578
|
+
__metadata("design:type", AbstractTableModel)
|
|
3582
3579
|
], TableComponent.prototype, "tableModel", void 0);
|
|
3583
3580
|
__decorate([
|
|
3584
3581
|
pectin.TrackExternal({ defaultValue: true }),
|
|
@@ -4330,7 +4327,7 @@
|
|
|
4330
4327
|
this.treeExpansionModel.ensureAncestorsAndSelfVisible(node);
|
|
4331
4328
|
};
|
|
4332
4329
|
return TreeTableModel;
|
|
4333
|
-
}(
|
|
4330
|
+
}(AbstractTableModel));
|
|
4334
4331
|
var FlattenStrategy = /** @class */ (function (_super) {
|
|
4335
4332
|
__extends(FlattenStrategy, _super);
|
|
4336
4333
|
function FlattenStrategy(collapsedIds) {
|
|
@@ -6159,7 +6156,7 @@
|
|
|
6159
6156
|
return this._addSelectionColumn(selectionModel);
|
|
6160
6157
|
};
|
|
6161
6158
|
return TableModel;
|
|
6162
|
-
}(
|
|
6159
|
+
}(AbstractTableModel));
|
|
6163
6160
|
|
|
6164
6161
|
/**
|
|
6165
6162
|
* @file Automatically generated by barrelsby.
|
|
@@ -8907,8 +8904,12 @@
|
|
|
8907
8904
|
|
|
8908
8905
|
function Place(options) {
|
|
8909
8906
|
return function (target) {
|
|
8907
|
+
var _a;
|
|
8910
8908
|
if (exports.PlaceComponent.isPlaceComponentConstructor(target)) {
|
|
8911
|
-
exports.PlaceComponent.injectDefinition(target, new PlaceDefinition(target, options.path, _.isNil(options.authenticate) ? true : options.authenticate,
|
|
8909
|
+
exports.PlaceComponent.injectDefinition(target, new PlaceDefinition(target, options.path, _.isNil(options.authenticate) ? true : options.authenticate, (_a = options.role) !== null && _a !== void 0 ? _a : options.roles, options.data, exports.PlaceComponent.getRouteParameters(target), (options.children || []).map(function (c) { return exports.PlaceComponent.getDefinition(c); })));
|
|
8910
|
+
if (options.roles) {
|
|
8911
|
+
console.warn(target.name + " @Place({roles: string[]}) is deprecated. Use @Place({role:any}) instead");
|
|
8912
|
+
}
|
|
8912
8913
|
}
|
|
8913
8914
|
else {
|
|
8914
8915
|
pectin.lang.illegalState(target + " must extend PlaceComponent to use the @Place decorator");
|
|
@@ -9401,6 +9402,7 @@
|
|
|
9401
9402
|
exports.AbstractPlaceNavigationComponent = AbstractPlaceNavigationComponent;
|
|
9402
9403
|
exports.AbstractPopStateNavigation = AbstractPopStateNavigation;
|
|
9403
9404
|
exports.AbstractPopupMenuComponent = AbstractPopupMenuComponent;
|
|
9405
|
+
exports.AbstractTableModel = AbstractTableModel;
|
|
9404
9406
|
exports.AbstractValueInputComponent = AbstractValueInputComponent;
|
|
9405
9407
|
exports.Activity = Activity;
|
|
9406
9408
|
exports.ActivityActionsComponent = ActivityActionsComponent;
|