ngx-rs-ant 2.3.2 → 2.3.4

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.
@@ -30,6 +30,7 @@ export declare class FormComponent extends UniqueId implements OnInit, OnChanges
30
30
  loading: boolean;
31
31
  private changeFilter;
32
32
  private valueChange;
33
+ private modelValueChanged;
33
34
  protected context: any;
34
35
  protected extraValidateMessage: any;
35
36
  get _validatorGroupName(): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-rs-ant",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
4
4
  "license": "MIT",
5
5
  "description": "RsAnt components based on Angular and DevExtreme",
6
6
  "exports": {
@@ -1,5 +1,6 @@
1
1
  import { ComponentBase } from "./component-base";
2
2
  import { Subject } from "rxjs";
3
+ import { EventEmitter } from "@angular/core";
3
4
  export declare class FormItemComponentBase extends ComponentBase {
4
5
  /**
5
6
  * 编辑模式,在设计器中为true,用于区分组件设计和应用状态
@@ -33,6 +34,13 @@ export declare class FormItemComponentBase extends ComponentBase {
33
34
  value: any;
34
35
  onlyInit?: boolean;
35
36
  }>;
37
+ /**
38
+ * 表单组件驱动的属性值改变时发出的事件
39
+ */
40
+ modelValueChanged?: EventEmitter<{
41
+ field: string;
42
+ value: any;
43
+ }>;
36
44
  /**
37
45
  * 自定义属性值更新函数,在收到属性值更新事件时自定义更新逻辑,如转换数据类型为数组
38
46
  */
@@ -1,4 +1,4 @@
1
- import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { ElementRef, EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { ModalComponent } from "../../modal/modal.component";
3
3
  import { WordDesignerService } from "./word-designer.service";
4
4
  import { ModalService } from "../../modal/modal.service";
@@ -16,6 +16,7 @@ export declare class WordDesignerComponent {
16
16
  filterCategories?: string[];
17
17
  params?: any;
18
18
  tabViewContainerRef: any;
19
+ onTemplateFileUploaded: EventEmitter<void>;
19
20
  protected sections: any;
20
21
  protected needUpload: boolean;
21
22
  protected pasteMode: boolean;
@@ -45,5 +46,5 @@ export declare class WordDesignerComponent {
45
46
  exitPasteMode(): void;
46
47
  pasteMarkConfig(): void;
47
48
  static ɵfac: i0.ɵɵFactoryDeclaration<WordDesignerComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<WordDesignerComponent, "rs-word-designer", never, { "tenant": "tenant"; "className": "className"; "oid": "oid"; "instanceClassName": "instanceClassName"; "filterCategories": "filterCategories"; "params": "params"; "tabViewContainerRef": "tabViewContainerRef"; }, {}, never, never, false, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<WordDesignerComponent, "rs-word-designer", never, { "tenant": "tenant"; "className": "className"; "oid": "oid"; "instanceClassName": "instanceClassName"; "filterCategories": "filterCategories"; "params": "params"; "tabViewContainerRef": "tabViewContainerRef"; }, { "onTemplateFileUploaded": "onTemplateFileUploaded"; }, never, never, false, never>;
49
50
  }