@micropermit/client-angular 0.4.3 → 0.4.4-alpha
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/micropermit-client-angular.umd.js +25 -1
- package/bundles/micropermit-client-angular.umd.js.map +1 -1
- package/bundles/micropermit-client-angular.umd.min.js +1 -1
- package/bundles/micropermit-client-angular.umd.min.js.map +1 -1
- package/esm2015/lib/directives/linkfield.directive.js +22 -2
- package/esm5/lib/directives/linkfield.directive.js +26 -2
- package/fesm2015/micropermit-client-angular.js +21 -1
- package/fesm2015/micropermit-client-angular.js.map +1 -1
- package/fesm5/micropermit-client-angular.js +25 -1
- package/fesm5/micropermit-client-angular.js.map +1 -1
- package/lib/directives/linkfield.directive.d.ts +5 -3
- package/micropermit-client-angular.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2159,6 +2159,7 @@
|
|
|
2159
2159
|
this.hasResult = false;
|
|
2160
2160
|
this.subscription = null;
|
|
2161
2161
|
this.linkFieldDefaultErrorHandling = false;
|
|
2162
|
+
this.linkFieldParams = null;
|
|
2162
2163
|
this._defaultLoadingComponent = componentResolver.resolveComponentFactory(MicroClientLoadingIndicatorComponent);
|
|
2163
2164
|
this._defaultErrorComponent = componentResolver.resolveComponentFactory(MicroClientErrorIndicatorComponent);
|
|
2164
2165
|
}
|
|
@@ -2288,6 +2289,26 @@
|
|
|
2288
2289
|
function () {
|
|
2289
2290
|
this.clear();
|
|
2290
2291
|
};
|
|
2292
|
+
/**
|
|
2293
|
+
* @param {?} changes
|
|
2294
|
+
* @return {?}
|
|
2295
|
+
*/
|
|
2296
|
+
LinkFieldDirective.prototype.ngOnChanges = /**
|
|
2297
|
+
* @param {?} changes
|
|
2298
|
+
* @return {?}
|
|
2299
|
+
*/
|
|
2300
|
+
function (changes) {
|
|
2301
|
+
if (changes.linkFieldFrom) {
|
|
2302
|
+
if (!(this._from instanceof LinkField)) {
|
|
2303
|
+
this._from = LinkField.from((/** @type {?} */ (this._from)));
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
if (changes.linkFieldParams && this.linkFieldParams) {
|
|
2307
|
+
/** @type {?} */
|
|
2308
|
+
var link = (/** @type {?} */ (this._from));
|
|
2309
|
+
this._from = link.withCallParams(this.linkFieldParams);
|
|
2310
|
+
}
|
|
2311
|
+
};
|
|
2291
2312
|
/**
|
|
2292
2313
|
* @private
|
|
2293
2314
|
* @param {?} error
|
|
@@ -2421,7 +2442,8 @@
|
|
|
2421
2442
|
linkFieldErrorTemplate: [{ type: core.Input }],
|
|
2422
2443
|
linkFieldTemplate: [{ type: core.Input }],
|
|
2423
2444
|
linkFieldDefaultErrorHandling: [{ type: core.Input }],
|
|
2424
|
-
linkFieldValueChange: [{ type: core.Input }]
|
|
2445
|
+
linkFieldValueChange: [{ type: core.Input }],
|
|
2446
|
+
linkFieldParams: [{ type: core.Input }]
|
|
2425
2447
|
};
|
|
2426
2448
|
return LinkFieldDirective;
|
|
2427
2449
|
}());
|
|
@@ -2490,6 +2512,8 @@
|
|
|
2490
2512
|
LinkFieldDirective.prototype.linkFieldDefaultErrorHandling;
|
|
2491
2513
|
/** @type {?} */
|
|
2492
2514
|
LinkFieldDirective.prototype.linkFieldValueChange;
|
|
2515
|
+
/** @type {?} */
|
|
2516
|
+
LinkFieldDirective.prototype.linkFieldParams;
|
|
2493
2517
|
/**
|
|
2494
2518
|
* @type {?}
|
|
2495
2519
|
* @private
|