@ng-nest/ui 15.0.3 → 15.0.5
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/core/config/config.d.ts +2 -0
- package/dropdown/dropdown-portal.component.d.ts +4 -0
- package/esm2020/core/config/config.mjs +1 -1
- package/esm2020/dropdown/dropdown-portal.component.mjs +16 -4
- package/esm2020/input/input.component.mjs +2 -2
- package/esm2020/pagination/pagination.component.mjs +33 -4
- package/esm2020/pagination/pagination.property.mjs +15 -3
- package/esm2020/select/select.component.mjs +15 -3
- package/esm2020/select/select.property.mjs +4 -2
- package/esm2020/table/table-body.component.mjs +6 -6
- package/esm2020/table/table-head.component.mjs +46 -7
- package/esm2020/table/table.component.mjs +16 -5
- package/esm2020/table/table.module.mjs +5 -1
- package/esm2020/table/table.property.mjs +23 -2
- package/esm2020/transfer/transfer.component.mjs +130 -20
- package/esm2020/transfer/transfer.module.mjs +12 -4
- package/esm2020/transfer/transfer.property.mjs +11 -2
- package/fesm2015/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-date-picker.mjs +1 -0
- package/fesm2015/ng-nest-ui-dropdown.mjs +15 -3
- package/fesm2015/ng-nest-ui-dropdown.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-input.mjs +2 -2
- package/fesm2015/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-pagination.mjs +46 -5
- package/fesm2015/ng-nest-ui-pagination.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-select.mjs +17 -3
- package/fesm2015/ng-nest-ui-select.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-table.mjs +89 -16
- package/fesm2015/ng-nest-ui-table.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-transfer.mjs +154 -26
- package/fesm2015/ng-nest-ui-transfer.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-date-picker.mjs +1 -0
- package/fesm2020/ng-nest-ui-dropdown.mjs +15 -3
- package/fesm2020/ng-nest-ui-dropdown.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-input.mjs +2 -2
- package/fesm2020/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-pagination.mjs +46 -5
- package/fesm2020/ng-nest-ui-pagination.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-select.mjs +17 -3
- package/fesm2020/ng-nest-ui-select.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-table.mjs +89 -16
- package/fesm2020/ng-nest-ui-table.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-transfer.mjs +151 -24
- package/fesm2020/ng-nest-ui-transfer.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination/pagination.component.d.ts +3 -1
- package/pagination/pagination.property.d.ts +13 -3
- package/select/select.component.d.ts +4 -1
- package/select/select.property.d.ts +9 -4
- package/table/table-head.component.d.ts +9 -1
- package/table/table.component.d.ts +4 -2
- package/table/table.module.d.ts +4 -3
- package/table/table.property.d.ts +26 -1
- package/transfer/transfer.component.d.ts +12 -2
- package/transfer/transfer.module.d.ts +3 -1
- package/transfer/transfer.property.d.ts +29 -4
|
@@ -11,8 +11,10 @@ import * as i9 from "@ng-nest/ui/input";
|
|
|
11
11
|
import * as i10 from "@ng-nest/ui/base-form";
|
|
12
12
|
import * as i11 from "@ng-nest/ui/tree";
|
|
13
13
|
import * as i12 from "@ng-nest/ui/table";
|
|
14
|
+
import * as i13 from "@ng-nest/ui/keyword";
|
|
15
|
+
import * as i14 from "@ng-nest/ui/link";
|
|
14
16
|
export declare class XTransferModule {
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<XTransferModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<XTransferModule, [typeof i1.XTransferComponent, typeof i2.XTransferProperty], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.DragDropModule, typeof i6.XOutletModule, typeof i7.XCheckboxModule, typeof i8.XButtonModule, typeof i9.XInputModule, typeof i10.XBaseFormModule, typeof i11.XTreeModule, typeof i12.XTableModule], [typeof i1.XTransferComponent]>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<XTransferModule, [typeof i1.XTransferComponent, typeof i2.XTransferProperty], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.DragDropModule, typeof i6.XOutletModule, typeof i7.XCheckboxModule, typeof i8.XButtonModule, typeof i9.XInputModule, typeof i10.XBaseFormModule, typeof i11.XTreeModule, typeof i12.XTableModule, typeof i13.XKeywordModule, typeof i14.XLinkModule], [typeof i1.XTransferComponent]>;
|
|
17
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<XTransferModule>;
|
|
18
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XData, XParentIdentityProperty, XBoolean, XQuery, XStyleMap } from '@ng-nest/ui/core';
|
|
1
|
+
import { XData, XParentIdentityProperty, XBoolean, XQuery, XStyleMap, XTemplate } from '@ng-nest/ui/core';
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
3
|
import { XControlValueAccessor } from '@ng-nest/ui/base-form';
|
|
4
4
|
import { XTableColumn } from '@ng-nest/ui/table';
|
|
@@ -45,10 +45,15 @@ export declare class XTransferProperty extends XControlValueAccessor<any[]> {
|
|
|
45
45
|
*/
|
|
46
46
|
drag?: XBoolean;
|
|
47
47
|
/**
|
|
48
|
-
* @zh_CN
|
|
49
|
-
* @en_US Whether to display search
|
|
48
|
+
* @zh_CN 是否显示搜索。type 为 'table',需要设置 tableHeadSearchTpl 和 tableQuery 来配合使用
|
|
49
|
+
* @en_US Whether to display search
|
|
50
50
|
*/
|
|
51
51
|
search?: XBoolean;
|
|
52
|
+
/**
|
|
53
|
+
* @zh_CN 表格列头搜索自定义模板
|
|
54
|
+
* @en_US table head search custom template
|
|
55
|
+
*/
|
|
56
|
+
tableHeadSearchTpl?: XTemplate[];
|
|
52
57
|
/**
|
|
53
58
|
* @zh_CN 行数据自定义模板
|
|
54
59
|
* @en_US Data customization template
|
|
@@ -59,6 +64,11 @@ export declare class XTransferProperty extends XControlValueAccessor<any[]> {
|
|
|
59
64
|
* @en_US Title custom template
|
|
60
65
|
*/
|
|
61
66
|
titleTpl?: TemplateRef<void>;
|
|
67
|
+
/**
|
|
68
|
+
* @zh_CN 底部自定义模版
|
|
69
|
+
* @en_US Bottom Custom Template
|
|
70
|
+
*/
|
|
71
|
+
footerTpl?: TemplateRef<void>[];
|
|
62
72
|
/**
|
|
63
73
|
* @zh_CN 表格列集合
|
|
64
74
|
* @en_US Table column set
|
|
@@ -84,8 +94,13 @@ export declare class XTransferProperty extends XControlValueAccessor<any[]> {
|
|
|
84
94
|
* @en_US Total number of table data
|
|
85
95
|
*/
|
|
86
96
|
tableTotal: number;
|
|
97
|
+
/**
|
|
98
|
+
* @zh_CN 反选操作
|
|
99
|
+
* @en_US Inverse select
|
|
100
|
+
*/
|
|
101
|
+
inverse?: XBoolean;
|
|
87
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<XTransferProperty, never>;
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XTransferProperty, "ng-component", never, { "data": "data"; "type": "type"; "titles": "titles"; "listStyle": "listStyle"; "hiddenCheckAll": "hiddenCheckAll"; "drag": "drag"; "search": "search"; "nodeTpl": "nodeTpl"; "titleTpl": "titleTpl"; "tableColumns": "tableColumns"; "tableIndex": "tableIndex"; "tableSize": "tableSize"; "tableQuery": "tableQuery"; "tableTotal": "tableTotal"; }, {}, never, never, false, never>;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XTransferProperty, "ng-component", never, { "data": "data"; "type": "type"; "titles": "titles"; "listStyle": "listStyle"; "hiddenCheckAll": "hiddenCheckAll"; "drag": "drag"; "search": "search"; "tableHeadSearchTpl": "tableHeadSearchTpl"; "nodeTpl": "nodeTpl"; "titleTpl": "titleTpl"; "footerTpl": "footerTpl"; "tableColumns": "tableColumns"; "tableIndex": "tableIndex"; "tableSize": "tableSize"; "tableQuery": "tableQuery"; "tableTotal": "tableTotal"; "inverse": "inverse"; }, {}, never, never, false, never>;
|
|
89
104
|
}
|
|
90
105
|
/**
|
|
91
106
|
* Transfer Node
|
|
@@ -171,6 +186,16 @@ export interface XTransferSource {
|
|
|
171
186
|
* @en_US Data direction
|
|
172
187
|
*/
|
|
173
188
|
direction?: XTransferDirection;
|
|
189
|
+
/**
|
|
190
|
+
* @zh_CN 底部自定义模版
|
|
191
|
+
* @en_US Bottom Custom Template
|
|
192
|
+
*/
|
|
193
|
+
footerTpl?: TemplateRef<void>;
|
|
194
|
+
/**
|
|
195
|
+
* @zh_CN 表格列头搜索自定义模板
|
|
196
|
+
* @en_US table head search custom template
|
|
197
|
+
*/
|
|
198
|
+
tableHeadSearchTpl?: XTemplate;
|
|
174
199
|
}
|
|
175
200
|
/**
|
|
176
201
|
* Transfer direction
|