raise-common-lib 0.0.99 → 0.0.100
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 +14 -2
- 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/commentary/index.component.js +17 -4
- package/esm5/lib/commentary/index.component.js +16 -4
- package/fesm2015/raise-common-lib.js +15 -2
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +14 -2
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/commentary/index.component.d.ts +3 -2
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
|
@@ -2084,9 +2084,10 @@ function Debounce(delay) {
|
|
|
2084
2084
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2085
2085
|
*/
|
|
2086
2086
|
var RsCommentaryComponent = /** @class */ (function () {
|
|
2087
|
-
function RsCommentaryComponent(cf, dialog) {
|
|
2087
|
+
function RsCommentaryComponent(cf, dialog, ref) {
|
|
2088
2088
|
this.cf = cf;
|
|
2089
2089
|
this.dialog = dialog;
|
|
2090
|
+
this.ref = ref;
|
|
2090
2091
|
this.commentData = [];
|
|
2091
2092
|
this.editPermission = true; // edit权限
|
|
2092
2093
|
// edit权限
|
|
@@ -2181,6 +2182,7 @@ var RsCommentaryComponent = /** @class */ (function () {
|
|
|
2181
2182
|
if (res) {
|
|
2182
2183
|
item.messageBody = _this.editCommentVal;
|
|
2183
2184
|
item.showCommentEdit = false;
|
|
2185
|
+
_this.ref.markForCheck();
|
|
2184
2186
|
}
|
|
2185
2187
|
}),
|
|
2186
2188
|
});
|
|
@@ -2228,6 +2230,8 @@ var RsCommentaryComponent = /** @class */ (function () {
|
|
|
2228
2230
|
function (res) {
|
|
2229
2231
|
if (res) {
|
|
2230
2232
|
_this.commentData.splice(idx, 1);
|
|
2233
|
+
_this.ref.detectChanges();
|
|
2234
|
+
_this.ref.markForCheck();
|
|
2231
2235
|
}
|
|
2232
2236
|
}),
|
|
2233
2237
|
});
|
|
@@ -2261,6 +2265,8 @@ var RsCommentaryComponent = /** @class */ (function () {
|
|
|
2261
2265
|
});
|
|
2262
2266
|
_this.replyVal = "";
|
|
2263
2267
|
item.showReplyInput = false;
|
|
2268
|
+
_this.ref.detectChanges();
|
|
2269
|
+
_this.ref.markForCheck();
|
|
2264
2270
|
}
|
|
2265
2271
|
}),
|
|
2266
2272
|
});
|
|
@@ -2289,7 +2295,8 @@ var RsCommentaryComponent = /** @class */ (function () {
|
|
|
2289
2295
|
/** @nocollapse */
|
|
2290
2296
|
RsCommentaryComponent.ctorParameters = function () { return [
|
|
2291
2297
|
{ type: CommonFunctionService },
|
|
2292
|
-
{ type: DialogService }
|
|
2298
|
+
{ type: DialogService },
|
|
2299
|
+
{ type: ChangeDetectorRef }
|
|
2293
2300
|
]; };
|
|
2294
2301
|
RsCommentaryComponent.propDecorators = {
|
|
2295
2302
|
displayName: [{ type: Input }],
|
|
@@ -2355,6 +2362,11 @@ if (false) {
|
|
|
2355
2362
|
* @private
|
|
2356
2363
|
*/
|
|
2357
2364
|
RsCommentaryComponent.prototype.dialog;
|
|
2365
|
+
/**
|
|
2366
|
+
* @type {?}
|
|
2367
|
+
* @private
|
|
2368
|
+
*/
|
|
2369
|
+
RsCommentaryComponent.prototype.ref;
|
|
2358
2370
|
}
|
|
2359
2371
|
|
|
2360
2372
|
/**
|