@coolon/angular-ui-powerups 1.1.1 → 1.2.0
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/CHANGELOG.md +7 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +9 -6
- 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/esm2015/lib/components/resize-aware.component.js +2 -2
- package/esm2015/lib/components/resize-aware.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/esm2015/lib/place/route/parameter-decorators.js +8 -5
- package/esm2015/lib/place/route/parameter-decorators.js.map +1 -1
- package/esm2015/lib/place/route/parameter-decorators.metadata.json +1 -1
- package/esm5/lib/components/resize-aware.component.js +2 -2
- package/esm5/lib/components/resize-aware.component.js.map +1 -1
- package/esm5/lib/place/place-router.js +1 -1
- package/esm5/lib/place/place-router.js.map +1 -1
- package/esm5/lib/place/route/parameter-decorators.js +8 -5
- package/esm5/lib/place/route/parameter-decorators.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +10 -7
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +10 -7
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/place/place-router.d.ts +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.2.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.1.1...v1.2.0) (2020-05-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* added aup-checkbox-input component ([529447f](https://bitbucket.org/coolon/angular-ui-powerups/commit/529447f972433b8bc70a965a2df7326fe2c493be))
|
|
11
|
+
|
|
5
12
|
### [1.1.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.1.0...v1.1.1) (2020-05-14)
|
|
6
13
|
|
|
7
14
|
## [1.1.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.0.2...v1.1.0) (2020-05-12)
|
|
@@ -3334,7 +3334,7 @@
|
|
|
3334
3334
|
_this.navigationSessionName = chain(_this.navigationSessionModel)
|
|
3335
3335
|
.pluck('name')
|
|
3336
3336
|
.otherwise(idleStateName);
|
|
3337
|
-
pectin.DebugContext.tag(_this._activeVisits,
|
|
3337
|
+
pectin.DebugContext.tag(_this._activeVisits, 'PlaceRouter.activeVisits');
|
|
3338
3338
|
_this.activeVisitsByPlaceDefinition = chain(_this._activeVisits).indexBy('placeDefinition');
|
|
3339
3339
|
// TODO: make setup the callbacks in during module initiation to make this testable.
|
|
3340
3340
|
angularRouter.events.subscribe(function (event) {
|
|
@@ -4176,7 +4176,7 @@
|
|
|
4176
4176
|
var _this = _super.call(this) || this;
|
|
4177
4177
|
_this.elementRef = elementRef;
|
|
4178
4178
|
_this.ngZone = ngZone;
|
|
4179
|
-
_this._boundsModel = new pectin.
|
|
4179
|
+
_this._boundsModel = new pectin.MutableValueModel(new exports.Bounds(0, 0, 0, 0));
|
|
4180
4180
|
return _this;
|
|
4181
4181
|
}
|
|
4182
4182
|
ResizeAwareComponent.prototype.ngAfterViewInit = function () {
|
|
@@ -4694,7 +4694,10 @@
|
|
|
4694
4694
|
mechanics.binding.dispose();
|
|
4695
4695
|
}
|
|
4696
4696
|
if (userModel) {
|
|
4697
|
-
mechanics.binding = new pectin.Binding(mechanics.backingModel, userModel
|
|
4697
|
+
mechanics.binding = new pectin.Binding(mechanics.backingModel, userModel, {
|
|
4698
|
+
toLeft: pectin.Functions.identity,
|
|
4699
|
+
toRight: pectin.Functions.identity
|
|
4700
|
+
});
|
|
4698
4701
|
if (isEmpty(userModel)) {
|
|
4699
4702
|
// console.log(`Push visit to model for ${tag}`, {value: mechanics.backingModel.value});
|
|
4700
4703
|
mechanics.binding.writeRight(); // push the visit into the user model;
|
|
@@ -4713,7 +4716,7 @@
|
|
|
4713
4716
|
return function (prototype, propertyKey) {
|
|
4714
4717
|
var param = new exports.ParameterDefinition.RouteId(propertyKey.toString(), options, type);
|
|
4715
4718
|
typescriptUtilities.Klass.get(prototype).addToOwnMetadataList(ROUTE_PARAMETER_LIST_KEY, param);
|
|
4716
|
-
installMechanics(prototype, propertyKey, new pectin.MutableValueModel(),
|
|
4719
|
+
installMechanics(prototype, propertyKey, new pectin.MutableValueModel(), '@RouteId', function (m) { return m.query().isNil(); });
|
|
4717
4720
|
};
|
|
4718
4721
|
}
|
|
4719
4722
|
function VisitParameter(options) {
|
|
@@ -4721,7 +4724,7 @@
|
|
|
4721
4724
|
return function (prototype, propertyKey) {
|
|
4722
4725
|
var param = new exports.ParameterDefinition.ValueParameter(propertyKey.toString(), options, opts.getOptional('storeInUrl', null));
|
|
4723
4726
|
typescriptUtilities.Klass.get(prototype).addToOwnMetadataList(ROUTE_PARAMETER_LIST_KEY, param);
|
|
4724
|
-
installMechanics(prototype, propertyKey, new pectin.MutableValueModel(),
|
|
4727
|
+
installMechanics(prototype, propertyKey, new pectin.MutableValueModel(), '@VisitParameter', function (m) { return m.query().isNil(); });
|
|
4725
4728
|
};
|
|
4726
4729
|
}
|
|
4727
4730
|
function VisitParameterList(options) {
|
|
@@ -4729,7 +4732,7 @@
|
|
|
4729
4732
|
return function (prototype, propertyKey) {
|
|
4730
4733
|
var param = new exports.ParameterDefinition.ArrayParameter(propertyKey.toString(), options, opts.getOptional('storeInUrl', null));
|
|
4731
4734
|
typescriptUtilities.Klass.get(prototype).addToOwnMetadataList(ROUTE_PARAMETER_LIST_KEY, param);
|
|
4732
|
-
installMechanics(prototype, propertyKey, new pectin.MutableListModel(),
|
|
4735
|
+
installMechanics(prototype, propertyKey, new pectin.MutableListModel(), '@VisitParameterList', function (m) { return m.query().isEmpty(); });
|
|
4733
4736
|
};
|
|
4734
4737
|
}
|
|
4735
4738
|
|