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
|
@@ -2276,9 +2276,10 @@
|
|
|
2276
2276
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2277
2277
|
*/
|
|
2278
2278
|
var RsCommentaryComponent = /** @class */ (function () {
|
|
2279
|
-
function RsCommentaryComponent(cf, dialog) {
|
|
2279
|
+
function RsCommentaryComponent(cf, dialog, ref) {
|
|
2280
2280
|
this.cf = cf;
|
|
2281
2281
|
this.dialog = dialog;
|
|
2282
|
+
this.ref = ref;
|
|
2282
2283
|
this.commentData = [];
|
|
2283
2284
|
this.editPermission = true; // edit权限
|
|
2284
2285
|
// edit权限
|
|
@@ -2373,6 +2374,7 @@
|
|
|
2373
2374
|
if (res) {
|
|
2374
2375
|
item.messageBody = _this.editCommentVal;
|
|
2375
2376
|
item.showCommentEdit = false;
|
|
2377
|
+
_this.ref.markForCheck();
|
|
2376
2378
|
}
|
|
2377
2379
|
}),
|
|
2378
2380
|
});
|
|
@@ -2420,6 +2422,8 @@
|
|
|
2420
2422
|
function (res) {
|
|
2421
2423
|
if (res) {
|
|
2422
2424
|
_this.commentData.splice(idx, 1);
|
|
2425
|
+
_this.ref.detectChanges();
|
|
2426
|
+
_this.ref.markForCheck();
|
|
2423
2427
|
}
|
|
2424
2428
|
}),
|
|
2425
2429
|
});
|
|
@@ -2453,6 +2457,8 @@
|
|
|
2453
2457
|
});
|
|
2454
2458
|
_this.replyVal = "";
|
|
2455
2459
|
item.showReplyInput = false;
|
|
2460
|
+
_this.ref.detectChanges();
|
|
2461
|
+
_this.ref.markForCheck();
|
|
2456
2462
|
}
|
|
2457
2463
|
}),
|
|
2458
2464
|
});
|
|
@@ -2481,7 +2487,8 @@
|
|
|
2481
2487
|
/** @nocollapse */
|
|
2482
2488
|
RsCommentaryComponent.ctorParameters = function () { return [
|
|
2483
2489
|
{ type: CommonFunctionService },
|
|
2484
|
-
{ type: DialogService }
|
|
2490
|
+
{ type: DialogService },
|
|
2491
|
+
{ type: core.ChangeDetectorRef }
|
|
2485
2492
|
]; };
|
|
2486
2493
|
RsCommentaryComponent.propDecorators = {
|
|
2487
2494
|
displayName: [{ type: core.Input }],
|
|
@@ -2547,6 +2554,11 @@
|
|
|
2547
2554
|
* @private
|
|
2548
2555
|
*/
|
|
2549
2556
|
RsCommentaryComponent.prototype.dialog;
|
|
2557
|
+
/**
|
|
2558
|
+
* @type {?}
|
|
2559
|
+
* @private
|
|
2560
|
+
*/
|
|
2561
|
+
RsCommentaryComponent.prototype.ref;
|
|
2550
2562
|
}
|
|
2551
2563
|
|
|
2552
2564
|
/**
|