@ng-nest/ui 18.0.7 → 18.0.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/alert/alert.component.d.ts +3 -3
- package/auto-complete/auto-complete-portal.component.d.ts +6 -9
- package/auto-complete/auto-complete.component.d.ts +1 -0
- package/cascade/cascade-portal.component.d.ts +7 -9
- package/cascade/cascade.component.d.ts +1 -9
- package/cascade/cascade.property.d.ts +5 -2
- package/checkbox/checkbox.property.d.ts +10 -98
- package/color-picker/color-picker-portal.component.d.ts +6 -9
- package/core/functions/convert.d.ts +5 -0
- package/core/util/public-api.d.ts +1 -0
- package/core/util/sleep.d.ts +5 -0
- package/date-picker/date-picker-portal.component.d.ts +5 -6
- package/date-picker/date-picker.property.d.ts +1 -31
- package/date-picker/date-range-portal.component.d.ts +5 -6
- package/dialog/dialog.component.d.ts +4 -3
- package/dropdown/dropdown-portal.component.d.ts +5 -7
- package/esm2022/alert/alert.component.mjs +13 -10
- package/esm2022/auto-complete/auto-complete-portal.component.mjs +17 -10
- package/esm2022/auto-complete/auto-complete.component.mjs +7 -4
- package/esm2022/back-top/back-top.component.mjs +4 -2
- package/esm2022/cascade/cascade-portal.component.mjs +20 -11
- package/esm2022/cascade/cascade.component.mjs +5 -3
- package/esm2022/cascade/cascade.property.mjs +2 -2
- package/esm2022/checkbox/checkbox.property.mjs +3 -43
- package/esm2022/color-picker/color-picker-portal.component.mjs +17 -10
- package/esm2022/color-picker/color-picker.component.mjs +3 -3
- package/esm2022/color-picker/color-picker.property.mjs +3 -3
- package/esm2022/core/functions/convert.mjs +15 -1
- package/esm2022/core/util/public-api.mjs +2 -1
- package/esm2022/core/util/sleep.mjs +8 -0
- package/esm2022/date-picker/date-picker-portal.component.mjs +17 -6
- package/esm2022/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/date-picker/date-picker.property.mjs +2 -17
- package/esm2022/date-picker/date-range-portal.component.mjs +17 -6
- package/esm2022/date-picker/date-range.component.mjs +3 -3
- package/esm2022/dialog/dialog.component.mjs +23 -18
- package/esm2022/dropdown/dropdown-portal.component.mjs +17 -8
- package/esm2022/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/find/find.component.mjs +15 -8
- package/esm2022/find/find.property.mjs +7 -57
- package/esm2022/form/form.component.mjs +3 -3
- package/esm2022/form/form.property.mjs +3 -3
- package/esm2022/highlight/highlight.component.mjs +3 -3
- package/esm2022/icon/icon.component.mjs +2 -2
- package/esm2022/image/image.component.mjs +3 -3
- package/esm2022/input/input.component.mjs +3 -3
- package/esm2022/input-number/input-number.component.mjs +3 -3
- package/esm2022/input-number/input-number.property.mjs +3 -23
- package/esm2022/loading/loading.component.mjs +3 -3
- package/esm2022/loading/loading.property.mjs +5 -5
- package/esm2022/pagination/pagination.component.mjs +7 -3
- package/esm2022/radio/radio.property.mjs +3 -53
- package/esm2022/rate/rate.property.mjs +3 -58
- package/esm2022/select/select-portal.component.mjs +17 -10
- package/esm2022/select/select.component.mjs +15 -5
- package/esm2022/select/select.property.mjs +2 -2
- package/esm2022/slider-select/slider-select.property.mjs +3 -58
- package/esm2022/switch/switch.property.mjs +3 -58
- package/esm2022/table/table-body.component.mjs +5 -4
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/table/table.property.mjs +14 -4
- package/esm2022/textarea/textarea.property.mjs +3 -38
- package/esm2022/time-picker/time-picker-portal.component.mjs +17 -6
- package/esm2022/time-picker/time-picker.component.mjs +3 -3
- package/esm2022/time-picker/time-picker.property.mjs +3 -3
- package/esm2022/transfer/transfer.component.mjs +3 -3
- package/esm2022/tree/tree-node.component.mjs +10 -2
- package/esm2022/tree/tree.component.mjs +11 -9
- package/esm2022/tree/tree.property.mjs +1 -1
- package/esm2022/tree/tree.service.mjs +28 -4
- package/esm2022/tree-select/tree-select-portal.component.mjs +17 -6
- package/esm2022/tree-select/tree-select.component.mjs +20 -4
- package/fesm2022/ng-nest-ui-alert.mjs +12 -9
- package/fesm2022/ng-nest-ui-alert.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-auto-complete.mjs +21 -11
- package/fesm2022/ng-nest-ui-auto-complete.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-back-top.mjs +3 -1
- package/fesm2022/ng-nest-ui-back-top.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-cascade.mjs +24 -13
- package/fesm2022/ng-nest-ui-cascade.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-checkbox.mjs +2 -42
- package/fesm2022/ng-nest-ui-checkbox.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-color-picker.mjs +20 -13
- package/fesm2022/ng-nest-ui-color-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-core.mjs +23 -1
- package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-date-picker.mjs +36 -29
- package/fesm2022/ng-nest-ui-date-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-dialog.mjs +22 -17
- package/fesm2022/ng-nest-ui-dialog.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-dropdown.mjs +19 -10
- package/fesm2022/ng-nest-ui-dropdown.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-find.mjs +20 -63
- package/fesm2022/ng-nest-ui-find.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-form.mjs +4 -4
- package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-highlight.mjs +2 -2
- package/fesm2022/ng-nest-ui-highlight.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-icon.mjs +1 -1
- package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-image.mjs +2 -2
- package/fesm2022/ng-nest-ui-image.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-input-number.mjs +4 -24
- package/fesm2022/ng-nest-ui-input-number.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-input.mjs +2 -2
- package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-loading.mjs +6 -6
- package/fesm2022/ng-nest-ui-loading.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-pagination.mjs +6 -2
- package/fesm2022/ng-nest-ui-pagination.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-radio.mjs +2 -52
- package/fesm2022/ng-nest-ui-radio.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-rate.mjs +2 -57
- package/fesm2022/ng-nest-ui-rate.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-select.mjs +31 -14
- package/fesm2022/ng-nest-ui-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-slider-select.mjs +2 -57
- package/fesm2022/ng-nest-ui-slider-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-switch.mjs +2 -57
- package/fesm2022/ng-nest-ui-switch.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-table.mjs +19 -8
- package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-textarea.mjs +2 -37
- package/fesm2022/ng-nest-ui-textarea.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-time-picker.mjs +20 -9
- package/fesm2022/ng-nest-ui-time-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-transfer.mjs +2 -2
- package/fesm2022/ng-nest-ui-transfer.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree-select.mjs +35 -8
- package/fesm2022/ng-nest-ui-tree-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree.mjs +46 -12
- package/fesm2022/ng-nest-ui-tree.mjs.map +1 -1
- package/find/find.component.d.ts +2 -0
- package/find/find.property.d.ts +20 -97
- package/form/form.property.d.ts +4 -4
- package/input-number/input-number.property.d.ts +4 -56
- package/loading/loading.property.d.ts +4 -4
- package/package.json +123 -123
- package/pagination/pagination.component.d.ts +2 -1
- package/radio/radio.property.d.ts +10 -118
- package/rate/rate.property.d.ts +16 -121
- package/select/select-portal.component.d.ts +6 -9
- package/select/select.component.d.ts +3 -1
- package/slider-select/slider-select.property.d.ts +6 -113
- package/switch/switch.property.d.ts +2 -117
- package/table/table-body.component.d.ts +1 -1
- package/table/table.property.d.ts +13 -3
- package/textarea/textarea.property.d.ts +10 -45
- package/time-picker/time-picker-portal.component.d.ts +5 -6
- package/time-picker/time-picker.property.d.ts +1 -2
- package/tree/tree.component.d.ts +2 -3
- package/tree/tree.property.d.ts +1 -1
- package/tree/tree.service.d.ts +1 -1
- package/tree-select/tree-select-portal.component.d.ts +5 -6
- package/tree-select/tree-select.component.d.ts +7 -4
package/find/find.property.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
1
|
import { XTableColumn, XTableRow } from '@ng-nest/ui/table';
|
|
3
2
|
import { XTreeNode } from '@ng-nest/ui/tree';
|
|
4
3
|
import { XFormOption } from '@ng-nest/ui/base-form';
|
|
5
|
-
import type { XBoolean, XData, XNumber, XSort, XQuery, XFilter, XSize, XAlign, XJustify, XDirection
|
|
4
|
+
import type { XBoolean, XData, XNumber, XSort, XQuery, XFilter, XSize, XAlign, XJustify, XDirection } from '@ng-nest/ui/core';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
/**
|
|
8
7
|
* Find
|
|
@@ -19,6 +18,9 @@ export interface XFindSearchOption extends XFilter {
|
|
|
19
18
|
}
|
|
20
19
|
declare const XFindProperty_base: new () => {
|
|
21
20
|
config: import("@ng-nest/ui/core").XFindConfig | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Find search option
|
|
23
|
+
*/
|
|
22
24
|
cdr: import("@angular/core").ChangeDetectorRef;
|
|
23
25
|
invalid: import("@angular/core").Signal<boolean>;
|
|
24
26
|
invalidPattern: import("@angular/core").Signal<boolean>;
|
|
@@ -47,7 +49,10 @@ declare const XFindProperty_base: new () => {
|
|
|
47
49
|
readonly validator: import("@angular/core").InputSignalWithTransform<boolean, XBoolean>;
|
|
48
50
|
readonly label: import("@angular/core").InputSignal<string>;
|
|
49
51
|
readonly labelWidth: import("@angular/core").InputSignalWithTransform<string, XNumber>;
|
|
50
|
-
readonly labelAlign: import("@angular/core").InputSignal<XAlign>;
|
|
52
|
+
readonly labelAlign: import("@angular/core").InputSignal<XAlign>; /**
|
|
53
|
+
* @zh_CN 按钮居中
|
|
54
|
+
* @en_US Button centered
|
|
55
|
+
*/
|
|
51
56
|
readonly justify: import("@angular/core").InputSignal<XJustify>;
|
|
52
57
|
readonly align: import("@angular/core").InputSignal<XAlign>;
|
|
53
58
|
readonly direction: import("@angular/core").InputSignal<XDirection>;
|
|
@@ -56,10 +61,10 @@ declare const XFindProperty_base: new () => {
|
|
|
56
61
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, XBoolean>;
|
|
57
62
|
readonly required: import("@angular/core").InputSignalWithTransform<boolean, XBoolean>;
|
|
58
63
|
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, XBoolean>;
|
|
59
|
-
readonly valueTpl: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
|
|
64
|
+
readonly valueTpl: import("@angular/core").InputSignal<import("@angular/core").TemplateRef<any> | undefined>;
|
|
60
65
|
readonly valueTplContext: import("@angular/core").InputSignal<unknown>;
|
|
61
|
-
readonly before: import("@angular/core").InputSignal<XTemplate | undefined>;
|
|
62
|
-
readonly after: import("@angular/core").InputSignal<XTemplate | undefined>;
|
|
66
|
+
readonly before: import("@angular/core").InputSignal<import("@ng-nest/ui/core").XTemplate | undefined>;
|
|
67
|
+
readonly after: import("@angular/core").InputSignal<import("@ng-nest/ui/core").XTemplate | undefined>;
|
|
63
68
|
readonly pattern: import("@angular/core").InputSignal<RegExp | RegExp[]>;
|
|
64
69
|
readonly message: import("@angular/core").InputSignal<string | string[]>;
|
|
65
70
|
readonly active: import("@angular/core").ModelSignal<boolean>;
|
|
@@ -187,6 +192,14 @@ export declare class XFindProperty extends XFindProperty_base {
|
|
|
187
192
|
* @en_US Table opens virtual scrolling
|
|
188
193
|
*/
|
|
189
194
|
readonly tableVirtualScroll: import("@angular/core").InputSignalWithTransform<boolean, XBoolean>;
|
|
195
|
+
/**
|
|
196
|
+
* @zh_CN 表格滚动区域高宽
|
|
197
|
+
* @en_US table height and width of rolling area
|
|
198
|
+
*/
|
|
199
|
+
readonly tableScroll: import("@angular/core").InputSignal<{
|
|
200
|
+
x: number;
|
|
201
|
+
y: number;
|
|
202
|
+
} | undefined>;
|
|
190
203
|
/**
|
|
191
204
|
* @zh_CN 表格 body 数据高度
|
|
192
205
|
* @en_US Table body data height
|
|
@@ -257,11 +270,6 @@ export declare class XFindProperty extends XFindProperty_base {
|
|
|
257
270
|
* @en_US Size
|
|
258
271
|
*/
|
|
259
272
|
readonly size: import("@angular/core").InputSignal<XSize>;
|
|
260
|
-
/**
|
|
261
|
-
* @zh_CN 输入框点击样式
|
|
262
|
-
* @en_US Input pointer
|
|
263
|
-
*/
|
|
264
|
-
readonly pointer: import("@angular/core").InputSignalWithTransform<boolean, XBoolean>;
|
|
265
273
|
/**
|
|
266
274
|
* @zh_CN 标签
|
|
267
275
|
* @en_US Label
|
|
@@ -292,11 +300,6 @@ export declare class XFindProperty extends XFindProperty_base {
|
|
|
292
300
|
* @en_US The direction of the sub-element arrangement under flex layout
|
|
293
301
|
*/
|
|
294
302
|
readonly direction: import("@angular/core").InputSignal<XDirection>;
|
|
295
|
-
/**
|
|
296
|
-
* @zh_CN 输入提示信息
|
|
297
|
-
* @en_US Enter prompt information
|
|
298
|
-
*/
|
|
299
|
-
readonly placeholder: import("@angular/core").InputSignal<string | string[]>;
|
|
300
303
|
/**
|
|
301
304
|
* @zh_CN 禁用
|
|
302
305
|
* @en_US Disabled
|
|
@@ -307,53 +310,8 @@ export declare class XFindProperty extends XFindProperty_base {
|
|
|
307
310
|
* @en_US Required
|
|
308
311
|
*/
|
|
309
312
|
readonly required: import("@angular/core").InputSignalWithTransform<boolean, XBoolean>;
|
|
310
|
-
/**
|
|
311
|
-
* @zh_CN 只读
|
|
312
|
-
* @en_US Readonly
|
|
313
|
-
*/
|
|
314
|
-
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, XBoolean>;
|
|
315
|
-
/**
|
|
316
|
-
* @zh_CN 值模板
|
|
317
|
-
* @en_US Node template
|
|
318
|
-
*/
|
|
319
|
-
readonly valueTpl: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
|
|
320
|
-
/**
|
|
321
|
-
* @zh_CN 值模板参数
|
|
322
|
-
* @en_US Node template
|
|
323
|
-
*/
|
|
324
|
-
readonly valueTplContext: import("@angular/core").InputSignal<unknown>;
|
|
325
|
-
/**
|
|
326
|
-
* @zh_CN 前置标签
|
|
327
|
-
* @en_US Before label
|
|
328
|
-
*/
|
|
329
|
-
readonly before: import("@angular/core").InputSignal<XTemplate | undefined>;
|
|
330
|
-
/**
|
|
331
|
-
* @zh_CN 后置标签
|
|
332
|
-
* @en_US After label
|
|
333
|
-
*/
|
|
334
|
-
readonly after: import("@angular/core").InputSignal<XTemplate | undefined>;
|
|
335
|
-
/**
|
|
336
|
-
* @zh_CN 正则验证规则
|
|
337
|
-
* @en_US Regular verification rules
|
|
338
|
-
*/
|
|
339
|
-
readonly pattern: import("@angular/core").InputSignal<any>;
|
|
340
|
-
/**
|
|
341
|
-
* @zh_CN 验证不通过提示文字
|
|
342
|
-
* @en_US Verify not pass the prompt text
|
|
343
|
-
*/
|
|
344
|
-
readonly message: import("@angular/core").InputSignal<string | string[]>;
|
|
345
|
-
/**
|
|
346
|
-
* @zh_CN 激活状态
|
|
347
|
-
* @en_US Activation state
|
|
348
|
-
*/
|
|
349
|
-
readonly active: import("@angular/core").ModelSignal<boolean>;
|
|
350
|
-
/**
|
|
351
|
-
* @zh_CN 输入验证函数
|
|
352
|
-
* @en_US Enter the verification function
|
|
353
|
-
*/
|
|
354
|
-
readonly inputValidator: import("@angular/core").InputSignal<((value: any) => boolean) | undefined>;
|
|
355
313
|
static ɵfac: i0.ɵɵFactoryDeclaration<XFindProperty, never>;
|
|
356
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XFindProperty, "x-find-property", never, { "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "columnLabel": { "alias": "columnLabel"; "required": false; "isSignal": true; }; "dialogTitle": { "alias": "dialogTitle"; "required": false; "isSignal": true; }; "dialogCheckboxLabel": { "alias": "dialogCheckboxLabel"; "required": false; "isSignal": true; }; "dialogCheckboxWidth": { "alias": "dialogCheckboxWidth"; "required": false; "isSignal": true; }; "dialogEmptyContent": { "alias": "dialogEmptyContent"; "required": false; "isSignal": true; }; "dialogWidth": { "alias": "dialogWidth"; "required": false; "isSignal": true; }; "dialogHeight": { "alias": "dialogHeight"; "required": false; "isSignal": true; }; "dialogVisible": { "alias": "dialogVisible"; "required": false; "isSignal": true; }; "dialogButtonsCenter": { "alias": "dialogButtonsCenter"; "required": false; "isSignal": true; }; "tableData": { "alias": "tableData"; "required": false; "isSignal": true; }; "tableIndex": { "alias": "tableIndex"; "required": false; "isSignal": true; }; "tableSize": { "alias": "tableSize"; "required": false; "isSignal": true; }; "tableQuery": { "alias": "tableQuery"; "required": false; "isSignal": true; }; "tableTotal": { "alias": "tableTotal"; "required": false; "isSignal": true; }; "tableColumns": { "alias": "tableColumns"; "required": false; "isSignal": true; }; "tableActivatedRow": { "alias": "tableActivatedRow"; "required": false; "isSignal": true; }; "tableCheckedRow": { "alias": "tableCheckedRow"; "required": false; "isSignal": true; }; "tableLoading": { "alias": "tableLoading"; "required": false; "isSignal": true; }; "tableVirtualScroll": { "alias": "tableVirtualScroll"; "required": false; "isSignal": true; }; "
|
|
314
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XFindProperty, "x-find-property", never, { "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "columnLabel": { "alias": "columnLabel"; "required": false; "isSignal": true; }; "dialogTitle": { "alias": "dialogTitle"; "required": false; "isSignal": true; }; "dialogCheckboxLabel": { "alias": "dialogCheckboxLabel"; "required": false; "isSignal": true; }; "dialogCheckboxWidth": { "alias": "dialogCheckboxWidth"; "required": false; "isSignal": true; }; "dialogEmptyContent": { "alias": "dialogEmptyContent"; "required": false; "isSignal": true; }; "dialogWidth": { "alias": "dialogWidth"; "required": false; "isSignal": true; }; "dialogHeight": { "alias": "dialogHeight"; "required": false; "isSignal": true; }; "dialogVisible": { "alias": "dialogVisible"; "required": false; "isSignal": true; }; "dialogButtonsCenter": { "alias": "dialogButtonsCenter"; "required": false; "isSignal": true; }; "tableData": { "alias": "tableData"; "required": false; "isSignal": true; }; "tableIndex": { "alias": "tableIndex"; "required": false; "isSignal": true; }; "tableSize": { "alias": "tableSize"; "required": false; "isSignal": true; }; "tableQuery": { "alias": "tableQuery"; "required": false; "isSignal": true; }; "tableTotal": { "alias": "tableTotal"; "required": false; "isSignal": true; }; "tableColumns": { "alias": "tableColumns"; "required": false; "isSignal": true; }; "tableActivatedRow": { "alias": "tableActivatedRow"; "required": false; "isSignal": true; }; "tableCheckedRow": { "alias": "tableCheckedRow"; "required": false; "isSignal": true; }; "tableLoading": { "alias": "tableLoading"; "required": false; "isSignal": true; }; "tableVirtualScroll": { "alias": "tableVirtualScroll"; "required": false; "isSignal": true; }; "tableScroll": { "alias": "tableScroll"; "required": false; "isSignal": true; }; "tableBodyHeight": { "alias": "tableBodyHeight"; "required": false; "isSignal": true; }; "tableMinBufferPx": { "alias": "tableMinBufferPx"; "required": false; "isSignal": true; }; "tableMaxBufferPx": { "alias": "tableMaxBufferPx"; "required": false; "isSignal": true; }; "tableAdaptionHeight": { "alias": "tableAdaptionHeight"; "required": false; "isSignal": true; }; "tableDocPercent": { "alias": "tableDocPercent"; "required": false; "isSignal": true; }; "tableRowHeight": { "alias": "tableRowHeight"; "required": false; "isSignal": true; }; "treeData": { "alias": "treeData"; "required": false; "isSignal": true; }; "treeActivatedId": { "alias": "treeActivatedId"; "required": false; "isSignal": true; }; "treeExpandedLevel": { "alias": "treeExpandedLevel"; "required": false; "isSignal": true; }; "treeChecked": { "alias": "treeChecked"; "required": false; "isSignal": true; }; "treeCheckbox": { "alias": "treeCheckbox"; "required": false; "isSignal": true; }; "treeTableConnect": { "alias": "treeTableConnect"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelWidth": { "alias": "labelWidth"; "required": false; "isSignal": true; }; "labelAlign": { "alias": "labelAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "dialogVisible": "dialogVisibleChange"; "tableIndex": "tableIndexChange"; "tableSize": "tableSizeChange"; "tableQuery": "tableQueryChange"; "tableTotal": "tableTotalChange"; "tableSortChange": "tableSortChange"; "tableActivatedRow": "tableActivatedRowChange"; "tableRowEmit": "tableRowEmit"; "tableCheckedRow": "tableCheckedRowChange"; "treeActivatedId": "treeActivatedIdChange"; "treeChecked": "treeCheckedChange"; "search": "searchChange"; }, never, never, false, never>;
|
|
357
315
|
}
|
|
358
316
|
/**
|
|
359
317
|
* Find Option
|
|
@@ -546,11 +504,6 @@ export interface XFindOption extends XFormOption {
|
|
|
546
504
|
* @en_US Size
|
|
547
505
|
*/
|
|
548
506
|
size?: XSize;
|
|
549
|
-
/**
|
|
550
|
-
* @zh_CN 输入框点击样式
|
|
551
|
-
* @en_US Input pointer
|
|
552
|
-
*/
|
|
553
|
-
pointer?: boolean;
|
|
554
507
|
/**
|
|
555
508
|
* @zh_CN 标签
|
|
556
509
|
* @en_US Label
|
|
@@ -581,11 +534,6 @@ export interface XFindOption extends XFormOption {
|
|
|
581
534
|
* @en_US The direction of the sub-element arrangement under flex layout
|
|
582
535
|
*/
|
|
583
536
|
direction?: XDirection;
|
|
584
|
-
/**
|
|
585
|
-
* @zh_CN 输入提示信息
|
|
586
|
-
* @en_US Enter prompt information
|
|
587
|
-
*/
|
|
588
|
-
placeholder?: string;
|
|
589
537
|
/**
|
|
590
538
|
* @zh_CN 禁用
|
|
591
539
|
* @en_US Disabled
|
|
@@ -596,31 +544,6 @@ export interface XFindOption extends XFormOption {
|
|
|
596
544
|
* @en_US Required
|
|
597
545
|
*/
|
|
598
546
|
required?: boolean;
|
|
599
|
-
/**
|
|
600
|
-
* @zh_CN 只读
|
|
601
|
-
* @en_US Readonly
|
|
602
|
-
*/
|
|
603
|
-
readonly?: boolean;
|
|
604
|
-
/**
|
|
605
|
-
* @zh_CN 值模板
|
|
606
|
-
* @en_US Node template
|
|
607
|
-
*/
|
|
608
|
-
valueTpl?: TemplateRef<any>;
|
|
609
|
-
/**
|
|
610
|
-
* @zh_CN 值模板参数
|
|
611
|
-
* @en_US Node template
|
|
612
|
-
*/
|
|
613
|
-
valueTplContext?: any;
|
|
614
|
-
/**
|
|
615
|
-
* @zh_CN 前置标签
|
|
616
|
-
* @en_US Before label
|
|
617
|
-
*/
|
|
618
|
-
before?: XTemplate;
|
|
619
|
-
/**
|
|
620
|
-
* @zh_CN 后置标签
|
|
621
|
-
* @en_US After label
|
|
622
|
-
*/
|
|
623
|
-
after?: XTemplate;
|
|
624
547
|
/**
|
|
625
548
|
* @zh_CN 正则验证规则
|
|
626
549
|
* @en_US Regular verification rules
|
package/form/form.property.d.ts
CHANGED
|
@@ -55,8 +55,8 @@ declare const XFormProperty_base: new () => {
|
|
|
55
55
|
onTouched: () => void;
|
|
56
56
|
writeValue(value: any): void; /**
|
|
57
57
|
* @zh_CN 表单 FormGroup
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
( * @en_US Form FormGroup
|
|
59
|
+
) * @default new UntypedFormGroup({})
|
|
60
60
|
*/
|
|
61
61
|
registerOnChange(fn: (value: any) => void): void;
|
|
62
62
|
registerOnTouched(fn: () => void): void;
|
|
@@ -90,8 +90,8 @@ declare const XFormProperty_base: new () => {
|
|
|
90
90
|
export declare class XFormProperty extends XFormProperty_base {
|
|
91
91
|
/**
|
|
92
92
|
* @zh_CN 表单 FormGroup
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
( * @en_US Form FormGroup
|
|
94
|
+
) * @default new UntypedFormGroup({})
|
|
95
95
|
*/
|
|
96
96
|
readonly formGroup: import("@angular/core").InputSignal<UntypedFormGroup>;
|
|
97
97
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XAlign, XBoolean, XDirection, XJustify, XNumber, XSize
|
|
1
|
+
import { XAlign, XBoolean, XDirection, XJustify, XNumber, XSize } from '@ng-nest/ui/core';
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
3
|
import { XFormOption } from '@ng-nest/ui/base-form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -16,18 +16,10 @@ declare const XInputNumberProperty_base: new () => {
|
|
|
16
16
|
requiredIsEmpty: import("@angular/core").Signal<boolean>;
|
|
17
17
|
invalidMessage: import("@angular/core").Signal<string>;
|
|
18
18
|
invalidIndex: import("@angular/core").WritableSignal<number>;
|
|
19
|
-
/**
|
|
20
|
-
* @zh_CN 步数
|
|
21
|
-
* @en_US Step count
|
|
22
|
-
*/
|
|
23
19
|
value: import("@angular/core").WritableSignal<any>;
|
|
24
20
|
validatorSignal: import("@angular/core").WritableSignal<boolean>;
|
|
25
21
|
disabledSignal: import("@angular/core").WritableSignal<boolean>;
|
|
26
22
|
requiredSignal: import("@angular/core").WritableSignal<boolean>;
|
|
27
|
-
/**
|
|
28
|
-
* @zh_CN 精度
|
|
29
|
-
* @en_US Precision
|
|
30
|
-
*/
|
|
31
23
|
patternSignal: import("@angular/core").WritableSignal<any>;
|
|
32
24
|
messageSignal: import("@angular/core").WritableSignal<string | string[]>;
|
|
33
25
|
requiredComputed: import("@angular/core").Signal<boolean>;
|
|
@@ -57,15 +49,11 @@ declare const XInputNumberProperty_base: new () => {
|
|
|
57
49
|
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, XBoolean>;
|
|
58
50
|
readonly valueTpl: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
|
|
59
51
|
readonly valueTplContext: import("@angular/core").InputSignal<unknown>;
|
|
60
|
-
readonly before: import("@angular/core").InputSignal<XTemplate | undefined>;
|
|
61
|
-
readonly after: import("@angular/core").InputSignal<XTemplate | undefined>;
|
|
52
|
+
readonly before: import("@angular/core").InputSignal<import("@ng-nest/ui/core").XTemplate | undefined>;
|
|
53
|
+
readonly after: import("@angular/core").InputSignal<import("@ng-nest/ui/core").XTemplate | undefined>;
|
|
62
54
|
readonly pattern: import("@angular/core").InputSignal<RegExp | RegExp[]>;
|
|
63
55
|
readonly message: import("@angular/core").InputSignal<string | string[]>;
|
|
64
56
|
readonly active: import("@angular/core").ModelSignal<boolean>;
|
|
65
|
-
/**
|
|
66
|
-
* @zh_CN 正则验证规则
|
|
67
|
-
* @en_US Regular verification rules
|
|
68
|
-
*/
|
|
69
57
|
readonly pointer: import("@angular/core").InputSignalWithTransform<boolean, XBoolean>;
|
|
70
58
|
readonly inputValidator: import("@angular/core").InputSignal<((value: any) => boolean) | undefined>;
|
|
71
59
|
};
|
|
@@ -118,11 +106,6 @@ export declare class XInputNumberProperty extends XInputNumberProperty_base {
|
|
|
118
106
|
* @en_US Size
|
|
119
107
|
*/
|
|
120
108
|
readonly size: import("@angular/core").InputSignal<XSize>;
|
|
121
|
-
/**
|
|
122
|
-
* @zh_CN 输入框点击样式
|
|
123
|
-
* @en_US Input pointer
|
|
124
|
-
*/
|
|
125
|
-
readonly pointer: import("@angular/core").InputSignalWithTransform<boolean, XBoolean>;
|
|
126
109
|
/**
|
|
127
110
|
* @zh_CN 标签
|
|
128
111
|
* @en_US Label
|
|
@@ -183,16 +166,6 @@ export declare class XInputNumberProperty extends XInputNumberProperty_base {
|
|
|
183
166
|
* @en_US Node template
|
|
184
167
|
*/
|
|
185
168
|
readonly valueTplContext: import("@angular/core").InputSignal<unknown>;
|
|
186
|
-
/**
|
|
187
|
-
* @zh_CN 前置标签
|
|
188
|
-
* @en_US Before label
|
|
189
|
-
*/
|
|
190
|
-
readonly before: import("@angular/core").InputSignal<XTemplate | undefined>;
|
|
191
|
-
/**
|
|
192
|
-
* @zh_CN 后置标签
|
|
193
|
-
* @en_US After label
|
|
194
|
-
*/
|
|
195
|
-
readonly after: import("@angular/core").InputSignal<XTemplate | undefined>;
|
|
196
169
|
/**
|
|
197
170
|
* @zh_CN 正则验证规则
|
|
198
171
|
* @en_US Regular verification rules
|
|
@@ -203,18 +176,13 @@ export declare class XInputNumberProperty extends XInputNumberProperty_base {
|
|
|
203
176
|
* @en_US Verify not pass the prompt text
|
|
204
177
|
*/
|
|
205
178
|
readonly message: import("@angular/core").InputSignal<string | string[]>;
|
|
206
|
-
/**
|
|
207
|
-
* @zh_CN 激活状态
|
|
208
|
-
* @en_US Activation state
|
|
209
|
-
*/
|
|
210
|
-
readonly active: import("@angular/core").ModelSignal<boolean>;
|
|
211
179
|
/**
|
|
212
180
|
* @zh_CN 输入验证函数
|
|
213
181
|
* @en_US Enter the verification function
|
|
214
182
|
*/
|
|
215
183
|
readonly inputValidator: import("@angular/core").InputSignal<((value: any) => boolean) | undefined>;
|
|
216
184
|
static ɵfac: i0.ɵɵFactoryDeclaration<XInputNumberProperty, never>;
|
|
217
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XInputNumberProperty, "x-input-number-property", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "debounce": { "alias": "debounce"; "required": false; "isSignal": true; }; "precision": { "alias": "precision"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "formatter": { "alias": "formatter"; "required": false; "isSignal": true; }; "hiddenButton": { "alias": "hiddenButton"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "
|
|
185
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XInputNumberProperty, "x-input-number-property", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "debounce": { "alias": "debounce"; "required": false; "isSignal": true; }; "precision": { "alias": "precision"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "formatter": { "alias": "formatter"; "required": false; "isSignal": true; }; "hiddenButton": { "alias": "hiddenButton"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelWidth": { "alias": "labelWidth"; "required": false; "isSignal": true; }; "labelAlign": { "alias": "labelAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "valueTpl": { "alias": "valueTpl"; "required": false; "isSignal": true; }; "valueTplContext": { "alias": "valueTplContext"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "inputValidator": { "alias": "inputValidator"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
218
186
|
}
|
|
219
187
|
/**
|
|
220
188
|
* InputNumber Option
|
|
@@ -265,11 +233,6 @@ export interface XInputNumberOption extends XFormOption {
|
|
|
265
233
|
* @en_US Size
|
|
266
234
|
*/
|
|
267
235
|
size?: XSize;
|
|
268
|
-
/**
|
|
269
|
-
* @zh_CN 输入框点击样式
|
|
270
|
-
* @en_US Input pointer
|
|
271
|
-
*/
|
|
272
|
-
pointer?: boolean;
|
|
273
236
|
/**
|
|
274
237
|
* @zh_CN 标签
|
|
275
238
|
* @en_US Label
|
|
@@ -330,16 +293,6 @@ export interface XInputNumberOption extends XFormOption {
|
|
|
330
293
|
* @en_US Node template
|
|
331
294
|
*/
|
|
332
295
|
valueTplContext?: any;
|
|
333
|
-
/**
|
|
334
|
-
* @zh_CN 前置标签
|
|
335
|
-
* @en_US Before label
|
|
336
|
-
*/
|
|
337
|
-
before?: XTemplate;
|
|
338
|
-
/**
|
|
339
|
-
* @zh_CN 后置标签
|
|
340
|
-
* @en_US After label
|
|
341
|
-
*/
|
|
342
|
-
after?: XTemplate;
|
|
343
296
|
/**
|
|
344
297
|
* @zh_CN 正则验证规则
|
|
345
298
|
* @en_US Regular verification rules
|
|
@@ -350,11 +303,6 @@ export interface XInputNumberOption extends XFormOption {
|
|
|
350
303
|
* @en_US Verify not pass the prompt text
|
|
351
304
|
*/
|
|
352
305
|
message?: string | string[];
|
|
353
|
-
/**
|
|
354
|
-
* @zh_CN 激活状态
|
|
355
|
-
* @en_US Activation state
|
|
356
|
-
*/
|
|
357
|
-
active?: boolean;
|
|
358
306
|
/**
|
|
359
307
|
* @zh_CN 输入验证函数
|
|
360
308
|
* @en_US Enter the verification function
|
|
@@ -32,17 +32,17 @@ export declare class XLoadingProperty extends XLoadingProperty_base {
|
|
|
32
32
|
* @zh_CN 显示文字,支持自定义模板
|
|
33
33
|
* @en_US Display text, support custom template
|
|
34
34
|
*/
|
|
35
|
-
readonly text: import("@angular/core").InputSignal<XTemplate>;
|
|
35
|
+
readonly text: import("@angular/core").InputSignal<XTemplate | null>;
|
|
36
36
|
/**
|
|
37
37
|
* @zh_CN 显示的图标
|
|
38
38
|
* @en_US Icon displayed
|
|
39
39
|
*/
|
|
40
|
-
readonly icon: import("@angular/core").InputSignal<string>;
|
|
40
|
+
readonly icon: import("@angular/core").InputSignal<string | null>;
|
|
41
41
|
/**
|
|
42
42
|
* @zh_CN 颜色
|
|
43
43
|
* @en_US Color
|
|
44
44
|
*/
|
|
45
|
-
readonly color: import("@angular/core").InputSignal<string>;
|
|
45
|
+
readonly color: import("@angular/core").InputSignal<string | null>;
|
|
46
46
|
/**
|
|
47
47
|
* @zh_CN 全屏显示
|
|
48
48
|
* @en_US Full-screen display
|
|
@@ -57,7 +57,7 @@ export declare class XLoadingProperty extends XLoadingProperty_base {
|
|
|
57
57
|
* @zh_CN 背景样式
|
|
58
58
|
* @en_US Background style
|
|
59
59
|
*/
|
|
60
|
-
readonly background: import("@angular/core").InputSignal<string>;
|
|
60
|
+
readonly background: import("@angular/core").InputSignal<string | null>;
|
|
61
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<XLoadingProperty, never>;
|
|
62
62
|
static ɵcmp: i0.ɵɵComponentDeclaration<XLoadingProperty, "x-loading-property", never, { "loading": { "alias": "x-loading"; "required": false; "isSignal": true; }; "zIndex": { "alias": "zIndex"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "fullScreen": { "alias": "fullScreen"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
63
63
|
}
|