ngx-rs-ant 2.2.7 → 2.2.9
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/word/section/section.component.mjs +1 -5
- package/esm2020/word/word-designer/word-designer.component.mjs +5 -1
- package/esm2020/word/word-editor/word-editor.component.mjs +5 -1
- package/fesm2015/ngx-rs-ant.mjs +11 -4
- package/fesm2015/ngx-rs-ant.mjs.map +1 -1
- package/fesm2020/ngx-rs-ant.mjs +11 -4
- package/fesm2020/ngx-rs-ant.mjs.map +1 -1
- package/package.json +1 -1
- package/word/section/section.component.d.ts +0 -1
- package/word/word-designer/word-designer.component.d.ts +1 -0
- package/word/word-editor/word-editor.component.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(() => {
|
|
@@ -4493,10 +4496,6 @@ class SectionComponent {
|
|
|
4493
4496
|
this.pasteMode = false;
|
|
4494
4497
|
this.readonly = false;
|
|
4495
4498
|
}
|
|
4496
|
-
ngOnDestroy() {
|
|
4497
|
-
this.service.valueUpdated.unsubscribe();
|
|
4498
|
-
this.service.valueChanged.unsubscribe();
|
|
4499
|
-
}
|
|
4500
4499
|
}
|
|
4501
4500
|
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 });
|
|
4502
4501
|
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"] }] });
|
|
@@ -4759,6 +4758,10 @@ class WordDesignerComponent {
|
|
|
4759
4758
|
this.loading = false;
|
|
4760
4759
|
});
|
|
4761
4760
|
}
|
|
4761
|
+
ngOnDestroy() {
|
|
4762
|
+
this.service.valueUpdated.unsubscribe();
|
|
4763
|
+
this.service.valueChanged.unsubscribe();
|
|
4764
|
+
}
|
|
4762
4765
|
loadTemplateAndConfig(response) {
|
|
4763
4766
|
this.sections = response.sections || [];
|
|
4764
4767
|
if (this.sections.length === 0) {
|
|
@@ -5021,6 +5024,10 @@ class WordEditorComponent {
|
|
|
5021
5024
|
this.loading = false;
|
|
5022
5025
|
});
|
|
5023
5026
|
}
|
|
5027
|
+
ngOnDestroy() {
|
|
5028
|
+
this.service.valueUpdated.unsubscribe();
|
|
5029
|
+
this.service.valueChanged.unsubscribe();
|
|
5030
|
+
}
|
|
5024
5031
|
pullTemplate() {
|
|
5025
5032
|
if (confirm('该操作会清除已录入的数据,确定重新拉取模板配置?')) {
|
|
5026
5033
|
this.loading = true;
|