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
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NzxTdDirective {
|
|
4
|
-
templateRef: TemplateRef<any>;
|
|
5
|
-
key?: any;
|
|
6
|
-
constructor(templateRef: TemplateRef<any>);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTdDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTdDirective, "[nzxTd]", never, { "key": { "alias": "key"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NzxThDirective {
|
|
4
|
-
templateRef: TemplateRef<unknown>;
|
|
5
|
-
width: string | null;
|
|
6
|
-
constructor(templateRef: TemplateRef<unknown>);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxThDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxThDirective, "[nzxTh]", never, { "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +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 './directive/td.directive';
|
|
6
|
-
export * from './directive/th.directive';
|
|
7
|
-
export * from './directive/expand.directive';
|
|
8
|
-
export * from './simple-table.component';
|
|
9
|
-
export * from './simple-table.module';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NzTableSize } from 'ng-zorro-antd/table';
|
|
3
|
-
import { NzxExpandDirective } from './directive/expand.directive';
|
|
4
|
-
import { NzxTdDirective } from './directive/td.directive';
|
|
5
|
-
import { NzxThDirective } from './directive/th.directive';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* nzx-simple-table 组件配置格式
|
|
9
|
-
*/
|
|
10
|
-
export interface NzxSimpleTableConfig<T> {
|
|
11
|
-
/**
|
|
12
|
-
* 表头名
|
|
13
|
-
*/
|
|
14
|
-
header: string;
|
|
15
|
-
/**
|
|
16
|
-
* 字段key值
|
|
17
|
-
*/
|
|
18
|
-
key?: string | number;
|
|
19
|
-
/**
|
|
20
|
-
* td宽度
|
|
21
|
-
*/
|
|
22
|
-
width?: string;
|
|
23
|
-
/**
|
|
24
|
-
* 数据格式化函数
|
|
25
|
-
*/
|
|
26
|
-
format?: (data: T) => any;
|
|
27
|
-
template?: TemplateRef<any>;
|
|
28
|
-
}
|
|
29
|
-
export declare class NzxSimpleTableComponent<T extends {
|
|
30
|
-
expand?: boolean;
|
|
31
|
-
[key: string]: any;
|
|
32
|
-
}> implements AfterContentInit {
|
|
33
|
-
/** th td 布局方式 */
|
|
34
|
-
nzxAlign: 'left' | 'right' | 'center' | null;
|
|
35
|
-
/** table 标题 */
|
|
36
|
-
nzxTitle: string | TemplateRef<void>;
|
|
37
|
-
/** table 页脚*/
|
|
38
|
-
nzxFooter: string | TemplateRef<void>;
|
|
39
|
-
/** 支持展开 */
|
|
40
|
-
nzxExpand: boolean;
|
|
41
|
-
/** 启用边框 */
|
|
42
|
-
nzxBordered: boolean;
|
|
43
|
-
/** table数据集合 */
|
|
44
|
-
nzxData: Array<T>;
|
|
45
|
-
/** table size */
|
|
46
|
-
nzxSize: NzTableSize;
|
|
47
|
-
/** table 配置项 */
|
|
48
|
-
nzxConfig: Array<NzxSimpleTableConfig<T>>;
|
|
49
|
-
tdList: Array<NzxTdDirective>;
|
|
50
|
-
thList: Array<NzxThDirective>;
|
|
51
|
-
expandDirective: NzxExpandDirective;
|
|
52
|
-
private _thList;
|
|
53
|
-
private _tdList;
|
|
54
|
-
ngAfterContentInit(): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxSimpleTableComponent<any>, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NzxSimpleTableComponent<any>, "nzx-simple-table", never, { "nzxAlign": { "alias": "nzxAlign"; "required": false; }; "nzxTitle": { "alias": "nzxTitle"; "required": false; }; "nzxFooter": { "alias": "nzxFooter"; "required": false; }; "nzxExpand": { "alias": "nzxExpand"; "required": false; }; "nzxBordered": { "alias": "nzxBordered"; "required": false; }; "nzxData": { "alias": "nzxData"; "required": false; }; "nzxSize": { "alias": "nzxSize"; "required": false; }; "nzxConfig": { "alias": "nzxConfig"; "required": false; }; }, {}, ["expandDirective", "_thList", "_tdList"], never, true, never>;
|
|
57
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./simple-table.component";
|
|
3
|
-
import * as i2 from "./directive/th.directive";
|
|
4
|
-
import * as i3 from "./directive/td.directive";
|
|
5
|
-
import * as i4 from "./directive/expand.directive";
|
|
6
|
-
export declare class NzxSimpleTableModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxSimpleTableModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxSimpleTableModule, never, [typeof i1.NzxSimpleTableComponent, typeof i2.NzxThDirective, typeof i3.NzxTdDirective, typeof i4.NzxExpandDirective], [typeof i2.NzxThDirective, typeof i3.NzxTdDirective, typeof i4.NzxExpandDirective, typeof i1.NzxSimpleTableComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NzxSimpleTableModule>;
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NzxTableAdaptor } from './table-adaptor.directive';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NzxPageTableBase<T = any> {
|
|
4
|
-
/** 列表数据 */
|
|
5
|
-
list: Array<T>;
|
|
6
|
-
/** loading加载条标志位 */
|
|
7
|
-
loading: boolean;
|
|
8
|
-
/** 分页总条数 */
|
|
9
|
-
nzTotal: number;
|
|
10
|
-
/** 表单指令实例用来刷新重置 */
|
|
11
|
-
nzxTableAdaptorRef: NzxTableAdaptor;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxPageTableBase<any>, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxPageTableBase<any>, never, never, {}, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,7 +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 './table-adaptor.module';
|
|
6
|
-
export * from './table-adaptor.directive';
|
|
7
|
-
export * from './page-table-basic';
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { NzTableQueryParams } from 'ng-zorro-antd/table';
|
|
4
|
-
import { NzxConfigKey } from 'ng-zorro-antd-extension/core/config';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface NzxTableQueryParams extends NzTableQueryParams {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}
|
|
9
|
-
export declare class NzxTableAdaptor implements OnInit, OnDestroy {
|
|
10
|
-
private router;
|
|
11
|
-
readonly _nzModuleName: NzxConfigKey;
|
|
12
|
-
set queryParams(value: any);
|
|
13
|
-
get queryParams(): any;
|
|
14
|
-
enableCache: boolean;
|
|
15
|
-
dateFormat: string;
|
|
16
|
-
customFormateOutFn: (params: any) => any;
|
|
17
|
-
nzxQueryParams: EventEmitter<NzxTableQueryParams>;
|
|
18
|
-
nzxQueryCacheQueryParams: EventEmitter<NzxTableQueryParams>;
|
|
19
|
-
private _queryParams;
|
|
20
|
-
private nzTableQueryParams;
|
|
21
|
-
private destroy$;
|
|
22
|
-
private nzxConfigService;
|
|
23
|
-
private nzTable;
|
|
24
|
-
private nzTableDataService;
|
|
25
|
-
constructor(router: Router);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
/**
|
|
29
|
-
* currentPage
|
|
30
|
-
* - true 查询当前页
|
|
31
|
-
* - false 跳转第一页
|
|
32
|
-
*
|
|
33
|
-
* 默认跳转第一页
|
|
34
|
-
*/
|
|
35
|
-
refresh(currentPage?: boolean): void;
|
|
36
|
-
/**
|
|
37
|
-
* 重置查询条件并查询
|
|
38
|
-
*/
|
|
39
|
-
reset(params?: any): void;
|
|
40
|
-
private emit;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableAdaptor, never>;
|
|
42
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableAdaptor, "nz-table[nzxTableAdaptor]", ["NzxTableAdaptor"], { "queryParams": { "alias": "queryParams"; "required": false; }; "enableCache": { "alias": "enableCache"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "customFormateOutFn": { "alias": "customFormateOutFn"; "required": false; }; }, { "nzxQueryParams": "nzxQueryParams"; "nzxQueryCacheQueryParams": "nzxQueryCacheQueryParams"; }, never, never, true, never>;
|
|
43
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./table-adaptor.directive";
|
|
3
|
-
export declare class NzxTableAdaptorModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableAdaptorModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTableAdaptorModule, never, [typeof i1.NzxTableAdaptor], [typeof i1.NzxTableAdaptor]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NzxTableAdaptorModule>;
|
|
7
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NzxTableFormExpandDirective {
|
|
4
|
-
templateRef: TemplateRef<any>;
|
|
5
|
-
controlName: string;
|
|
6
|
-
constructor(templateRef: TemplateRef<any>);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableFormExpandDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableFormExpandDirective, "[nzxTableFormExpand]", never, { "controlName": { "alias": "controlName"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NzxTableFormTdDirective {
|
|
4
|
-
templateRef: TemplateRef<any>;
|
|
5
|
-
controlName: string;
|
|
6
|
-
constructor(templateRef: TemplateRef<any>);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableFormTdDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableFormTdDirective, "[nzxTableFormTd]", never, { "controlName": { "alias": "controlName"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NzxTableFormThDirective {
|
|
4
|
-
templateRef: TemplateRef<any>;
|
|
5
|
-
controlName: string;
|
|
6
|
-
width?: string;
|
|
7
|
-
constructor(templateRef: TemplateRef<any>);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableFormThDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableFormThDirective, "[nzxTableFormTh]", never, { "controlName": { "alias": "controlName"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,10 +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 './directive/table-expand.directive';
|
|
6
|
-
export * from './directive/table-td.directive';
|
|
7
|
-
export * from './directive/table-th.directive';
|
|
8
|
-
export * from './table-form.component';
|
|
9
|
-
export * from './type';
|
|
10
|
-
export * from './table-form.module';
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, FormArray, FormBuilder, FormGroup, ValidationErrors, Validator, ValidatorFn } from '@angular/forms';
|
|
3
|
-
import { NzTableLayout, NzTableSize } from 'ng-zorro-antd/table';
|
|
4
|
-
import { NzxTableFormExpandDirective } from './directive/table-expand.directive';
|
|
5
|
-
import { NzxLimitMessage, NzxTableFormConfig, NzxTableFormHeaderConfig, NzxTableFormTdConfig } from './type';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class NzxTableFormComponent implements OnInit, ControlValueAccessor, AfterContentInit, Validator, OnDestroy {
|
|
8
|
-
private cd;
|
|
9
|
-
private fb;
|
|
10
|
-
tableLayout: NzTableLayout;
|
|
11
|
-
tableAlign: 'left' | 'right' | 'center' | null;
|
|
12
|
-
/** table 启用扩展行 */
|
|
13
|
-
enableExpand: boolean;
|
|
14
|
-
/** table border */
|
|
15
|
-
nzxBordered: boolean;
|
|
16
|
-
/** table size */
|
|
17
|
-
nzxSize: NzTableSize;
|
|
18
|
-
/** 启用数量限制 */
|
|
19
|
-
enableLimit: boolean;
|
|
20
|
-
/** 最大数量 */
|
|
21
|
-
maxLimit: number;
|
|
22
|
-
/** 最少数量 */
|
|
23
|
-
minLimit: number;
|
|
24
|
-
/** 自定义footer */
|
|
25
|
-
nzxFooter?: string | TemplateRef<void>;
|
|
26
|
-
/**是否在前端对数据进行分页,如果在服务器分页数据或者需要在前端显示全部数据时传入 false */
|
|
27
|
-
nzxFrontPagination: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* 校验整个table的错误提示自定义模板
|
|
30
|
-
*/
|
|
31
|
-
errorTemplate?: TemplateRef<any>;
|
|
32
|
-
/** 启用序号 */
|
|
33
|
-
enableNo: boolean;
|
|
34
|
-
/** 序号宽度 */
|
|
35
|
-
serialNumberWidth: string;
|
|
36
|
-
/** 序号自定义模板 */
|
|
37
|
-
serialNumberTemplate?: TemplateRef<void>;
|
|
38
|
-
/**
|
|
39
|
-
* 校验table的函数
|
|
40
|
-
*/
|
|
41
|
-
tableValidatorFn: ValidatorFn;
|
|
42
|
-
/** table config */
|
|
43
|
-
tableFormConfig: NzxTableFormConfig[];
|
|
44
|
-
/** 数量限制回调 */
|
|
45
|
-
limitMessage: EventEmitter<NzxLimitMessage>;
|
|
46
|
-
headerConfig: Array<NzxTableFormHeaderConfig>;
|
|
47
|
-
tdConfig: Array<NzxTableFormTdConfig>;
|
|
48
|
-
thTemplateOfNullInForm: {
|
|
49
|
-
templateRef: TemplateRef<unknown>;
|
|
50
|
-
width?: string;
|
|
51
|
-
}[];
|
|
52
|
-
tdTemplateOfNullInForm: {
|
|
53
|
-
templateRef: TemplateRef<unknown>;
|
|
54
|
-
}[];
|
|
55
|
-
/** 整个table-form */
|
|
56
|
-
form: FormGroup;
|
|
57
|
-
isDisabled: boolean;
|
|
58
|
-
/** formGroup下的formArray,formArray中是多行formGroup*/
|
|
59
|
-
get tableFormArray(): FormArray<FormGroup>;
|
|
60
|
-
/** table formGroups集合 */
|
|
61
|
-
get formGroupList(): FormGroup<any>[];
|
|
62
|
-
get invalid(): boolean;
|
|
63
|
-
/** 一行的form配置 */
|
|
64
|
-
private controlsConfig;
|
|
65
|
-
private destroyed$;
|
|
66
|
-
private tableTdDirectiveList;
|
|
67
|
-
private tableThDirectiveList;
|
|
68
|
-
tableExpandDirective: NzxTableFormExpandDirective;
|
|
69
|
-
constructor(cd: ChangeDetectorRef, fb: FormBuilder);
|
|
70
|
-
ngOnDestroy(): void;
|
|
71
|
-
ngOnInit(): void;
|
|
72
|
-
ngAfterContentInit(): void;
|
|
73
|
-
/**
|
|
74
|
-
* 若table为空或者有一行数据校验不通过,则整个组件校验不通过
|
|
75
|
-
*/
|
|
76
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
77
|
-
/**
|
|
78
|
-
* 根据controlName设置config值
|
|
79
|
-
*/
|
|
80
|
-
setConfig(controlName: string, config: Partial<NzxTableFormConfig>): void;
|
|
81
|
-
/**
|
|
82
|
-
* 重置table表单为空
|
|
83
|
-
*/
|
|
84
|
-
clearTable(): void;
|
|
85
|
-
/**
|
|
86
|
-
* 添加table一行
|
|
87
|
-
*/
|
|
88
|
-
addRow(rowValue?: any): void;
|
|
89
|
-
/**
|
|
90
|
-
* 删除table一行
|
|
91
|
-
*/
|
|
92
|
-
deleteRow(i: number): void;
|
|
93
|
-
writeValue(obj: any): void;
|
|
94
|
-
registerOnChange(fn: any): void;
|
|
95
|
-
registerOnTouched(fn: any): void;
|
|
96
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
97
|
-
/**
|
|
98
|
-
* 更新table config配置项
|
|
99
|
-
* 在更新config时候需要调用重新渲染table
|
|
100
|
-
*/
|
|
101
|
-
private updateTableConfig;
|
|
102
|
-
private propagateChange;
|
|
103
|
-
/**
|
|
104
|
-
* 匹配投影模板template放到config中
|
|
105
|
-
*/
|
|
106
|
-
private matchTemplate;
|
|
107
|
-
/**
|
|
108
|
-
* 解析配置生成controls
|
|
109
|
-
*/
|
|
110
|
-
private parseFormConfig;
|
|
111
|
-
/**
|
|
112
|
-
* 解析配置生成header
|
|
113
|
-
*
|
|
114
|
-
*/
|
|
115
|
-
private parseHeader;
|
|
116
|
-
/**
|
|
117
|
-
* 解析配置生成Content
|
|
118
|
-
*/
|
|
119
|
-
private parseTd;
|
|
120
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableFormComponent, never>;
|
|
121
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NzxTableFormComponent, "nzx-table-form", ["NzxTableForm"], { "tableLayout": { "alias": "tableLayout"; "required": false; }; "tableAlign": { "alias": "tableAlign"; "required": false; }; "enableExpand": { "alias": "enableExpand"; "required": false; }; "nzxBordered": { "alias": "nzxBordered"; "required": false; }; "nzxSize": { "alias": "nzxSize"; "required": false; }; "enableLimit": { "alias": "enableLimit"; "required": false; }; "maxLimit": { "alias": "maxLimit"; "required": false; }; "minLimit": { "alias": "minLimit"; "required": false; }; "nzxFooter": { "alias": "nzxFooter"; "required": false; }; "nzxFrontPagination": { "alias": "nzxFrontPagination"; "required": false; }; "errorTemplate": { "alias": "errorTemplate"; "required": false; }; "enableNo": { "alias": "enableNo"; "required": false; }; "serialNumberWidth": { "alias": "serialNumberWidth"; "required": false; }; "serialNumberTemplate": { "alias": "serialNumberTemplate"; "required": false; }; "tableValidatorFn": { "alias": "tableValidatorFn"; "required": false; }; "tableFormConfig": { "alias": "tableFormConfig"; "required": false; }; }, { "limitMessage": "limitMessage"; }, ["tableExpandDirective", "tableTdDirectiveList", "tableThDirectiveList"], ["*"], true, never>;
|
|
122
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./table-form.component";
|
|
3
|
-
import * as i2 from "./directive/table-td.directive";
|
|
4
|
-
import * as i3 from "./directive/table-th.directive";
|
|
5
|
-
import * as i4 from "./directive/table-expand.directive";
|
|
6
|
-
export declare class NzxTableFormModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableFormModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTableFormModule, never, [typeof i1.NzxTableFormComponent, typeof i2.NzxTableFormTdDirective, typeof i3.NzxTableFormThDirective, typeof i4.NzxTableFormExpandDirective], [typeof i1.NzxTableFormComponent, typeof i2.NzxTableFormTdDirective, typeof i3.NzxTableFormThDirective, typeof i4.NzxTableFormExpandDirective]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NzxTableFormModule>;
|
|
10
|
-
}
|
package/table-form/type.d.ts
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { NzxOptions } from 'ng-zorro-antd-extension/types';
|
|
3
|
-
export interface NzxLimitMessage {
|
|
4
|
-
type: 'max' | 'min';
|
|
5
|
-
limit: number;
|
|
6
|
-
msg: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* nzx-table-form 配置项
|
|
10
|
-
*/
|
|
11
|
-
export interface NzxTableFormConfig {
|
|
12
|
-
/** 表头名 */
|
|
13
|
-
header: string;
|
|
14
|
-
/** td th 宽度 */
|
|
15
|
-
width?: string;
|
|
16
|
-
/** 控件名 */
|
|
17
|
-
controlName: string;
|
|
18
|
-
/** 控件默认值 */
|
|
19
|
-
defaultValue?: any;
|
|
20
|
-
/** 控件类型 */
|
|
21
|
-
type?: 'input' | 'date' | 'select' | 'number' | 'radio' | 'textarea' | 'template';
|
|
22
|
-
/** 控件校验 */
|
|
23
|
-
validation?: Array<any>;
|
|
24
|
-
/** 控件错误提示 */
|
|
25
|
-
errorTip?: string;
|
|
26
|
-
/** 控件为select radio时下拉选项 */
|
|
27
|
-
options?: Array<NzxOptions<any>>;
|
|
28
|
-
/** 控件模式 */
|
|
29
|
-
controlMode?: 'readonly' | 'edit';
|
|
30
|
-
/** 控件列是否在table中展示 */
|
|
31
|
-
isShow?: boolean;
|
|
32
|
-
/** placeholder */
|
|
33
|
-
placeholder?: string;
|
|
34
|
-
/** select时,是否允许清空 */
|
|
35
|
-
allowClear?: boolean;
|
|
36
|
-
/** th是否展示必填星号 */
|
|
37
|
-
showRequiredTip?: boolean;
|
|
38
|
-
/** 自定义模板,可不填 */
|
|
39
|
-
templateRef?: TemplateRef<unknown>;
|
|
40
|
-
/** 最大长度 */
|
|
41
|
-
maxLength?: string | number;
|
|
42
|
-
/** nz-input-number时max */
|
|
43
|
-
max?: number;
|
|
44
|
-
/** readonly时自定义函数用来自定义展示 */
|
|
45
|
-
format?: (value: any) => any;
|
|
46
|
-
}
|
|
47
|
-
export interface NzxTableFormHeaderConfig {
|
|
48
|
-
/** 表头名 */
|
|
49
|
-
header: string;
|
|
50
|
-
/** td th 宽度 */
|
|
51
|
-
width?: string;
|
|
52
|
-
/** 控件名 */
|
|
53
|
-
controlName?: string;
|
|
54
|
-
/** 控件列是否在table中展示 */
|
|
55
|
-
isShow?: boolean;
|
|
56
|
-
/** 自定义模板,可不填 */
|
|
57
|
-
templateRef?: TemplateRef<unknown>;
|
|
58
|
-
/** th是否展示必填星号 */
|
|
59
|
-
showRequiredTip?: boolean;
|
|
60
|
-
}
|
|
61
|
-
export interface NzxTableFormTdConfig {
|
|
62
|
-
/** td th 宽度 */
|
|
63
|
-
width?: string;
|
|
64
|
-
/** 控件名 */
|
|
65
|
-
controlName: string;
|
|
66
|
-
/** 控件列是否在table中展示 */
|
|
67
|
-
isShow?: boolean;
|
|
68
|
-
/** 自定义模板,可不填 */
|
|
69
|
-
templateRef?: TemplateRef<unknown>;
|
|
70
|
-
/** th是否展示必填星号 */
|
|
71
|
-
showRequiredTip?: boolean;
|
|
72
|
-
/** 控件默认值 */
|
|
73
|
-
defaultValue?: any;
|
|
74
|
-
/** 控件类型 */
|
|
75
|
-
type?: 'input' | 'date' | 'select' | 'number' | 'radio' | 'textarea' | 'template';
|
|
76
|
-
/** 控件校验 */
|
|
77
|
-
validation?: Array<any>;
|
|
78
|
-
/** 控件错误提示 */
|
|
79
|
-
errorTip?: string;
|
|
80
|
-
/** 控件为select时下拉选项 */
|
|
81
|
-
options?: Array<NzxOptions>;
|
|
82
|
-
/** 控件模式 */
|
|
83
|
-
controlMode?: 'readonly' | 'edit';
|
|
84
|
-
/** placeholder */
|
|
85
|
-
placeholder?: string;
|
|
86
|
-
/** select时,是否允许清空 */
|
|
87
|
-
allowClear?: boolean;
|
|
88
|
-
/** 最大长度 */
|
|
89
|
-
maxLength?: string | number;
|
|
90
|
-
/** nz-input-number时max */
|
|
91
|
-
max?: number;
|
|
92
|
-
/** 自定义函数用来自定义展示 */
|
|
93
|
-
format?: (value: any) => any;
|
|
94
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { NzxQueryControlOptions, NzxQueryParams } from 'ng-zorro-antd-extension/configurable-query';
|
|
4
|
-
import { PageTableRequire, TableSelectConfig, TableSelectMode } from './type';
|
|
5
|
-
import { NzxTableQueryParams } from 'ng-zorro-antd-extension/table-adaptor';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* table选择基类,可以自己实现相关组件
|
|
9
|
-
*/
|
|
10
|
-
export declare abstract class NzxAbstractTableSelect<T extends PageTableRequire> implements ControlValueAccessor, AfterContentInit {
|
|
11
|
-
controls: Array<NzxQueryControlOptions>;
|
|
12
|
-
checkboxWidth: string;
|
|
13
|
-
/** 唯一标识字段,默认字段为id, 可以使用.分隔层级
|
|
14
|
-
* 比如login对象下的uuid可以使用传入'login.uuid'等同于['login','uuid']*/
|
|
15
|
-
uniqueKey: string | string[];
|
|
16
|
-
nzxBtnSpan: number;
|
|
17
|
-
nzxCollapse: boolean;
|
|
18
|
-
list: T[];
|
|
19
|
-
nzxQueryParamsChange: EventEmitter<NzxTableQueryParams | NzxQueryParams>;
|
|
20
|
-
/**
|
|
21
|
-
* 组件模式,支持多选单选,默认单选
|
|
22
|
-
* - single 单选
|
|
23
|
-
* - multiple 多选
|
|
24
|
-
*/
|
|
25
|
-
mode: TableSelectMode;
|
|
26
|
-
tableConfig: Array<TableSelectConfig<T>>;
|
|
27
|
-
selectedData: T[];
|
|
28
|
-
setOfCheckedId: Set<string | number>;
|
|
29
|
-
checked: boolean;
|
|
30
|
-
indeterminate: boolean;
|
|
31
|
-
private dirs;
|
|
32
|
-
isDisabled: boolean;
|
|
33
|
-
private propagateChange;
|
|
34
|
-
ngAfterContentInit(): void;
|
|
35
|
-
writeValue(obj: any[]): void;
|
|
36
|
-
registerOnChange(fn: any): void;
|
|
37
|
-
registerOnTouched(fn: any): void;
|
|
38
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
39
|
-
updateDisabledState(): void;
|
|
40
|
-
/** 更新选中集合 */
|
|
41
|
-
updateCheckedSet(data: T, checked: boolean): void;
|
|
42
|
-
/*** 全选 */
|
|
43
|
-
onAllChecked(value: boolean): void;
|
|
44
|
-
/*** 刷新checkbox选中状态 */
|
|
45
|
-
refreshCheckedStatus(): void;
|
|
46
|
-
/*** 每条checkbox选中*/
|
|
47
|
-
onItemChecked(data: T, checked: boolean): void;
|
|
48
|
-
getValue(obj: any, keys: string[] | string): any;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxAbstractTableSelect<any>, never>;
|
|
50
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxAbstractTableSelect<any>, never, never, { "controls": { "alias": "controls"; "required": false; }; "checkboxWidth": { "alias": "checkboxWidth"; "required": false; }; "uniqueKey": { "alias": "uniqueKey"; "required": false; }; "nzxBtnSpan": { "alias": "nzxBtnSpan"; "required": false; }; "nzxCollapse": { "alias": "nzxCollapse"; "required": false; }; "list": { "alias": "list"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "tableConfig": { "alias": "tableConfig"; "required": false; }; }, { "nzxQueryParamsChange": "nzxQueryParamsChange"; }, ["dirs"], never, true, never>;
|
|
51
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NzxKeyDirective {
|
|
4
|
-
key: string;
|
|
5
|
-
templateRef: TemplateRef<any>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxKeyDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxKeyDirective, "[nzxTableSelectKey]", ["NzxTableSelectKey"], { "key": { "alias": "nzxTableSelectKey"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./key.directive";
|
|
3
|
-
import * as i2 from "./table-select/table-select.component";
|
|
4
|
-
import * as i3 from "./page-table-select/page-table-select.component";
|
|
5
|
-
export declare class NzxTableSelectModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableSelectModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTableSelectModule, never, [typeof i1.NzxKeyDirective, typeof i2.NzxTableSelectComponent, typeof i3.NzxPageTableSelectComponent], [typeof i1.NzxKeyDirective, typeof i2.NzxTableSelectComponent, typeof i3.NzxPageTableSelectComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NzxTableSelectModule>;
|
|
9
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { NzxTableAdaptor } from 'ng-zorro-antd-extension/table-adaptor';
|
|
3
|
-
import { NzxAbstractTableSelect } from '../abstract-table-select';
|
|
4
|
-
import { PageTableRequire } from '../type';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* 通用table选择组件,支持分页,确保list中有唯一标识字段
|
|
8
|
-
* uniqueKey默认为id
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export declare class NzxPageTableSelectComponent<T extends PageTableRequire> extends NzxAbstractTableSelect<T> implements OnChanges {
|
|
12
|
-
/** loading加载条标志位 */
|
|
13
|
-
loading: boolean;
|
|
14
|
-
/** 分页总条数 */
|
|
15
|
-
nzTotal: number;
|
|
16
|
-
/** 表单指令实例用来刷新重置 */
|
|
17
|
-
nzxTableAdaptorRef: NzxTableAdaptor;
|
|
18
|
-
private cd;
|
|
19
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxPageTableSelectComponent<any>, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NzxPageTableSelectComponent<any>, "nzx-page-table-select", ["NzxPageTableSelect"], { "loading": { "alias": "loading"; "required": false; }; "nzTotal": { "alias": "nzTotal"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
-
}
|
|
@@ -1,10 +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 './type';
|
|
6
|
-
export * from './key.directive';
|
|
7
|
-
export * from './abstract-table-select';
|
|
8
|
-
export * from './nzx-table-select.module';
|
|
9
|
-
export * from './page-table-select/page-table-select.component';
|
|
10
|
-
export * from './table-select/table-select.component';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { NzxAbstractTableSelect } from '../abstract-table-select';
|
|
3
|
-
import { PageTableRequire } from '../type';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* 通用table选择组件,确保list中有唯一标识字段
|
|
7
|
-
* uniqueKey默认为id
|
|
8
|
-
*/
|
|
9
|
-
export declare class NzxTableSelectComponent<T extends PageTableRequire> extends NzxAbstractTableSelect<T> implements OnChanges {
|
|
10
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableSelectComponent<any>, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NzxTableSelectComponent<any>, "nzx-table-select", ["NzxTableSelect"], {}, {}, never, never, true, never>;
|
|
13
|
-
}
|
package/table-select/type.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
export interface PageTableRequire {
|
|
3
|
-
id: string | number;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}
|
|
7
|
-
export type TableSelectMode = 'single' | 'multiple';
|
|
8
|
-
export interface TableSelectConfig<T = any> {
|
|
9
|
-
label: string;
|
|
10
|
-
key: string;
|
|
11
|
-
/** data 一行数据*/
|
|
12
|
-
format?: (data: T) => string | number;
|
|
13
|
-
template?: TemplateRef<unknown>;
|
|
14
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { NzxConfigKey } from 'ng-zorro-antd-extension/core/config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NzxTimerButtonDirective implements AfterViewInit, OnDestroy {
|
|
5
|
-
private elementRef;
|
|
6
|
-
private cd;
|
|
7
|
-
duration: number;
|
|
8
|
-
isCompleted: EventEmitter<boolean>;
|
|
9
|
-
remainingTime: EventEmitter<number>;
|
|
10
|
-
get _disabled(): true;
|
|
11
|
-
private destroy$;
|
|
12
|
-
private disabled;
|
|
13
|
-
readonly _nzModuleName: NzxConfigKey;
|
|
14
|
-
private nzxConfigService;
|
|
15
|
-
constructor(elementRef: ElementRef, cd: ChangeDetectorRef);
|
|
16
|
-
ngAfterViewInit(): void;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTimerButtonDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTimerButtonDirective, "button[nzxTimerButton]", ["NzxTimerButton"], { "duration": { "alias": "duration"; "required": false; }; }, { "isCompleted": "isCompleted"; "remainingTime": "remainingTime"; }, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./timer-button.directive";
|
|
3
|
-
export declare class NzxTimerButtonModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTimerButtonModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTimerButtonModule, never, [typeof i1.NzxTimerButtonDirective], [typeof i1.NzxTimerButtonDirective]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NzxTimerButtonModule>;
|
|
7
|
-
}
|
package/trim/public-api.d.ts
DELETED