raise-common-lib 0.0.102 → 0.0.103
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/raise-common-lib.umd.js +12 -5
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/layout/nav-card-group/index.component.js +14 -7
- package/esm5/lib/layout/nav-card-group/index.component.js +14 -7
- package/fesm2015/raise-common-lib.js +12 -5
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +12 -5
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/layout/nav-card-group/index.component.d.ts +3 -1
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
|
@@ -3779,9 +3779,10 @@ if (false) {
|
|
|
3779
3779
|
var RSNavCardGroupComponent = /** @class */ (function () {
|
|
3780
3780
|
function RSNavCardGroupComponent(router) {
|
|
3781
3781
|
this.router = router;
|
|
3782
|
-
|
|
3783
|
-
// navClick = new EventEmitter<any>();
|
|
3782
|
+
this.navClick = new EventEmitter();
|
|
3784
3783
|
this.navList = [];
|
|
3784
|
+
this.customNavClick = false; // 接收输入属性
|
|
3785
|
+
// 接收输入属性
|
|
3785
3786
|
this.title = "";
|
|
3786
3787
|
}
|
|
3787
3788
|
/**
|
|
@@ -3790,8 +3791,7 @@ var RSNavCardGroupComponent = /** @class */ (function () {
|
|
|
3790
3791
|
RSNavCardGroupComponent.prototype.ngOnInit = /**
|
|
3791
3792
|
* @return {?}
|
|
3792
3793
|
*/
|
|
3793
|
-
function () {
|
|
3794
|
-
};
|
|
3794
|
+
function () { };
|
|
3795
3795
|
/**
|
|
3796
3796
|
* @param {?} item
|
|
3797
3797
|
* @return {?}
|
|
@@ -3801,9 +3801,10 @@ var RSNavCardGroupComponent = /** @class */ (function () {
|
|
|
3801
3801
|
* @return {?}
|
|
3802
3802
|
*/
|
|
3803
3803
|
function (item) {
|
|
3804
|
-
if (
|
|
3804
|
+
if (!this.customNavClick) {
|
|
3805
3805
|
this.router.navigate([item.url], { state: { title: item.title } });
|
|
3806
3806
|
}
|
|
3807
|
+
this.navClick.emit(item);
|
|
3807
3808
|
};
|
|
3808
3809
|
RSNavCardGroupComponent.decorators = [
|
|
3809
3810
|
{ type: Component, args: [{
|
|
@@ -3817,15 +3818,21 @@ var RSNavCardGroupComponent = /** @class */ (function () {
|
|
|
3817
3818
|
{ type: Router }
|
|
3818
3819
|
]; };
|
|
3819
3820
|
RSNavCardGroupComponent.propDecorators = {
|
|
3821
|
+
navClick: [{ type: Output }],
|
|
3820
3822
|
navList: [{ type: Input }],
|
|
3823
|
+
customNavClick: [{ type: Input }],
|
|
3821
3824
|
title: [{ type: Input }]
|
|
3822
3825
|
};
|
|
3823
3826
|
return RSNavCardGroupComponent;
|
|
3824
3827
|
}());
|
|
3825
3828
|
if (false) {
|
|
3829
|
+
/** @type {?} */
|
|
3830
|
+
RSNavCardGroupComponent.prototype.navClick;
|
|
3826
3831
|
/** @type {?} */
|
|
3827
3832
|
RSNavCardGroupComponent.prototype.navList;
|
|
3828
3833
|
/** @type {?} */
|
|
3834
|
+
RSNavCardGroupComponent.prototype.customNavClick;
|
|
3835
|
+
/** @type {?} */
|
|
3829
3836
|
RSNavCardGroupComponent.prototype.title;
|
|
3830
3837
|
/** @type {?} */
|
|
3831
3838
|
RSNavCardGroupComponent.prototype.router;
|