@ng-nest/ui 20.1.7 → 20.2.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 +10 -2
- package/cascade/index.d.ts +2 -1
- package/checkbox/index.d.ts +1 -1
- package/collapse/index.d.ts +0 -3
- package/color-picker/index.d.ts +2 -1
- package/core/index.d.ts +3 -65
- package/date-picker/index.d.ts +20 -4
- package/dialog/index.d.ts +27 -11
- package/drawer/index.d.ts +10 -12
- package/dropdown/index.d.ts +2 -1
- package/fesm2022/ng-nest-ui-affix.mjs +11 -11
- package/fesm2022/ng-nest-ui-alert.mjs +13 -13
- package/fesm2022/ng-nest-ui-alert.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-anchor.mjs +18 -18
- 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-attachments.mjs +18 -18
- package/fesm2022/ng-nest-ui-auto-complete.mjs +33 -26
- package/fesm2022/ng-nest-ui-auto-complete.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-avatar.mjs +18 -18
- package/fesm2022/ng-nest-ui-avatar.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-back-top.mjs +12 -12
- package/fesm2022/ng-nest-ui-back-top.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-badge.mjs +13 -13
- package/fesm2022/ng-nest-ui-badge.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-base-form.mjs +8 -8
- package/fesm2022/ng-nest-ui-bubble.mjs +20 -20
- package/fesm2022/ng-nest-ui-bubble.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-button.mjs +19 -19
- package/fesm2022/ng-nest-ui-button.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-calendar.mjs +11 -11
- package/fesm2022/ng-nest-ui-card.mjs +11 -11
- package/fesm2022/ng-nest-ui-carousel.mjs +21 -21
- package/fesm2022/ng-nest-ui-carousel.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-cascade.mjs +27 -25
- package/fesm2022/ng-nest-ui-cascade.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-checkbox.mjs +12 -12
- package/fesm2022/ng-nest-ui-checkbox.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-collapse.mjs +20 -28
- package/fesm2022/ng-nest-ui-collapse.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-color-picker.mjs +31 -29
- package/fesm2022/ng-nest-ui-color-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-color.mjs +11 -11
- package/fesm2022/ng-nest-ui-color.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-comment.mjs +18 -18
- package/fesm2022/ng-nest-ui-container.mjs +35 -35
- package/fesm2022/ng-nest-ui-container.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-core.mjs +20 -348
- package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-coversations.mjs +11 -11
- package/fesm2022/ng-nest-ui-crumb.mjs +11 -11
- package/fesm2022/ng-nest-ui-date-picker.mjs +92 -78
- package/fesm2022/ng-nest-ui-date-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-description.mjs +20 -20
- package/fesm2022/ng-nest-ui-description.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-dialog.mjs +122 -73
- 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 +11 -11
- package/fesm2022/ng-nest-ui-drawer.mjs +67 -84
- package/fesm2022/ng-nest-ui-drawer.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-dropdown.mjs +27 -25
- package/fesm2022/ng-nest-ui-dropdown.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-empty.mjs +11 -11
- 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 +12 -12
- package/fesm2022/ng-nest-ui-find.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-form.mjs +19 -19
- package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-highlight.mjs +15 -15
- package/fesm2022/ng-nest-ui-highlight.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-i18n.mjs +14 -14
- package/fesm2022/ng-nest-ui-icon.mjs +14 -14
- package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-image.mjs +21 -21
- 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 +12 -12
- package/fesm2022/ng-nest-ui-input-number.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-input.mjs +19 -19
- package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-keyword.mjs +11 -11
- package/fesm2022/ng-nest-ui-keyword.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-layout.mjs +18 -18
- package/fesm2022/ng-nest-ui-layout.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-link.mjs +12 -12
- package/fesm2022/ng-nest-ui-link.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-list.mjs +23 -23
- package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-loading.mjs +12 -12
- package/fesm2022/ng-nest-ui-loading.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-menu.mjs +18 -18
- package/fesm2022/ng-nest-ui-message-box.mjs +33 -20
- package/fesm2022/ng-nest-ui-message-box.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-message.mjs +13 -13
- package/fesm2022/ng-nest-ui-message.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-notification.mjs +13 -13
- package/fesm2022/ng-nest-ui-notification.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-outlet.mjs +8 -8
- package/fesm2022/ng-nest-ui-page-header.mjs +11 -11
- package/fesm2022/ng-nest-ui-pagination.mjs +11 -11
- 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 +11 -11
- package/fesm2022/ng-nest-ui-popover.mjs +25 -21
- package/fesm2022/ng-nest-ui-popover.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-portal.mjs +7 -7
- package/fesm2022/ng-nest-ui-progress.mjs +11 -11
- package/fesm2022/ng-nest-ui-prompts.mjs +11 -11
- package/fesm2022/ng-nest-ui-radio.mjs +12 -12
- package/fesm2022/ng-nest-ui-radio.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-rate.mjs +12 -12
- package/fesm2022/ng-nest-ui-rate.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-resizable.mjs +11 -11
- package/fesm2022/ng-nest-ui-resizable.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-result.mjs +11 -11
- package/fesm2022/ng-nest-ui-ripple.mjs +11 -11
- package/fesm2022/ng-nest-ui-ripple.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-scrollable.mjs +8 -8
- package/fesm2022/ng-nest-ui-scrollable.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-select.mjs +34 -26
- package/fesm2022/ng-nest-ui-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-sender.mjs +15 -15
- package/fesm2022/ng-nest-ui-sender.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-skeleton.mjs +11 -11
- package/fesm2022/ng-nest-ui-slider-select.mjs +13 -13
- package/fesm2022/ng-nest-ui-slider-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-slider.mjs +12 -12
- package/fesm2022/ng-nest-ui-slider.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-statistic.mjs +18 -18
- package/fesm2022/ng-nest-ui-steps.mjs +11 -11
- package/fesm2022/ng-nest-ui-suggestion.mjs +11 -11
- package/fesm2022/ng-nest-ui-switch.mjs +12 -12
- package/fesm2022/ng-nest-ui-switch.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-table-view.mjs +60 -60
- package/fesm2022/ng-nest-ui-table-view.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-table.mjs +60 -49
- package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tabs.mjs +30 -30
- package/fesm2022/ng-nest-ui-tabs.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tag.mjs +29 -19
- package/fesm2022/ng-nest-ui-tag.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-text-retract.mjs +11 -11
- package/fesm2022/ng-nest-ui-textarea.mjs +12 -12
- package/fesm2022/ng-nest-ui-textarea.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-theme.mjs +11 -11
- package/fesm2022/ng-nest-ui-thought-chain.mjs +11 -11
- package/fesm2022/ng-nest-ui-time-ago.mjs +7 -7
- package/fesm2022/ng-nest-ui-time-picker.mjs +31 -29
- 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-timeline.mjs +11 -11
- package/fesm2022/ng-nest-ui-tooltip.mjs +27 -74
- package/fesm2022/ng-nest-ui-tooltip.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-transfer.mjs +12 -12
- package/fesm2022/ng-nest-ui-transfer.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree-file.mjs +11 -11
- package/fesm2022/ng-nest-ui-tree-select.mjs +27 -25
- package/fesm2022/ng-nest-ui-tree-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree.mjs +23 -23
- package/fesm2022/ng-nest-ui-tree.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-typography.mjs +11 -11
- package/fesm2022/ng-nest-ui-upload.mjs +31 -28
- package/fesm2022/ng-nest-ui-upload.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-welcome.mjs +11 -11
- package/message/index.d.ts +1 -3
- package/message-box/index.d.ts +4 -3
- package/notification/index.d.ts +1 -3
- package/package.json +52 -52
- package/popover/index.d.ts +2 -1
- package/radio/index.d.ts +1 -1
- package/select/index.d.ts +11 -2
- package/style/animates/base.scss +32 -0
- package/style/animates/conect.scss +32 -0
- package/style/animates/fade.scss +32 -0
- package/style/animates/index.scss +11 -0
- package/style/animates/move.scss +129 -0
- package/style/animates/opacity.scss +26 -0
- package/style/animates/slide.scss +113 -0
- package/style/core/index.css +353 -0
- package/style/core/index.css.map +1 -1
- package/style/core/index.scss +1 -6
- package/table/index.d.ts +15 -4
- package/table-view/index.d.ts +1 -1
- package/tag/index.d.ts +6 -1
- package/time-picker/index.d.ts +2 -1
- package/tooltip/index.d.ts +2 -12
- package/tree-select/index.d.ts +2 -1
package/auto-complete/index.d.ts
CHANGED
|
@@ -100,6 +100,13 @@ declare class XAutoCompleteProperty extends XAutoCompleteProperty_base {
|
|
|
100
100
|
* @en_US Display Border
|
|
101
101
|
*/
|
|
102
102
|
readonly bordered: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
103
|
+
/**
|
|
104
|
+
* @zh_CN 输入框样式
|
|
105
|
+
* @en_US Input Style
|
|
106
|
+
*/
|
|
107
|
+
readonly inputStyle: _angular_core.InputSignal<{
|
|
108
|
+
[style: string]: any;
|
|
109
|
+
} | undefined>;
|
|
103
110
|
/**
|
|
104
111
|
* @zh_CN 下拉框的最大高度
|
|
105
112
|
* @en_US The biggest height of the drop-down box
|
|
@@ -246,7 +253,7 @@ declare class XAutoCompleteProperty extends XAutoCompleteProperty_base {
|
|
|
246
253
|
*/
|
|
247
254
|
readonly nodeEmit: _angular_core.OutputEmitterRef<XAutoCompleteNode>;
|
|
248
255
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAutoCompleteProperty, 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>;
|
|
256
|
+
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; }; "inputStyle": { "alias": "inputStyle"; "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>;
|
|
250
257
|
}
|
|
251
258
|
/**
|
|
252
259
|
* AutoComplete Option
|
|
@@ -432,7 +439,8 @@ interface XAutoCompleteNode extends XParentIdentityProperty<XAutoCompleteNode> {
|
|
|
432
439
|
declare const XAutoCompletePortalPrefix = "x-auto-complete-portal";
|
|
433
440
|
|
|
434
441
|
declare class XAutoCompletePortalComponent implements OnInit {
|
|
435
|
-
|
|
442
|
+
animateEnter: string;
|
|
443
|
+
animateLeave: string;
|
|
436
444
|
done(): void;
|
|
437
445
|
start(): void;
|
|
438
446
|
list: _angular_core.Signal<XListComponent>;
|
package/cascade/index.d.ts
CHANGED
|
@@ -437,7 +437,8 @@ type XCascadeVariant = XVariant;
|
|
|
437
437
|
declare const XCascadePortalPrefix = "x-cascade-portal";
|
|
438
438
|
|
|
439
439
|
declare class XCascadePortalComponent implements OnInit {
|
|
440
|
-
|
|
440
|
+
animateEnter: string;
|
|
441
|
+
animateLeave: string;
|
|
441
442
|
done(): void;
|
|
442
443
|
start(): void;
|
|
443
444
|
value: _angular_core.InputSignal<any>;
|
package/checkbox/index.d.ts
CHANGED
|
@@ -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/collapse/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
4
4
|
import { XBoolean, XTemplate, XProperty } from '@ng-nest/ui/core';
|
|
5
|
-
import { AnimationEvent } from '@angular/animations';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Collapse
|
|
@@ -181,9 +180,7 @@ declare class XCollapseComponent extends XCollapseProperty {
|
|
|
181
180
|
declare class XCollapsePanelComponent extends XCollapsePanelProperty implements OnInit {
|
|
182
181
|
index: _angular_core.WritableSignal<number>;
|
|
183
182
|
collapseComponent: XCollapseComponent | null;
|
|
184
|
-
show: _angular_core.WritableSignal<boolean>;
|
|
185
183
|
activeSignal: _angular_core.WritableSignal<boolean>;
|
|
186
|
-
done(event: AnimationEvent): void;
|
|
187
184
|
ngOnInit(): void;
|
|
188
185
|
headerClick(): void;
|
|
189
186
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XCollapsePanelComponent, never>;
|
package/color-picker/index.d.ts
CHANGED
|
@@ -354,7 +354,8 @@ type XColorPickerVariant = XVariant;
|
|
|
354
354
|
declare const XColorPickerPortalPrefix = "x-color-picker-portal";
|
|
355
355
|
|
|
356
356
|
declare class XColorPickerPortalComponent implements OnInit, OnChanges, AfterViewInit {
|
|
357
|
-
|
|
357
|
+
animateEnter: string;
|
|
358
|
+
animateLeave: string;
|
|
358
359
|
done(): void;
|
|
359
360
|
start(): void;
|
|
360
361
|
panelRef: _angular_core.Signal<ElementRef<any>>;
|
package/core/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
2
1
|
import { Observable, Subject, BehaviorSubject } from 'rxjs';
|
|
3
2
|
import * as i0 from '@angular/core';
|
|
4
3
|
import { TemplateRef, SimpleChange, InputSignal, WritableSignal, Renderer2, InjectionToken, RendererFactory2 } from '@angular/core';
|
|
@@ -99,69 +98,6 @@ declare function XKebabToCamel(str: string): string;
|
|
|
99
98
|
*/
|
|
100
99
|
declare function XSleep(time: number): Promise<unknown>;
|
|
101
100
|
|
|
102
|
-
/**
|
|
103
|
-
* @zh_CN 动画执行时间
|
|
104
|
-
* @en_US Animation execution time
|
|
105
|
-
*/
|
|
106
|
-
declare enum XDuration {
|
|
107
|
-
Slow = "0.3s",
|
|
108
|
-
Base = "0.2s",
|
|
109
|
-
Fast = "0.1s"
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* @zh_CN 淡入淡出动画
|
|
114
|
-
* @en_US Fade into the animation
|
|
115
|
-
*/
|
|
116
|
-
declare const XFadeAnimation: AnimationTriggerMetadata;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @zh_CN 抽屉动画
|
|
120
|
-
* @en_US Drawer animation
|
|
121
|
-
*/
|
|
122
|
-
declare const XSlideAnimation: AnimationTriggerMetadata;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* @zh_CN 放置动画
|
|
126
|
-
* @en_US Drop animation
|
|
127
|
-
*/
|
|
128
|
-
declare const XDropAnimation: AnimationTriggerMetadata;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* @zh_CN 移入移出动画
|
|
132
|
-
* @en_US Move in the animation
|
|
133
|
-
*/
|
|
134
|
-
declare const XMoveAnimation: AnimationTriggerMetadata;
|
|
135
|
-
declare const XMoveBoxAnimation: AnimationTriggerMetadata;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* @zh_CN 弹框连接时的动画,只处理 Y 轴
|
|
139
|
-
* @en_US The animation when the bomb frame is connected, only the y-axis
|
|
140
|
-
*/
|
|
141
|
-
declare const XConnectBaseAnimation: AnimationTriggerMetadata;
|
|
142
|
-
/**
|
|
143
|
-
* @zh_CN 弹框连接时的动画,缩放
|
|
144
|
-
* @en_US The animation when the bomb frame is connected, zoomed in
|
|
145
|
-
*/
|
|
146
|
-
declare const XBaseAnimation: AnimationTriggerMetadata;
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* @zh_CN Badge 动画
|
|
150
|
-
* @en_US Badge animation
|
|
151
|
-
*/
|
|
152
|
-
declare const XBadgeAnimation: AnimationTriggerMetadata;
|
|
153
|
-
/**
|
|
154
|
-
* @zh_CN Badge 独立存在时的动画
|
|
155
|
-
* @en_US The animation when Badge exists independently
|
|
156
|
-
*/
|
|
157
|
-
declare const XBadgeStandaloneAnimation: AnimationTriggerMetadata;
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* @zh_CN 透明度淡入淡出动画
|
|
161
|
-
* @en_US The transparency fades into the animation
|
|
162
|
-
*/
|
|
163
|
-
declare const XOpacityAnimation: AnimationTriggerMetadata;
|
|
164
|
-
|
|
165
101
|
/**
|
|
166
102
|
* @zh_CN data 数据类型
|
|
167
103
|
* 通用的泛型数据类型,一般是指数组、可订阅对象并且流数据为数组类型、函数等
|
|
@@ -1481,6 +1417,7 @@ interface XDialogConfig {
|
|
|
1481
1417
|
resizable?: boolean;
|
|
1482
1418
|
maximize?: boolean;
|
|
1483
1419
|
hasBackdrop?: boolean;
|
|
1420
|
+
keyboard?: boolean;
|
|
1484
1421
|
className?: string;
|
|
1485
1422
|
buttonsCenter?: boolean;
|
|
1486
1423
|
}
|
|
@@ -1735,6 +1672,7 @@ interface XTableConfig {
|
|
|
1735
1672
|
bodyInnerHTML?: boolean;
|
|
1736
1673
|
virtualScroll?: boolean;
|
|
1737
1674
|
rowHeight?: number;
|
|
1675
|
+
headerHeight?: number;
|
|
1738
1676
|
itemSize?: number;
|
|
1739
1677
|
bordered?: boolean;
|
|
1740
1678
|
allowSelectRow?: boolean;
|
|
@@ -2049,5 +1987,5 @@ declare class XInnerHTMLComponent {
|
|
|
2049
1987
|
static ɵcmp: i0.ɵɵComponentDeclaration<XInnerHTMLComponent, "[x-inner-html], x-inner-html", never, { "html": { "alias": "html"; "required": true; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2050
1988
|
}
|
|
2051
1989
|
|
|
2052
|
-
export { XAddDays, XAddHours, XAddMilliseconds, XAddMinutes, XAddMonths, XAddSeconds, XAddYears,
|
|
1990
|
+
export { XAddDays, XAddHours, XAddMilliseconds, XAddMinutes, XAddMonths, XAddSeconds, XAddYears, XCamelToKebab, XChunk, XClamp, XClearClass, XClearClassSignal, XCloneDeep, XComputed, XComputedStyle, XConfigService, XDataConvert, XDateQuarter, XDateWeek, XDateWeekYear, XDateYearQuarter, XDateYearWeek, XDrop, XFileSize, XFillDefault, XGetChildren, XGroupBy, XGuid, XHasChildren, XHasIn, XHttpService, XIdentity, XInnerHTMLComponent, XInputBoolean, XInputCssPixelValue, XInputNumber, XInvertKeyValues, XIsArray, XIsBoolean, XIsChange, XIsDate, XIsEmpty, XIsFunction, XIsInputSignal, XIsNil, XIsNotNil, XIsNull, XIsNumber, XIsObject, XIsObjectArray, XIsObservable, XIsRegExp, XIsString, XIsTemplateRef, XIsType, XIsUndefined, XIsValue, XIsValueArray, XIsXTemplate, XKebabToCamel, XMixColors, XOrderBy, XParentPath, XParents, XPreloadingStrategyService, XProperty, XPropertyFunction, XRemove, XRemoveNgTag, XRepositoryAbstract, XRepositoryService, XRequestAnimationFrame, XResize, XReuseStrategyService, XSetData, XSetFlex, XSleep, XStorageService, XStripTags, XThemeService, XToBoolean, XToCssPixelValue, XToCssPx, XToCssRem, XToDataArray, XToDataConvert, XToDate, XToHex, XToNumber, XToRgb, XToString, XWarnIconTypeNotFound, XWarnSVGTagNotFound, X_CONFIG, X_THEME, X_THEME_AMOUNTS, X_THEME_BACKGROUNDS, X_THEME_BLACK_MERGE, X_THEME_BORDERS, X_THEME_COLORS, X_THEME_COLOR_KEYS, X_THEME_DARK_COLORS, X_THEME_EXCHANGES, X_THEME_LIGHT_COLORS, X_THEME_MERGE, X_THEME_PREFIX, X_THEME_TEXTS, X_THEME_VARS, X_THEME_VARS_KEYS };
|
|
2053
1991
|
export type { XAffixConfig, XAlertConfig, XAlign, XAnchorConfig, XAsideConfig, XAttachmentsConfig, XAutoCompleteConfig, XAvatarConfig, XBackTopConfig, XBadgeConfgig, XBoolean, XBubbleConfig, XBubblesConfig, XButtonConfig, XButtonsConfig, XCalendarConfig, XCardConfig, XCarouselConfig, XCascadeConfig, XCheckboxConfig, XClassMap, XColConfig, XCollapseConfig, XColorConfig, XColorPickerConfig, XColors, XColorsTheme, XCommentConfig, XComponentConfig, XComponentConfigKey, XConfig, XConfigKey, XContainerConfig, XController, XCorner, XCountdownConfig, XCoversationsConfig, XCrumbComfig, XData, XDataArray, XDate, XDatePickerConfig, XDateRangeConfig, XDescriptionConfig, XDialogConfig, XDirection, XDisplayDirection, XDrawerConfig, XDropdownConfig, XEffect, XEmptyConfig, XFileCardConfig, XFilter, XFindConfig, XFit, XFloatLabel, XFooterConfig, XFormConfig, XGroupItem, XHeaderConfig, XHighlightConfig, XIconConfig, XId, XIdentityProperty, XImageConfig, XInnerConfig, XInputConfig, XInputGroupConfig, XInputNumberConfig, XJustify, XKeywordConfig, XLinkConfig, XListConfig, XListOptionConfig, XLoadingConfig, XMenuConfig, XMessageBoxConfig, XMessageConfig, XNotificationConfig, XNumber, XOperation, XOutletConfig, XPageHeaderConfig, XPaginationConfig, XParentIdentityProperty, XPatternConfig, XPlace, XPlacement, XPopconfirmConfig, XPopoverConfig, XPortalConfig, XPosition, XPositionLeftRight, XPositionTopBottom, XProgressConfing, XPromptsConfig, XPropDecorator, XQuery, XRGBColor, XRadioConfig, XRateConfig, XRepositoryInput, XResizeObserver, XResizeObserverEntry, XResponseSize, XResultConfig, XResultList, XRippleConfig, XRouteReuseStorage, XRowConfig, XSelectConfig, XSenderConfig, XShadow, XShape, XSize, XSkeletonConfig, XSliderConfig, XSliderSelectConfig, XSort, XStatisticConfig, XStatus, XStepsConfig, XStyle, XStyleMap, XSuggestionConfig, XSwitchConfig, XTableConfig, XTableViewConfig, XTabsConfig, XTagConfig, XTemplate, XTextAlign, XTextRetractConfig, XTextareaConfig, XTheme, XThemeConfig, XThemeKey, XThoughtChainConfig, XTimeAgoConfig, XTimePickerConfig, XTimeRangeConfig, XTimelineConfig, XTooltipConfig, XTransferConfig, XTreeConfig, XTreeFileConfig, XTreeSelectConfig, XTrigger, XType, XTypeFunc, XUploadConfig, XVariant, XVarsTheme, XWelcomeConfig };
|
package/date-picker/index.d.ts
CHANGED
|
@@ -103,6 +103,13 @@ declare class XDatePickerProperty extends XDatePickerProperty_base {
|
|
|
103
103
|
* @en_US Display Border
|
|
104
104
|
*/
|
|
105
105
|
readonly bordered: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
106
|
+
/**
|
|
107
|
+
* @zh_CN 输入框样式
|
|
108
|
+
* @en_US Input Style
|
|
109
|
+
*/
|
|
110
|
+
readonly inputStyle: _angular_core.InputSignal<{
|
|
111
|
+
[style: string]: any;
|
|
112
|
+
} | undefined>;
|
|
106
113
|
/**
|
|
107
114
|
* @zh_CN 快捷选择按钮,自定义或直接设置今天(today),昨天(yesterday),明天(tomorrow)
|
|
108
115
|
* @en_US Quick selection button, support today, yesterday, tomorrow
|
|
@@ -239,7 +246,7 @@ declare class XDatePickerProperty extends XDatePickerProperty_base {
|
|
|
239
246
|
*/
|
|
240
247
|
readonly nodeEmit: _angular_core.OutputEmitterRef<number>;
|
|
241
248
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XDatePickerProperty, never>;
|
|
242
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XDatePickerProperty, "x-date-picker-property", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "preset": { "alias": "preset"; "required": false; "isSignal": true; }; "extraFooter": { "alias": "extraFooter"; "required": false; "isSignal": true; }; "disabledDate": { "alias": "disabledDate"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "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>;
|
|
249
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XDatePickerProperty, "x-date-picker-property", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "inputStyle": { "alias": "inputStyle"; "required": false; "isSignal": true; }; "preset": { "alias": "preset"; "required": false; "isSignal": true; }; "extraFooter": { "alias": "extraFooter"; "required": false; "isSignal": true; }; "disabledDate": { "alias": "disabledDate"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "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>;
|
|
243
250
|
}
|
|
244
251
|
/**
|
|
245
252
|
* DatePicker Option
|
|
@@ -501,6 +508,13 @@ declare class XDateRangeProperty extends XDateRangeProperty_base {
|
|
|
501
508
|
* @en_US Display Border
|
|
502
509
|
*/
|
|
503
510
|
readonly bordered: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
511
|
+
/**
|
|
512
|
+
* @zh_CN 输入框样式
|
|
513
|
+
* @en_US Input Style
|
|
514
|
+
*/
|
|
515
|
+
readonly inputStyle: _angular_core.InputSignal<{
|
|
516
|
+
[style: string]: any;
|
|
517
|
+
} | undefined>;
|
|
504
518
|
/**
|
|
505
519
|
* @zh_CN 快捷选择按钮,自定义或直接设置本周(thisWeek)、上周(lastWeek)、下周(nextWeek)、本月(thisMonth)、上一月(lastMonth)、下一月(nextMonth)、本年(thisYear)、去年(lastYear)、明年(nextYear)
|
|
506
520
|
* @en_US Quick selection button, support thisWeek, lastWeek, nextWeek, thisMonth, lastMonth, nextMonth, thisYear, lastYear, nextYear
|
|
@@ -622,7 +636,7 @@ declare class XDateRangeProperty extends XDateRangeProperty_base {
|
|
|
622
636
|
*/
|
|
623
637
|
readonly nodeEmit: _angular_core.OutputEmitterRef<number[]>;
|
|
624
638
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XDateRangeProperty, never>;
|
|
625
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XDateRangeProperty, "x-date-range-property", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "preset": { "alias": "preset"; "required": false; "isSignal": true; }; "extraFooter": { "alias": "extraFooter"; "required": false; "isSignal": true; }; "disabledDate": { "alias": "disabledDate"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "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; }; "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; }; "inputValidator": { "alias": "inputValidator"; "required": false; "isSignal": true; }; }, { "nodeEmit": "nodeEmit"; }, never, never, true, never>;
|
|
639
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XDateRangeProperty, "x-date-range-property", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "inputStyle": { "alias": "inputStyle"; "required": false; "isSignal": true; }; "preset": { "alias": "preset"; "required": false; "isSignal": true; }; "extraFooter": { "alias": "extraFooter"; "required": false; "isSignal": true; }; "disabledDate": { "alias": "disabledDate"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "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; }; "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; }; "inputValidator": { "alias": "inputValidator"; "required": false; "isSignal": true; }; }, { "nodeEmit": "nodeEmit"; }, never, never, true, never>;
|
|
626
640
|
}
|
|
627
641
|
/**
|
|
628
642
|
* DateRange Option
|
|
@@ -1395,7 +1409,8 @@ declare class XPickerYearProperty extends XProperty {
|
|
|
1395
1409
|
}
|
|
1396
1410
|
|
|
1397
1411
|
declare class XDatePickerPortalComponent implements AfterViewInit {
|
|
1398
|
-
|
|
1412
|
+
animateEnter: string;
|
|
1413
|
+
animateLeave: string;
|
|
1399
1414
|
done(): void;
|
|
1400
1415
|
start(): void;
|
|
1401
1416
|
private i18n;
|
|
@@ -1805,7 +1820,8 @@ declare class XPickerDateComponent extends XPickerDateProperty implements OnChan
|
|
|
1805
1820
|
}
|
|
1806
1821
|
|
|
1807
1822
|
declare class XDateRangePortalComponent implements AfterViewInit {
|
|
1808
|
-
|
|
1823
|
+
animateEnter: string;
|
|
1824
|
+
animateLeave: string;
|
|
1809
1825
|
done(): void;
|
|
1810
1826
|
start(): void;
|
|
1811
1827
|
datePipe: DatePipe;
|
package/dialog/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
|
6
6
|
import { XTemplate, XPlace, XNumber, XStatus, XBoolean, XEffect, XProperty, XConfigService, XDialogConfig } from '@ng-nest/ui/core';
|
|
7
7
|
import { XPortalService, XPortalOverlayRef } from '@ng-nest/ui/portal';
|
|
8
8
|
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal, ComponentType } from '@angular/cdk/portal';
|
|
9
|
-
import { AnimationEvent } from '@angular/animations';
|
|
10
9
|
import * as i1 from '@angular/cdk/drag-drop';
|
|
11
10
|
import { CdkDragHandle, CdkDrag, CdkDragEnd } from '@angular/cdk/drag-drop';
|
|
12
11
|
import { OverlayRef, BlockScrollStrategy } from '@angular/cdk/overlay';
|
|
@@ -56,6 +55,7 @@ declare class XDialogRef<C> {
|
|
|
56
55
|
fullscreen: boolean;
|
|
57
56
|
dragHandleRefs: (XDialogDragHandleDirective | CdkDragHandle)[];
|
|
58
57
|
afterClose: Subject<any>;
|
|
58
|
+
unsubject: Subject<void>;
|
|
59
59
|
private _isFristFullscreen;
|
|
60
60
|
constructor(overlayRef: OverlayRef, containerInstance: XDialogPortalComponent, renderer: Renderer2, portalService: XPortalService);
|
|
61
61
|
close(result?: any): void;
|
|
@@ -64,9 +64,10 @@ declare class XDialogRef<C> {
|
|
|
64
64
|
|
|
65
65
|
declare class XDialogPortalComponent extends BasePortalOutlet {
|
|
66
66
|
placement: _angular_core.ModelSignal<XDialogAnimationState>;
|
|
67
|
-
get
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
get enimateEnter(): string;
|
|
68
|
+
get enimateLeave(): string;
|
|
69
|
+
done(event: AnimationEvent): void;
|
|
70
|
+
start(event: AnimationEvent): void;
|
|
70
71
|
renderer: Renderer2;
|
|
71
72
|
changeDetectorRef: ChangeDetectorRef;
|
|
72
73
|
portalOutlet: _angular_core.Signal<CdkPortalOutlet>;
|
|
@@ -93,6 +94,7 @@ declare class XDialogPortalComponent extends BasePortalOutlet {
|
|
|
93
94
|
[key: string]: any;
|
|
94
95
|
};
|
|
95
96
|
ngOnInit(): void;
|
|
97
|
+
ngAfterViewInit(): void;
|
|
96
98
|
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
97
99
|
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
98
100
|
onDragEnded(event: CdkDragEnd): void;
|
|
@@ -231,6 +233,11 @@ declare class XDialogProperty extends XDialogProperty_base {
|
|
|
231
233
|
* @en_US Whether to display the background mask
|
|
232
234
|
*/
|
|
233
235
|
readonly hasBackdrop: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
236
|
+
/**
|
|
237
|
+
* @zh_CN 是否支持键盘 esc 关闭
|
|
238
|
+
* @en_US Whether to support keyboard esc to close
|
|
239
|
+
*/
|
|
240
|
+
readonly keyboard: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
234
241
|
/**
|
|
235
242
|
* @zh_CN 自定义样式名
|
|
236
243
|
* @en_US Custom style name
|
|
@@ -282,7 +289,7 @@ declare class XDialogProperty extends XDialogProperty_base {
|
|
|
282
289
|
*/
|
|
283
290
|
readonly closeDone: _angular_core.OutputEmitterRef<any>;
|
|
284
291
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XDialogProperty, never>;
|
|
285
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XDialogProperty, "x-dialog-property", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "hideClose": { "alias": "hideClose"; "required": false; "isSignal": true; }; "closeText": { "alias": "closeText"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "offsetLeft": { "alias": "offsetLeft"; "required": false; "isSignal": true; }; "offsetTop": { "alias": "offsetTop"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "effect": { "alias": "effect"; "required": false; "isSignal": true; }; "footer": { "alias": "footer"; "required": false; "isSignal": true; }; "showCancel": { "alias": "showCancel"; "required": false; "isSignal": true; }; "cancelText": { "alias": "cancelText"; "required": false; "isSignal": true; }; "showConfirm": { "alias": "showConfirm"; "required": false; "isSignal": true; }; "confirmText": { "alias": "confirmText"; "required": false; "isSignal": true; }; "backdropClose": { "alias": "backdropClose"; "required": false; "isSignal": true; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "buttonsCenter": { "alias": "buttonsCenter"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "maximize": { "alias": "maximize"; "required": false; "isSignal": true; }; "beforeClose": { "alias": "beforeClose"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; "cancel": "cancel"; "confirm": "confirm"; "close": "close"; "showDone": "showDone"; "closeDone": "closeDone"; }, never, never, true, never>;
|
|
292
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XDialogProperty, "x-dialog-property", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "hideClose": { "alias": "hideClose"; "required": false; "isSignal": true; }; "closeText": { "alias": "closeText"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "offsetLeft": { "alias": "offsetLeft"; "required": false; "isSignal": true; }; "offsetTop": { "alias": "offsetTop"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "effect": { "alias": "effect"; "required": false; "isSignal": true; }; "footer": { "alias": "footer"; "required": false; "isSignal": true; }; "showCancel": { "alias": "showCancel"; "required": false; "isSignal": true; }; "cancelText": { "alias": "cancelText"; "required": false; "isSignal": true; }; "showConfirm": { "alias": "showConfirm"; "required": false; "isSignal": true; }; "confirmText": { "alias": "confirmText"; "required": false; "isSignal": true; }; "backdropClose": { "alias": "backdropClose"; "required": false; "isSignal": true; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; "isSignal": true; }; "keyboard": { "alias": "keyboard"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "buttonsCenter": { "alias": "buttonsCenter"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "maximize": { "alias": "maximize"; "required": false; "isSignal": true; }; "beforeClose": { "alias": "beforeClose"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; "cancel": "cancel"; "confirm": "confirm"; "close": "close"; "showDone": "showDone"; "closeDone": "closeDone"; }, never, never, true, never>;
|
|
286
293
|
}
|
|
287
294
|
/**
|
|
288
295
|
* Dialog Container
|
|
@@ -376,6 +383,13 @@ interface XDialogRefOption {
|
|
|
376
383
|
* @withConfig true
|
|
377
384
|
*/
|
|
378
385
|
minHeight?: string;
|
|
386
|
+
/**
|
|
387
|
+
* @zh_CN 是否支持键盘 esc 关闭
|
|
388
|
+
* @en_US Whether to support keyboard esc to close
|
|
389
|
+
* @default true
|
|
390
|
+
* @withConfig true
|
|
391
|
+
*/
|
|
392
|
+
keyboard?: boolean;
|
|
379
393
|
/**
|
|
380
394
|
* @zh_CN 数据,通过 "@Inject(X_DIALOG_DATA)" 来接收数据
|
|
381
395
|
* @en_US Data. Receive data by "@Inject(X_DIALOG_DATA)"
|
|
@@ -397,9 +411,8 @@ type XDialogAnimationState = XPlace | 'void';
|
|
|
397
411
|
* @en_US Dialog animation Event
|
|
398
412
|
*/
|
|
399
413
|
interface XDialogAnimationEvent {
|
|
400
|
-
|
|
401
|
-
action: 'start' | '
|
|
402
|
-
totalTime: number;
|
|
414
|
+
animationName: string;
|
|
415
|
+
action: 'start' | 'end';
|
|
403
416
|
}
|
|
404
417
|
/**
|
|
405
418
|
* @zh_CN 关闭的回调函数类型
|
|
@@ -438,16 +451,19 @@ declare class XDialogContainerComponent extends XDialogContainerProperty {
|
|
|
438
451
|
}
|
|
439
452
|
|
|
440
453
|
declare class XDialogComponent extends XDialogProperty implements OnInit, AfterViewInit {
|
|
454
|
+
private static dialogOverlayRefs;
|
|
441
455
|
private viewContainerRef;
|
|
442
456
|
private protalService;
|
|
443
457
|
private overlay;
|
|
444
458
|
private i18n;
|
|
445
459
|
private unSubject;
|
|
460
|
+
private document;
|
|
446
461
|
get getVisible(): boolean;
|
|
447
462
|
clsName: string;
|
|
448
463
|
dialogTpl: _angular_core.Signal<TemplateRef<void>>;
|
|
449
464
|
dialogRef: XDialogOverlayRef;
|
|
450
465
|
backdropClick$: Subscription;
|
|
466
|
+
keyboard$: Subscription;
|
|
451
467
|
scrollStrategy: BlockScrollStrategy;
|
|
452
468
|
locale: _angular_core.Signal<XI18nDialog | {
|
|
453
469
|
cancelText: string;
|
|
@@ -494,9 +510,7 @@ declare class XDialogComponent extends XDialogProperty implements OnInit, AfterV
|
|
|
494
510
|
onSize(): void;
|
|
495
511
|
onMaximize(): void;
|
|
496
512
|
onMinimize(): void;
|
|
497
|
-
moveDone($event:
|
|
498
|
-
toState: string;
|
|
499
|
-
}): void;
|
|
513
|
+
moveDone($event: AnimationEvent): void;
|
|
500
514
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XDialogComponent, never>;
|
|
501
515
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XDialogComponent, "x-dialog", never, {}, {}, never, ["*"], true, never>;
|
|
502
516
|
}
|
|
@@ -514,7 +528,9 @@ declare class XDialogService {
|
|
|
514
528
|
private configService;
|
|
515
529
|
private overlay;
|
|
516
530
|
private rendererFactory;
|
|
531
|
+
private document;
|
|
517
532
|
private renderer;
|
|
533
|
+
private dialogRefs;
|
|
518
534
|
constructor();
|
|
519
535
|
create<T>(content: TemplateRef<any> | ComponentType<T>, option?: XDialogRefOption): XDialogRef<T>;
|
|
520
536
|
private setMaximize;
|
package/drawer/index.d.ts
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import {
|
|
4
|
+
import { InjectionToken, ViewContainerRef, AfterViewInit, OnDestroy, TemplateRef } from '@angular/core';
|
|
5
5
|
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
6
|
-
import {
|
|
6
|
+
import { XPosition, XTemplate, XNumber, XBoolean, XProperty, XDrawerConfig } from '@ng-nest/ui/core';
|
|
7
7
|
import { XPortalOverlayRef } from '@ng-nest/ui/portal';
|
|
8
|
-
import {
|
|
9
|
-
import { AnimationEvent } from '@angular/animations';
|
|
8
|
+
import { Portal, CdkPortalOutlet, ComponentType } from '@angular/cdk/portal';
|
|
10
9
|
import { OverlayRef } from '@angular/cdk/overlay';
|
|
11
10
|
|
|
12
|
-
declare class XDrawerPortalComponent
|
|
11
|
+
declare class XDrawerPortalComponent {
|
|
13
12
|
_has: boolean;
|
|
14
|
-
placement
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
placement: i0.InputSignal<XPosition | undefined>;
|
|
14
|
+
portal: Portal<any>;
|
|
15
|
+
get animateEnter(): string;
|
|
16
|
+
get animateLeave(): string;
|
|
17
17
|
portalOutlet: i0.Signal<CdkPortalOutlet>;
|
|
18
|
-
|
|
19
|
-
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
20
|
-
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
18
|
+
ngAfterViewInit(): void;
|
|
21
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerPortalComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XDrawerPortalComponent, "x-drawer-portal", never, {}, {}, never, never, true, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XDrawerPortalComponent, "x-drawer-portal", never, { "placement": { "alias": "placement"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
23
21
|
}
|
|
24
22
|
|
|
25
23
|
declare class XDrawerRef<C> {
|
package/dropdown/index.d.ts
CHANGED
|
@@ -113,7 +113,8 @@ type XDropdownTrigger = XTrigger;
|
|
|
113
113
|
declare const XDropdownPortalPrefix = "x-dropdown-portal";
|
|
114
114
|
|
|
115
115
|
declare class XDropdownPortalComponent {
|
|
116
|
-
|
|
116
|
+
animateEnter: string;
|
|
117
|
+
animateLeave: string;
|
|
117
118
|
done(): void;
|
|
118
119
|
start(): void;
|
|
119
120
|
data: _angular_core.InputSignal<XDropdownNode[]>;
|
|
@@ -42,29 +42,29 @@ class XAffixProperty extends XPropertyFunction(X_AFFIX_CONFIG_NAME) {
|
|
|
42
42
|
*/
|
|
43
43
|
this.left = input(this.config?.left, ...(ngDevMode ? [{ debugName: "left", transform: XToCssPixelValue }] : [{ transform: XToCssPixelValue }]));
|
|
44
44
|
}
|
|
45
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
46
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
45
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: XAffixProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
46
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.5", type: XAffixProperty, isStandalone: true, selector: "x-affix-property", inputs: { top: { classPropertyName: "top", publicName: "top", isSignal: true, isRequired: false, transformFunction: null }, left: { classPropertyName: "left", publicName: "left", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
47
47
|
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: XAffixProperty, decorators: [{
|
|
49
49
|
type: Component,
|
|
50
50
|
args: [{ selector: `${XAffixPrefix}-property`, template: '' }]
|
|
51
|
-
}] });
|
|
51
|
+
}], propDecorators: { top: [{ type: i0.Input, args: [{ isSignal: true, alias: "top", required: false }] }], left: [{ type: i0.Input, args: [{ isSignal: true, alias: "left", required: false }] }] } });
|
|
52
52
|
|
|
53
53
|
class XAffixComponent extends XAffixProperty {
|
|
54
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
55
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
54
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: XAffixComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
55
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.5", type: XAffixComponent, isStandalone: true, selector: "x-affix", usesInheritance: true, ngImport: i0, template: "<div #affix class=\"x-affix\" [style.top]=\"top()\" [style.left]=\"left()\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".x-affix{margin:0;padding:0}.x-affix{position:sticky;display:inline-block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: XAffixComponent, decorators: [{
|
|
58
58
|
type: Component,
|
|
59
59
|
args: [{ selector: `${XAffixPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #affix class=\"x-affix\" [style.top]=\"top()\" [style.left]=\"left()\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".x-affix{margin:0;padding:0}.x-affix{position:sticky;display:inline-block}\n"] }]
|
|
60
60
|
}] });
|
|
61
61
|
|
|
62
62
|
class XAffixModule {
|
|
63
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
64
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
65
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
63
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: XAffixModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
64
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.5", ngImport: i0, type: XAffixModule, imports: [XAffixComponent], exports: [XAffixComponent] }); }
|
|
65
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: XAffixModule }); }
|
|
66
66
|
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.5", ngImport: i0, type: XAffixModule, decorators: [{
|
|
68
68
|
type: NgModule,
|
|
69
69
|
args: [{
|
|
70
70
|
exports: [XAffixComponent],
|