@ng-nest/ui 20.1.4 → 20.1.6
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/checkbox/index.d.ts +1 -1
- package/core/index.d.ts +12 -1
- package/coversations/index.d.ts +29 -7
- package/fesm2022/ng-nest-ui-bubble.mjs +2 -2
- package/fesm2022/ng-nest-ui-bubble.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-coversations.mjs +26 -3
- package/fesm2022/ng-nest-ui-coversations.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-examples.mjs +2 -2
- package/fesm2022/ng-nest-ui-examples.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-list.mjs +20 -10
- package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-loading.mjs +13 -3
- package/fesm2022/ng-nest-ui-loading.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-message.mjs +20 -20
- package/fesm2022/ng-nest-ui-message.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-progress.mjs +24 -3
- package/fesm2022/ng-nest-ui-progress.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-prompts.mjs +98 -0
- package/fesm2022/ng-nest-ui-prompts.mjs.map +1 -0
- package/fesm2022/ng-nest-ui-sender.mjs +2 -2
- package/fesm2022/ng-nest-ui-sender.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-table.mjs +2 -2
- package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-welcome.mjs +84 -0
- package/fesm2022/ng-nest-ui-welcome.mjs.map +1 -0
- package/fesm2022/ng-nest-ui.mjs +1 -0
- package/fesm2022/ng-nest-ui.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/list/index.d.ts +15 -5
- package/loading/index.d.ts +17 -1
- package/message/index.d.ts +1 -1
- package/package.json +55 -47
- package/progress/index.d.ts +7 -1
- package/prompts/index.d.ts +88 -0
- package/radio/index.d.ts +1 -1
- package/welcome/index.d.ts +65 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
4
|
+
import { XTemplate, XData, XIdentityProperty, XStyle, XBoolean } from '@ng-nest/ui/core';
|
|
5
|
+
import { Subject } from 'rxjs';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Prompts
|
|
9
|
+
* @selector x-prompts
|
|
10
|
+
* @decorator component
|
|
11
|
+
*/
|
|
12
|
+
declare const XPromptsPrefix = "x-prompts";
|
|
13
|
+
declare const XPromptsProperty_base: new () => {
|
|
14
|
+
config: _ng_nest_ui_core.XPromptsConfig | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Prompts Property
|
|
18
|
+
*/
|
|
19
|
+
declare class XPromptsProperty extends XPromptsProperty_base {
|
|
20
|
+
/**
|
|
21
|
+
* @zh_CN 显示标题,支持自定义模板
|
|
22
|
+
* @en_US Display title, support custom template
|
|
23
|
+
*/
|
|
24
|
+
readonly title: i0.InputSignal<XTemplate | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* @zh_CN 列表数据
|
|
27
|
+
* @en_US List data
|
|
28
|
+
*/
|
|
29
|
+
readonly data: i0.InputSignal<XData<XPromptsNode>>;
|
|
30
|
+
/**
|
|
31
|
+
* @zh_CN 纵向展示
|
|
32
|
+
* @en_US List vertical display
|
|
33
|
+
*/
|
|
34
|
+
readonly vertical: i0.InputSignalWithTransform<boolean, XBoolean>;
|
|
35
|
+
/**
|
|
36
|
+
* @zh_CN Item 点击事件
|
|
37
|
+
* @en_US Item click event
|
|
38
|
+
*/
|
|
39
|
+
readonly itemClick: i0.OutputEmitterRef<XPromptsNode>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XPromptsProperty, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XPromptsProperty, "x-prompts-property", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; }, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @zh_CN 提示词
|
|
45
|
+
* @en_US Promtp
|
|
46
|
+
*/
|
|
47
|
+
interface XPromptsNode extends XIdentityProperty {
|
|
48
|
+
/**
|
|
49
|
+
* @zh_CN 描述
|
|
50
|
+
* @en_US Description
|
|
51
|
+
*/
|
|
52
|
+
description: string;
|
|
53
|
+
/**
|
|
54
|
+
* @zh_CN 图标
|
|
55
|
+
* @en_US Icon
|
|
56
|
+
*/
|
|
57
|
+
icon?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @zh_CN 图标样式
|
|
60
|
+
* @en_US Icon style
|
|
61
|
+
*/
|
|
62
|
+
iconStyle?: XStyle;
|
|
63
|
+
/**
|
|
64
|
+
* @zh_CN 是否禁用
|
|
65
|
+
* @en_US Whether to disable
|
|
66
|
+
*/
|
|
67
|
+
disabled?: boolean;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class XPromptsComponent extends XPromptsProperty {
|
|
71
|
+
nodes: i0.WritableSignal<XPromptsNode[]>;
|
|
72
|
+
unSubject: Subject<void>;
|
|
73
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
74
|
+
ngOnDestroy(): void;
|
|
75
|
+
onItemClick(node: XPromptsNode): void;
|
|
76
|
+
private setData;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XPromptsComponent, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XPromptsComponent, "x-prompts", never, {}, {}, never, never, true, never>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
declare class XPromptsModule {
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XPromptsModule, never>;
|
|
83
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<XPromptsModule, never, [typeof XPromptsComponent], [typeof XPromptsComponent]>;
|
|
84
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<XPromptsModule>;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export { XPromptsComponent, XPromptsModule, XPromptsPrefix, XPromptsProperty };
|
|
88
|
+
export type { XPromptsNode };
|
package/radio/index.d.ts
CHANGED
|
@@ -298,7 +298,7 @@ declare class XRadioComponent extends XRadioProperty implements OnChanges, OnDes
|
|
|
298
298
|
labelMapSignal: _angular_core.Signal<{
|
|
299
299
|
[x: string]: boolean;
|
|
300
300
|
}>;
|
|
301
|
-
radioType: _angular_core.Signal<"
|
|
301
|
+
radioType: _angular_core.Signal<"initial" | "button" | "icon" | "tag">;
|
|
302
302
|
ngOnChanges(changes: SimpleChanges): void;
|
|
303
303
|
ngOnDestroy(): void;
|
|
304
304
|
radioClick(event: Event, node: XRadioNode): void;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
3
|
+
import { XTemplate, XStyle } from '@ng-nest/ui/core';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Welcome
|
|
7
|
+
* @selector x-welcome
|
|
8
|
+
* @decorator component
|
|
9
|
+
*/
|
|
10
|
+
declare const XWelcomePrefix = "x-welcome";
|
|
11
|
+
declare const XWelcomeProperty_base: new () => {
|
|
12
|
+
config: _ng_nest_ui_core.XWelcomeConfig | undefined;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Welcome Property
|
|
16
|
+
*/
|
|
17
|
+
declare class XWelcomeProperty extends XWelcomeProperty_base {
|
|
18
|
+
/**
|
|
19
|
+
* @zh_CN 显示图标,支持自定义模板
|
|
20
|
+
* @en_US Display icon, support custom template
|
|
21
|
+
*/
|
|
22
|
+
readonly icon: i0.InputSignal<XTemplate | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* @zh_CN 显示标题,支持自定义模板
|
|
25
|
+
* @en_US Display title, support custom template
|
|
26
|
+
*/
|
|
27
|
+
readonly title: i0.InputSignal<XTemplate | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* @zh_CN 描述文字,支持自定义模板
|
|
30
|
+
* @en_US Display text
|
|
31
|
+
*/
|
|
32
|
+
readonly description: i0.InputSignal<XTemplate | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* @zh_CN 形态变体
|
|
35
|
+
* @en_US Variant
|
|
36
|
+
*/
|
|
37
|
+
readonly variant: i0.InputSignal<XWelcomeVariant>;
|
|
38
|
+
/**
|
|
39
|
+
* @zh_CN 自定义样式
|
|
40
|
+
* @en_US Custom style
|
|
41
|
+
*/
|
|
42
|
+
readonly style: i0.InputSignal<XStyle | undefined>;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XWelcomeProperty, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XWelcomeProperty, "x-welcome-property", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @zh_CN 形态变体
|
|
48
|
+
* @en_US Box variant
|
|
49
|
+
*/
|
|
50
|
+
type XWelcomeVariant = 'outlined' | 'filled' | 'borderless';
|
|
51
|
+
|
|
52
|
+
declare class XWelcomeComponent extends XWelcomeProperty {
|
|
53
|
+
isStringIcon: i0.Signal<boolean>;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XWelcomeComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XWelcomeComponent, "x-welcome", never, {}, {}, never, never, true, never>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare class XWelcomeModule {
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XWelcomeModule, never>;
|
|
60
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<XWelcomeModule, never, [typeof XWelcomeComponent], [typeof XWelcomeComponent]>;
|
|
61
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<XWelcomeModule>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export { XWelcomeComponent, XWelcomeModule, XWelcomePrefix, XWelcomeProperty };
|
|
65
|
+
export type { XWelcomeVariant };
|