@ng-nest/ui 20.0.7 → 20.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auto-complete/index.d.ts +30 -5
- package/avatar/index.d.ts +64 -2
- package/base-form/index.d.ts +3 -3
- package/bubble/index.d.ts +170 -0
- package/cascade/index.d.ts +30 -5
- package/checkbox/index.d.ts +4 -4
- package/color-picker/index.d.ts +31 -5
- package/core/index.d.ts +48 -4
- package/date-picker/index.d.ts +53 -8
- package/fesm2022/ng-nest-ui-affix.mjs +12 -12
- package/fesm2022/ng-nest-ui-affix.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-alert.mjs +35 -35
- package/fesm2022/ng-nest-ui-alert.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-anchor.mjs +31 -31
- package/fesm2022/ng-nest-ui-anchor.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-api.mjs +7 -7
- package/fesm2022/ng-nest-ui-api.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-auto-complete.mjs +82 -72
- package/fesm2022/ng-nest-ui-auto-complete.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-avatar.mjs +43 -31
- package/fesm2022/ng-nest-ui-avatar.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-back-top.mjs +18 -18
- package/fesm2022/ng-nest-ui-back-top.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-badge.mjs +23 -23
- package/fesm2022/ng-nest-ui-badge.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-base-form.mjs +45 -45
- package/fesm2022/ng-nest-ui-base-form.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-bubble.mjs +350 -0
- package/fesm2022/ng-nest-ui-bubble.mjs.map +1 -0
- package/fesm2022/ng-nest-ui-button.mjs +42 -42
- package/fesm2022/ng-nest-ui-button.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-calendar.mjs +20 -20
- package/fesm2022/ng-nest-ui-calendar.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-card.mjs +15 -15
- package/fesm2022/ng-nest-ui-card.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-carousel.mjs +46 -46
- package/fesm2022/ng-nest-ui-carousel.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-cascade.mjs +86 -76
- package/fesm2022/ng-nest-ui-cascade.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-checkbox.mjs +39 -39
- package/fesm2022/ng-nest-ui-checkbox.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-collapse.mjs +31 -31
- package/fesm2022/ng-nest-ui-collapse.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-color-picker.mjs +91 -72
- package/fesm2022/ng-nest-ui-color-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-color.mjs +16 -16
- package/fesm2022/ng-nest-ui-color.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-comment.mjs +21 -21
- package/fesm2022/ng-nest-ui-comment.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-container.mjs +37 -37
- package/fesm2022/ng-nest-ui-container.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-core.mjs +41 -22
- package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-crumb.mjs +13 -13
- package/fesm2022/ng-nest-ui-crumb.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-date-picker.mjs +273 -253
- package/fesm2022/ng-nest-ui-date-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-description.mjs +31 -31
- package/fesm2022/ng-nest-ui-description.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-dialog.mjs +81 -81
- package/fesm2022/ng-nest-ui-dialog.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-doc.mjs +7 -7
- package/fesm2022/ng-nest-ui-doc.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-drag.mjs +10 -10
- package/fesm2022/ng-nest-ui-drag.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-drawer.mjs +42 -42
- package/fesm2022/ng-nest-ui-drawer.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-dropdown.mjs +49 -49
- package/fesm2022/ng-nest-ui-dropdown.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-empty.mjs +12 -12
- package/fesm2022/ng-nest-ui-empty.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-examples.mjs +7 -7
- package/fesm2022/ng-nest-ui-examples.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-find.mjs +79 -77
- package/fesm2022/ng-nest-ui-find.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-form.mjs +33 -33
- package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-highlight.mjs +20 -20
- package/fesm2022/ng-nest-ui-highlight.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-i18n.mjs +15 -15
- package/fesm2022/ng-nest-ui-i18n.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-icon.mjs +21 -21
- package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-image.mjs +39 -39
- package/fesm2022/ng-nest-ui-image.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-inner.mjs +11 -11
- package/fesm2022/ng-nest-ui-inner.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-input-number.mjs +42 -42
- package/fesm2022/ng-nest-ui-input-number.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-input.mjs +103 -82
- package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-keyword.mjs +15 -15
- package/fesm2022/ng-nest-ui-keyword.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-layout.mjs +31 -31
- package/fesm2022/ng-nest-ui-layout.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-link.mjs +18 -18
- package/fesm2022/ng-nest-ui-link.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-list.mjs +80 -80
- package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-loading.mjs +28 -23
- package/fesm2022/ng-nest-ui-loading.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-menu.mjs +45 -45
- package/fesm2022/ng-nest-ui-menu.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-message-box.mjs +10 -10
- package/fesm2022/ng-nest-ui-message-box.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-message.mjs +10 -10
- package/fesm2022/ng-nest-ui-message.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-notification.mjs +10 -10
- package/fesm2022/ng-nest-ui-notification.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-outlet.mjs +9 -9
- package/fesm2022/ng-nest-ui-outlet.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-page-header.mjs +15 -15
- package/fesm2022/ng-nest-ui-page-header.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-pagination.mjs +53 -53
- package/fesm2022/ng-nest-ui-pagination.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-pattern.mjs +7 -7
- package/fesm2022/ng-nest-ui-pattern.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-popconfirm.mjs +27 -27
- package/fesm2022/ng-nest-ui-popconfirm.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-popover.mjs +38 -38
- package/fesm2022/ng-nest-ui-popover.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-portal.mjs +7 -7
- package/fesm2022/ng-nest-ui-portal.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-progress.mjs +38 -38
- package/fesm2022/ng-nest-ui-progress.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-radio.mjs +36 -36
- package/fesm2022/ng-nest-ui-radio.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-rate.mjs +30 -30
- package/fesm2022/ng-nest-ui-rate.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-resizable.mjs +16 -16
- package/fesm2022/ng-nest-ui-resizable.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-result.mjs +16 -16
- package/fesm2022/ng-nest-ui-result.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-ripple.mjs +13 -13
- package/fesm2022/ng-nest-ui-ripple.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-scrollable.mjs +102 -19
- package/fesm2022/ng-nest-ui-scrollable.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-select.mjs +121 -111
- package/fesm2022/ng-nest-ui-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-skeleton.mjs +15 -15
- package/fesm2022/ng-nest-ui-skeleton.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-slider-select.mjs +54 -54
- package/fesm2022/ng-nest-ui-slider-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-slider.mjs +39 -39
- package/fesm2022/ng-nest-ui-slider.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-statistic.mjs +30 -30
- package/fesm2022/ng-nest-ui-statistic.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-steps.mjs +19 -19
- package/fesm2022/ng-nest-ui-steps.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-switch.mjs +26 -26
- package/fesm2022/ng-nest-ui-switch.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-table-view.mjs +490 -242
- package/fesm2022/ng-nest-ui-table-view.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-table.mjs +221 -221
- package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tabs.mjs +58 -58
- package/fesm2022/ng-nest-ui-tabs.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tag.mjs +22 -22
- package/fesm2022/ng-nest-ui-tag.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-text-retract.mjs +15 -15
- package/fesm2022/ng-nest-ui-text-retract.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-textarea.mjs +41 -41
- package/fesm2022/ng-nest-ui-textarea.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-theme.mjs +23 -23
- package/fesm2022/ng-nest-ui-theme.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-time-ago.mjs +7 -7
- package/fesm2022/ng-nest-ui-time-ago.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-time-picker.mjs +104 -94
- package/fesm2022/ng-nest-ui-time-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-time-range.mjs +7 -7
- package/fesm2022/ng-nest-ui-time-range.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-timeline.mjs +15 -15
- package/fesm2022/ng-nest-ui-timeline.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tooltip.mjs +38 -38
- package/fesm2022/ng-nest-ui-tooltip.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-transfer.mjs +40 -40
- package/fesm2022/ng-nest-ui-transfer.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree-file.mjs +28 -28
- package/fesm2022/ng-nest-ui-tree-file.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree-select.mjs +126 -116
- package/fesm2022/ng-nest-ui-tree-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree.mjs +107 -107
- package/fesm2022/ng-nest-ui-tree.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-typography.mjs +13 -13
- package/fesm2022/ng-nest-ui-typography.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-upload.mjs +37 -37
- package/fesm2022/ng-nest-ui-upload.mjs.map +1 -1
- package/fesm2022/ng-nest-ui.mjs +1 -0
- package/fesm2022/ng-nest-ui.mjs.map +1 -1
- package/find/index.d.ts +5 -5
- package/form/index.d.ts +1 -1
- package/index.d.ts +1 -0
- package/input/index.d.ts +32 -5
- package/input-number/index.d.ts +5 -5
- package/list/index.d.ts +2 -2
- package/loading/index.d.ts +6 -1
- package/package.json +60 -56
- package/radio/index.d.ts +4 -4
- package/rate/index.d.ts +5 -5
- package/scrollable/index.d.ts +15 -7
- package/select/index.d.ts +35 -5
- package/slider-select/index.d.ts +3 -3
- package/switch/index.d.ts +3 -3
- package/table-view/index.d.ts +121 -79
- package/textarea/index.d.ts +3 -3
- package/theme/index.d.ts +1 -1
- package/time-picker/index.d.ts +30 -5
- package/transfer/index.d.ts +1 -1
- package/tree-select/index.d.ts +30 -5
- package/upload/index.d.ts +2 -2
package/auto-complete/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { TemplateRef, OnInit, OnChanges, ComponentRef, SimpleChanges } from '@an
|
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
7
7
|
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
8
|
-
import { XBoolean, XNumber, XAlign, XJustify, XDirection, XSize,
|
|
8
|
+
import { XBoolean, XTemplate, XNumber, XAlign, XJustify, XDirection, XSize, XData, XParentIdentityProperty, XVariant, XPositionTopBottom, XFloatLabel } from '@ng-nest/ui/core';
|
|
9
9
|
import { XFormOption } from '@ng-nest/ui/base-form';
|
|
10
10
|
import { XInputComponent } from '@ng-nest/ui/input';
|
|
11
11
|
import { XListComponent } from '@ng-nest/ui/list';
|
|
@@ -45,7 +45,7 @@ declare const XAutoCompleteProperty_base: new () => {
|
|
|
45
45
|
setDisabledState(disabled: boolean): void;
|
|
46
46
|
formControlValidator(): void;
|
|
47
47
|
readonly validator: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
48
|
-
readonly label: _angular_core.InputSignal<
|
|
48
|
+
readonly label: _angular_core.InputSignal<XTemplate>;
|
|
49
49
|
readonly labelWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
50
50
|
readonly labelAlign: _angular_core.InputSignal<XAlign>;
|
|
51
51
|
readonly justify: _angular_core.InputSignal<XJustify>;
|
|
@@ -130,6 +130,16 @@ declare class XAutoCompleteProperty extends XAutoCompleteProperty_base {
|
|
|
130
130
|
* @en_US Can only be the value of choice
|
|
131
131
|
*/
|
|
132
132
|
readonly onlySelect: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
133
|
+
/**
|
|
134
|
+
* @zh_CN 浮动标签
|
|
135
|
+
* @en_US Float label
|
|
136
|
+
*/
|
|
137
|
+
readonly floatLabel: _angular_core.InputSignal<XFloatLabel | null>;
|
|
138
|
+
/**
|
|
139
|
+
* @zh_CN 固定浮动标签
|
|
140
|
+
* @en_US Fixed float label
|
|
141
|
+
*/
|
|
142
|
+
readonly floatFixed: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
133
143
|
/**
|
|
134
144
|
* @zh_CN 尺寸
|
|
135
145
|
* @en_US Size
|
|
@@ -144,7 +154,7 @@ declare class XAutoCompleteProperty extends XAutoCompleteProperty_base {
|
|
|
144
154
|
* @zh_CN 标签
|
|
145
155
|
* @en_US Label
|
|
146
156
|
*/
|
|
147
|
-
readonly label: _angular_core.InputSignal<
|
|
157
|
+
readonly label: _angular_core.InputSignal<XTemplate>;
|
|
148
158
|
/**
|
|
149
159
|
* @zh_CN 标签宽度
|
|
150
160
|
* @en_US Label width
|
|
@@ -236,7 +246,7 @@ declare class XAutoCompleteProperty extends XAutoCompleteProperty_base {
|
|
|
236
246
|
*/
|
|
237
247
|
readonly nodeEmit: _angular_core.OutputEmitterRef<XAutoCompleteNode>;
|
|
238
248
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAutoCompleteProperty, never>;
|
|
239
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XAutoCompleteProperty, "x-auto-complete-property", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "nodeTpl": { "alias": "nodeTpl"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "portalMaxHeight": { "alias": "portalMaxHeight"; "required": false; "isSignal": true; }; "portalHeight": { "alias": "portalHeight"; "required": false; "isSignal": true; }; "portalWidth": { "alias": "portalWidth"; "required": false; "isSignal": true; }; "portalClass": { "alias": "portalClass"; "required": false; "isSignal": true; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; "onlySelect": { "alias": "onlySelect"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "pointer": { "alias": "pointer"; "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; }; "before": { "alias": "before"; "required": false; "isSignal": true; }; "after": { "alias": "after"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "inputValidator": { "alias": "inputValidator"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "nodeEmit": "nodeEmit"; }, never, never, true, never>;
|
|
249
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XAutoCompleteProperty, "x-auto-complete-property", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "nodeTpl": { "alias": "nodeTpl"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "portalMaxHeight": { "alias": "portalMaxHeight"; "required": false; "isSignal": true; }; "portalHeight": { "alias": "portalHeight"; "required": false; "isSignal": true; }; "portalWidth": { "alias": "portalWidth"; "required": false; "isSignal": true; }; "portalClass": { "alias": "portalClass"; "required": false; "isSignal": true; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; "onlySelect": { "alias": "onlySelect"; "required": false; "isSignal": true; }; "floatLabel": { "alias": "floatLabel"; "required": false; "isSignal": true; }; "floatFixed": { "alias": "floatFixed"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "pointer": { "alias": "pointer"; "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; }; "before": { "alias": "before"; "required": false; "isSignal": true; }; "after": { "alias": "after"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "inputValidator": { "alias": "inputValidator"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "nodeEmit": "nodeEmit"; }, never, never, true, never>;
|
|
240
250
|
}
|
|
241
251
|
/**
|
|
242
252
|
* AutoComplete Option
|
|
@@ -282,6 +292,16 @@ interface XAutoCompleteOption extends XFormOption {
|
|
|
282
292
|
* @en_US Can only be the value of choice
|
|
283
293
|
*/
|
|
284
294
|
onlySelect?: boolean;
|
|
295
|
+
/**
|
|
296
|
+
* @zh_CN 浮动标签
|
|
297
|
+
* @en_US Float label
|
|
298
|
+
*/
|
|
299
|
+
floatLabel?: XAutoCompleteFloatLabel;
|
|
300
|
+
/**
|
|
301
|
+
* @zh_CN 固定浮动标签
|
|
302
|
+
* @en_US Fixed float label
|
|
303
|
+
*/
|
|
304
|
+
floatFixed?: boolean;
|
|
285
305
|
/**
|
|
286
306
|
* @zh_CN 尺寸
|
|
287
307
|
* @en_US Size
|
|
@@ -388,6 +408,11 @@ interface XAutoCompleteOption extends XFormOption {
|
|
|
388
408
|
*/
|
|
389
409
|
nodeEmit?: (node: XAutoCompleteNode) => void;
|
|
390
410
|
}
|
|
411
|
+
/**
|
|
412
|
+
* @zh_CN 浮动标签类型
|
|
413
|
+
* @en_US Float label type
|
|
414
|
+
*/
|
|
415
|
+
type XAutoCompleteFloatLabel = XFloatLabel;
|
|
391
416
|
/**
|
|
392
417
|
* @zh_CN 输入框形态变体
|
|
393
418
|
* @en_US Input box variant
|
|
@@ -493,4 +518,4 @@ declare class XAutoCompleteModule {
|
|
|
493
518
|
}
|
|
494
519
|
|
|
495
520
|
export { XAutoCompleteComponent, XAutoCompleteModule, XAutoCompletePortalComponent, XAutoCompletePortalPrefix, XAutoCompletePrefix, XAutoCompleteProperty };
|
|
496
|
-
export type { XAutoCompleteNode, XAutoCompleteOption, XAutoCompleteVariant };
|
|
521
|
+
export type { XAutoCompleteFloatLabel, XAutoCompleteNode, XAutoCompleteOption, XAutoCompleteVariant };
|
package/avatar/index.d.ts
CHANGED
|
@@ -118,8 +118,70 @@ declare class XAvatarProperty extends XAvatarProperty_base {
|
|
|
118
118
|
*
|
|
119
119
|
*/
|
|
120
120
|
readonly backgroundColor: _angular_core.InputSignal<string>;
|
|
121
|
+
/**
|
|
122
|
+
* @zh_CN 文字颜色
|
|
123
|
+
* @en_US color
|
|
124
|
+
* @example
|
|
125
|
+
*
|
|
126
|
+
* ```html
|
|
127
|
+
* <x-avatar label="ng-nest" color="#FFFFFF"></x-avatar>
|
|
128
|
+
* <x-avatar label="ng-nest" color="#333333"></x-avatar>
|
|
129
|
+
* ```
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
readonly color: _angular_core.InputSignal<string>;
|
|
121
133
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAvatarProperty, never>;
|
|
122
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XAvatarProperty, "x-avatar-property", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; "fit": { "alias": "fit"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
134
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XAvatarProperty, "x-avatar-property", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; "fit": { "alias": "fit"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Avatar Option
|
|
138
|
+
*/
|
|
139
|
+
interface XAvatarOption {
|
|
140
|
+
/**
|
|
141
|
+
* @zh_CN 显示字符
|
|
142
|
+
* @en_US Display characters
|
|
143
|
+
*/
|
|
144
|
+
label?: XTemplate;
|
|
145
|
+
/**
|
|
146
|
+
* @zh_CN 尺寸
|
|
147
|
+
* @en_US Size
|
|
148
|
+
*/
|
|
149
|
+
size?: XAvatarSize;
|
|
150
|
+
/**
|
|
151
|
+
* @zh_CN 显示图标
|
|
152
|
+
* @en_US Show icon
|
|
153
|
+
*/
|
|
154
|
+
icon?: string;
|
|
155
|
+
/**
|
|
156
|
+
* @zh_CN 形状
|
|
157
|
+
* @en_US Shape
|
|
158
|
+
*/
|
|
159
|
+
shape?: XAvatarShape;
|
|
160
|
+
/**
|
|
161
|
+
* @zh_CN 图片地址
|
|
162
|
+
* @en_US The map's address
|
|
163
|
+
*/
|
|
164
|
+
src?: string;
|
|
165
|
+
/**
|
|
166
|
+
* @zh_CN 图片适应方式
|
|
167
|
+
* @en_US Image adaptation method
|
|
168
|
+
*/
|
|
169
|
+
fit?: XAvatarFit;
|
|
170
|
+
/**
|
|
171
|
+
* @zh_CN 字符类型的时候左右边距
|
|
172
|
+
* @en_US When the character type is the left and right distance
|
|
173
|
+
*/
|
|
174
|
+
gap?: string;
|
|
175
|
+
/**
|
|
176
|
+
* @zh_CN 背景颜色
|
|
177
|
+
* @en_US Background color
|
|
178
|
+
*/
|
|
179
|
+
backgroundColor?: string;
|
|
180
|
+
/**
|
|
181
|
+
* @zh_CN 文字颜色
|
|
182
|
+
* @en_US color
|
|
183
|
+
*/
|
|
184
|
+
color?: string;
|
|
123
185
|
}
|
|
124
186
|
/**
|
|
125
187
|
* @zh_CN 头像形状
|
|
@@ -197,4 +259,4 @@ declare class XAvatarModule {
|
|
|
197
259
|
}
|
|
198
260
|
|
|
199
261
|
export { XAvatarComponent, XAvatarGroupComponent, XAvatarGroupPrefix, XAvatarGroupProperty, XAvatarModule, XAvatarPrefix, XAvatarProperty, X_AVATAR_CONFIG_NAME };
|
|
200
|
-
export type { XAvatarFit, XAvatarShape, XAvatarSize };
|
|
262
|
+
export type { XAvatarFit, XAvatarOption, XAvatarShape, XAvatarSize };
|
package/base-form/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef, Type, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
4
|
-
import { XAlign, XJustify, XDirection, XSize, XProperty, XBoolean,
|
|
4
|
+
import { XAlign, XJustify, XDirection, XSize, XProperty, XBoolean, XTemplate, XNumber, XComponentConfigKey } from '@ng-nest/ui/core';
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
import { ControlValueAccessor, ValidatorFn } from '@angular/forms';
|
|
7
7
|
|
|
@@ -83,7 +83,7 @@ declare class XFormControlProp extends XProperty {
|
|
|
83
83
|
* @zh_CN 标签
|
|
84
84
|
* @en_US Label
|
|
85
85
|
*/
|
|
86
|
-
readonly label: _angular_core.InputSignal<
|
|
86
|
+
readonly label: _angular_core.InputSignal<XTemplate>;
|
|
87
87
|
/**
|
|
88
88
|
* @zh_CN 标签宽度
|
|
89
89
|
* @en_US Label width
|
|
@@ -219,7 +219,7 @@ declare function XFormControlFunction<C extends XComponentConfigKey>(configName:
|
|
|
219
219
|
setDisabledState(disabled: boolean): void;
|
|
220
220
|
formControlValidator(): void;
|
|
221
221
|
readonly validator: _angular_core.InputSignalWithTransform<boolean, _ng_nest_ui_core.XBoolean>;
|
|
222
|
-
readonly label: _angular_core.InputSignal<
|
|
222
|
+
readonly label: _angular_core.InputSignal<_ng_nest_ui_core.XTemplate>;
|
|
223
223
|
readonly labelWidth: _angular_core.InputSignalWithTransform<string, _ng_nest_ui_core.XNumber>;
|
|
224
224
|
readonly labelAlign: _angular_core.InputSignal<_ng_nest_ui_core.XAlign>;
|
|
225
225
|
readonly justify: _angular_core.InputSignal<_ng_nest_ui_core.XJustify>;
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { Renderer2, ElementRef, SimpleChanges } from '@angular/core';
|
|
5
|
+
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
6
|
+
import { XSize, XTemplate, XBoolean, XNumber } from '@ng-nest/ui/core';
|
|
7
|
+
import { XAvatarOption } from '@ng-nest/ui/avatar';
|
|
8
|
+
import * as rxjs from 'rxjs';
|
|
9
|
+
|
|
10
|
+
declare const XBubbleProperty_base: new () => {
|
|
11
|
+
config: _ng_nest_ui_core.XBubbleConfig | undefined;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Bubble Property
|
|
15
|
+
*/
|
|
16
|
+
declare class XBubbleProperty extends XBubbleProperty_base {
|
|
17
|
+
/**
|
|
18
|
+
* @zh_CN 气泡内容
|
|
19
|
+
* @en_US Bubble content
|
|
20
|
+
*/
|
|
21
|
+
readonly content: _angular_core.InputSignal<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* @zh_CN 头像
|
|
24
|
+
* @en_US Avatar
|
|
25
|
+
*/
|
|
26
|
+
readonly avatar: _angular_core.InputSignal<XAvatarOption | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* @zh_CN 尺寸
|
|
29
|
+
* @en_US Size
|
|
30
|
+
*/
|
|
31
|
+
readonly size: _angular_core.InputSignal<XSize>;
|
|
32
|
+
/**
|
|
33
|
+
* @zh_CN 形态变体
|
|
34
|
+
* @en_US Bubble variant
|
|
35
|
+
*/
|
|
36
|
+
readonly variant: _angular_core.InputSignal<XBubbleVariant>;
|
|
37
|
+
/**
|
|
38
|
+
* @zh_CN 位置
|
|
39
|
+
* @en_US Bubble placement
|
|
40
|
+
*/
|
|
41
|
+
readonly placement: _angular_core.InputSignal<XBubblePlacement>;
|
|
42
|
+
/**
|
|
43
|
+
* @zh_CN 气泡头部内容
|
|
44
|
+
* @en_US Bubble header content
|
|
45
|
+
*/
|
|
46
|
+
readonly header: _angular_core.InputSignal<XTemplate | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* @zh_CN 气泡底部内容
|
|
49
|
+
* @en_US Bubble header content
|
|
50
|
+
*/
|
|
51
|
+
readonly footer: _angular_core.InputSignal<XTemplate | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* @zh_CN 加载中
|
|
54
|
+
* @en_US Loading
|
|
55
|
+
*/
|
|
56
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
57
|
+
/**
|
|
58
|
+
* @zh_CN 内容输出打字机效果
|
|
59
|
+
* @en_US Typing effect
|
|
60
|
+
*/
|
|
61
|
+
readonly typing: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
62
|
+
/**
|
|
63
|
+
* @zh_CN 打字机输出速度
|
|
64
|
+
* @en_US Typing speed
|
|
65
|
+
*/
|
|
66
|
+
readonly speed: _angular_core.InputSignalWithTransform<number, XNumber>;
|
|
67
|
+
/**
|
|
68
|
+
* @zh_CN 内容渲染器,可自定义内容的渲染方式,如 HTML、Markdown
|
|
69
|
+
* @en_US Content renderer, can customize content rendering, such as HTML, Markdown
|
|
70
|
+
*/
|
|
71
|
+
readonly renderer: _angular_core.InputSignal<XBubbleContentRenderer | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* @zh_CN 是否显示打字机光标
|
|
74
|
+
* @en_US Whether to show the typing cursor
|
|
75
|
+
*/
|
|
76
|
+
readonly showCursor: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
77
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XBubbleProperty, never>;
|
|
78
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XBubbleProperty, "x-bubble-property", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "avatar": { "alias": "avatar"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "footer": { "alias": "footer"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "typing": { "alias": "typing"; "required": false; "isSignal": true; }; "speed": { "alias": "speed"; "required": false; "isSignal": true; }; "renderer": { "alias": "renderer"; "required": false; "isSignal": true; }; "showCursor": { "alias": "showCursor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
79
|
+
}
|
|
80
|
+
declare const XBubblesProperty_base: new () => {
|
|
81
|
+
config: _ng_nest_ui_core.XBubblesConfig | undefined;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Bubbles Property
|
|
85
|
+
*/
|
|
86
|
+
declare class XBubblesProperty extends XBubblesProperty_base {
|
|
87
|
+
/**
|
|
88
|
+
* @zh_CN 尺寸
|
|
89
|
+
* @en_US Size
|
|
90
|
+
*/
|
|
91
|
+
readonly size: _angular_core.InputSignal<XSize | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* @zh_CN 形态变体
|
|
94
|
+
* @en_US Bubble variant
|
|
95
|
+
*/
|
|
96
|
+
readonly variant: _angular_core.InputSignal<XBubbleVariant | undefined>;
|
|
97
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XBubblesProperty, never>;
|
|
98
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XBubblesProperty, "x-bubbles-property", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @zh_CN 形态变体
|
|
102
|
+
* @en_US Bubble variant
|
|
103
|
+
*/
|
|
104
|
+
type XBubbleVariant = 'outlined' | 'filled' | 'shadow' | 'borderless';
|
|
105
|
+
/**
|
|
106
|
+
* @zh_CN 位置
|
|
107
|
+
* @en_US Bubble placement
|
|
108
|
+
*/
|
|
109
|
+
type XBubblePlacement = 'start' | 'end';
|
|
110
|
+
/**
|
|
111
|
+
* @zh_CN 内容渲染函数
|
|
112
|
+
* @en_US Bubble content renderer
|
|
113
|
+
*/
|
|
114
|
+
type XBubbleContentRenderer = (content: string) => string | undefined;
|
|
115
|
+
|
|
116
|
+
declare class XBubbleComponent extends XBubbleProperty {
|
|
117
|
+
sanitizer: DomSanitizer;
|
|
118
|
+
renderer2: Renderer2;
|
|
119
|
+
private bubbles;
|
|
120
|
+
contentRef: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
121
|
+
classMap: _angular_core.Signal<{
|
|
122
|
+
[x: string]: boolean;
|
|
123
|
+
"x-bubble-cursor": boolean;
|
|
124
|
+
"x-bubble-typing": boolean;
|
|
125
|
+
}>;
|
|
126
|
+
typedContent: _angular_core.WritableSignal<string>;
|
|
127
|
+
pendingContent: _angular_core.WritableSignal<string>;
|
|
128
|
+
pendingContentObserver: rxjs.Observable<string>;
|
|
129
|
+
private typingInterval;
|
|
130
|
+
sizeSignal: _angular_core.Signal<_ng_nest_ui_core.XSize>;
|
|
131
|
+
variantSignal: _angular_core.Signal<XBubbleVariant>;
|
|
132
|
+
constructor();
|
|
133
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
134
|
+
get renderedContent(): _angular_platform_browser.SafeHtml;
|
|
135
|
+
private startTyping;
|
|
136
|
+
private stopTyping;
|
|
137
|
+
ngOnDestroy(): void;
|
|
138
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XBubbleComponent, never>;
|
|
139
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XBubbleComponent, "x-bubble", never, {}, {}, never, never, true, never>;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
declare class XBubblesComponent extends XBubblesProperty {
|
|
143
|
+
elementRef: ElementRef<any>;
|
|
144
|
+
renderer: Renderer2;
|
|
145
|
+
private parentScrollElement;
|
|
146
|
+
private isFollowing;
|
|
147
|
+
private removeScrollListener;
|
|
148
|
+
private contentMutationObserver;
|
|
149
|
+
private typingObserver;
|
|
150
|
+
bubbles: _angular_core.Signal<readonly XBubbleComponent[]>;
|
|
151
|
+
ngAfterViewInit(): void;
|
|
152
|
+
ngDoCheck(): void;
|
|
153
|
+
ngOnDestroy(): void;
|
|
154
|
+
private getParentScrollElement;
|
|
155
|
+
private observeContentChanges;
|
|
156
|
+
private startTypingObserver;
|
|
157
|
+
private stopTypingObserver;
|
|
158
|
+
scrollToBottom(): void;
|
|
159
|
+
scrollToTop(): void;
|
|
160
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XBubblesComponent, never>;
|
|
161
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XBubblesComponent, "x-bubbles", never, {}, {}, ["bubbles"], ["*"], true, never>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
declare class XBubbleModule {
|
|
165
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XBubbleModule, never>;
|
|
166
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<XBubbleModule, never, [typeof XBubbleComponent, typeof XBubblesComponent], [typeof XBubbleComponent, typeof XBubblesComponent]>;
|
|
167
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<XBubbleModule>;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export { XBubbleComponent, XBubbleModule, XBubblesComponent };
|
package/cascade/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { TemplateRef, OnInit, AfterViewInit, OnChanges, OnDestroy, ElementRef, C
|
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
8
|
-
import { XBoolean, XNumber, XAlign, XJustify, XDirection, XSize,
|
|
8
|
+
import { XBoolean, XTemplate, XNumber, XAlign, XJustify, XDirection, XSize, XData, XParentIdentityProperty, XVariant, XCorner, XTrigger, XFloatLabel, XPositionTopBottom } from '@ng-nest/ui/core';
|
|
9
9
|
import { XFormOption } from '@ng-nest/ui/base-form';
|
|
10
10
|
import { XInputComponent } from '@ng-nest/ui/input';
|
|
11
11
|
import { XPortalOverlayRef } from '@ng-nest/ui/portal';
|
|
@@ -45,7 +45,7 @@ declare const XCascadeProperty_base: new () => {
|
|
|
45
45
|
setDisabledState(disabled: boolean): void;
|
|
46
46
|
formControlValidator(): void;
|
|
47
47
|
readonly validator: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
48
|
-
readonly label: _angular_core.InputSignal<
|
|
48
|
+
readonly label: _angular_core.InputSignal<XTemplate>;
|
|
49
49
|
readonly labelWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
50
50
|
readonly labelAlign: _angular_core.InputSignal<XAlign>;
|
|
51
51
|
readonly justify: _angular_core.InputSignal<XJustify>;
|
|
@@ -135,6 +135,16 @@ declare class XCascadeProperty extends XCascadeProperty_base {
|
|
|
135
135
|
* @en_US Node template
|
|
136
136
|
*/
|
|
137
137
|
readonly nodeTpl: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* @zh_CN 浮动标签
|
|
140
|
+
* @en_US Float label
|
|
141
|
+
*/
|
|
142
|
+
readonly floatLabel: _angular_core.InputSignal<XFloatLabel | null>;
|
|
143
|
+
/**
|
|
144
|
+
* @zh_CN 固定浮动标签
|
|
145
|
+
* @en_US Fixed float label
|
|
146
|
+
*/
|
|
147
|
+
readonly floatFixed: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
138
148
|
/**
|
|
139
149
|
* @zh_CN 尺寸
|
|
140
150
|
* @en_US Size
|
|
@@ -149,7 +159,7 @@ declare class XCascadeProperty extends XCascadeProperty_base {
|
|
|
149
159
|
* @zh_CN 标签
|
|
150
160
|
* @en_US Label
|
|
151
161
|
*/
|
|
152
|
-
readonly label: _angular_core.InputSignal<
|
|
162
|
+
readonly label: _angular_core.InputSignal<XTemplate>;
|
|
153
163
|
/**
|
|
154
164
|
* @zh_CN 标签宽度
|
|
155
165
|
* @en_US Label width
|
|
@@ -241,7 +251,7 @@ declare class XCascadeProperty extends XCascadeProperty_base {
|
|
|
241
251
|
*/
|
|
242
252
|
readonly nodeEmit: _angular_core.OutputEmitterRef<XCascadeNode>;
|
|
243
253
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XCascadeProperty, never>;
|
|
244
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XCascadeProperty, "x-cascade-property", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; "portalMaxHeight": { "alias": "portalMaxHeight"; "required": false; "isSignal": true; }; "portalHeight": { "alias": "portalHeight"; "required": false; "isSignal": true; }; "portalWidth": { "alias": "portalWidth"; "required": false; "isSignal": true; }; "portalClass": { "alias": "portalClass"; "required": false; "isSignal": true; }; "nodeTrigger": { "alias": "nodeTrigger"; "required": false; "isSignal": true; }; "nodeHoverDelay": { "alias": "nodeHoverDelay"; "required": false; "isSignal": true; }; "nodeTpl": { "alias": "nodeTpl"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "pointer": { "alias": "pointer"; "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; }; "before": { "alias": "before"; "required": false; "isSignal": true; }; "after": { "alias": "after"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "inputValidator": { "alias": "inputValidator"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "nodeEmit": "nodeEmit"; }, never, never, true, never>;
|
|
254
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XCascadeProperty, "x-cascade-property", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; "portalMaxHeight": { "alias": "portalMaxHeight"; "required": false; "isSignal": true; }; "portalHeight": { "alias": "portalHeight"; "required": false; "isSignal": true; }; "portalWidth": { "alias": "portalWidth"; "required": false; "isSignal": true; }; "portalClass": { "alias": "portalClass"; "required": false; "isSignal": true; }; "nodeTrigger": { "alias": "nodeTrigger"; "required": false; "isSignal": true; }; "nodeHoverDelay": { "alias": "nodeHoverDelay"; "required": false; "isSignal": true; }; "nodeTpl": { "alias": "nodeTpl"; "required": false; "isSignal": true; }; "floatLabel": { "alias": "floatLabel"; "required": false; "isSignal": true; }; "floatFixed": { "alias": "floatFixed"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "pointer": { "alias": "pointer"; "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; }; "before": { "alias": "before"; "required": false; "isSignal": true; }; "after": { "alias": "after"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "inputValidator": { "alias": "inputValidator"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "nodeEmit": "nodeEmit"; }, never, never, true, never>;
|
|
245
255
|
}
|
|
246
256
|
/**
|
|
247
257
|
* Cascade Option
|
|
@@ -257,6 +267,16 @@ interface XCascadeOption extends XFormOption {
|
|
|
257
267
|
* @en_US Input variant
|
|
258
268
|
*/
|
|
259
269
|
variant?: XCascadeVariant;
|
|
270
|
+
/**
|
|
271
|
+
* @zh_CN 浮动标签
|
|
272
|
+
* @en_US Float label
|
|
273
|
+
*/
|
|
274
|
+
floatLabel?: XCascadeFloatLabel;
|
|
275
|
+
/**
|
|
276
|
+
* @zh_CN 固定浮动标签
|
|
277
|
+
* @en_US Fixed float label
|
|
278
|
+
*/
|
|
279
|
+
floatFixed?: boolean;
|
|
260
280
|
/**
|
|
261
281
|
* @zh_CN 展示方位
|
|
262
282
|
* @en_US Display position
|
|
@@ -399,6 +419,11 @@ interface XCascadeNode extends XParentIdentityProperty<XCascadeNode> {
|
|
|
399
419
|
* @en_US Sub node triggering method
|
|
400
420
|
*/
|
|
401
421
|
type XCascadeNodeTrigger = XTrigger;
|
|
422
|
+
/**
|
|
423
|
+
* @zh_CN 浮动标签类型
|
|
424
|
+
* @en_US Float label type
|
|
425
|
+
*/
|
|
426
|
+
type XCascadeFloatLabel = XFloatLabel;
|
|
402
427
|
/**
|
|
403
428
|
* @zh_CN 输入框形态变体
|
|
404
429
|
* @en_US Input box variant
|
|
@@ -507,4 +532,4 @@ declare class XCascadeModule {
|
|
|
507
532
|
}
|
|
508
533
|
|
|
509
534
|
export { XCascadeComponent, XCascadeModule, XCascadePortalComponent, XCascadePortalPrefix, XCascadePrefix, XCascadeProperty };
|
|
510
|
-
export type { XCascadeNode, XCascadeNodeTrigger, XCascadeOption, XCascadeVariant };
|
|
535
|
+
export type { XCascadeFloatLabel, XCascadeNode, XCascadeNodeTrigger, XCascadeOption, XCascadeVariant };
|
package/checkbox/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { TemplateRef, OnChanges, OnDestroy, ElementRef, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
5
|
-
import { XBoolean, XNumber, XAlign, XJustify, XDirection,
|
|
5
|
+
import { XBoolean, XTemplate, XNumber, XAlign, XJustify, XDirection, XData, XIdentityProperty } from '@ng-nest/ui/core';
|
|
6
6
|
import { XButtonType } from '@ng-nest/ui/button';
|
|
7
7
|
import { XFormOption } from '@ng-nest/ui/base-form';
|
|
8
8
|
|
|
@@ -41,7 +41,7 @@ declare const XCheckboxProperty_base: new () => {
|
|
|
41
41
|
setDisabledState(disabled: boolean): void;
|
|
42
42
|
formControlValidator(): void;
|
|
43
43
|
readonly validator: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
44
|
-
readonly label: _angular_core.InputSignal<
|
|
44
|
+
readonly label: _angular_core.InputSignal<XTemplate>;
|
|
45
45
|
readonly labelWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
46
46
|
readonly labelAlign: _angular_core.InputSignal<XAlign>;
|
|
47
47
|
readonly justify: _angular_core.InputSignal<XJustify>;
|
|
@@ -120,7 +120,7 @@ declare class XCheckboxProperty extends XCheckboxProperty_base {
|
|
|
120
120
|
* @zh_CN 标签
|
|
121
121
|
* @en_US Label
|
|
122
122
|
*/
|
|
123
|
-
readonly label: _angular_core.InputSignal<
|
|
123
|
+
readonly label: _angular_core.InputSignal<XTemplate>;
|
|
124
124
|
/**
|
|
125
125
|
* @zh_CN 标签宽度
|
|
126
126
|
* @en_US Label width
|
|
@@ -333,7 +333,7 @@ declare class XCheckboxComponent extends XCheckboxProperty implements OnChanges,
|
|
|
333
333
|
labelMapSignal: _angular_core.Signal<{
|
|
334
334
|
[x: string]: boolean;
|
|
335
335
|
}>;
|
|
336
|
-
checkboxType: _angular_core.Signal<"
|
|
336
|
+
checkboxType: _angular_core.Signal<"button" | "icon" | "tag" | "initial">;
|
|
337
337
|
constructor();
|
|
338
338
|
ngOnChanges(changes: SimpleChanges): void;
|
|
339
339
|
ngOnDestroy(): void;
|
package/color-picker/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { TemplateRef, OnInit, OnChanges, AfterViewInit, ElementRef, SimpleChange
|
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
8
|
-
import { XBoolean, XNumber, XAlign, XJustify, XDirection, XSize,
|
|
8
|
+
import { XBoolean, XTemplate, XNumber, XAlign, XJustify, XDirection, XSize, XVariant, XCorner, XFloatLabel, XPositionTopBottom } from '@ng-nest/ui/core';
|
|
9
9
|
import { XFormOption } from '@ng-nest/ui/base-form';
|
|
10
10
|
import { XSliderSelectComponent } from '@ng-nest/ui/slider-select';
|
|
11
11
|
import { CdkDragMove } from '@angular/cdk/drag-drop';
|
|
@@ -47,7 +47,7 @@ declare const XColorPickerProperty_base: new () => {
|
|
|
47
47
|
setDisabledState(disabled: boolean): void;
|
|
48
48
|
formControlValidator(): void;
|
|
49
49
|
readonly validator: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
50
|
-
readonly label: _angular_core.InputSignal<
|
|
50
|
+
readonly label: _angular_core.InputSignal<XTemplate>;
|
|
51
51
|
readonly labelWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
52
52
|
readonly labelAlign: _angular_core.InputSignal<XAlign>;
|
|
53
53
|
readonly justify: _angular_core.InputSignal<XJustify>;
|
|
@@ -87,6 +87,17 @@ declare class XColorPickerProperty extends XColorPickerProperty_base {
|
|
|
87
87
|
* @en_US Display Border
|
|
88
88
|
*/
|
|
89
89
|
readonly bordered: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
90
|
+
/**
|
|
91
|
+
* @zh_CN 浮动标签
|
|
92
|
+
* @en_US Float label
|
|
93
|
+
*/
|
|
94
|
+
readonly floatLabel: _angular_core.InputSignal<XFloatLabel | null>;
|
|
95
|
+
/**
|
|
96
|
+
* @zh_CN 固定浮动标签
|
|
97
|
+
* @en_US Fixed float label
|
|
98
|
+
*/
|
|
99
|
+
readonly floatFixed: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
100
|
+
/**
|
|
90
101
|
/**
|
|
91
102
|
* @zh_CN 尺寸
|
|
92
103
|
* @en_US Size
|
|
@@ -101,7 +112,7 @@ declare class XColorPickerProperty extends XColorPickerProperty_base {
|
|
|
101
112
|
* @zh_CN 标签
|
|
102
113
|
* @en_US Label
|
|
103
114
|
*/
|
|
104
|
-
readonly label: _angular_core.InputSignal<
|
|
115
|
+
readonly label: _angular_core.InputSignal<XTemplate>;
|
|
105
116
|
/**
|
|
106
117
|
* @zh_CN 标签宽度
|
|
107
118
|
* @en_US Label width
|
|
@@ -188,7 +199,7 @@ declare class XColorPickerProperty extends XColorPickerProperty_base {
|
|
|
188
199
|
*/
|
|
189
200
|
readonly inputValidator: _angular_core.InputSignal<((value: any) => boolean) | undefined>;
|
|
190
201
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XColorPickerProperty, never>;
|
|
191
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XColorPickerProperty, "x-color-picker-property", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "pointer": { "alias": "pointer"; "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; }; "before": { "alias": "before"; "required": false; "isSignal": true; }; "after": { "alias": "after"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "inputValidator": { "alias": "inputValidator"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, never, never, true, never>;
|
|
202
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XColorPickerProperty, "x-color-picker-property", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "floatLabel": { "alias": "floatLabel"; "required": false; "isSignal": true; }; "floatFixed": { "alias": "floatFixed"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "pointer": { "alias": "pointer"; "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; }; "before": { "alias": "before"; "required": false; "isSignal": true; }; "after": { "alias": "after"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "inputValidator": { "alias": "inputValidator"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, never, never, true, never>;
|
|
192
203
|
}
|
|
193
204
|
/**
|
|
194
205
|
* ColorPicker Option
|
|
@@ -199,6 +210,16 @@ interface XColorPickerOption extends XFormOption {
|
|
|
199
210
|
* @en_US Input variant
|
|
200
211
|
*/
|
|
201
212
|
variant?: XColorPickerVariant;
|
|
213
|
+
/**
|
|
214
|
+
* @zh_CN 浮动标签
|
|
215
|
+
* @en_US Float label
|
|
216
|
+
*/
|
|
217
|
+
floatLabel?: XColorPickerFloatLabel;
|
|
218
|
+
/**
|
|
219
|
+
* @zh_CN 固定浮动标签
|
|
220
|
+
* @en_US Fixed float label
|
|
221
|
+
*/
|
|
222
|
+
floatFixed?: boolean;
|
|
202
223
|
/**
|
|
203
224
|
* @zh_CN 展示方位
|
|
204
225
|
* @en_US Display position
|
|
@@ -315,6 +336,11 @@ interface XColorPickerOption extends XFormOption {
|
|
|
315
336
|
* @en_US Color type
|
|
316
337
|
*/
|
|
317
338
|
type XColorType = 'hex' | 'rgba' | 'hsla';
|
|
339
|
+
/**
|
|
340
|
+
* @zh_CN 浮动标签类型
|
|
341
|
+
* @en_US Float label type
|
|
342
|
+
*/
|
|
343
|
+
type XColorPickerFloatLabel = XFloatLabel;
|
|
318
344
|
/**
|
|
319
345
|
* @zh_CN 输入框形态变体
|
|
320
346
|
* @en_US Input box variant
|
|
@@ -500,4 +526,4 @@ declare class XColorPickerModule {
|
|
|
500
526
|
}
|
|
501
527
|
|
|
502
528
|
export { XColorPickerComponent, XColorPickerModule, XColorPickerOptionDirective, XColorPickerPortalComponent, XColorPickerPortalPrefix, XColorPickerPrefix, XColorPickerProperty };
|
|
503
|
-
export type { XColorPickerOption, XColorPickerVariant, XColorType };
|
|
529
|
+
export type { XColorPickerFloatLabel, XColorPickerOption, XColorPickerVariant, XColorType };
|