@ng-nest/ui 20.1.0 → 20.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alert/index.d.ts +21 -2
- package/auto-complete/index.d.ts +3 -3
- package/avatar/index.d.ts +64 -2
- package/bubble/index.d.ts +190 -0
- package/calendar/index.d.ts +2 -1
- package/cascade/index.d.ts +3 -3
- package/color-picker/index.d.ts +3 -3
- package/core/index.d.ts +21 -4
- package/date-picker/index.d.ts +4 -4
- package/dropdown/index.d.ts +4 -4
- package/fesm2022/ng-nest-ui-affix.mjs +11 -13
- package/fesm2022/ng-nest-ui-affix.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-alert.mjs +28 -15
- package/fesm2022/ng-nest-ui-alert.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-anchor.mjs +18 -22
- package/fesm2022/ng-nest-ui-anchor.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-api.mjs +7 -7
- package/fesm2022/ng-nest-ui-auto-complete.mjs +13 -13
- package/fesm2022/ng-nest-ui-avatar.mjs +28 -16
- package/fesm2022/ng-nest-ui-avatar.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-back-top.mjs +10 -10
- package/fesm2022/ng-nest-ui-badge.mjs +10 -10
- package/fesm2022/ng-nest-ui-base-form.mjs +7 -7
- package/fesm2022/ng-nest-ui-bubble.mjs +374 -0
- package/fesm2022/ng-nest-ui-bubble.mjs.map +1 -0
- package/fesm2022/ng-nest-ui-button.mjs +16 -16
- package/fesm2022/ng-nest-ui-calendar.mjs +10 -10
- package/fesm2022/ng-nest-ui-card.mjs +10 -10
- package/fesm2022/ng-nest-ui-carousel.mjs +16 -16
- package/fesm2022/ng-nest-ui-cascade.mjs +13 -13
- package/fesm2022/ng-nest-ui-checkbox.mjs +11 -11
- package/fesm2022/ng-nest-ui-checkbox.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-collapse.mjs +16 -16
- package/fesm2022/ng-nest-ui-color-picker.mjs +16 -16
- package/fesm2022/ng-nest-ui-color.mjs +10 -10
- package/fesm2022/ng-nest-ui-comment.mjs +16 -16
- package/fesm2022/ng-nest-ui-container.mjs +31 -31
- package/fesm2022/ng-nest-ui-core.mjs +21 -18
- package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-crumb.mjs +10 -10
- package/fesm2022/ng-nest-ui-date-picker.mjs +49 -49
- package/fesm2022/ng-nest-ui-description.mjs +16 -16
- package/fesm2022/ng-nest-ui-dialog.mjs +40 -40
- package/fesm2022/ng-nest-ui-doc.mjs +7 -7
- package/fesm2022/ng-nest-ui-drag.mjs +10 -10
- package/fesm2022/ng-nest-ui-drawer.mjs +31 -31
- package/fesm2022/ng-nest-ui-dropdown.mjs +13 -13
- package/fesm2022/ng-nest-ui-empty.mjs +10 -10
- package/fesm2022/ng-nest-ui-examples.mjs +7 -7
- package/fesm2022/ng-nest-ui-find.mjs +10 -10
- package/fesm2022/ng-nest-ui-form.mjs +16 -16
- package/fesm2022/ng-nest-ui-highlight.mjs +13 -13
- package/fesm2022/ng-nest-ui-i18n.mjs +13 -13
- package/fesm2022/ng-nest-ui-icon.mjs +13 -13
- package/fesm2022/ng-nest-ui-image.mjs +19 -19
- package/fesm2022/ng-nest-ui-inner.mjs +10 -10
- package/fesm2022/ng-nest-ui-input-number.mjs +10 -10
- package/fesm2022/ng-nest-ui-input.mjs +18 -18
- package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-keyword.mjs +10 -10
- package/fesm2022/ng-nest-ui-layout.mjs +16 -16
- package/fesm2022/ng-nest-ui-link.mjs +10 -10
- package/fesm2022/ng-nest-ui-list.mjs +19 -19
- package/fesm2022/ng-nest-ui-loading.mjs +16 -11
- package/fesm2022/ng-nest-ui-loading.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-menu.mjs +16 -16
- package/fesm2022/ng-nest-ui-message-box.mjs +10 -10
- package/fesm2022/ng-nest-ui-message.mjs +10 -10
- package/fesm2022/ng-nest-ui-notification.mjs +10 -10
- package/fesm2022/ng-nest-ui-outlet.mjs +7 -7
- package/fesm2022/ng-nest-ui-page-header.mjs +10 -10
- package/fesm2022/ng-nest-ui-pagination.mjs +10 -10
- package/fesm2022/ng-nest-ui-pattern.mjs +7 -7
- package/fesm2022/ng-nest-ui-popconfirm.mjs +10 -10
- package/fesm2022/ng-nest-ui-popover.mjs +13 -13
- package/fesm2022/ng-nest-ui-portal.mjs +7 -7
- package/fesm2022/ng-nest-ui-progress.mjs +10 -10
- package/fesm2022/ng-nest-ui-radio.mjs +10 -10
- package/fesm2022/ng-nest-ui-rate.mjs +10 -10
- package/fesm2022/ng-nest-ui-resizable.mjs +10 -10
- package/fesm2022/ng-nest-ui-result.mjs +10 -10
- package/fesm2022/ng-nest-ui-ripple.mjs +10 -10
- package/fesm2022/ng-nest-ui-scrollable.mjs +7 -7
- package/fesm2022/ng-nest-ui-select.mjs +13 -13
- package/fesm2022/ng-nest-ui-sender.mjs +189 -0
- package/fesm2022/ng-nest-ui-sender.mjs.map +1 -0
- package/fesm2022/ng-nest-ui-skeleton.mjs +10 -10
- package/fesm2022/ng-nest-ui-slider-select.mjs +10 -10
- package/fesm2022/ng-nest-ui-slider.mjs +10 -10
- package/fesm2022/ng-nest-ui-statistic.mjs +16 -16
- package/fesm2022/ng-nest-ui-steps.mjs +10 -10
- package/fesm2022/ng-nest-ui-switch.mjs +10 -10
- package/fesm2022/ng-nest-ui-table-view.mjs +58 -58
- package/fesm2022/ng-nest-ui-table.mjs +34 -34
- package/fesm2022/ng-nest-ui-tabs.mjs +25 -25
- package/fesm2022/ng-nest-ui-tag.mjs +10 -10
- package/fesm2022/ng-nest-ui-text-retract.mjs +10 -10
- package/fesm2022/ng-nest-ui-textarea.mjs +11 -11
- package/fesm2022/ng-nest-ui-theme.mjs +10 -10
- package/fesm2022/ng-nest-ui-time-ago.mjs +7 -7
- package/fesm2022/ng-nest-ui-time-picker.mjs +16 -16
- package/fesm2022/ng-nest-ui-time-range.mjs +7 -7
- package/fesm2022/ng-nest-ui-timeline.mjs +10 -10
- package/fesm2022/ng-nest-ui-tooltip.mjs +13 -13
- package/fesm2022/ng-nest-ui-transfer.mjs +10 -10
- package/fesm2022/ng-nest-ui-tree-file.mjs +10 -10
- package/fesm2022/ng-nest-ui-tree-select.mjs +13 -13
- package/fesm2022/ng-nest-ui-tree.mjs +19 -19
- package/fesm2022/ng-nest-ui-typography.mjs +10 -10
- package/fesm2022/ng-nest-ui-upload.mjs +13 -13
- package/fesm2022/ng-nest-ui.mjs +2 -0
- package/fesm2022/ng-nest-ui.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/loading/index.d.ts +6 -1
- package/message-box/index.d.ts +5 -4
- package/package.json +21 -13
- package/select/index.d.ts +3 -3
- package/sender/index.d.ts +169 -0
- package/steps/index.d.ts +2 -1
- package/time-picker/index.d.ts +3 -3
- package/tree-select/index.d.ts +3 -3
|
@@ -114,10 +114,10 @@ class XUploadProperty extends XFormControlFunction(X_UPLOAD_CONFIG_NAME) {
|
|
|
114
114
|
*/
|
|
115
115
|
this.uploadError = output();
|
|
116
116
|
}
|
|
117
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
118
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.
|
|
117
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XUploadProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
118
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.0", type: XUploadProperty, isStandalone: true, selector: "x-upload-property", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, action: { classPropertyName: "action", publicName: "action", isSignal: true, isRequired: false, transformFunction: null }, accept: { classPropertyName: "accept", publicName: "accept", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, imgFallback: { classPropertyName: "imgFallback", publicName: "imgFallback", isSignal: true, isRequired: false, transformFunction: null }, imgCut: { classPropertyName: "imgCut", publicName: "imgCut", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, download: { classPropertyName: "download", publicName: "download", isSignal: true, isRequired: false, transformFunction: null }, multipleModel: { classPropertyName: "multipleModel", publicName: "multipleModel", isSignal: true, isRequired: false, transformFunction: null }, filesTpl: { classPropertyName: "filesTpl", publicName: "filesTpl", isSignal: true, isRequired: false, transformFunction: null }, maxLimit: { classPropertyName: "maxLimit", publicName: "maxLimit", isSignal: true, isRequired: false, transformFunction: null }, headers: { classPropertyName: "headers", publicName: "headers", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { removeClick: "removeClick", uploadReady: "uploadReady", uploading: "uploading", uploadSuccess: "uploadSuccess", uploadError: "uploadError" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
119
119
|
}
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XUploadProperty, decorators: [{
|
|
121
121
|
type: Component,
|
|
122
122
|
args: [{ selector: `${XUploadPrefix}-property`, template: '' }]
|
|
123
123
|
}] });
|
|
@@ -309,10 +309,10 @@ class XUploadPortalComponent {
|
|
|
309
309
|
});
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
313
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.
|
|
312
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XUploadPortalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
313
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.0", type: XUploadPortalComponent, isStandalone: true, selector: "x-upload-portal", inputs: { file: { classPropertyName: "file", publicName: "file", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closePortal: "closePortal", surePortal: "surePortal" }, viewQueries: [{ propertyName: "imgRef", first: true, predicate: ["imgRef"], descendants: true, isSignal: true }, { propertyName: "imgClipRef", first: true, predicate: ["imgClipRef"], descendants: true, isSignal: true }, { propertyName: "boundaryRef", first: true, predicate: ["boundaryRef"], descendants: true, isSignal: true }, { propertyName: "cutRef", first: true, predicate: ["cutRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"x-upload-portal {{ cutType() }}\" [class.x-upload-portal-ready]=\"ready()\">\r\n <div class=\"x-upload-portal-tools\">\r\n <div class=\"x-upload-portal-title\">\r\n <x-icon type=\"fto-image\"></x-icon>\r\n <span>{{ name() }}</span>\r\n </div>\r\n <x-icon class=\"x-upload-portal-close\" type=\"fto-x\" (click)=\"closePortal.emit()\"></x-icon>\r\n </div>\r\n <div class=\"x-upload-portal-img\">\r\n <img #imgRef class=\"x-upload-portal-full-img\" [src]=\"url()\" />\r\n <div #boundaryRef class=\"x-upload-portal-boundary\">\r\n <img #imgClipRef class=\"x-upload-portal-clip-img\" [src]=\"url()\" />\r\n <div #cutRef class=\"x-upload-portal-cut\">\r\n <div class=\"x-upload-portal-cut-top-start\"></div>\r\n <div class=\"x-upload-portal-cut-top\"></div>\r\n <div class=\"x-upload-portal-cut-top-end\"></div>\r\n <div class=\"x-upload-portal-cut-left\"></div>\r\n <div class=\"x-upload-portal-cut-right\"></div>\r\n <div class=\"x-upload-portal-cut-bottom-start\"></div>\r\n <div class=\"x-upload-portal-cut-bottom\"></div>\r\n <div class=\"x-upload-portal-cut-bottom-end\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"x-upload-portal-bottom-tools\">\r\n <x-icon class=\"x-upload-portal-close\" type=\"fto-check\" (click)=\"sure()\"></x-icon>\r\n </div>\r\n</div>\r\n", styles: ["x-upload-portal{width:100%;height:100%}.x-upload-portal{margin:0;padding:0}.x-upload-portal{display:flex;position:relative;width:100%;height:100%;flex-direction:column}.x-upload-portal-tools{width:100%;height:3.25rem;display:flex;align-items:center;justify-content:space-between;position:absolute;z-index:1;color:#fff}.x-upload-portal-bottom-tools{width:100%;height:3.25rem;position:absolute;display:flex;justify-content:center;align-items:center;z-index:1;color:#fff;bottom:0}.x-upload-portal-title{display:flex;align-items:center;margin:0 1rem}.x-upload-portal-title>x-icon{font-size:1.25rem}.x-upload-portal-title>span{margin-left:.5rem}.x-upload-portal-close{font-size:1.75rem;padding:0 1rem;color:#fffc;transition:color var(--x-animation-duration-base);cursor:pointer}.x-upload-portal-close:hover{color:#fff}.x-upload-portal-img{flex:1;width:100%;position:relative;overflow:auto}.x-upload-portal-full-img{max-width:85%;max-height:85%;width:auto;height:auto;position:absolute;left:50%;top:50%;transform:translate3d(-50%,-50%,0)}.x-upload-portal-clip-img{position:absolute}.x-upload-portal-ready .x-upload-portal-full-img{max-width:inherit;max-height:inherit}.x-upload-portal-boundary{width:0;height:0;left:50%;top:50%;transform:translate3d(-50%,-50%,0);position:relative;background-color:#00000080}.x-upload-portal-cut{width:0;height:0;border:.125rem var(--x-border-style) rgba(255,255,255,.8);display:flex;align-items:center;justify-content:center;position:relative;cursor:move}.x-upload-portal-cut-top-start,.x-upload-portal-cut-top,.x-upload-portal-cut-top-end,.x-upload-portal-cut-left,.x-upload-portal-cut-right,.x-upload-portal-cut-bottom-start,.x-upload-portal-cut-bottom,.x-upload-portal-cut-bottom-end{width:.825rem;height:.825rem;background:#fff;position:absolute;border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius)}.x-upload-portal-cut-top-start{top:-.4125rem;left:-.4125rem;cursor:se-resize}.x-upload-portal-cut-top{top:-.4125rem;cursor:s-resize}.x-upload-portal-cut-top-end{top:-.4125rem;right:-.4125rem;cursor:ne-resize}.x-upload-portal-cut-left{left:-.4125rem;cursor:w-resize}.x-upload-portal-cut-right{right:-.4125rem;cursor:w-resize}.x-upload-portal-cut-bottom-start{left:-.4125rem;bottom:-.4125rem;cursor:ne-resize}.x-upload-portal-cut-bottom{bottom:-.4125rem;cursor:s-resize}.x-upload-portal-cut-bottom-end{right:-.4125rem;bottom:-.4125rem;cursor:se-resize}.x-upload-portal-top-start{cursor:se-resize}.x-upload-portal-top{cursor:s-resize}.x-upload-portal-top-end{cursor:ne-resize}.x-upload-portal-left,.x-upload-portal-right{cursor:w-resize}.x-upload-portal-bottom-start{cursor:ne-resize}.x-upload-portal-bottom{cursor:s-resize}.x-upload-portal-bottom-end{cursor:se-resize}\n"], dependencies: [{ kind: "component", type: XIconComponent, selector: "x-icon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
314
314
|
}
|
|
315
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XUploadPortalComponent, decorators: [{
|
|
316
316
|
type: Component,
|
|
317
317
|
args: [{ selector: `${XUploadPortalPrefix}`, imports: [XIconComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"x-upload-portal {{ cutType() }}\" [class.x-upload-portal-ready]=\"ready()\">\r\n <div class=\"x-upload-portal-tools\">\r\n <div class=\"x-upload-portal-title\">\r\n <x-icon type=\"fto-image\"></x-icon>\r\n <span>{{ name() }}</span>\r\n </div>\r\n <x-icon class=\"x-upload-portal-close\" type=\"fto-x\" (click)=\"closePortal.emit()\"></x-icon>\r\n </div>\r\n <div class=\"x-upload-portal-img\">\r\n <img #imgRef class=\"x-upload-portal-full-img\" [src]=\"url()\" />\r\n <div #boundaryRef class=\"x-upload-portal-boundary\">\r\n <img #imgClipRef class=\"x-upload-portal-clip-img\" [src]=\"url()\" />\r\n <div #cutRef class=\"x-upload-portal-cut\">\r\n <div class=\"x-upload-portal-cut-top-start\"></div>\r\n <div class=\"x-upload-portal-cut-top\"></div>\r\n <div class=\"x-upload-portal-cut-top-end\"></div>\r\n <div class=\"x-upload-portal-cut-left\"></div>\r\n <div class=\"x-upload-portal-cut-right\"></div>\r\n <div class=\"x-upload-portal-cut-bottom-start\"></div>\r\n <div class=\"x-upload-portal-cut-bottom\"></div>\r\n <div class=\"x-upload-portal-cut-bottom-end\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"x-upload-portal-bottom-tools\">\r\n <x-icon class=\"x-upload-portal-close\" type=\"fto-check\" (click)=\"sure()\"></x-icon>\r\n </div>\r\n</div>\r\n", styles: ["x-upload-portal{width:100%;height:100%}.x-upload-portal{margin:0;padding:0}.x-upload-portal{display:flex;position:relative;width:100%;height:100%;flex-direction:column}.x-upload-portal-tools{width:100%;height:3.25rem;display:flex;align-items:center;justify-content:space-between;position:absolute;z-index:1;color:#fff}.x-upload-portal-bottom-tools{width:100%;height:3.25rem;position:absolute;display:flex;justify-content:center;align-items:center;z-index:1;color:#fff;bottom:0}.x-upload-portal-title{display:flex;align-items:center;margin:0 1rem}.x-upload-portal-title>x-icon{font-size:1.25rem}.x-upload-portal-title>span{margin-left:.5rem}.x-upload-portal-close{font-size:1.75rem;padding:0 1rem;color:#fffc;transition:color var(--x-animation-duration-base);cursor:pointer}.x-upload-portal-close:hover{color:#fff}.x-upload-portal-img{flex:1;width:100%;position:relative;overflow:auto}.x-upload-portal-full-img{max-width:85%;max-height:85%;width:auto;height:auto;position:absolute;left:50%;top:50%;transform:translate3d(-50%,-50%,0)}.x-upload-portal-clip-img{position:absolute}.x-upload-portal-ready .x-upload-portal-full-img{max-width:inherit;max-height:inherit}.x-upload-portal-boundary{width:0;height:0;left:50%;top:50%;transform:translate3d(-50%,-50%,0);position:relative;background-color:#00000080}.x-upload-portal-cut{width:0;height:0;border:.125rem var(--x-border-style) rgba(255,255,255,.8);display:flex;align-items:center;justify-content:center;position:relative;cursor:move}.x-upload-portal-cut-top-start,.x-upload-portal-cut-top,.x-upload-portal-cut-top-end,.x-upload-portal-cut-left,.x-upload-portal-cut-right,.x-upload-portal-cut-bottom-start,.x-upload-portal-cut-bottom,.x-upload-portal-cut-bottom-end{width:.825rem;height:.825rem;background:#fff;position:absolute;border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius)}.x-upload-portal-cut-top-start{top:-.4125rem;left:-.4125rem;cursor:se-resize}.x-upload-portal-cut-top{top:-.4125rem;cursor:s-resize}.x-upload-portal-cut-top-end{top:-.4125rem;right:-.4125rem;cursor:ne-resize}.x-upload-portal-cut-left{left:-.4125rem;cursor:w-resize}.x-upload-portal-cut-right{right:-.4125rem;cursor:w-resize}.x-upload-portal-cut-bottom-start{left:-.4125rem;bottom:-.4125rem;cursor:ne-resize}.x-upload-portal-cut-bottom{bottom:-.4125rem;cursor:s-resize}.x-upload-portal-cut-bottom-end{right:-.4125rem;bottom:-.4125rem;cursor:se-resize}.x-upload-portal-top-start{cursor:se-resize}.x-upload-portal-top{cursor:s-resize}.x-upload-portal-top-end{cursor:ne-resize}.x-upload-portal-left,.x-upload-portal-right{cursor:w-resize}.x-upload-portal-bottom-start{cursor:ne-resize}.x-upload-portal-bottom{cursor:s-resize}.x-upload-portal-bottom-end{cursor:se-resize}\n"] }]
|
|
318
318
|
}] });
|
|
@@ -514,10 +514,10 @@ class XUploadComponent extends XUploadProperty {
|
|
|
514
514
|
imgLoad(file) {
|
|
515
515
|
file.state = 'success';
|
|
516
516
|
}
|
|
517
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
518
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
517
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
518
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: XUploadComponent, isStandalone: true, selector: "x-upload", providers: [XValueAccessor(XUploadComponent)], viewQueries: [{ propertyName: "file", first: true, predicate: ["file"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #upload class=\"x-upload x-upload-{{ type() }}\" [class.x-disabled]=\"disabledComputed()\">\r\n <input\r\n class=\"x-upload-input\"\r\n type=\"file\"\r\n #file\r\n (change)=\"change($event)\"\r\n [attr.accept]=\"acceptSignal()\"\r\n [multiple]=\"multiple()\"\r\n style=\"display: none\"\r\n />\r\n\r\n @switch (type()) {\r\n @case ('list') {\r\n <ng-container *ngTemplateOutlet=\"uploadBtnTpl\"></ng-container>\r\n <ng-container *xOutlet=\"filesTpl(); context: { $files: files() }\">\r\n <ul class=\"x-upload-files\">\r\n @for (file of files(); track file; let i = $index) {\r\n <li [class.x-upload-disabled]=\"!download()\">\r\n @if (download()) {\r\n <a [href]=\"file.url\" target=\"_blank\" [title]=\"file.name\">\r\n <x-icon type=\"fto-file-text\"></x-icon>\r\n <span class=\"x-upload-filename\">{{ file.name }}</span>\r\n </a>\r\n } @else {\r\n <a>\r\n <x-icon type=\"fto-file-text\"></x-icon>\r\n <span class=\"x-upload-filename\">{{ file.name }}</span>\r\n </a>\r\n }\r\n\r\n @switch (file.state) {\r\n @case ('ready') {\r\n <x-icon class=\"x-upload-state\" type=\"fto-clock\"></x-icon>\r\n }\r\n @case ('uploading') {\r\n <span class=\"x-upload-percent\">{{ file.percent }}%</span>\r\n }\r\n @case ('success') {\r\n <x-icon class=\"x-upload-state success\" type=\"fto-check\"></x-icon>\r\n }\r\n @case ('error') {\r\n <x-icon class=\"x-upload-state error\" type=\"fto-info\"></x-icon>\r\n }\r\n }\r\n @if (file.state !== 'uploading') {\r\n <x-button icon=\"fto-x\" (click)=\"remove(file, i)\" closable onlyIcon flat size=\"mini\"></x-button>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n </ng-container>\r\n }\r\n @case ('img') {\r\n <x-image-group>\r\n @for (file of files(); track file; let i = $index) {\r\n <x-image\r\n [src]=\"file.url\"\r\n (load)=\"imgLoad(file)\"\r\n (error)=\"imgError($event, file)\"\r\n class=\"{{ file.state }}\"\r\n [previewTpl]=\"previewTpl\"\r\n [fallback]=\"imgFallback()\"\r\n >\r\n </x-image>\r\n <ng-template #previewTpl let-image=\"$image\">\r\n @if (file.state == 'uploading') {\r\n <div class=\"x-upload-uploading\">\r\n <x-progress [percent]=\"file.percent!\" info=\"false\"></x-progress>\r\n </div>\r\n }\r\n <div class=\"x-image-overlay\">\r\n @switch (file.state) {\r\n @case ('ready') {\r\n <x-icon class=\"x-upload-state\" type=\"fto-clock\"></x-icon>\r\n }\r\n @case ('success') {\r\n <x-icon type=\"fto-eye\" (click)=\"image.onPreview()\"></x-icon>\r\n }\r\n }\r\n @if (imgCut() && file.state === 'success') {\r\n <x-icon type=\"fto-crop\" (click)=\"onImgCut(file, i)\"></x-icon>\r\n }\r\n @if (file.state !== 'uploading') {\r\n <x-icon type=\"fto-trash-2\" (click)=\"remove(file, i)\"></x-icon>\r\n }\r\n </div>\r\n </ng-template>\r\n }\r\n <ng-container *ngTemplateOutlet=\"uploadBtnTpl\"></ng-container>\r\n </x-image-group>\r\n }\r\n }\r\n</div>\r\n\r\n<ng-template #uploadBtnTpl>\r\n <div class=\"x-upload-buttons\" [class.x-upload-buttons-template]=\"isTemplateText()\" (click)=\"uploadClick()\">\r\n <ng-container *xOutlet=\"getText()\">\r\n <x-button icon=\"fto-upload\" class=\"x-upload-text\" [disabled]=\"disabledComputed()\" type=\"primary\">{{\r\n getText()\r\n }}</x-button>\r\n </ng-container>\r\n </div>\r\n</ng-template>\r\n", styles: [".x-upload{margin:0;padding:0}.x-upload{color:var(--x-text);font-size:var(--x-font-size)}.x-upload-buttons{display:inline-flex}.x-upload-buttons>.x-button:not(:first-child){margin-left:.4rem}.x-upload-buttons-template{cursor:pointer}.x-upload-files{padding:0;margin:.4rem 0 0;list-style:none}.x-upload-files>li{margin:0;padding:0 .2rem;height:calc(var(--x-font-size) + .6rem);line-height:calc(var(--x-font-size) + .6rem);display:flex;align-items:center;overflow:hidden;cursor:pointer;border-radius:var(--x-border-radius)}.x-upload-files>li .x-icon{color:var(--x-text-400);font-size:1rem}.x-upload-files>li .x-icon.x-upload-state.success{color:var(--x-success)}.x-upload-files>li .x-icon.x-upload-state.error{color:var(--x-danger)}.x-upload-files>li a{flex:1;display:flex;align-items:center;height:calc(var(--x-font-size) + .6rem);line-height:calc(var(--x-font-size) + .6rem);color:inherit;text-decoration:none;overflow:hidden}.x-upload-files>li span.x-upload-filename{margin-left:.2rem;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.x-upload-files>li span.x-upload-percent{color:var(--x-text-400)}.x-upload-files>li>.x-button{display:none;padding:0}.x-upload-files>li:not(:first-child){margin-top:.2rem}.x-upload-files>li.x-upload-disabled{cursor:default}.x-upload-files>li.x-upload-disabled>a{cursor:default}.x-upload-files>li:hover:not(.x-upload-disabled){color:var(--x-primary);background-color:var(--x-background)}.x-upload-files>li:hover>.x-button{display:inline-block}.x-upload-files>li:hover>.x-upload-state{display:none}.x-upload-img{display:flex;flex-wrap:wrap}.x-upload-img .x-upload-buttons-template{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;width:6.25rem;height:6.25rem;margin-right:.5rem;margin-bottom:.5rem;border:var(--x-border-width) dashed var(--x-border);background:var(--x-background);border-radius:var(--x-border-radius);transition:border-color var(--x-animation-duration-base)}.x-upload-img .x-upload-buttons-template:hover{border-color:var(--x-primary)}.x-upload-img .x-image{height:6.25rem;width:6.25rem;padding:.325rem;border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);transition:border-color var(--x-animation-duration-base);margin-right:.5rem;margin-bottom:.5rem;position:relative;display:flex;align-items:center;justify-content:center}.x-upload-img .x-image-overlay{border-radius:var(--x-border-radius)}.x-upload-img .x-image-overlay x-icon{font-size:1rem;color:#fffc;padding:.25rem;transition:color var(--x-animation-duration-base)}.x-upload-img .x-image-overlay x-icon:hover{color:#fff}.x-upload-img x-image.error .x-image{border-color:var(--x-danger)}.x-upload-img x-image.error .x-image-error-icon{color:var(--x-danger)}.x-upload-uploading{position:absolute;margin-top:3rem;width:calc(100% - 1rem)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: XIconComponent, selector: "x-icon" }, { kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }, { kind: "component", type: XButtonComponent, selector: "x-button" }, { kind: "component", type: XImageGroupComponent, selector: "x-image-group" }, { kind: "component", type: XImageComponent, selector: "x-image" }, { kind: "component", type: XProgressComponent, selector: "x-progress" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
519
519
|
}
|
|
520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XUploadComponent, decorators: [{
|
|
521
521
|
type: Component,
|
|
522
522
|
args: [{ selector: `${XUploadPrefix}`, imports: [
|
|
523
523
|
NgTemplateOutlet,
|
|
@@ -531,11 +531,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImpor
|
|
|
531
531
|
}], ctorParameters: () => [] });
|
|
532
532
|
|
|
533
533
|
class XUploadModule {
|
|
534
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
535
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
536
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
534
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
535
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.0", ngImport: i0, type: XUploadModule, imports: [XUploadComponent], exports: [XUploadComponent] }); }
|
|
536
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XUploadModule, imports: [XUploadComponent] }); }
|
|
537
537
|
}
|
|
538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XUploadModule, decorators: [{
|
|
539
539
|
type: NgModule,
|
|
540
540
|
args: [{
|
|
541
541
|
exports: [XUploadComponent],
|
package/fesm2022/ng-nest-ui.mjs
CHANGED
|
@@ -76,6 +76,8 @@ export * from '@ng-nest/ui/menu';
|
|
|
76
76
|
export * from '@ng-nest/ui/page-header';
|
|
77
77
|
export * from '@ng-nest/ui/steps';
|
|
78
78
|
export * from '@ng-nest/ui/tabs';
|
|
79
|
+
export * from '@ng-nest/ui/bubble';
|
|
80
|
+
export * from '@ng-nest/ui/sender';
|
|
79
81
|
export * from '@ng-nest/ui/doc';
|
|
80
82
|
export * from '@ng-nest/ui/examples';
|
|
81
83
|
export * from '@ng-nest/ui/api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-nest-ui.mjs","sources":["../../../../lib/ng-nest/ui/index.ts","../../../../lib/ng-nest/ui/ng-nest-ui.ts"],"sourcesContent":["/**\r\n * Core\r\n */\r\nexport * from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Basic\r\n */\r\nexport * from '@ng-nest/ui/button';\r\nexport * from '@ng-nest/ui/color';\r\nexport * from '@ng-nest/ui/container';\r\nexport * from '@ng-nest/ui/layout';\r\nexport * from '@ng-nest/ui/icon';\r\nexport * from '@ng-nest/ui/i18n';\r\nexport * from '@ng-nest/ui/link';\r\nexport * from '@ng-nest/ui/theme';\r\n\r\n/**\r\n * Data\r\n */\r\nexport * from '@ng-nest/ui/avatar';\r\nexport * from '@ng-nest/ui/badge';\r\nexport * from '@ng-nest/ui/card';\r\nexport * from '@ng-nest/ui/carousel';\r\nexport * from '@ng-nest/ui/collapse';\r\nexport * from '@ng-nest/ui/calendar';\r\nexport * from '@ng-nest/ui/comment';\r\nexport * from '@ng-nest/ui/description';\r\nexport * from '@ng-nest/ui/empty';\r\nexport * from '@ng-nest/ui/image';\r\nexport * from '@ng-nest/ui/outlet';\r\nexport * from '@ng-nest/ui/pagination';\r\nexport * from '@ng-nest/ui/progress';\r\nexport * from '@ng-nest/ui/ripple';\r\nexport * from '@ng-nest/ui/resizable';\r\nexport * from '@ng-nest/ui/drag';\r\nexport * from '@ng-nest/ui/statistic';\r\nexport * from '@ng-nest/ui/table';\r\nexport * from '@ng-nest/ui/table-view';\r\nexport * from '@ng-nest/ui/tag';\r\nexport * from '@ng-nest/ui/text-retract';\r\nexport * from '@ng-nest/ui/time-ago';\r\nexport * from '@ng-nest/ui/time-range';\r\nexport * from '@ng-nest/ui/timeline';\r\nexport * from '@ng-nest/ui/tree';\r\nexport * from '@ng-nest/ui/tree-file';\r\nexport * from '@ng-nest/ui/keyword';\r\n\r\n/**\r\n * Feedback\r\n */\r\nexport * from '@ng-nest/ui/alert';\r\nexport * from '@ng-nest/ui/dialog';\r\nexport * from '@ng-nest/ui/drawer';\r\nexport * from '@ng-nest/ui/loading';\r\nexport * from '@ng-nest/ui/message';\r\nexport * from '@ng-nest/ui/message-box';\r\nexport * from '@ng-nest/ui/notification';\r\nexport * from '@ng-nest/ui/popconfirm';\r\nexport * from '@ng-nest/ui/popover';\r\nexport * from '@ng-nest/ui/result';\r\nexport * from '@ng-nest/ui/skeleton';\r\nexport * from '@ng-nest/ui/tooltip';\r\n\r\n/**\r\n * Form\r\n */\r\nexport * from '@ng-nest/ui/auto-complete';\r\nexport * from '@ng-nest/ui/base-form';\r\nexport * from '@ng-nest/ui/cascade';\r\nexport * from '@ng-nest/ui/checkbox';\r\nexport * from '@ng-nest/ui/color-picker';\r\nexport * from '@ng-nest/ui/date-picker';\r\nexport * from '@ng-nest/ui/form';\r\nexport * from '@ng-nest/ui/find';\r\nexport * from '@ng-nest/ui/input';\r\nexport * from '@ng-nest/ui/input-number';\r\nexport * from '@ng-nest/ui/list';\r\nexport * from '@ng-nest/ui/radio';\r\nexport * from '@ng-nest/ui/rate';\r\nexport * from '@ng-nest/ui/select';\r\nexport * from '@ng-nest/ui/slider-select';\r\nexport * from '@ng-nest/ui/switch';\r\nexport * from '@ng-nest/ui/time-picker';\r\nexport * from '@ng-nest/ui/transfer';\r\nexport * from '@ng-nest/ui/tree-select';\r\nexport * from '@ng-nest/ui/textarea';\r\nexport * from '@ng-nest/ui/upload';\r\n\r\n/**\r\n * Navigation\r\n */\r\nexport * from '@ng-nest/ui/affix';\r\nexport * from '@ng-nest/ui/anchor';\r\nexport * from '@ng-nest/ui/back-top';\r\nexport * from '@ng-nest/ui/crumb';\r\nexport * from '@ng-nest/ui/dropdown';\r\nexport * from '@ng-nest/ui/menu';\r\nexport * from '@ng-nest/ui/page-header';\r\nexport * from '@ng-nest/ui/steps';\r\nexport * from '@ng-nest/ui/tabs';\r\n\r\n/**\r\n * Others\r\n */\r\nexport * from '@ng-nest/ui/doc';\r\nexport * from '@ng-nest/ui/examples';\r\nexport * from '@ng-nest/ui/api';\r\nexport * from '@ng-nest/ui/pattern';\r\nexport * from '@ng-nest/ui/slider';\r\nexport * from '@ng-nest/ui/scrollable';\r\nexport * from '@ng-nest/ui/highlight';\r\nexport * from '@ng-nest/ui/inner';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ng-nest-ui.mjs","sources":["../../../../lib/ng-nest/ui/index.ts","../../../../lib/ng-nest/ui/ng-nest-ui.ts"],"sourcesContent":["/**\r\n * Core\r\n */\r\nexport * from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Basic\r\n */\r\nexport * from '@ng-nest/ui/button';\r\nexport * from '@ng-nest/ui/color';\r\nexport * from '@ng-nest/ui/container';\r\nexport * from '@ng-nest/ui/layout';\r\nexport * from '@ng-nest/ui/icon';\r\nexport * from '@ng-nest/ui/i18n';\r\nexport * from '@ng-nest/ui/link';\r\nexport * from '@ng-nest/ui/theme';\r\n\r\n/**\r\n * Data\r\n */\r\nexport * from '@ng-nest/ui/avatar';\r\nexport * from '@ng-nest/ui/badge';\r\nexport * from '@ng-nest/ui/card';\r\nexport * from '@ng-nest/ui/carousel';\r\nexport * from '@ng-nest/ui/collapse';\r\nexport * from '@ng-nest/ui/calendar';\r\nexport * from '@ng-nest/ui/comment';\r\nexport * from '@ng-nest/ui/description';\r\nexport * from '@ng-nest/ui/empty';\r\nexport * from '@ng-nest/ui/image';\r\nexport * from '@ng-nest/ui/outlet';\r\nexport * from '@ng-nest/ui/pagination';\r\nexport * from '@ng-nest/ui/progress';\r\nexport * from '@ng-nest/ui/ripple';\r\nexport * from '@ng-nest/ui/resizable';\r\nexport * from '@ng-nest/ui/drag';\r\nexport * from '@ng-nest/ui/statistic';\r\nexport * from '@ng-nest/ui/table';\r\nexport * from '@ng-nest/ui/table-view';\r\nexport * from '@ng-nest/ui/tag';\r\nexport * from '@ng-nest/ui/text-retract';\r\nexport * from '@ng-nest/ui/time-ago';\r\nexport * from '@ng-nest/ui/time-range';\r\nexport * from '@ng-nest/ui/timeline';\r\nexport * from '@ng-nest/ui/tree';\r\nexport * from '@ng-nest/ui/tree-file';\r\nexport * from '@ng-nest/ui/keyword';\r\n\r\n/**\r\n * Feedback\r\n */\r\nexport * from '@ng-nest/ui/alert';\r\nexport * from '@ng-nest/ui/dialog';\r\nexport * from '@ng-nest/ui/drawer';\r\nexport * from '@ng-nest/ui/loading';\r\nexport * from '@ng-nest/ui/message';\r\nexport * from '@ng-nest/ui/message-box';\r\nexport * from '@ng-nest/ui/notification';\r\nexport * from '@ng-nest/ui/popconfirm';\r\nexport * from '@ng-nest/ui/popover';\r\nexport * from '@ng-nest/ui/result';\r\nexport * from '@ng-nest/ui/skeleton';\r\nexport * from '@ng-nest/ui/tooltip';\r\n\r\n/**\r\n * Form\r\n */\r\nexport * from '@ng-nest/ui/auto-complete';\r\nexport * from '@ng-nest/ui/base-form';\r\nexport * from '@ng-nest/ui/cascade';\r\nexport * from '@ng-nest/ui/checkbox';\r\nexport * from '@ng-nest/ui/color-picker';\r\nexport * from '@ng-nest/ui/date-picker';\r\nexport * from '@ng-nest/ui/form';\r\nexport * from '@ng-nest/ui/find';\r\nexport * from '@ng-nest/ui/input';\r\nexport * from '@ng-nest/ui/input-number';\r\nexport * from '@ng-nest/ui/list';\r\nexport * from '@ng-nest/ui/radio';\r\nexport * from '@ng-nest/ui/rate';\r\nexport * from '@ng-nest/ui/select';\r\nexport * from '@ng-nest/ui/slider-select';\r\nexport * from '@ng-nest/ui/switch';\r\nexport * from '@ng-nest/ui/time-picker';\r\nexport * from '@ng-nest/ui/transfer';\r\nexport * from '@ng-nest/ui/tree-select';\r\nexport * from '@ng-nest/ui/textarea';\r\nexport * from '@ng-nest/ui/upload';\r\n\r\n/**\r\n * Navigation\r\n */\r\nexport * from '@ng-nest/ui/affix';\r\nexport * from '@ng-nest/ui/anchor';\r\nexport * from '@ng-nest/ui/back-top';\r\nexport * from '@ng-nest/ui/crumb';\r\nexport * from '@ng-nest/ui/dropdown';\r\nexport * from '@ng-nest/ui/menu';\r\nexport * from '@ng-nest/ui/page-header';\r\nexport * from '@ng-nest/ui/steps';\r\nexport * from '@ng-nest/ui/tabs';\r\n\r\n/**\r\n * AI\r\n */\r\nexport * from '@ng-nest/ui/bubble';\r\nexport * from '@ng-nest/ui/sender';\r\n\r\n/**\r\n * Others\r\n */\r\nexport * from '@ng-nest/ui/doc';\r\nexport * from '@ng-nest/ui/examples';\r\nexport * from '@ng-nest/ui/api';\r\nexport * from '@ng-nest/ui/pattern';\r\nexport * from '@ng-nest/ui/slider';\r\nexport * from '@ng-nest/ui/scrollable';\r\nexport * from '@ng-nest/ui/highlight';\r\nexport * from '@ng-nest/ui/inner';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG;;ACFH;;AAEG"}
|
package/index.d.ts
CHANGED
|
@@ -76,6 +76,8 @@ export * from '@ng-nest/ui/menu';
|
|
|
76
76
|
export * from '@ng-nest/ui/page-header';
|
|
77
77
|
export * from '@ng-nest/ui/steps';
|
|
78
78
|
export * from '@ng-nest/ui/tabs';
|
|
79
|
+
export * from '@ng-nest/ui/bubble';
|
|
80
|
+
export * from '@ng-nest/ui/sender';
|
|
79
81
|
export * from '@ng-nest/ui/doc';
|
|
80
82
|
export * from '@ng-nest/ui/examples';
|
|
81
83
|
export * from '@ng-nest/ui/api';
|
package/loading/index.d.ts
CHANGED
|
@@ -62,8 +62,13 @@ declare class XLoadingProperty extends XLoadingProperty_base {
|
|
|
62
62
|
* @en_US Background style
|
|
63
63
|
*/
|
|
64
64
|
readonly background: _angular_core.InputSignal<string | null>;
|
|
65
|
+
/**
|
|
66
|
+
* @zh_CN 行内显示
|
|
67
|
+
* @en_US Inline display
|
|
68
|
+
*/
|
|
69
|
+
readonly inline: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
65
70
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XLoadingProperty, never>;
|
|
66
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XLoadingProperty, "x-loading-property", never, { "loading": { "alias": "x-loading"; "required": false; "isSignal": true; }; "zIndex": { "alias": "zIndex"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "fullScreen": { "alias": "fullScreen"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
71
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XLoadingProperty, "x-loading-property", never, { "loading": { "alias": "x-loading"; "required": false; "isSignal": true; }; "zIndex": { "alias": "zIndex"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "fullScreen": { "alias": "fullScreen"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
67
72
|
}
|
|
68
73
|
|
|
69
74
|
declare class XLoadingComponent extends XLoadingProperty {
|
package/message-box/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import * as _ng_nest_ui_message_box from '@ng-nest/ui/message-box';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnInit, Renderer2, ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
1
4
|
import { XPlace, XStatus, XTemplate } from '@ng-nest/ui/core';
|
|
2
5
|
import { XAlertOption } from '@ng-nest/ui/alert';
|
|
3
6
|
import { XPortalOverlayRef } from '@ng-nest/ui/portal';
|
|
4
7
|
import { XInputType } from '@ng-nest/ui/input';
|
|
5
8
|
import { Observable } from 'rxjs';
|
|
6
|
-
import * as i0 from '@angular/core';
|
|
7
|
-
import { OnInit, Renderer2, ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
8
9
|
import { UntypedFormGroup } from '@angular/forms';
|
|
9
10
|
|
|
10
11
|
/**
|
|
@@ -191,8 +192,8 @@ declare class XMessageBoxComponent implements OnInit {
|
|
|
191
192
|
formGroup: UntypedFormGroup;
|
|
192
193
|
loading: boolean;
|
|
193
194
|
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
|
|
194
|
-
get msgInput(): XMessageBoxOption;
|
|
195
|
-
get msgOverlayRef(): XMessageBoxOverlayRef;
|
|
195
|
+
get msgInput(): _ng_nest_ui_message_box.XMessageBoxOption;
|
|
196
|
+
get msgOverlayRef(): _ng_nest_ui_message_box.XMessageBoxOverlayRef;
|
|
196
197
|
get getLabel(): string;
|
|
197
198
|
get getPattern(): RegExp;
|
|
198
199
|
ngOnInit(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-nest/ui",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://www.ngnest.com",
|
|
6
6
|
"author": "ng-nest",
|
|
@@ -45,30 +45,34 @@
|
|
|
45
45
|
"types": "./anchor/index.d.ts",
|
|
46
46
|
"default": "./fesm2022/ng-nest-ui-anchor.mjs"
|
|
47
47
|
},
|
|
48
|
+
"./auto-complete": {
|
|
49
|
+
"types": "./auto-complete/index.d.ts",
|
|
50
|
+
"default": "./fesm2022/ng-nest-ui-auto-complete.mjs"
|
|
51
|
+
},
|
|
48
52
|
"./api": {
|
|
49
53
|
"types": "./api/index.d.ts",
|
|
50
54
|
"default": "./fesm2022/ng-nest-ui-api.mjs"
|
|
51
55
|
},
|
|
56
|
+
"./back-top": {
|
|
57
|
+
"types": "./back-top/index.d.ts",
|
|
58
|
+
"default": "./fesm2022/ng-nest-ui-back-top.mjs"
|
|
59
|
+
},
|
|
52
60
|
"./avatar": {
|
|
53
61
|
"types": "./avatar/index.d.ts",
|
|
54
62
|
"default": "./fesm2022/ng-nest-ui-avatar.mjs"
|
|
55
63
|
},
|
|
56
|
-
"./auto-complete": {
|
|
57
|
-
"types": "./auto-complete/index.d.ts",
|
|
58
|
-
"default": "./fesm2022/ng-nest-ui-auto-complete.mjs"
|
|
59
|
-
},
|
|
60
64
|
"./badge": {
|
|
61
65
|
"types": "./badge/index.d.ts",
|
|
62
66
|
"default": "./fesm2022/ng-nest-ui-badge.mjs"
|
|
63
67
|
},
|
|
64
|
-
"./back-top": {
|
|
65
|
-
"types": "./back-top/index.d.ts",
|
|
66
|
-
"default": "./fesm2022/ng-nest-ui-back-top.mjs"
|
|
67
|
-
},
|
|
68
68
|
"./base-form": {
|
|
69
69
|
"types": "./base-form/index.d.ts",
|
|
70
70
|
"default": "./fesm2022/ng-nest-ui-base-form.mjs"
|
|
71
71
|
},
|
|
72
|
+
"./bubble": {
|
|
73
|
+
"types": "./bubble/index.d.ts",
|
|
74
|
+
"default": "./fesm2022/ng-nest-ui-bubble.mjs"
|
|
75
|
+
},
|
|
72
76
|
"./button": {
|
|
73
77
|
"types": "./button/index.d.ts",
|
|
74
78
|
"default": "./fesm2022/ng-nest-ui-button.mjs"
|
|
@@ -289,6 +293,10 @@
|
|
|
289
293
|
"types": "./select/index.d.ts",
|
|
290
294
|
"default": "./fesm2022/ng-nest-ui-select.mjs"
|
|
291
295
|
},
|
|
296
|
+
"./sender": {
|
|
297
|
+
"types": "./sender/index.d.ts",
|
|
298
|
+
"default": "./fesm2022/ng-nest-ui-sender.mjs"
|
|
299
|
+
},
|
|
292
300
|
"./skeleton": {
|
|
293
301
|
"types": "./skeleton/index.d.ts",
|
|
294
302
|
"default": "./fesm2022/ng-nest-ui-skeleton.mjs"
|
|
@@ -369,6 +377,10 @@
|
|
|
369
377
|
"types": "./tree/index.d.ts",
|
|
370
378
|
"default": "./fesm2022/ng-nest-ui-tree.mjs"
|
|
371
379
|
},
|
|
380
|
+
"./typography": {
|
|
381
|
+
"types": "./typography/index.d.ts",
|
|
382
|
+
"default": "./fesm2022/ng-nest-ui-typography.mjs"
|
|
383
|
+
},
|
|
372
384
|
"./tree-file": {
|
|
373
385
|
"types": "./tree-file/index.d.ts",
|
|
374
386
|
"default": "./fesm2022/ng-nest-ui-tree-file.mjs"
|
|
@@ -377,10 +389,6 @@
|
|
|
377
389
|
"types": "./tree-select/index.d.ts",
|
|
378
390
|
"default": "./fesm2022/ng-nest-ui-tree-select.mjs"
|
|
379
391
|
},
|
|
380
|
-
"./typography": {
|
|
381
|
-
"types": "./typography/index.d.ts",
|
|
382
|
-
"default": "./fesm2022/ng-nest-ui-typography.mjs"
|
|
383
|
-
},
|
|
384
392
|
"./upload": {
|
|
385
393
|
"types": "./upload/index.d.ts",
|
|
386
394
|
"default": "./fesm2022/ng-nest-ui-upload.mjs"
|
package/select/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
2
|
+
import { OverlayRef, OverlayConfig } from '@angular/cdk/overlay';
|
|
2
3
|
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
3
4
|
import { XBoolean, XTemplate, XNumber, XAlign, XJustify, XDirection, XSize, XData, XParentIdentityProperty, XVariant, XPlacement, XFloatLabel } from '@ng-nest/ui/core';
|
|
4
5
|
import * as _angular_core from '@angular/core';
|
|
@@ -10,7 +11,6 @@ import { XPortalOverlayRef } from '@ng-nest/ui/portal';
|
|
|
10
11
|
import { XInputComponent } from '@ng-nest/ui/input';
|
|
11
12
|
import { XListComponent } from '@ng-nest/ui/list';
|
|
12
13
|
import { XI18nSelect } from '@ng-nest/ui/i18n';
|
|
13
|
-
import { OverlayRef, OverlayConfig } from '@angular/cdk/overlay';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Select
|
|
@@ -670,7 +670,7 @@ declare class XSelectComponent extends XSelectProperty implements OnInit, OnChan
|
|
|
670
670
|
setInstance(): void;
|
|
671
671
|
nodeClick(node: XSelectNode, value?: XSelectNode[] | (string | number)[]): void;
|
|
672
672
|
selectAllNodes(value: XSelectNode[] | (string | number)[]): void;
|
|
673
|
-
setPlacement():
|
|
673
|
+
setPlacement(): _angular_cdk_overlay.PositionStrategy;
|
|
674
674
|
setPortal(): void;
|
|
675
675
|
onKeydown($event: KeyboardEvent): void;
|
|
676
676
|
onFocus(_event: Event): void;
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef, ElementRef } from '@angular/core';
|
|
3
|
+
import * as rxjs from 'rxjs';
|
|
4
|
+
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
5
|
+
import { XBoolean, XNumber } from '@ng-nest/ui/core';
|
|
6
|
+
|
|
7
|
+
declare const XSenderProperty_base: new () => {
|
|
8
|
+
config: _ng_nest_ui_core.XSenderConfig | undefined;
|
|
9
|
+
cdr: _angular_core.ChangeDetectorRef;
|
|
10
|
+
invalid: _angular_core.Signal<boolean>;
|
|
11
|
+
invalidPattern: _angular_core.Signal<boolean>;
|
|
12
|
+
requiredIsEmpty: _angular_core.Signal<boolean>;
|
|
13
|
+
invalidMessage: _angular_core.Signal<string>;
|
|
14
|
+
invalidIndex: _angular_core.Signal<number>;
|
|
15
|
+
value: _angular_core.WritableSignal<any>;
|
|
16
|
+
valueObservable: rxjs.Observable<any>;
|
|
17
|
+
validatorSignal: _angular_core.WritableSignal<boolean>;
|
|
18
|
+
disabledSignal: _angular_core.WritableSignal<boolean>;
|
|
19
|
+
requiredSignal: _angular_core.WritableSignal<boolean>;
|
|
20
|
+
patternSignal: _angular_core.WritableSignal<any>;
|
|
21
|
+
messageSignal: _angular_core.WritableSignal<string | string[]>;
|
|
22
|
+
requiredComputed: _angular_core.Signal<boolean>;
|
|
23
|
+
disabledComputed: _angular_core.Signal<boolean>;
|
|
24
|
+
validatorComputed: _angular_core.Signal<boolean>;
|
|
25
|
+
patternComputed: _angular_core.Signal<any>;
|
|
26
|
+
messageComputed: _angular_core.Signal<string | string[]>;
|
|
27
|
+
invalidInputValidator: _angular_core.WritableSignal<boolean>;
|
|
28
|
+
onChange: (value: any) => void;
|
|
29
|
+
onTouched: () => void;
|
|
30
|
+
writeValue(value: any): void;
|
|
31
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
32
|
+
registerOnTouched(fn: () => void): void;
|
|
33
|
+
setDisabledState(disabled: boolean): void;
|
|
34
|
+
formControlValidator(): void;
|
|
35
|
+
readonly validator: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
36
|
+
readonly label: _angular_core.InputSignal<_ng_nest_ui_core.XTemplate>;
|
|
37
|
+
readonly labelWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
38
|
+
readonly labelAlign: _angular_core.InputSignal<_ng_nest_ui_core.XAlign>;
|
|
39
|
+
readonly justify: _angular_core.InputSignal<_ng_nest_ui_core.XJustify>;
|
|
40
|
+
readonly align: _angular_core.InputSignal<_ng_nest_ui_core.XAlign>;
|
|
41
|
+
readonly direction: _angular_core.InputSignal<_ng_nest_ui_core.XDirection>;
|
|
42
|
+
readonly size: _angular_core.InputSignal<_ng_nest_ui_core.XSize>;
|
|
43
|
+
readonly placeholder: _angular_core.InputSignal<string | string[]>;
|
|
44
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
45
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
46
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
47
|
+
readonly valueTpl: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
48
|
+
readonly valueTplContext: _angular_core.InputSignal<unknown>;
|
|
49
|
+
readonly before: _angular_core.InputSignal<_ng_nest_ui_core.XTemplate | undefined>;
|
|
50
|
+
readonly after: _angular_core.InputSignal<_ng_nest_ui_core.XTemplate | undefined>;
|
|
51
|
+
readonly pattern: _angular_core.InputSignal<RegExp | RegExp[]>;
|
|
52
|
+
readonly message: _angular_core.InputSignal<string | string[]>;
|
|
53
|
+
readonly active: _angular_core.ModelSignal<boolean>;
|
|
54
|
+
readonly pointer: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
55
|
+
readonly inputValidator: _angular_core.InputSignal<((value: any) => boolean) | undefined>;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Sender Property
|
|
59
|
+
*/
|
|
60
|
+
declare class XSenderProperty extends XSenderProperty_base {
|
|
61
|
+
/**
|
|
62
|
+
* @zh_CN 最小的行数
|
|
63
|
+
* @en_US min number of rows
|
|
64
|
+
*/
|
|
65
|
+
readonly minRows: _angular_core.InputSignalWithTransform<number, XNumber>;
|
|
66
|
+
/**
|
|
67
|
+
* @zh_CN 最大的行数
|
|
68
|
+
* @en_US max number of rows
|
|
69
|
+
*/
|
|
70
|
+
readonly maxRows: _angular_core.InputSignalWithTransform<number, XNumber>;
|
|
71
|
+
/**
|
|
72
|
+
* @zh_CN 提交加载中
|
|
73
|
+
* @en_US Loading
|
|
74
|
+
*/
|
|
75
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
76
|
+
/**
|
|
77
|
+
* @zh_CN 提交类型
|
|
78
|
+
* @en_US Submit type
|
|
79
|
+
*/
|
|
80
|
+
readonly submitType: _angular_core.InputSignal<XSenderSubmitType>;
|
|
81
|
+
/**
|
|
82
|
+
* @zh_CN 提交
|
|
83
|
+
* @en_US Submit
|
|
84
|
+
*/
|
|
85
|
+
readonly submit: _angular_core.OutputEmitterRef<Event>;
|
|
86
|
+
/**
|
|
87
|
+
* @zh_CN 自定义后缀
|
|
88
|
+
* @en_US Custom suffix
|
|
89
|
+
*/
|
|
90
|
+
readonly suffix: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* @zh_CN 自定义前缀
|
|
93
|
+
* @en_US Custom prefix
|
|
94
|
+
*/
|
|
95
|
+
readonly prefix: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* @zh_CN 自定义头部
|
|
98
|
+
* @en_US Custom header
|
|
99
|
+
*/
|
|
100
|
+
readonly header: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* @zh_CN 自定义底部
|
|
103
|
+
* @en_US Custom footer
|
|
104
|
+
*/
|
|
105
|
+
readonly footer: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* @zh_CN 输入提示信息
|
|
108
|
+
* @en_US Enter prompt information
|
|
109
|
+
*/
|
|
110
|
+
readonly placeholder: _angular_core.InputSignal<string | string[]>;
|
|
111
|
+
/**
|
|
112
|
+
* @zh_CN 禁用
|
|
113
|
+
* @en_US Disabled
|
|
114
|
+
*/
|
|
115
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
116
|
+
/**
|
|
117
|
+
* @zh_CN 必填
|
|
118
|
+
* @en_US Required
|
|
119
|
+
*/
|
|
120
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
121
|
+
/**
|
|
122
|
+
* @zh_CN 只读
|
|
123
|
+
* @en_US Readonly
|
|
124
|
+
*/
|
|
125
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
126
|
+
/**
|
|
127
|
+
* @zh_CN 正则验证规则
|
|
128
|
+
* @en_US Regular verification rules
|
|
129
|
+
*/
|
|
130
|
+
readonly pattern: _angular_core.InputSignal<any>;
|
|
131
|
+
/**
|
|
132
|
+
* @zh_CN 验证不通过提示文字
|
|
133
|
+
* @en_US Verify not pass the prompt text
|
|
134
|
+
*/
|
|
135
|
+
readonly message: _angular_core.InputSignal<string | string[]>;
|
|
136
|
+
/**
|
|
137
|
+
* @zh_CN 输入验证函数
|
|
138
|
+
* @en_US Enter the verification function
|
|
139
|
+
*/
|
|
140
|
+
readonly inputValidator: _angular_core.InputSignal<((value: any) => boolean) | undefined>;
|
|
141
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XSenderProperty, never>;
|
|
142
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XSenderProperty, "x-sender-property", never, { "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "submitType": { "alias": "submitType"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "footer": { "alias": "footer"; "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; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "inputValidator": { "alias": "inputValidator"; "required": false; "isSignal": true; }; }, { "submit": "submit"; }, never, never, true, never>;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* @zh_CN 提交类型
|
|
146
|
+
* @en_US Submit type
|
|
147
|
+
*/
|
|
148
|
+
type XSenderSubmitType = 'enter' | 'shiftEnter';
|
|
149
|
+
|
|
150
|
+
declare class XSenderComponent extends XSenderProperty {
|
|
151
|
+
textarea: _angular_core.Signal<ElementRef<HTMLTextAreaElement>>;
|
|
152
|
+
focused: _angular_core.WritableSignal<boolean>;
|
|
153
|
+
maxRowsComputed: _angular_core.Signal<number | undefined>;
|
|
154
|
+
placeholderComputed: _angular_core.Signal<string>;
|
|
155
|
+
onKeydown(event: KeyboardEvent): void;
|
|
156
|
+
onEnterPressed(event: Event): void;
|
|
157
|
+
inputFocus(type?: 'focus' | 'select' | 'before' | 'after'): void;
|
|
158
|
+
change(value: any): void;
|
|
159
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XSenderComponent, never>;
|
|
160
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XSenderComponent, "x-sender", never, {}, {}, never, never, true, never>;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
declare class XSenderModule {
|
|
164
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XSenderModule, never>;
|
|
165
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<XSenderModule, never, [typeof XSenderComponent], [typeof XSenderComponent]>;
|
|
166
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<XSenderModule>;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export { XSenderComponent, XSenderModule };
|
package/steps/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import * as _ng_nest_ui_steps from '@ng-nest/ui/steps';
|
|
3
4
|
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
4
5
|
import { XParentIdentityProperty, XDataArray, XNumber, XBoolean } from '@ng-nest/ui/core';
|
|
5
6
|
|
|
@@ -83,7 +84,7 @@ type XStepsLayout = 'row' | 'column';
|
|
|
83
84
|
type XStepsStatus = 'wait' | 'process' | 'finish' | 'error';
|
|
84
85
|
|
|
85
86
|
declare class XStepsComponent extends XStepsProperty {
|
|
86
|
-
nodes: _angular_core.Signal<XStepsNode[]>;
|
|
87
|
+
nodes: _angular_core.Signal<_ng_nest_ui_steps.XStepsNode[]>;
|
|
87
88
|
classMap: _angular_core.Signal<{
|
|
88
89
|
[x: string]: boolean;
|
|
89
90
|
}>;
|
package/time-picker/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
2
|
+
import { OverlayRef, OverlayConfig } from '@angular/cdk/overlay';
|
|
2
3
|
import * as _angular_core from '@angular/core';
|
|
3
4
|
import { TemplateRef, OnInit, AfterViewInit, OnDestroy, ElementRef, ComponentRef, SimpleChanges } from '@angular/core';
|
|
4
5
|
import * as rxjs from 'rxjs';
|
|
@@ -9,7 +10,6 @@ import { XFormOption } from '@ng-nest/ui/base-form';
|
|
|
9
10
|
import { XInputComponent } from '@ng-nest/ui/input';
|
|
10
11
|
import { XI18nTimePicker } from '@ng-nest/ui/i18n';
|
|
11
12
|
import { XPortalOverlayRef } from '@ng-nest/ui/portal';
|
|
12
|
-
import { OverlayRef, OverlayConfig } from '@angular/cdk/overlay';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* TimePicker
|
|
@@ -578,7 +578,7 @@ declare class XTimePickerComponent extends XTimePickerProperty implements OnInit
|
|
|
578
578
|
setInstance(): void;
|
|
579
579
|
onNodeClick(date: Date): void;
|
|
580
580
|
setValue(value: Date): number | Date;
|
|
581
|
-
setPlacement():
|
|
581
|
+
setPlacement(): _angular_cdk_overlay.PositionStrategy;
|
|
582
582
|
setPortal(): void;
|
|
583
583
|
formControlChanges(): void;
|
|
584
584
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XTimePickerComponent, never>;
|
package/tree-select/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
2
|
+
import { OverlayRef, OverlayConfig } from '@angular/cdk/overlay';
|
|
2
3
|
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
3
4
|
import { XBoolean, XTemplate, XNumber, XAlign, XJustify, XDirection, XSize, XData, XParentIdentityProperty, XVariant, XPositionTopBottom, XFloatLabel, XPlacement } from '@ng-nest/ui/core';
|
|
4
5
|
import * as _angular_core from '@angular/core';
|
|
@@ -10,7 +11,6 @@ import { XPortalOverlayRef } from '@ng-nest/ui/portal';
|
|
|
10
11
|
import { XInputComponent } from '@ng-nest/ui/input';
|
|
11
12
|
import { XI18nTreeSelect } from '@ng-nest/ui/i18n';
|
|
12
13
|
import { XTreeComponent } from '@ng-nest/ui/tree';
|
|
13
|
-
import { OverlayRef, OverlayConfig } from '@angular/cdk/overlay';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Tree Select
|
|
@@ -722,7 +722,7 @@ declare class XTreeSelectComponent extends XTreeSelectProperty implements OnInit
|
|
|
722
722
|
setInstance(): void;
|
|
723
723
|
nodeClick(node: XTreeSelectNode, value?: XTreeSelectNode[] | (string | number)[]): void;
|
|
724
724
|
selectAllNodes(value: XTreeSelectNode[] | (string | number)[]): void;
|
|
725
|
-
setPlacement():
|
|
725
|
+
setPlacement(): _angular_cdk_overlay.PositionStrategy;
|
|
726
726
|
setPortal(): void;
|
|
727
727
|
onKeydown($event: KeyboardEvent): void;
|
|
728
728
|
onFocus(_event: Event): void;
|