@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,84 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, Component, computed, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
|
|
3
|
+
import { XPropertyFunction, XIsString } from '@ng-nest/ui/core';
|
|
4
|
+
import { XOutletDirective } from '@ng-nest/ui/outlet';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Welcome
|
|
8
|
+
* @selector x-welcome
|
|
9
|
+
* @decorator component
|
|
10
|
+
*/
|
|
11
|
+
const XWelcomePrefix = 'x-welcome';
|
|
12
|
+
const X_WELCOME_CONFIG_NAME = 'welcome';
|
|
13
|
+
/**
|
|
14
|
+
* Welcome Property
|
|
15
|
+
*/
|
|
16
|
+
class XWelcomeProperty extends XPropertyFunction(X_WELCOME_CONFIG_NAME) {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
/**
|
|
20
|
+
* @zh_CN 显示图标,支持自定义模板
|
|
21
|
+
* @en_US Display icon, support custom template
|
|
22
|
+
*/
|
|
23
|
+
this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
|
|
24
|
+
/**
|
|
25
|
+
* @zh_CN 显示标题,支持自定义模板
|
|
26
|
+
* @en_US Display title, support custom template
|
|
27
|
+
*/
|
|
28
|
+
this.title = input(...(ngDevMode ? [undefined, { debugName: "title" }] : []));
|
|
29
|
+
/**
|
|
30
|
+
* @zh_CN 描述文字,支持自定义模板
|
|
31
|
+
* @en_US Display text
|
|
32
|
+
*/
|
|
33
|
+
this.description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : []));
|
|
34
|
+
/**
|
|
35
|
+
* @zh_CN 形态变体
|
|
36
|
+
* @en_US Variant
|
|
37
|
+
*/
|
|
38
|
+
this.variant = input(this.config?.variant ?? 'outlined', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
39
|
+
/**
|
|
40
|
+
* @zh_CN 自定义样式
|
|
41
|
+
* @en_US Custom style
|
|
42
|
+
*/
|
|
43
|
+
this.style = input(...(ngDevMode ? [undefined, { debugName: "style" }] : []));
|
|
44
|
+
}
|
|
45
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XWelcomeProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
46
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.0", type: XWelcomeProperty, isStandalone: true, selector: "x-welcome-property", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
47
|
+
}
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XWelcomeProperty, decorators: [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{ selector: `${XWelcomePrefix}-property`, template: '' }]
|
|
51
|
+
}] });
|
|
52
|
+
|
|
53
|
+
class XWelcomeComponent extends XWelcomeProperty {
|
|
54
|
+
constructor() {
|
|
55
|
+
super(...arguments);
|
|
56
|
+
this.isStringIcon = computed(() => XIsString(this.icon()), ...(ngDevMode ? [{ debugName: "isStringIcon" }] : []));
|
|
57
|
+
}
|
|
58
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XWelcomeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
59
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: XWelcomeComponent, isStandalone: true, selector: "x-welcome", usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"x-welcome\"\r\n [class.x-welcome-outlined]=\"variant() === 'outlined'\"\r\n [class.x-welcome-filled]=\"variant() === 'filled'\"\r\n [class.x-welcome-borderless]=\"variant() === 'borderless'\"\r\n [style]=\"style()\"\r\n>\r\n <div class=\"x-welcome-icon\">\r\n @if (isStringIcon()) {\r\n <img alt=\"icon\" [src]=\"icon()\" />\r\n } @else {\r\n <ng-container *xOutlet=\"icon()!\"></ng-container>\r\n }\r\n </div>\r\n <div class=\"x-welcome-wrapper\">\r\n <span class=\"x-welcome-title\">\r\n <ng-container *xOutlet=\"title()\">{{ title() }}</ng-container>\r\n </span>\r\n <p class=\"x-welcome-description\">\r\n <ng-container *xOutlet=\"description()\">{{ description() }}</ng-container>\r\n </p>\r\n </div>\r\n</div>\r\n", styles: [".x-welcome{margin:0;padding:0}.x-welcome{width:100%;display:flex;gap:1rem;padding:1rem;border:var(--x-border-width) solid transparent;border-radius:var(--x-border-radius)}.x-welcome-icon img{max-width:6rem}.x-welcome-wrapper{flex:1;display:flex;flex-direction:column;gap:.5rem}.x-welcome-title{margin:0;font-size:var(--x-font-size-large)}.x-welcome-outlined{border-color:var(--x-border)}.x-welcome-filled{background-color:var(--x-background-a200);border-color:var(--x-background-a200)}.x-welcome-borderless{border-color:transparent}\n"], dependencies: [{ kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
60
|
+
}
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XWelcomeComponent, decorators: [{
|
|
62
|
+
type: Component,
|
|
63
|
+
args: [{ selector: 'x-welcome', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [XOutletDirective], template: "<div\r\n class=\"x-welcome\"\r\n [class.x-welcome-outlined]=\"variant() === 'outlined'\"\r\n [class.x-welcome-filled]=\"variant() === 'filled'\"\r\n [class.x-welcome-borderless]=\"variant() === 'borderless'\"\r\n [style]=\"style()\"\r\n>\r\n <div class=\"x-welcome-icon\">\r\n @if (isStringIcon()) {\r\n <img alt=\"icon\" [src]=\"icon()\" />\r\n } @else {\r\n <ng-container *xOutlet=\"icon()!\"></ng-container>\r\n }\r\n </div>\r\n <div class=\"x-welcome-wrapper\">\r\n <span class=\"x-welcome-title\">\r\n <ng-container *xOutlet=\"title()\">{{ title() }}</ng-container>\r\n </span>\r\n <p class=\"x-welcome-description\">\r\n <ng-container *xOutlet=\"description()\">{{ description() }}</ng-container>\r\n </p>\r\n </div>\r\n</div>\r\n", styles: [".x-welcome{margin:0;padding:0}.x-welcome{width:100%;display:flex;gap:1rem;padding:1rem;border:var(--x-border-width) solid transparent;border-radius:var(--x-border-radius)}.x-welcome-icon img{max-width:6rem}.x-welcome-wrapper{flex:1;display:flex;flex-direction:column;gap:.5rem}.x-welcome-title{margin:0;font-size:var(--x-font-size-large)}.x-welcome-outlined{border-color:var(--x-border)}.x-welcome-filled{background-color:var(--x-background-a200);border-color:var(--x-background-a200)}.x-welcome-borderless{border-color:transparent}\n"] }]
|
|
64
|
+
}] });
|
|
65
|
+
|
|
66
|
+
class XWelcomeModule {
|
|
67
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XWelcomeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
68
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.0", ngImport: i0, type: XWelcomeModule, imports: [XWelcomeComponent], exports: [XWelcomeComponent] }); }
|
|
69
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XWelcomeModule }); }
|
|
70
|
+
}
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XWelcomeModule, decorators: [{
|
|
72
|
+
type: NgModule,
|
|
73
|
+
args: [{
|
|
74
|
+
exports: [XWelcomeComponent],
|
|
75
|
+
imports: [XWelcomeComponent]
|
|
76
|
+
}]
|
|
77
|
+
}] });
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Generated bundle index. Do not edit.
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
export { XWelcomeComponent, XWelcomeModule, XWelcomePrefix, XWelcomeProperty };
|
|
84
|
+
//# sourceMappingURL=ng-nest-ui-welcome.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-nest-ui-welcome.mjs","sources":["../../../../lib/ng-nest/ui/welcome/welcome.property.ts","../../../../lib/ng-nest/ui/welcome/welcome.component.ts","../../../../lib/ng-nest/ui/welcome/welcome.component.html","../../../../lib/ng-nest/ui/welcome/welcome.module.ts","../../../../lib/ng-nest/ui/welcome/ng-nest-ui-welcome.ts"],"sourcesContent":["import { Component, input } from '@angular/core';\r\nimport { XPropertyFunction, XStyle, XTemplate } from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Welcome\r\n * @selector x-welcome\r\n * @decorator component\r\n */\r\nexport const XWelcomePrefix = 'x-welcome';\r\nconst X_WELCOME_CONFIG_NAME = 'welcome';\r\n\r\n/**\r\n * Welcome Property\r\n */\r\n@Component({ selector: `${XWelcomePrefix}-property`, template: '' })\r\nexport class XWelcomeProperty extends XPropertyFunction(X_WELCOME_CONFIG_NAME) {\r\n /**\r\n * @zh_CN 显示图标,支持自定义模板\r\n * @en_US Display icon, support custom template\r\n */\r\n readonly icon = input<XTemplate>();\r\n /**\r\n * @zh_CN 显示标题,支持自定义模板\r\n * @en_US Display title, support custom template\r\n */\r\n readonly title = input<XTemplate>();\r\n /**\r\n * @zh_CN 描述文字,支持自定义模板\r\n * @en_US Display text\r\n */\r\n readonly description = input<XTemplate>();\r\n /**\r\n * @zh_CN 形态变体\r\n * @en_US Variant\r\n */\r\n readonly variant = input<XWelcomeVariant>(this.config?.variant ?? 'outlined');\r\n /**\r\n * @zh_CN 自定义样式\r\n * @en_US Custom style\r\n */\r\n readonly style = input<XStyle>();\r\n}\r\n\r\n/**\r\n * @zh_CN 形态变体\r\n * @en_US Box variant\r\n */\r\nexport type XWelcomeVariant = 'outlined' | 'filled' | 'borderless';\r\n","import { ChangeDetectionStrategy, Component, computed, ViewEncapsulation } from '@angular/core';\r\nimport { XWelcomeProperty } from './welcome.property';\r\nimport { XIsString } from '@ng-nest/ui/core';\r\nimport { XOutletDirective } from '@ng-nest/ui/outlet';\r\n\r\n@Component({\r\n selector: 'x-welcome',\r\n templateUrl: './welcome.component.html',\r\n styleUrls: ['./welcome.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [XOutletDirective]\r\n})\r\nexport class XWelcomeComponent extends XWelcomeProperty {\r\n isStringIcon = computed(() => XIsString(this.icon()));\r\n}\r\n","<div\r\n class=\"x-welcome\"\r\n [class.x-welcome-outlined]=\"variant() === 'outlined'\"\r\n [class.x-welcome-filled]=\"variant() === 'filled'\"\r\n [class.x-welcome-borderless]=\"variant() === 'borderless'\"\r\n [style]=\"style()\"\r\n>\r\n <div class=\"x-welcome-icon\">\r\n @if (isStringIcon()) {\r\n <img alt=\"icon\" [src]=\"icon()\" />\r\n } @else {\r\n <ng-container *xOutlet=\"icon()!\"></ng-container>\r\n }\r\n </div>\r\n <div class=\"x-welcome-wrapper\">\r\n <span class=\"x-welcome-title\">\r\n <ng-container *xOutlet=\"title()\">{{ title() }}</ng-container>\r\n </span>\r\n <p class=\"x-welcome-description\">\r\n <ng-container *xOutlet=\"description()\">{{ description() }}</ng-container>\r\n </p>\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { XWelcomeComponent } from './welcome.component';\r\n\r\n@NgModule({\r\n exports: [XWelcomeComponent],\r\n imports: [XWelcomeComponent]\r\n})\r\nexport class XWelcomeModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}
|
package/fesm2022/ng-nest-ui.mjs
CHANGED
|
@@ -79,6 +79,7 @@ export * from '@ng-nest/ui/tabs';
|
|
|
79
79
|
export * from '@ng-nest/ui/bubble';
|
|
80
80
|
export * from '@ng-nest/ui/sender';
|
|
81
81
|
export * from '@ng-nest/ui/coversations';
|
|
82
|
+
export * from '@ng-nest/ui/welcome';
|
|
82
83
|
export * from '@ng-nest/ui/doc';
|
|
83
84
|
export * from '@ng-nest/ui/examples';
|
|
84
85
|
export * from '@ng-nest/ui/api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-nest-ui.mjs","sources":["../../../../lib/ng-nest/ui/index.ts","../../../../lib/ng-nest/ui/ng-nest-ui.ts"],"sourcesContent":["/**\r\n * Core\r\n */\r\nexport * from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Basic\r\n */\r\nexport * from '@ng-nest/ui/button';\r\nexport * from '@ng-nest/ui/color';\r\nexport * from '@ng-nest/ui/container';\r\nexport * from '@ng-nest/ui/layout';\r\nexport * from '@ng-nest/ui/icon';\r\nexport * from '@ng-nest/ui/i18n';\r\nexport * from '@ng-nest/ui/link';\r\nexport * from '@ng-nest/ui/theme';\r\n\r\n/**\r\n * Data\r\n */\r\nexport * from '@ng-nest/ui/avatar';\r\nexport * from '@ng-nest/ui/badge';\r\nexport * from '@ng-nest/ui/card';\r\nexport * from '@ng-nest/ui/carousel';\r\nexport * from '@ng-nest/ui/collapse';\r\nexport * from '@ng-nest/ui/calendar';\r\nexport * from '@ng-nest/ui/comment';\r\nexport * from '@ng-nest/ui/description';\r\nexport * from '@ng-nest/ui/empty';\r\nexport * from '@ng-nest/ui/image';\r\nexport * from '@ng-nest/ui/outlet';\r\nexport * from '@ng-nest/ui/pagination';\r\nexport * from '@ng-nest/ui/progress';\r\nexport * from '@ng-nest/ui/ripple';\r\nexport * from '@ng-nest/ui/resizable';\r\nexport * from '@ng-nest/ui/drag';\r\nexport * from '@ng-nest/ui/statistic';\r\nexport * from '@ng-nest/ui/table';\r\nexport * from '@ng-nest/ui/table-view';\r\nexport * from '@ng-nest/ui/tag';\r\nexport * from '@ng-nest/ui/text-retract';\r\nexport * from '@ng-nest/ui/time-ago';\r\nexport * from '@ng-nest/ui/time-range';\r\nexport * from '@ng-nest/ui/timeline';\r\nexport * from '@ng-nest/ui/tree';\r\nexport * from '@ng-nest/ui/tree-file';\r\nexport * from '@ng-nest/ui/keyword';\r\n\r\n/**\r\n * Feedback\r\n */\r\nexport * from '@ng-nest/ui/alert';\r\nexport * from '@ng-nest/ui/dialog';\r\nexport * from '@ng-nest/ui/drawer';\r\nexport * from '@ng-nest/ui/loading';\r\nexport * from '@ng-nest/ui/message';\r\nexport * from '@ng-nest/ui/message-box';\r\nexport * from '@ng-nest/ui/notification';\r\nexport * from '@ng-nest/ui/popconfirm';\r\nexport * from '@ng-nest/ui/popover';\r\nexport * from '@ng-nest/ui/result';\r\nexport * from '@ng-nest/ui/skeleton';\r\nexport * from '@ng-nest/ui/tooltip';\r\n\r\n/**\r\n * Form\r\n */\r\nexport * from '@ng-nest/ui/auto-complete';\r\nexport * from '@ng-nest/ui/base-form';\r\nexport * from '@ng-nest/ui/cascade';\r\nexport * from '@ng-nest/ui/checkbox';\r\nexport * from '@ng-nest/ui/color-picker';\r\nexport * from '@ng-nest/ui/date-picker';\r\nexport * from '@ng-nest/ui/form';\r\nexport * from '@ng-nest/ui/find';\r\nexport * from '@ng-nest/ui/input';\r\nexport * from '@ng-nest/ui/input-number';\r\nexport * from '@ng-nest/ui/list';\r\nexport * from '@ng-nest/ui/radio';\r\nexport * from '@ng-nest/ui/rate';\r\nexport * from '@ng-nest/ui/select';\r\nexport * from '@ng-nest/ui/slider-select';\r\nexport * from '@ng-nest/ui/switch';\r\nexport * from '@ng-nest/ui/time-picker';\r\nexport * from '@ng-nest/ui/transfer';\r\nexport * from '@ng-nest/ui/tree-select';\r\nexport * from '@ng-nest/ui/textarea';\r\nexport * from '@ng-nest/ui/upload';\r\n\r\n/**\r\n * Navigation\r\n */\r\nexport * from '@ng-nest/ui/affix';\r\nexport * from '@ng-nest/ui/anchor';\r\nexport * from '@ng-nest/ui/back-top';\r\nexport * from '@ng-nest/ui/crumb';\r\nexport * from '@ng-nest/ui/dropdown';\r\nexport * from '@ng-nest/ui/menu';\r\nexport * from '@ng-nest/ui/page-header';\r\nexport * from '@ng-nest/ui/steps';\r\nexport * from '@ng-nest/ui/tabs';\r\n\r\n/**\r\n * AI\r\n */\r\nexport * from '@ng-nest/ui/bubble';\r\nexport * from '@ng-nest/ui/sender';\r\nexport * from '@ng-nest/ui/coversations';\r\n\r\n/**\r\n * Others\r\n */\r\nexport * from '@ng-nest/ui/doc';\r\nexport * from '@ng-nest/ui/examples';\r\nexport * from '@ng-nest/ui/api';\r\nexport * from '@ng-nest/ui/pattern';\r\nexport * from '@ng-nest/ui/slider';\r\nexport * from '@ng-nest/ui/scrollable';\r\nexport * from '@ng-nest/ui/highlight';\r\nexport * from '@ng-nest/ui/inner';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ng-nest-ui.mjs","sources":["../../../../lib/ng-nest/ui/index.ts","../../../../lib/ng-nest/ui/ng-nest-ui.ts"],"sourcesContent":["/**\r\n * Core\r\n */\r\nexport * from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Basic\r\n */\r\nexport * from '@ng-nest/ui/button';\r\nexport * from '@ng-nest/ui/color';\r\nexport * from '@ng-nest/ui/container';\r\nexport * from '@ng-nest/ui/layout';\r\nexport * from '@ng-nest/ui/icon';\r\nexport * from '@ng-nest/ui/i18n';\r\nexport * from '@ng-nest/ui/link';\r\nexport * from '@ng-nest/ui/theme';\r\n\r\n/**\r\n * Data\r\n */\r\nexport * from '@ng-nest/ui/avatar';\r\nexport * from '@ng-nest/ui/badge';\r\nexport * from '@ng-nest/ui/card';\r\nexport * from '@ng-nest/ui/carousel';\r\nexport * from '@ng-nest/ui/collapse';\r\nexport * from '@ng-nest/ui/calendar';\r\nexport * from '@ng-nest/ui/comment';\r\nexport * from '@ng-nest/ui/description';\r\nexport * from '@ng-nest/ui/empty';\r\nexport * from '@ng-nest/ui/image';\r\nexport * from '@ng-nest/ui/outlet';\r\nexport * from '@ng-nest/ui/pagination';\r\nexport * from '@ng-nest/ui/progress';\r\nexport * from '@ng-nest/ui/ripple';\r\nexport * from '@ng-nest/ui/resizable';\r\nexport * from '@ng-nest/ui/drag';\r\nexport * from '@ng-nest/ui/statistic';\r\nexport * from '@ng-nest/ui/table';\r\nexport * from '@ng-nest/ui/table-view';\r\nexport * from '@ng-nest/ui/tag';\r\nexport * from '@ng-nest/ui/text-retract';\r\nexport * from '@ng-nest/ui/time-ago';\r\nexport * from '@ng-nest/ui/time-range';\r\nexport * from '@ng-nest/ui/timeline';\r\nexport * from '@ng-nest/ui/tree';\r\nexport * from '@ng-nest/ui/tree-file';\r\nexport * from '@ng-nest/ui/keyword';\r\n\r\n/**\r\n * Feedback\r\n */\r\nexport * from '@ng-nest/ui/alert';\r\nexport * from '@ng-nest/ui/dialog';\r\nexport * from '@ng-nest/ui/drawer';\r\nexport * from '@ng-nest/ui/loading';\r\nexport * from '@ng-nest/ui/message';\r\nexport * from '@ng-nest/ui/message-box';\r\nexport * from '@ng-nest/ui/notification';\r\nexport * from '@ng-nest/ui/popconfirm';\r\nexport * from '@ng-nest/ui/popover';\r\nexport * from '@ng-nest/ui/result';\r\nexport * from '@ng-nest/ui/skeleton';\r\nexport * from '@ng-nest/ui/tooltip';\r\n\r\n/**\r\n * Form\r\n */\r\nexport * from '@ng-nest/ui/auto-complete';\r\nexport * from '@ng-nest/ui/base-form';\r\nexport * from '@ng-nest/ui/cascade';\r\nexport * from '@ng-nest/ui/checkbox';\r\nexport * from '@ng-nest/ui/color-picker';\r\nexport * from '@ng-nest/ui/date-picker';\r\nexport * from '@ng-nest/ui/form';\r\nexport * from '@ng-nest/ui/find';\r\nexport * from '@ng-nest/ui/input';\r\nexport * from '@ng-nest/ui/input-number';\r\nexport * from '@ng-nest/ui/list';\r\nexport * from '@ng-nest/ui/radio';\r\nexport * from '@ng-nest/ui/rate';\r\nexport * from '@ng-nest/ui/select';\r\nexport * from '@ng-nest/ui/slider-select';\r\nexport * from '@ng-nest/ui/switch';\r\nexport * from '@ng-nest/ui/time-picker';\r\nexport * from '@ng-nest/ui/transfer';\r\nexport * from '@ng-nest/ui/tree-select';\r\nexport * from '@ng-nest/ui/textarea';\r\nexport * from '@ng-nest/ui/upload';\r\n\r\n/**\r\n * Navigation\r\n */\r\nexport * from '@ng-nest/ui/affix';\r\nexport * from '@ng-nest/ui/anchor';\r\nexport * from '@ng-nest/ui/back-top';\r\nexport * from '@ng-nest/ui/crumb';\r\nexport * from '@ng-nest/ui/dropdown';\r\nexport * from '@ng-nest/ui/menu';\r\nexport * from '@ng-nest/ui/page-header';\r\nexport * from '@ng-nest/ui/steps';\r\nexport * from '@ng-nest/ui/tabs';\r\n\r\n/**\r\n * AI\r\n */\r\nexport * from '@ng-nest/ui/bubble';\r\nexport * from '@ng-nest/ui/sender';\r\nexport * from '@ng-nest/ui/coversations';\r\nexport * from '@ng-nest/ui/welcome';\r\n\r\n/**\r\n * Others\r\n */\r\nexport * from '@ng-nest/ui/doc';\r\nexport * from '@ng-nest/ui/examples';\r\nexport * from '@ng-nest/ui/api';\r\nexport * from '@ng-nest/ui/pattern';\r\nexport * from '@ng-nest/ui/slider';\r\nexport * from '@ng-nest/ui/scrollable';\r\nexport * from '@ng-nest/ui/highlight';\r\nexport * from '@ng-nest/ui/inner';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG;;ACFH;;AAEG"}
|
package/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ export * from '@ng-nest/ui/tabs';
|
|
|
79
79
|
export * from '@ng-nest/ui/bubble';
|
|
80
80
|
export * from '@ng-nest/ui/sender';
|
|
81
81
|
export * from '@ng-nest/ui/coversations';
|
|
82
|
+
export * from '@ng-nest/ui/welcome';
|
|
82
83
|
export * from '@ng-nest/ui/doc';
|
|
83
84
|
export * from '@ng-nest/ui/examples';
|
|
84
85
|
export * from '@ng-nest/ui/api';
|
package/list/index.d.ts
CHANGED
|
@@ -115,6 +115,11 @@ declare class XListProperty extends XListProperty_base {
|
|
|
115
115
|
* @en_US Node style
|
|
116
116
|
*/
|
|
117
117
|
readonly nodeStyle: _angular_core.InputSignal<XStyle | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* @zh_CN 分组模板
|
|
120
|
+
* @en_US Group template
|
|
121
|
+
*/
|
|
122
|
+
readonly groupTpl: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
118
123
|
/**
|
|
119
124
|
* @zh_CN 列表头部
|
|
120
125
|
* @en_US List header
|
|
@@ -228,7 +233,7 @@ declare class XListProperty extends XListProperty_base {
|
|
|
228
233
|
*/
|
|
229
234
|
readonly size: _angular_core.InputSignal<XSize>;
|
|
230
235
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XListProperty, never>;
|
|
231
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XListProperty, "x-list-property", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "selectAll": { "alias": "selectAll"; "required": false; "isSignal": true; }; "selectAllText": { "alias": "selectAllText"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "drag": { "alias": "drag"; "required": false; "isSignal": true; }; "objectArray": { "alias": "objectArray"; "required": false; "isSignal": true; }; "nodeTpl": { "alias": "nodeTpl"; "required": false; "isSignal": true; }; "nodeStyle": { "alias": "nodeStyle"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "footer": { "alias": "footer"; "required": false; "isSignal": true; }; "scrollElement": { "alias": "scrollElement"; "required": false; "isSignal": true; }; "loadMore": { "alias": "loadMore"; "required": false; "isSignal": true; }; "loadMoreText": { "alias": "loadMoreText"; "required": false; "isSignal": true; }; "loadingMoreText": { "alias": "loadingMoreText"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; "isSignal": true; }; "heightAdaption": { "alias": "heightAdaption"; "required": false; "isSignal": true; }; "minBufferPx": { "alias": "minBufferPx"; "required": false; "isSignal": true; }; "maxBufferPx": { "alias": "maxBufferPx"; "required": false; "isSignal": true; }; "keywordText": { "alias": "keywordText"; "required": false; "isSignal": true; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; "inPortal": { "alias": "inPortal"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "onSelectAll": "onSelectAll"; "nodeMouseenter": "nodeMouseenter"; "nodeMouseleave": "nodeMouseleave"; "nodeClick": "nodeClick"; "dropListDropped": "dropListDropped"; "keyManagerTabOut": "keyManagerTabOut"; "keyManagerChange": "keyManagerChange"; }, never, never, true, never>;
|
|
236
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XListProperty, "x-list-property", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "selectAll": { "alias": "selectAll"; "required": false; "isSignal": true; }; "selectAllText": { "alias": "selectAllText"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "drag": { "alias": "drag"; "required": false; "isSignal": true; }; "objectArray": { "alias": "objectArray"; "required": false; "isSignal": true; }; "nodeTpl": { "alias": "nodeTpl"; "required": false; "isSignal": true; }; "nodeStyle": { "alias": "nodeStyle"; "required": false; "isSignal": true; }; "groupTpl": { "alias": "groupTpl"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "footer": { "alias": "footer"; "required": false; "isSignal": true; }; "scrollElement": { "alias": "scrollElement"; "required": false; "isSignal": true; }; "loadMore": { "alias": "loadMore"; "required": false; "isSignal": true; }; "loadMoreText": { "alias": "loadMoreText"; "required": false; "isSignal": true; }; "loadingMoreText": { "alias": "loadingMoreText"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; "isSignal": true; }; "heightAdaption": { "alias": "heightAdaption"; "required": false; "isSignal": true; }; "minBufferPx": { "alias": "minBufferPx"; "required": false; "isSignal": true; }; "maxBufferPx": { "alias": "maxBufferPx"; "required": false; "isSignal": true; }; "keywordText": { "alias": "keywordText"; "required": false; "isSignal": true; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; "inPortal": { "alias": "inPortal"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "onSelectAll": "onSelectAll"; "nodeMouseenter": "nodeMouseenter"; "nodeMouseleave": "nodeMouseleave"; "nodeClick": "nodeClick"; "dropListDropped": "dropListDropped"; "keyManagerTabOut": "keyManagerTabOut"; "keyManagerChange": "keyManagerChange"; }, never, never, true, never>;
|
|
232
237
|
}
|
|
233
238
|
/**
|
|
234
239
|
* @zh_CN List 数据对象
|
|
@@ -316,6 +321,11 @@ declare class XListOptionProperty {
|
|
|
316
321
|
* @en_US Node style
|
|
317
322
|
*/
|
|
318
323
|
readonly nodeStyle: _angular_core.InputSignal<XStyle | undefined>;
|
|
324
|
+
/**
|
|
325
|
+
* @zh_CN 分组模板
|
|
326
|
+
* @en_US Group template
|
|
327
|
+
*/
|
|
328
|
+
readonly groupTpl: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
319
329
|
/**
|
|
320
330
|
* @zh_CN 选中
|
|
321
331
|
* @en_US selected
|
|
@@ -384,7 +394,7 @@ declare class XListOptionProperty {
|
|
|
384
394
|
*/
|
|
385
395
|
readonly caseSensitive: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
386
396
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XListOptionProperty, never>;
|
|
387
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XListOptionProperty, "x-list-option-property", never, { "node": { "alias": "node"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "nodeTpl": { "alias": "nodeTpl"; "required": false; "isSignal": true; }; "nodeStyle": { "alias": "nodeStyle"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "groupable": { "alias": "groupable"; "required": false; "isSignal": true; }; "forbidden": { "alias": "forbidden"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "openPortal": { "alias": "openPortal"; "required": false; "isSignal": true; }; "optionClass": { "alias": "optionClass"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "divided": { "alias": "divided"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "leaf": { "alias": "leaf"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "keywordText": { "alias": "keywordText"; "required": false; "isSignal": true; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, never, never, true, never>;
|
|
397
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XListOptionProperty, "x-list-option-property", never, { "node": { "alias": "node"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "nodeTpl": { "alias": "nodeTpl"; "required": false; "isSignal": true; }; "nodeStyle": { "alias": "nodeStyle"; "required": false; "isSignal": true; }; "groupTpl": { "alias": "groupTpl"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "groupable": { "alias": "groupable"; "required": false; "isSignal": true; }; "forbidden": { "alias": "forbidden"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "openPortal": { "alias": "openPortal"; "required": false; "isSignal": true; }; "optionClass": { "alias": "optionClass"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "divided": { "alias": "divided"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "leaf": { "alias": "leaf"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "keywordText": { "alias": "keywordText"; "required": false; "isSignal": true; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, never, never, true, never>;
|
|
388
398
|
}
|
|
389
399
|
/**
|
|
390
400
|
* @zh_CN 拖动相关的数据
|
|
@@ -416,9 +426,7 @@ type XListDragDrop = {
|
|
|
416
426
|
declare class XListOptionComponent extends XListOptionProperty implements Highlightable {
|
|
417
427
|
role: string;
|
|
418
428
|
elementRef: ElementRef<any>;
|
|
419
|
-
classMap: _angular_core.Signal<{
|
|
420
|
-
[x: string]: boolean;
|
|
421
|
-
}>;
|
|
429
|
+
classMap: _angular_core.Signal<{}>;
|
|
422
430
|
disabled: boolean;
|
|
423
431
|
nodeStyleComputed: _angular_core.Signal<{
|
|
424
432
|
[x: string]: any;
|
|
@@ -457,12 +465,14 @@ declare class XListComponent extends XListProperty implements OnChanges {
|
|
|
457
465
|
scrollHeightSignal: _angular_core.WritableSignal<number>;
|
|
458
466
|
classMap: _angular_core.Signal<{
|
|
459
467
|
[x: string]: boolean;
|
|
468
|
+
"x-list-group": boolean;
|
|
460
469
|
}>;
|
|
461
470
|
sizeChange: Subscription | null;
|
|
462
471
|
private resizeObserver;
|
|
463
472
|
role: string;
|
|
464
473
|
tabindex: number;
|
|
465
474
|
keydown($event: KeyboardEvent): void;
|
|
475
|
+
groupable: _angular_core.Signal<boolean>;
|
|
466
476
|
itemSizeMap: {
|
|
467
477
|
[key: string]: number;
|
|
468
478
|
};
|
package/loading/index.d.ts
CHANGED
|
@@ -22,6 +22,11 @@ declare class XLoadingProperty extends XLoadingProperty_base {
|
|
|
22
22
|
* @en_US Show loading
|
|
23
23
|
*/
|
|
24
24
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
25
|
+
/**
|
|
26
|
+
* @zh_CN Loading 类型
|
|
27
|
+
* @en_US Loading type
|
|
28
|
+
*/
|
|
29
|
+
readonly type: _angular_core.InputSignal<XLoadingType>;
|
|
25
30
|
/**
|
|
26
31
|
* @zh_CN 层级
|
|
27
32
|
* @en_US z-index
|
|
@@ -42,6 +47,11 @@ declare class XLoadingProperty extends XLoadingProperty_base {
|
|
|
42
47
|
* @en_US Icon displayed
|
|
43
48
|
*/
|
|
44
49
|
readonly icon: _angular_core.InputSignal<string | null>;
|
|
50
|
+
/**
|
|
51
|
+
* @zh_CN 自定义 loading 模板
|
|
52
|
+
* @en_US Svg tpl
|
|
53
|
+
*/
|
|
54
|
+
readonly customTpl: _angular_core.InputSignal<TemplateRef<void> | undefined>;
|
|
45
55
|
/**
|
|
46
56
|
* @zh_CN 颜色
|
|
47
57
|
* @en_US Color
|
|
@@ -68,8 +78,13 @@ declare class XLoadingProperty extends XLoadingProperty_base {
|
|
|
68
78
|
*/
|
|
69
79
|
readonly inline: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
70
80
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XLoadingProperty, never>;
|
|
71
|
-
static ɵcmp: _angular_core.ɵɵ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; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
81
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XLoadingProperty, "x-loading-property", never, { "loading": { "alias": "x-loading"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "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; }; "customTpl": { "alias": "customTpl"; "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; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
72
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* @zh_CN Loading 类型
|
|
85
|
+
* @en_US Loading type
|
|
86
|
+
*/
|
|
87
|
+
type XLoadingType = 'circular' | 'spinner' | 'ripple' | 'dual-ring' | 'dual-ball' | 'bars';
|
|
73
88
|
|
|
74
89
|
declare class XLoadingComponent extends XLoadingProperty {
|
|
75
90
|
get getLoading(): boolean;
|
|
@@ -97,3 +112,4 @@ declare class XLoadingModule {
|
|
|
97
112
|
}
|
|
98
113
|
|
|
99
114
|
export { XLoadingComponent, XLoadingModule, XLoadingPrefix, XLoadingProperty };
|
|
115
|
+
export type { XLoadingType };
|
package/message/index.d.ts
CHANGED
|
@@ -172,7 +172,7 @@ declare class XMessageService {
|
|
|
172
172
|
warning(option: XTemplate | XMessageOption): XMessageRef;
|
|
173
173
|
error(option: XTemplate | XMessageOption): XMessageRef;
|
|
174
174
|
loading(option: XTemplate | XMessageOption): XMessageRef;
|
|
175
|
-
create(option: XMessageOption):
|
|
175
|
+
create(option: XTemplate | XMessageOption, type: XMessageType): XMessageRef;
|
|
176
176
|
private createMessage;
|
|
177
177
|
private closeAll;
|
|
178
178
|
private createMessagePlacement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-nest/ui",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://www.ngnest.com",
|
|
6
6
|
"author": "ng-nest",
|
|
@@ -41,17 +41,13 @@
|
|
|
41
41
|
"types": "./alert/index.d.ts",
|
|
42
42
|
"default": "./fesm2022/ng-nest-ui-alert.mjs"
|
|
43
43
|
},
|
|
44
|
-
"./anchor": {
|
|
45
|
-
"types": "./anchor/index.d.ts",
|
|
46
|
-
"default": "./fesm2022/ng-nest-ui-anchor.mjs"
|
|
47
|
-
},
|
|
48
44
|
"./api": {
|
|
49
45
|
"types": "./api/index.d.ts",
|
|
50
46
|
"default": "./fesm2022/ng-nest-ui-api.mjs"
|
|
51
47
|
},
|
|
52
|
-
"./
|
|
53
|
-
"types": "./
|
|
54
|
-
"default": "./fesm2022/ng-nest-ui-
|
|
48
|
+
"./anchor": {
|
|
49
|
+
"types": "./anchor/index.d.ts",
|
|
50
|
+
"default": "./fesm2022/ng-nest-ui-anchor.mjs"
|
|
55
51
|
},
|
|
56
52
|
"./avatar": {
|
|
57
53
|
"types": "./avatar/index.d.ts",
|
|
@@ -61,6 +57,14 @@
|
|
|
61
57
|
"types": "./back-top/index.d.ts",
|
|
62
58
|
"default": "./fesm2022/ng-nest-ui-back-top.mjs"
|
|
63
59
|
},
|
|
60
|
+
"./badge": {
|
|
61
|
+
"types": "./badge/index.d.ts",
|
|
62
|
+
"default": "./fesm2022/ng-nest-ui-badge.mjs"
|
|
63
|
+
},
|
|
64
|
+
"./auto-complete": {
|
|
65
|
+
"types": "./auto-complete/index.d.ts",
|
|
66
|
+
"default": "./fesm2022/ng-nest-ui-auto-complete.mjs"
|
|
67
|
+
},
|
|
64
68
|
"./base-form": {
|
|
65
69
|
"types": "./base-form/index.d.ts",
|
|
66
70
|
"default": "./fesm2022/ng-nest-ui-base-form.mjs"
|
|
@@ -73,14 +77,14 @@
|
|
|
73
77
|
"types": "./button/index.d.ts",
|
|
74
78
|
"default": "./fesm2022/ng-nest-ui-button.mjs"
|
|
75
79
|
},
|
|
76
|
-
"./badge": {
|
|
77
|
-
"types": "./badge/index.d.ts",
|
|
78
|
-
"default": "./fesm2022/ng-nest-ui-badge.mjs"
|
|
79
|
-
},
|
|
80
80
|
"./calendar": {
|
|
81
81
|
"types": "./calendar/index.d.ts",
|
|
82
82
|
"default": "./fesm2022/ng-nest-ui-calendar.mjs"
|
|
83
83
|
},
|
|
84
|
+
"./card": {
|
|
85
|
+
"types": "./card/index.d.ts",
|
|
86
|
+
"default": "./fesm2022/ng-nest-ui-card.mjs"
|
|
87
|
+
},
|
|
84
88
|
"./carousel": {
|
|
85
89
|
"types": "./carousel/index.d.ts",
|
|
86
90
|
"default": "./fesm2022/ng-nest-ui-carousel.mjs"
|
|
@@ -89,14 +93,14 @@
|
|
|
89
93
|
"types": "./cascade/index.d.ts",
|
|
90
94
|
"default": "./fesm2022/ng-nest-ui-cascade.mjs"
|
|
91
95
|
},
|
|
92
|
-
"./card": {
|
|
93
|
-
"types": "./card/index.d.ts",
|
|
94
|
-
"default": "./fesm2022/ng-nest-ui-card.mjs"
|
|
95
|
-
},
|
|
96
96
|
"./checkbox": {
|
|
97
97
|
"types": "./checkbox/index.d.ts",
|
|
98
98
|
"default": "./fesm2022/ng-nest-ui-checkbox.mjs"
|
|
99
99
|
},
|
|
100
|
+
"./collapse": {
|
|
101
|
+
"types": "./collapse/index.d.ts",
|
|
102
|
+
"default": "./fesm2022/ng-nest-ui-collapse.mjs"
|
|
103
|
+
},
|
|
100
104
|
"./color": {
|
|
101
105
|
"types": "./color/index.d.ts",
|
|
102
106
|
"default": "./fesm2022/ng-nest-ui-color.mjs"
|
|
@@ -105,10 +109,6 @@
|
|
|
105
109
|
"types": "./color-picker/index.d.ts",
|
|
106
110
|
"default": "./fesm2022/ng-nest-ui-color-picker.mjs"
|
|
107
111
|
},
|
|
108
|
-
"./collapse": {
|
|
109
|
-
"types": "./collapse/index.d.ts",
|
|
110
|
-
"default": "./fesm2022/ng-nest-ui-collapse.mjs"
|
|
111
|
-
},
|
|
112
112
|
"./comment": {
|
|
113
113
|
"types": "./comment/index.d.ts",
|
|
114
114
|
"default": "./fesm2022/ng-nest-ui-comment.mjs"
|
|
@@ -121,14 +121,14 @@
|
|
|
121
121
|
"types": "./core/index.d.ts",
|
|
122
122
|
"default": "./fesm2022/ng-nest-ui-core.mjs"
|
|
123
123
|
},
|
|
124
|
-
"./crumb": {
|
|
125
|
-
"types": "./crumb/index.d.ts",
|
|
126
|
-
"default": "./fesm2022/ng-nest-ui-crumb.mjs"
|
|
127
|
-
},
|
|
128
124
|
"./coversations": {
|
|
129
125
|
"types": "./coversations/index.d.ts",
|
|
130
126
|
"default": "./fesm2022/ng-nest-ui-coversations.mjs"
|
|
131
127
|
},
|
|
128
|
+
"./crumb": {
|
|
129
|
+
"types": "./crumb/index.d.ts",
|
|
130
|
+
"default": "./fesm2022/ng-nest-ui-crumb.mjs"
|
|
131
|
+
},
|
|
132
132
|
"./date-picker": {
|
|
133
133
|
"types": "./date-picker/index.d.ts",
|
|
134
134
|
"default": "./fesm2022/ng-nest-ui-date-picker.mjs"
|
|
@@ -137,13 +137,17 @@
|
|
|
137
137
|
"types": "./description/index.d.ts",
|
|
138
138
|
"default": "./fesm2022/ng-nest-ui-description.mjs"
|
|
139
139
|
},
|
|
140
|
+
"./dialog": {
|
|
141
|
+
"types": "./dialog/index.d.ts",
|
|
142
|
+
"default": "./fesm2022/ng-nest-ui-dialog.mjs"
|
|
143
|
+
},
|
|
140
144
|
"./doc": {
|
|
141
145
|
"types": "./doc/index.d.ts",
|
|
142
146
|
"default": "./fesm2022/ng-nest-ui-doc.mjs"
|
|
143
147
|
},
|
|
144
|
-
"./
|
|
145
|
-
"types": "./
|
|
146
|
-
"default": "./fesm2022/ng-nest-ui-
|
|
148
|
+
"./drag": {
|
|
149
|
+
"types": "./drag/index.d.ts",
|
|
150
|
+
"default": "./fesm2022/ng-nest-ui-drag.mjs"
|
|
147
151
|
},
|
|
148
152
|
"./drawer": {
|
|
149
153
|
"types": "./drawer/index.d.ts",
|
|
@@ -153,22 +157,18 @@
|
|
|
153
157
|
"types": "./dropdown/index.d.ts",
|
|
154
158
|
"default": "./fesm2022/ng-nest-ui-dropdown.mjs"
|
|
155
159
|
},
|
|
156
|
-
"./drag": {
|
|
157
|
-
"types": "./drag/index.d.ts",
|
|
158
|
-
"default": "./fesm2022/ng-nest-ui-drag.mjs"
|
|
159
|
-
},
|
|
160
160
|
"./empty": {
|
|
161
161
|
"types": "./empty/index.d.ts",
|
|
162
162
|
"default": "./fesm2022/ng-nest-ui-empty.mjs"
|
|
163
163
|
},
|
|
164
|
-
"./examples": {
|
|
165
|
-
"types": "./examples/index.d.ts",
|
|
166
|
-
"default": "./fesm2022/ng-nest-ui-examples.mjs"
|
|
167
|
-
},
|
|
168
164
|
"./find": {
|
|
169
165
|
"types": "./find/index.d.ts",
|
|
170
166
|
"default": "./fesm2022/ng-nest-ui-find.mjs"
|
|
171
167
|
},
|
|
168
|
+
"./examples": {
|
|
169
|
+
"types": "./examples/index.d.ts",
|
|
170
|
+
"default": "./fesm2022/ng-nest-ui-examples.mjs"
|
|
171
|
+
},
|
|
172
172
|
"./form": {
|
|
173
173
|
"types": "./form/index.d.ts",
|
|
174
174
|
"default": "./fesm2022/ng-nest-ui-form.mjs"
|
|
@@ -181,14 +181,14 @@
|
|
|
181
181
|
"types": "./i18n/index.d.ts",
|
|
182
182
|
"default": "./fesm2022/ng-nest-ui-i18n.mjs"
|
|
183
183
|
},
|
|
184
|
-
"./icon": {
|
|
185
|
-
"types": "./icon/index.d.ts",
|
|
186
|
-
"default": "./fesm2022/ng-nest-ui-icon.mjs"
|
|
187
|
-
},
|
|
188
184
|
"./image": {
|
|
189
185
|
"types": "./image/index.d.ts",
|
|
190
186
|
"default": "./fesm2022/ng-nest-ui-image.mjs"
|
|
191
187
|
},
|
|
188
|
+
"./icon": {
|
|
189
|
+
"types": "./icon/index.d.ts",
|
|
190
|
+
"default": "./fesm2022/ng-nest-ui-icon.mjs"
|
|
191
|
+
},
|
|
192
192
|
"./inner": {
|
|
193
193
|
"types": "./inner/index.d.ts",
|
|
194
194
|
"default": "./fesm2022/ng-nest-ui-inner.mjs"
|
|
@@ -273,6 +273,10 @@
|
|
|
273
273
|
"types": "./radio/index.d.ts",
|
|
274
274
|
"default": "./fesm2022/ng-nest-ui-radio.mjs"
|
|
275
275
|
},
|
|
276
|
+
"./prompts": {
|
|
277
|
+
"types": "./prompts/index.d.ts",
|
|
278
|
+
"default": "./fesm2022/ng-nest-ui-prompts.mjs"
|
|
279
|
+
},
|
|
276
280
|
"./rate": {
|
|
277
281
|
"types": "./rate/index.d.ts",
|
|
278
282
|
"default": "./fesm2022/ng-nest-ui-rate.mjs"
|
|
@@ -353,6 +357,14 @@
|
|
|
353
357
|
"types": "./theme/index.d.ts",
|
|
354
358
|
"default": "./fesm2022/ng-nest-ui-theme.mjs"
|
|
355
359
|
},
|
|
360
|
+
"./time-ago": {
|
|
361
|
+
"types": "./time-ago/index.d.ts",
|
|
362
|
+
"default": "./fesm2022/ng-nest-ui-time-ago.mjs"
|
|
363
|
+
},
|
|
364
|
+
"./time-picker": {
|
|
365
|
+
"types": "./time-picker/index.d.ts",
|
|
366
|
+
"default": "./fesm2022/ng-nest-ui-time-picker.mjs"
|
|
367
|
+
},
|
|
356
368
|
"./time-range": {
|
|
357
369
|
"types": "./time-range/index.d.ts",
|
|
358
370
|
"default": "./fesm2022/ng-nest-ui-time-range.mjs"
|
|
@@ -377,18 +389,10 @@
|
|
|
377
389
|
"types": "./tree-file/index.d.ts",
|
|
378
390
|
"default": "./fesm2022/ng-nest-ui-tree-file.mjs"
|
|
379
391
|
},
|
|
380
|
-
"./time-ago": {
|
|
381
|
-
"types": "./time-ago/index.d.ts",
|
|
382
|
-
"default": "./fesm2022/ng-nest-ui-time-ago.mjs"
|
|
383
|
-
},
|
|
384
392
|
"./tree-select": {
|
|
385
393
|
"types": "./tree-select/index.d.ts",
|
|
386
394
|
"default": "./fesm2022/ng-nest-ui-tree-select.mjs"
|
|
387
395
|
},
|
|
388
|
-
"./time-picker": {
|
|
389
|
-
"types": "./time-picker/index.d.ts",
|
|
390
|
-
"default": "./fesm2022/ng-nest-ui-time-picker.mjs"
|
|
391
|
-
},
|
|
392
396
|
"./typography": {
|
|
393
397
|
"types": "./typography/index.d.ts",
|
|
394
398
|
"default": "./fesm2022/ng-nest-ui-typography.mjs"
|
|
@@ -396,6 +400,10 @@
|
|
|
396
400
|
"./upload": {
|
|
397
401
|
"types": "./upload/index.d.ts",
|
|
398
402
|
"default": "./fesm2022/ng-nest-ui-upload.mjs"
|
|
403
|
+
},
|
|
404
|
+
"./welcome": {
|
|
405
|
+
"types": "./welcome/index.d.ts",
|
|
406
|
+
"default": "./fesm2022/ng-nest-ui-welcome.mjs"
|
|
399
407
|
}
|
|
400
408
|
},
|
|
401
409
|
"sideEffects": false
|
package/progress/index.d.ts
CHANGED
|
@@ -60,6 +60,11 @@ declare class XProgressProperty extends XProgressProperty_base {
|
|
|
60
60
|
* @en_US Custom color
|
|
61
61
|
*/
|
|
62
62
|
readonly color: _angular_core.InputSignal<XProgressColor | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* @zh_CN 自定义轨道颜色
|
|
65
|
+
* @en_US Custom rail color
|
|
66
|
+
*/
|
|
67
|
+
readonly railColor: _angular_core.InputSignal<XProgressColor | undefined>;
|
|
63
68
|
/**
|
|
64
69
|
* @zh_CN 渐变颜色
|
|
65
70
|
* @en_US Gradient color
|
|
@@ -101,7 +106,7 @@ declare class XProgressProperty extends XProgressProperty_base {
|
|
|
101
106
|
*/
|
|
102
107
|
readonly subsection: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
103
108
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XProgressProperty, never>;
|
|
104
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XProgressProperty, "x-progress-property", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "percent": { "alias": "percent"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "info": { "alias": "info"; "required": false; "isSignal": true; }; "infoWidth": { "alias": "infoWidth"; "required": false; "isSignal": true; }; "inside": { "alias": "inside"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "gradient": { "alias": "gradient"; "required": false; "isSignal": true; }; "steps": { "alias": "steps"; "required": false; "isSignal": true; }; "stepWidth": { "alias": "stepWidth"; "required": false; "isSignal": true; }; "stepFlex": { "alias": "stepFlex"; "required": false; "isSignal": true; }; "thickness": { "alias": "thickness"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "notchAngle": { "alias": "notchAngle"; "required": false; "isSignal": true; }; "subsection": { "alias": "subsection"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
109
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XProgressProperty, "x-progress-property", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "percent": { "alias": "percent"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "info": { "alias": "info"; "required": false; "isSignal": true; }; "infoWidth": { "alias": "infoWidth"; "required": false; "isSignal": true; }; "inside": { "alias": "inside"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "railColor": { "alias": "railColor"; "required": false; "isSignal": true; }; "gradient": { "alias": "gradient"; "required": false; "isSignal": true; }; "steps": { "alias": "steps"; "required": false; "isSignal": true; }; "stepWidth": { "alias": "stepWidth"; "required": false; "isSignal": true; }; "stepFlex": { "alias": "stepFlex"; "required": false; "isSignal": true; }; "thickness": { "alias": "thickness"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "notchAngle": { "alias": "notchAngle"; "required": false; "isSignal": true; }; "subsection": { "alias": "subsection"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
105
110
|
}
|
|
106
111
|
/**
|
|
107
112
|
* @zh_CN 进度条类型
|
|
@@ -155,6 +160,7 @@ declare class XProgressComponent extends XProgressProperty {
|
|
|
155
160
|
}>;
|
|
156
161
|
stepsArray: _angular_core.Signal<boolean[]>;
|
|
157
162
|
currentColor: _angular_core.Signal<any>;
|
|
163
|
+
currentRailColor: _angular_core.Signal<any>;
|
|
158
164
|
linearGradient: _angular_core.Signal<string>;
|
|
159
165
|
/**
|
|
160
166
|
* circle 中的 100% 等于 clip-path 中的 400%
|