ng-zorro-antd-extension 19.0.1 → 20.0.1
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/acl/index.d.ts +52 -5
- package/blank-field/index.d.ts +27 -5
- package/checkbox/index.d.ts +40 -3
- package/configurable-query/index.d.ts +243 -3
- package/core/config/index.d.ts +52 -3
- package/dynamic-form/index.d.ts +112 -3
- package/editable/index.d.ts +29 -5
- package/fesm2022/ng-zorro-antd-extension-acl.mjs +11 -11
- package/fesm2022/ng-zorro-antd-extension-acl.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-blank-field.mjs +8 -8
- package/fesm2022/ng-zorro-antd-extension-blank-field.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-checkbox.mjs +11 -12
- package/fesm2022/ng-zorro-antd-extension-checkbox.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-configurable-query.mjs +84 -79
- package/fesm2022/ng-zorro-antd-extension-configurable-query.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-core-config.mjs +4 -4
- package/fesm2022/ng-zorro-antd-extension-core-config.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-dynamic-form.mjs +81 -81
- package/fesm2022/ng-zorro-antd-extension-dynamic-form.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-editable.mjs +35 -35
- package/fesm2022/ng-zorro-antd-extension-editable.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-jigsaw.mjs +8 -8
- package/fesm2022/ng-zorro-antd-extension-jigsaw.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-pipes.mjs +25 -25
- package/fesm2022/ng-zorro-antd-extension-pipes.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-print.mjs +55 -52
- package/fesm2022/ng-zorro-antd-extension-print.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-simple-table.mjs +153 -137
- package/fesm2022/ng-zorro-antd-extension-simple-table.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-table-adaptor.mjs +11 -11
- package/fesm2022/ng-zorro-antd-extension-table-adaptor.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-table-form.mjs +20 -20
- package/fesm2022/ng-zorro-antd-extension-table-form.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-table-select.mjs +22 -22
- package/fesm2022/ng-zorro-antd-extension-table-select.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-timer-button.mjs +8 -8
- package/fesm2022/ng-zorro-antd-extension-timer-button.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-trim.mjs +8 -8
- package/fesm2022/ng-zorro-antd-extension-trim.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-util.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-wang-editor.mjs +11 -11
- package/fesm2022/ng-zorro-antd-extension-wang-editor.mjs.map +1 -1
- package/i18n/index.d.ts +29 -5
- package/index.d.ts +2 -5
- package/jigsaw/index.d.ts +50 -5
- package/package.json +12 -12
- package/pipes/index.d.ts +68 -5
- package/print/index.d.ts +111 -3
- package/simple-table/index.d.ts +85 -3
- package/table-adaptor/index.d.ts +66 -5
- package/table-form/index.d.ts +247 -3
- package/table-select/index.d.ts +107 -3
- package/timer-button/index.d.ts +29 -5
- package/trim/index.d.ts +48 -5
- package/types/index.d.ts +8 -3
- package/util/index.d.ts +60 -3
- package/wang-editor/index.d.ts +70 -5
- package/acl/nzx-acl.directive.d.ts +0 -25
- package/acl/nzx-acl.module.d.ts +0 -9
- package/acl/nzx-acl.service.d.ts +0 -19
- package/acl/public-api.d.ts +0 -7
- package/blank-field/blank-field.component.d.ts +0 -19
- package/blank-field/blank-field.module.d.ts +0 -7
- package/blank-field/public-api.d.ts +0 -6
- package/checkbox/checkbox-group.component.d.ts +0 -33
- package/checkbox/checkbox.module.d.ts +0 -7
- package/checkbox/public-api.d.ts +0 -6
- package/configurable-query/configurable-query-item/configurable-query-item.component.d.ts +0 -18
- package/configurable-query/configurable-query.component.d.ts +0 -111
- package/configurable-query/configurable-query.module.d.ts +0 -12
- package/configurable-query/control.directive.d.ts +0 -9
- package/configurable-query/controls/abstract.control.d.ts +0 -13
- package/configurable-query/controls/date-picker.control.d.ts +0 -6
- package/configurable-query/controls/input.control.d.ts +0 -6
- package/configurable-query/controls/range-picker.control.d.ts +0 -6
- package/configurable-query/controls/select.control.d.ts +0 -6
- package/configurable-query/controls/template.control.d.ts +0 -6
- package/configurable-query/public-api.d.ts +0 -6
- package/configurable-query/query-config.service.d.ts +0 -21
- package/configurable-query/type.d.ts +0 -89
- package/core/config/config.d.ts +0 -30
- package/core/config/config.service.d.ts +0 -20
- package/core/config/public-api.d.ts +0 -2
- package/dynamic-form/config/dynamic-form-config.d.ts +0 -18
- package/dynamic-form/controls/abstract.control.d.ts +0 -11
- package/dynamic-form/controls/date-picker.control.d.ts +0 -6
- package/dynamic-form/controls/input.control.d.ts +0 -6
- package/dynamic-form/controls/range-picker.control.d.ts +0 -6
- package/dynamic-form/controls/select.control.d.ts +0 -6
- package/dynamic-form/controls/template.control.d.ts +0 -6
- package/dynamic-form/dynamic-form-item/dynamic-form-item.component.d.ts +0 -12
- package/dynamic-form/dynamic-form.component.d.ts +0 -5
- package/dynamic-form/dynamic-form.module.d.ts +0 -17
- package/dynamic-form/public-api.d.ts +0 -7
- package/dynamic-form/wrapper/control/abstract-control-wrapper.d.ts +0 -12
- package/dynamic-form/wrapper/control/built-in-control-wrapper.d.ts +0 -7
- package/dynamic-form/wrapper/item/abstract-item-wrapper.d.ts +0 -14
- package/dynamic-form/wrapper/item/built-in-item-wrapper.d.ts +0 -6
- package/dynamic-form/wrapper/label/abstract-label-wrapper.d.ts +0 -5
- package/dynamic-form/wrapper/label/built-in-label-wrapper.d.ts +0 -6
- package/editable/editable.component.d.ts +0 -20
- package/editable/editable.module.d.ts +0 -7
- package/editable/public-api.d.ts +0 -2
- package/i18n/languages/en_US.d.ts +0 -10
- package/i18n/languages/zh_CN.d.ts +0 -10
- package/i18n/nz-i18n.interface.d.ts +0 -6
- package/i18n/public-api.d.ts +0 -3
- package/jigsaw/jigsaw.component.d.ts +0 -41
- package/jigsaw/jigsaw.module.d.ts +0 -7
- package/jigsaw/public-api.d.ts +0 -6
- package/pipes/map.pipe.d.ts +0 -9
- package/pipes/pipes.module.d.ts +0 -13
- package/pipes/public-api.d.ts +0 -12
- package/pipes/safe-html.pipe.d.ts +0 -9
- package/pipes/safe-null.pipe.d.ts +0 -11
- package/pipes/safe-resource-url.pipe.d.ts +0 -8
- package/pipes/safe-script.pipe.d.ts +0 -8
- package/pipes/safe-style.pipe.d.ts +0 -8
- package/pipes/safe-url.pipe.d.ts +0 -13
- package/print/nzx-print-content.directive.d.ts +0 -10
- package/print/nzx-print-v.component.d.ts +0 -47
- package/print/nzx-print.component.d.ts +0 -34
- package/print/nzx-print.directive.d.ts +0 -17
- package/print/nzx-print.module.d.ts +0 -10
- package/print/public-api.d.ts +0 -9
- package/public-api.d.ts +0 -2
- package/simple-table/directive/expand.directive.d.ts +0 -8
- package/simple-table/directive/td.directive.d.ts +0 -9
- package/simple-table/directive/th.directive.d.ts +0 -9
- package/simple-table/public-api.d.ts +0 -9
- package/simple-table/simple-table.component.d.ts +0 -57
- package/simple-table/simple-table.module.d.ts +0 -10
- package/table-adaptor/page-table-basic.d.ts +0 -14
- package/table-adaptor/public-api.d.ts +0 -7
- package/table-adaptor/table-adaptor.directive.d.ts +0 -43
- package/table-adaptor/table-adaptor.module.d.ts +0 -7
- package/table-form/directive/table-expand.directive.d.ts +0 -9
- package/table-form/directive/table-td.directive.d.ts +0 -9
- package/table-form/directive/table-th.directive.d.ts +0 -10
- package/table-form/public-api.d.ts +0 -10
- package/table-form/table-form.component.d.ts +0 -122
- package/table-form/table-form.module.d.ts +0 -10
- package/table-form/type.d.ts +0 -94
- package/table-select/abstract-table-select.d.ts +0 -51
- package/table-select/key.directive.d.ts +0 -8
- package/table-select/nzx-table-select.module.d.ts +0 -9
- package/table-select/page-table-select/page-table-select.component.d.ts +0 -22
- package/table-select/public-api.d.ts +0 -10
- package/table-select/table-select/table-select.component.d.ts +0 -13
- package/table-select/type.d.ts +0 -14
- package/timer-button/public-api.d.ts +0 -6
- package/timer-button/timer-button.directive.d.ts +0 -20
- package/timer-button/timer-button.module.d.ts +0 -7
- package/trim/public-api.d.ts +0 -6
- package/trim/trim.directive.d.ts +0 -39
- package/trim/trim.module.d.ts +0 -7
- package/types/common.d.ts +0 -8
- package/types/public-api.d.ts +0 -5
- package/util/lib/cloneDeep.d.ts +0 -2
- package/util/lib/fileUtil.d.ts +0 -16
- package/util/lib/getElementByTag.d.ts +0 -8
- package/util/lib/isArray.d.ts +0 -2
- package/util/lib/isDate.d.ts +0 -1
- package/util/lib/isEmpty.d.ts +0 -2
- package/util/lib/isNumber.d.ts +0 -1
- package/util/lib/isObject.d.ts +0 -1
- package/util/lib/isString.d.ts +0 -1
- package/util/lib/toNumber.d.ts +0 -1
- package/util/lib/toString.d.ts +0 -1
- package/util/lib/trimObject.d.ts +0 -2
- package/util/lib/updateControlStatus.d.ts +0 -9
- package/util/public-api.d.ts +0 -17
- package/wang-editor/public-api.d.ts +0 -8
- package/wang-editor/type.d.ts +0 -3
- package/wang-editor/wang-editor.component.d.ts +0 -41
- package/wang-editor/wang-editor.module.d.ts +0 -8
- package/wang-editor/wang-toolbar.component.d.ts +0 -19
package/trim/trim.directive.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { NzxConfigKey } from 'ng-zorro-antd-extension/core/config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NzxTrimDirective implements ControlValueAccessor {
|
|
6
|
-
private _renderer;
|
|
7
|
-
private _elementRef;
|
|
8
|
-
private _compositionMode;
|
|
9
|
-
readonly _nzModuleName: NzxConfigKey;
|
|
10
|
-
private nzxConfigService;
|
|
11
|
-
private _composing;
|
|
12
|
-
onChange: (_: any) => void;
|
|
13
|
-
onTouched: () => void;
|
|
14
|
-
/**
|
|
15
|
-
* - trim 前后过滤空格
|
|
16
|
-
* - trimStart 过滤前空格
|
|
17
|
-
* - trimEnd 过滤后空格
|
|
18
|
-
*/
|
|
19
|
-
trimType: 'trim' | 'trimStart' | 'trimEnd';
|
|
20
|
-
constructor(_renderer: Renderer2, _elementRef: ElementRef, _compositionMode: boolean);
|
|
21
|
-
input(val: string): void;
|
|
22
|
-
compositionstart(val: string): void;
|
|
23
|
-
compositionend(val: any): void;
|
|
24
|
-
blur(val: string): void;
|
|
25
|
-
/** @internal */
|
|
26
|
-
_handleInput(value: any): void;
|
|
27
|
-
/** @internal */
|
|
28
|
-
_compositionStart(): void;
|
|
29
|
-
/** @internal */
|
|
30
|
-
_compositionEnd(value: any): void;
|
|
31
|
-
/** @internal */
|
|
32
|
-
_isAndroid(): boolean;
|
|
33
|
-
writeValue(value: any): void;
|
|
34
|
-
registerOnChange(fn: any): void;
|
|
35
|
-
registerOnTouched(fn: any): void;
|
|
36
|
-
setProperty(key: string, value: any): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTrimDirective, [null, null, { optional: true; }]>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTrimDirective, "[nzxTrim]", ["NzxTrim"], { "trimType": { "alias": "trimType"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
|
-
}
|
package/trim/trim.module.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./trim.directive";
|
|
3
|
-
export declare class NzxTrimModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTrimModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTrimModule, never, [typeof i1.NzxTrimDirective], [typeof i1.NzxTrimDirective]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NzxTrimModule>;
|
|
7
|
-
}
|
package/types/common.d.ts
DELETED
package/types/public-api.d.ts
DELETED
package/util/lib/cloneDeep.d.ts
DELETED
package/util/lib/fileUtil.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
/**选择文件*/
|
|
3
|
-
export declare function selectFile(accept?: string, multiple?: false): Observable<File | null>;
|
|
4
|
-
export declare function selectFile(accept?: string, multiple?: true): Observable<FileList | null>;
|
|
5
|
-
/**
|
|
6
|
-
* 文件下载
|
|
7
|
-
** 此方法只适合文件较小的情况下使用
|
|
8
|
-
* 文件较大请使用downloadFileByUrl触发浏览器下载
|
|
9
|
-
* 此方法只适合文件较小的情况下使用
|
|
10
|
-
* 文件较大请使用downloadFileByUrl触发浏览器下载
|
|
11
|
-
*/
|
|
12
|
-
export declare function downloadFile(file: Blob, fileName?: string): void;
|
|
13
|
-
/**
|
|
14
|
-
* 通过url下载文件
|
|
15
|
-
*/
|
|
16
|
-
export declare function downloadFileByUrl(url: string, fileName?: string, target?: string): void;
|
package/util/lib/isArray.d.ts
DELETED
package/util/lib/isDate.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isDate(value: any): boolean;
|
package/util/lib/isEmpty.d.ts
DELETED
package/util/lib/isNumber.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isNumber(obj: any): boolean;
|
package/util/lib/isObject.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isObject(obj: any): boolean;
|
package/util/lib/isString.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isString(obj: any): boolean;
|
package/util/lib/toNumber.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function toNumber(value: any): number;
|
package/util/lib/toString.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function toString(value: any): string;
|
package/util/lib/trimObject.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AbstractControl } from '@angular/forms';
|
|
2
|
-
/**
|
|
3
|
-
* 用来更新控件的状态,默认标注控件以及子控件为dirty,通常用来更新ng zorro中表单错误及时更新错误提示
|
|
4
|
-
*
|
|
5
|
-
* @param abstractControl FormControl、FormArray、FormGroup实例
|
|
6
|
-
* @param markAsClean 是否标记控件为干净状态,实际只设置pristine为true,如要设置更多参数请使用customOperate自定义
|
|
7
|
-
* @param customOperate 当markAsClean为true时可以自定义操作,用来完全让control干净,比如markAsUntouched
|
|
8
|
-
*/
|
|
9
|
-
export declare function updateControlStatus(abstractControl: AbstractControl, markAsClean?: boolean, customOperate?: (control: AbstractControl) => void): void;
|
package/util/public-api.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3
|
-
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
|
|
4
|
-
*/
|
|
5
|
-
export * from './lib/updateControlStatus';
|
|
6
|
-
export * from './lib/trimObject';
|
|
7
|
-
export * from './lib/cloneDeep';
|
|
8
|
-
export * from './lib/isArray';
|
|
9
|
-
export * from './lib/isDate';
|
|
10
|
-
export * from './lib/isEmpty';
|
|
11
|
-
export * from './lib/isNumber';
|
|
12
|
-
export * from './lib/isObject';
|
|
13
|
-
export * from './lib/isString';
|
|
14
|
-
export * from './lib/toNumber';
|
|
15
|
-
export * from './lib/toString';
|
|
16
|
-
export * from './lib/fileUtil';
|
|
17
|
-
export * from './lib/getElementByTag';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3
|
-
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
|
|
4
|
-
*/
|
|
5
|
-
export * from './wang-editor.module';
|
|
6
|
-
export * from './wang-editor.component';
|
|
7
|
-
export * from './wang-toolbar.component';
|
|
8
|
-
export * from './type';
|
package/wang-editor/type.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import { IDomEditor, IEditorConfig, SlateDescendant } from '@wangeditor/editor';
|
|
4
|
-
import { Mode } from './type';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NzxWangEditorDirective implements OnInit, ControlValueAccessor, OnDestroy, OnChanges, Validator {
|
|
7
|
-
private editorRef;
|
|
8
|
-
private cd;
|
|
9
|
-
mode: Mode;
|
|
10
|
-
defaultContent: SlateDescendant[];
|
|
11
|
-
defaultHtml: string;
|
|
12
|
-
defaultConfig: Partial<IEditorConfig>;
|
|
13
|
-
height: string;
|
|
14
|
-
/**富文本编辑器必填,必须有text内容 */
|
|
15
|
-
textRequired: boolean;
|
|
16
|
-
onCreated: EventEmitter<any>;
|
|
17
|
-
onDestroyed: EventEmitter<any>;
|
|
18
|
-
onMaxLength: EventEmitter<any>;
|
|
19
|
-
onFocus: EventEmitter<any>;
|
|
20
|
-
onBlur: EventEmitter<any>;
|
|
21
|
-
customAlert: EventEmitter<any>;
|
|
22
|
-
customPaste: EventEmitter<any>;
|
|
23
|
-
onChange: EventEmitter<any>;
|
|
24
|
-
display: string;
|
|
25
|
-
editor: IDomEditor;
|
|
26
|
-
currentValue: string;
|
|
27
|
-
private propagateChange;
|
|
28
|
-
constructor(editorRef: ElementRef, cd: ChangeDetectorRef);
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
-
validate(control: AbstractControl<any, any>): ValidationErrors | null;
|
|
32
|
-
private init;
|
|
33
|
-
writeValue(html: any): void;
|
|
34
|
-
registerOnChange(fn: any): void;
|
|
35
|
-
registerOnTouched(fn: any): void;
|
|
36
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
|
-
private genErrorInfo;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxWangEditorDirective, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxWangEditorDirective, "nzx-wang-editor,[nzxWangEditor]", ["NzxWangEditor"], { "mode": { "alias": "mode"; "required": false; }; "defaultContent": { "alias": "defaultContent"; "required": false; }; "defaultHtml": { "alias": "defaultHtml"; "required": false; }; "defaultConfig": { "alias": "defaultConfig"; "required": false; }; "height": { "alias": "height"; "required": false; }; "textRequired": { "alias": "textRequired"; "required": false; }; }, { "onCreated": "onCreated"; "onDestroyed": "onDestroyed"; "onMaxLength": "onMaxLength"; "onFocus": "onFocus"; "onBlur": "onBlur"; "customAlert": "customAlert"; "customPaste": "customPaste"; "onChange": "onChange"; }, never, never, true, never>;
|
|
41
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./wang-toolbar.component";
|
|
3
|
-
import * as i2 from "./wang-editor.component";
|
|
4
|
-
export declare class NzxWangEditorModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxWangEditorModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxWangEditorModule, never, [typeof i1.NzxWangToolbarDirective, typeof i2.NzxWangEditorDirective], [typeof i1.NzxWangToolbarDirective, typeof i2.NzxWangEditorDirective]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NzxWangEditorModule>;
|
|
8
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { IDomEditor, IToolbarConfig, Toolbar } from '@wangeditor/editor';
|
|
3
|
-
import { Mode } from './type';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NzxWangToolbarDirective implements OnInit, OnChanges, OnDestroy {
|
|
6
|
-
private toolbarRef;
|
|
7
|
-
mode: Mode;
|
|
8
|
-
editor: IDomEditor;
|
|
9
|
-
defaultConfig: Partial<IToolbarConfig>;
|
|
10
|
-
display: string;
|
|
11
|
-
toolbar: Toolbar;
|
|
12
|
-
constructor(toolbarRef: ElementRef);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
15
|
-
private initToolbar;
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxWangToolbarDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxWangToolbarDirective, "nzx-wang-toolbar,[nzxWangToolbar]", ["NzxWangToolbar"], { "mode": { "alias": "mode"; "required": false; }; "editor": { "alias": "editor"; "required": false; }; "defaultConfig": { "alias": "defaultConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|