@micropermit/client-angular 0.2.12 → 0.3.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/bundles/micropermit-client-angular.umd.js +29 -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/links/linkfield.js +10 -1
- package/esm2015/lib/microobject.js +14 -2
- package/esm5/lib/links/linkfield.js +13 -1
- package/esm5/lib/microobject.js +19 -2
- package/fesm2015/micropermit-client-angular.js +22 -2
- package/fesm2015/micropermit-client-angular.js.map +1 -1
- package/fesm5/micropermit-client-angular.js +30 -2
- package/fesm5/micropermit-client-angular.js.map +1 -1
- package/lib/links/linkfield.d.ts +1 -0
- package/lib/microobject.d.ts +1 -0
- package/micropermit-client-angular.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -950,6 +950,18 @@
|
|
|
950
950
|
this.valueSubj = null;
|
|
951
951
|
this._getPromise = null;
|
|
952
952
|
};
|
|
953
|
+
/**
|
|
954
|
+
* @return {?}
|
|
955
|
+
*/
|
|
956
|
+
LinkField.prototype.copyUninitialized = /**
|
|
957
|
+
* @return {?}
|
|
958
|
+
*/
|
|
959
|
+
function () {
|
|
960
|
+
/** @type {?} */
|
|
961
|
+
var copy = this.copy();
|
|
962
|
+
copy.uninitialize();
|
|
963
|
+
return copy;
|
|
964
|
+
};
|
|
953
965
|
/**
|
|
954
966
|
* @return {?}
|
|
955
967
|
*/
|
|
@@ -1105,7 +1117,23 @@
|
|
|
1105
1117
|
* @return {?}
|
|
1106
1118
|
*/
|
|
1107
1119
|
function (toCopy, client) {
|
|
1108
|
-
return (/** @type {?} */ (lodash.
|
|
1120
|
+
return (/** @type {?} */ (lodash.cloneDeepWith(toCopy, MicroObject.deepCopyCustomizer)));
|
|
1121
|
+
};
|
|
1122
|
+
/**
|
|
1123
|
+
* @private
|
|
1124
|
+
* @param {?} value
|
|
1125
|
+
* @return {?}
|
|
1126
|
+
*/
|
|
1127
|
+
MicroObject.deepCopyCustomizer = /**
|
|
1128
|
+
* @private
|
|
1129
|
+
* @param {?} value
|
|
1130
|
+
* @return {?}
|
|
1131
|
+
*/
|
|
1132
|
+
function (value) {
|
|
1133
|
+
if (value instanceof MicroClient) {
|
|
1134
|
+
return value;
|
|
1135
|
+
}
|
|
1136
|
+
return undefined;
|
|
1109
1137
|
};
|
|
1110
1138
|
/**
|
|
1111
1139
|
* @template T
|