@coolon/angular-ui-powerups 1.0.0 → 1.0.1-alpha.1
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 +9 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +22 -17
- 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/components.module.js +3 -1
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-input.component.js +6 -14
- package/esm2015/lib/components/forms/abstract-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/abstract-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/abstract-input.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/forms/number-input/number-input.component.js +6 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.js +6 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/password-input/password-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.js +4 -0
- package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js +4 -0
- package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.metadata.json +1 -1
- package/esm5/lib/components/components.module.js +3 -1
- package/esm5/lib/components/components.module.js.map +1 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/forms/abstract-input.component.js +6 -18
- package/esm5/lib/components/forms/abstract-input.component.js.map +1 -1
- package/esm5/lib/components/forms/abstract-input.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/forms/number-input/number-input.component.js +6 -1
- package/esm5/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm5/lib/components/forms/password-input/password-input.component.js +6 -1
- package/esm5/lib/components/forms/password-input/password-input.component.js.map +1 -1
- package/esm5/lib/components/forms/select-input/select-input.component.js +4 -0
- package/esm5/lib/components/forms/select-input/select-input.component.js.map +1 -1
- package/esm5/lib/components/forms/string-input/string-input.component.js +4 -0
- package/esm5/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +23 -14
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +23 -18
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/abstract-input.component.d.ts +2 -3
- package/lib/components/forms/number-input/number-input.component.d.ts +3 -1
- package/lib/components/forms/password-input/password-input.component.d.ts +2 -0
- package/lib/components/forms/select-input/select-input.component.d.ts +2 -1
- package/lib/components/forms/string-input/string-input.component.d.ts +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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.0.1-alpha.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.0.1-alpha.0...v1.0.1-alpha.1) (2020-05-04)
|
|
6
|
+
|
|
7
|
+
### [1.0.1-alpha.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.0.0...v1.0.1-alpha.0) (2020-05-04)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* fixed production build null pointers ([1e51b9d](https://bitbucket.org/coolon/angular-ui-powerups/commit/1e51b9d)), closes [#AUP-69](https://bitbucket.org/coolon/angular-ui-powerups/issues/AUP-69)
|
|
13
|
+
|
|
5
14
|
## [1.0.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.0.0-alpha.16...v1.0.0) (2020-05-02)
|
|
6
15
|
|
|
7
16
|
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
__extends(AbstractInputComponent, _super);
|
|
490
490
|
function AbstractInputComponent() {
|
|
491
491
|
var _this = _super.call(this) || this;
|
|
492
|
-
_this.
|
|
492
|
+
_this.delegatingFormValueModel = new pectin.DelegatingFormValueModel();
|
|
493
493
|
// TODO: fix this.
|
|
494
494
|
// tslint:disable-next-line:no-output-native
|
|
495
495
|
_this.focus = new core.EventEmitter();
|
|
@@ -507,13 +507,6 @@
|
|
|
507
507
|
};
|
|
508
508
|
return _this;
|
|
509
509
|
}
|
|
510
|
-
Object.defineProperty(AbstractInputComponent.prototype, "userValueModel", {
|
|
511
|
-
set: function (model) {
|
|
512
|
-
this.valueModel.setDelegate(model);
|
|
513
|
-
},
|
|
514
|
-
enumerable: true,
|
|
515
|
-
configurable: true
|
|
516
|
-
});
|
|
517
510
|
AbstractInputComponent.prototype.notifyClick = function () {
|
|
518
511
|
this.safelyInvoke(this.clickCommand);
|
|
519
512
|
};
|
|
@@ -545,7 +538,7 @@
|
|
|
545
538
|
};
|
|
546
539
|
Object.defineProperty(AbstractInputComponent.prototype, "enabled", {
|
|
547
540
|
get: function () {
|
|
548
|
-
return this.
|
|
541
|
+
return this.delegatingFormValueModel.enabled;
|
|
549
542
|
},
|
|
550
543
|
enumerable: true,
|
|
551
544
|
configurable: true
|
|
@@ -555,7 +548,7 @@
|
|
|
555
548
|
};
|
|
556
549
|
Object.defineProperty(AbstractInputComponent.prototype, "errorList", {
|
|
557
550
|
get: function () {
|
|
558
|
-
return this.
|
|
551
|
+
return this.delegatingFormValueModel.errorList;
|
|
559
552
|
},
|
|
560
553
|
enumerable: true,
|
|
561
554
|
configurable: true
|
|
@@ -567,11 +560,6 @@
|
|
|
567
560
|
enumerable: true,
|
|
568
561
|
configurable: true
|
|
569
562
|
});
|
|
570
|
-
__decorate([
|
|
571
|
-
core.Input('valueModel'), pectin.UseDelegate(),
|
|
572
|
-
__metadata("design:type", pectin.ValueModel),
|
|
573
|
-
__metadata("design:paramtypes", [pectin.ValueModel])
|
|
574
|
-
], AbstractInputComponent.prototype, "userValueModel", null);
|
|
575
563
|
__decorate([
|
|
576
564
|
core.Input(),
|
|
577
565
|
__metadata("design:type", String)
|
|
@@ -643,7 +631,7 @@
|
|
|
643
631
|
__metadata("design:returntype", void 0)
|
|
644
632
|
], AbstractInputComponent.prototype, "notifyFocusOut", null);
|
|
645
633
|
AbstractInputComponent = __decorate([
|
|
646
|
-
core.
|
|
634
|
+
core.Component({ template: '' }),
|
|
647
635
|
__metadata("design:paramtypes", [])
|
|
648
636
|
], AbstractInputComponent);
|
|
649
637
|
return AbstractInputComponent;
|
|
@@ -656,6 +644,10 @@
|
|
|
656
644
|
}
|
|
657
645
|
NumberInputComponent.prototype.ngOnInit = function () {
|
|
658
646
|
};
|
|
647
|
+
__decorate([
|
|
648
|
+
core.Input(), pectin.UseDelegate({ useExisting: "delegatingFormValueModel" }),
|
|
649
|
+
__metadata("design:type", Object)
|
|
650
|
+
], NumberInputComponent.prototype, "valueModel", void 0);
|
|
659
651
|
NumberInputComponent = __decorate([
|
|
660
652
|
core.Component({
|
|
661
653
|
selector: 'aup-number-input',
|
|
@@ -674,6 +666,10 @@
|
|
|
674
666
|
}
|
|
675
667
|
PasswordInputComponent.prototype.ngOnInit = function () {
|
|
676
668
|
};
|
|
669
|
+
__decorate([
|
|
670
|
+
core.Input(), pectin.UseDelegate({ useExisting: "delegatingFormValueModel" }),
|
|
671
|
+
__metadata("design:type", Object)
|
|
672
|
+
], PasswordInputComponent.prototype, "valueModel", void 0);
|
|
677
673
|
PasswordInputComponent = __decorate([
|
|
678
674
|
core.Component({
|
|
679
675
|
selector: 'aup-password-input',
|
|
@@ -694,6 +690,10 @@
|
|
|
694
690
|
}
|
|
695
691
|
SelectInputComponent.prototype.ngOnInit = function () {
|
|
696
692
|
};
|
|
693
|
+
__decorate([
|
|
694
|
+
core.Input(), pectin.UseDelegate({ useExisting: "delegatingFormValueModel" }),
|
|
695
|
+
__metadata("design:type", Object)
|
|
696
|
+
], SelectInputComponent.prototype, "valueModel", void 0);
|
|
697
697
|
__decorate([
|
|
698
698
|
core.Input(), pectin.UseDelegate(),
|
|
699
699
|
__metadata("design:type", pectin.ListModel)
|
|
@@ -746,6 +746,10 @@
|
|
|
746
746
|
}
|
|
747
747
|
StringInputComponent.prototype.ngOnInit = function () {
|
|
748
748
|
};
|
|
749
|
+
__decorate([
|
|
750
|
+
core.Input(), pectin.UseDelegate({ useExisting: "delegatingFormValueModel" }),
|
|
751
|
+
__metadata("design:type", Object)
|
|
752
|
+
], StringInputComponent.prototype, "valueModel", void 0);
|
|
749
753
|
__decorate([
|
|
750
754
|
core.Input(), pectin.UseDelegate({ defaultValue: false }),
|
|
751
755
|
__metadata("design:type", pectin.ValueModel)
|
|
@@ -806,7 +810,8 @@
|
|
|
806
810
|
PasswordInputComponent,
|
|
807
811
|
SelectInputComponent,
|
|
808
812
|
ScrollContainerComponent,
|
|
809
|
-
NoopComponent
|
|
813
|
+
NoopComponent,
|
|
814
|
+
AbstractInputComponent
|
|
810
815
|
],
|
|
811
816
|
imports: [
|
|
812
817
|
common.CommonModule,
|