ngx-rs-ant 2.2.6 → 2.2.8
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/data-grid/data-grid.component.d.ts +1 -0
- package/esm2020/data-grid/data-grid.component.mjs +4 -1
- package/esm2020/types/component/mark-item-component-base.mjs +1 -1
- package/esm2020/word/section/node/paragraph-for-input/item/item.component.mjs +2 -1
- package/esm2020/word/section/section.component.mjs +5 -1
- package/esm2020/word/section/section.service.mjs +2 -1
- package/esm2020/word/word-editor/word-editor.component.mjs +2 -1
- package/fesm2015/ngx-rs-ant.mjs +10 -0
- package/fesm2015/ngx-rs-ant.mjs.map +1 -1
- package/fesm2020/ngx-rs-ant.mjs +10 -0
- package/fesm2020/ngx-rs-ant.mjs.map +1 -1
- package/package.json +1 -1
- package/types/component/mark-item-component-base.d.ts +1 -0
- package/word/section/section.component.d.ts +1 -0
- package/word/section/section.service.d.ts +1 -0
package/fesm2020/ngx-rs-ant.mjs
CHANGED
|
@@ -3060,6 +3060,9 @@ class DataGridComponent {
|
|
|
3060
3060
|
getSelectedRowsData() {
|
|
3061
3061
|
return this.dxDataGrid.instance.getSelectedRowsData();
|
|
3062
3062
|
}
|
|
3063
|
+
getCombinedFilter() {
|
|
3064
|
+
return this.dxDataGrid.instance.getCombinedFilter(false);
|
|
3065
|
+
}
|
|
3063
3066
|
refresh(callback) {
|
|
3064
3067
|
this.dxDataGrid.instance.clearSelection();
|
|
3065
3068
|
this.dxDataGrid.instance.refresh().then(() => {
|
|
@@ -4168,6 +4171,7 @@ class SectionService {
|
|
|
4168
4171
|
this.readyPasteMarkNames = [];
|
|
4169
4172
|
this.lastClickToPasteMarkName = '';
|
|
4170
4173
|
this.valueUpdated = new EventEmitter();
|
|
4174
|
+
this.valueChanged = new EventEmitter();
|
|
4171
4175
|
}
|
|
4172
4176
|
switchMark(type) {
|
|
4173
4177
|
let index = this.marks.indexOf(this.activeMark);
|
|
@@ -4369,6 +4373,7 @@ class ItemComponent {
|
|
|
4369
4373
|
componentInstance.marks = this.service.marks;
|
|
4370
4374
|
componentInstance.readonly = this.service.readonly || this.readonly;
|
|
4371
4375
|
componentInstance.valueUpdated = this.service.valueUpdated;
|
|
4376
|
+
componentInstance.valueChanged = this.service.valueChanged;
|
|
4372
4377
|
componentInstance.params = this.service.params;
|
|
4373
4378
|
componentInstance.tabViewContainerRef = this.service.tabViewContainerRef;
|
|
4374
4379
|
});
|
|
@@ -4491,6 +4496,10 @@ class SectionComponent {
|
|
|
4491
4496
|
this.pasteMode = false;
|
|
4492
4497
|
this.readonly = false;
|
|
4493
4498
|
}
|
|
4499
|
+
ngOnDestroy() {
|
|
4500
|
+
this.service.valueUpdated.unsubscribe();
|
|
4501
|
+
this.service.valueChanged.unsubscribe();
|
|
4502
|
+
}
|
|
4494
4503
|
}
|
|
4495
4504
|
SectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SectionComponent, deps: [{ token: SectionService }, { token: PtPipe }], target: i0.ɵɵFactoryTarget.Component });
|
|
4496
4505
|
SectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SectionComponent, selector: "rs-section", inputs: { section: "section", editMode: "editMode", pasteMode: "pasteMode", readonly: "readonly" }, host: { properties: { "style": "this._style" } }, providers: [PtPipe], ngImport: i0, template: "<div *ngIf=\"section.header\">\r\n <ng-container *ngFor=\"let node of section.header\">\r\n <rs-node [node]=\"node\" [editMode]=\"editMode\" [pasteMode]=\"pasteMode\" [readonly]=\"readonly\"></rs-node>\r\n </ng-container>\r\n</div>\r\n<ng-container *ngFor=\"let node of section.body\">\r\n <rs-node [node]=\"node\" [editMode]=\"editMode\" [pasteMode]=\"pasteMode\" [readonly]=\"readonly\"></rs-node>\r\n</ng-container>\r\n<div *ngIf=\"section.footer\">\r\n <ng-container *ngFor=\"let node of section.footer\">\r\n <rs-node [node]=\"node\" [editMode]=\"editMode\" [pasteMode]=\"pasteMode\" [readonly]=\"readonly\"></rs-node>\r\n </ng-container>\r\n</div>\r\n", styles: [":host{display:block;background-color:#fff;margin-bottom:8px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NodeComponent, selector: "rs-node", inputs: ["node", "editMode", "pasteMode", "readonly"] }] });
|
|
@@ -5036,6 +5045,7 @@ class WordEditorComponent {
|
|
|
5036
5045
|
}
|
|
5037
5046
|
}
|
|
5038
5047
|
this.service.valueUpdated.emit();
|
|
5048
|
+
this.service.valueChanged.emit();
|
|
5039
5049
|
this.loading = false;
|
|
5040
5050
|
notifySuccess('拉取完成');
|
|
5041
5051
|
});
|