@ng-nest/ui 19.0.9 → 20.0.0
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/README.md +1 -1
- package/affix/index.d.ts +58 -3
- package/alert/index.d.ts +424 -3
- package/anchor/index.d.ts +186 -3
- package/api/index.d.ts +20 -3
- package/auto-complete/index.d.ts +454 -3
- package/avatar/index.d.ts +198 -3
- package/back-top/index.d.ts +75 -3
- package/badge/index.d.ts +153 -3
- package/base-form/index.d.ts +248 -3
- package/button/index.d.ts +380 -3
- package/calendar/index.d.ts +194 -3
- package/card/index.d.ts +99 -3
- package/carousel/index.d.ts +328 -3
- package/cascade/index.d.ts +459 -3
- package/checkbox/index.d.ts +351 -3
- package/collapse/index.d.ts +198 -3
- package/color/index.d.ts +80 -3
- package/color-picker/index.d.ts +484 -3
- package/comment/index.d.ts +158 -3
- package/container/index.d.ts +143 -3
- package/core/index.d.ts +1900 -3
- package/crumb/index.d.ts +91 -3
- package/date-picker/index.d.ts +2081 -3
- package/description/index.d.ts +234 -3
- package/dialog/index.d.ts +525 -3
- package/doc/index.d.ts +20 -3
- package/drag/index.d.ts +45 -3
- package/drawer/index.d.ts +244 -3
- package/dropdown/index.d.ts +201 -3
- package/empty/index.d.ts +60 -3
- package/examples/index.d.ts +20 -3
- package/fesm2022/ng-nest-ui-affix.mjs +11 -11
- package/fesm2022/ng-nest-ui-alert.mjs +11 -11
- package/fesm2022/ng-nest-ui-anchor.mjs +17 -17
- package/fesm2022/ng-nest-ui-api.mjs +8 -8
- package/fesm2022/ng-nest-ui-auto-complete.mjs +14 -14
- package/fesm2022/ng-nest-ui-avatar.mjs +17 -17
- package/fesm2022/ng-nest-ui-back-top.mjs +11 -11
- package/fesm2022/ng-nest-ui-badge.mjs +11 -11
- package/fesm2022/ng-nest-ui-base-form.mjs +7 -7
- package/fesm2022/ng-nest-ui-button.mjs +18 -18
- 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 +17 -17
- package/fesm2022/ng-nest-ui-cascade.mjs +14 -14
- package/fesm2022/ng-nest-ui-checkbox.mjs +11 -11
- package/fesm2022/ng-nest-ui-collapse.mjs +17 -17
- package/fesm2022/ng-nest-ui-color-picker.mjs +17 -17
- package/fesm2022/ng-nest-ui-color.mjs +11 -11
- package/fesm2022/ng-nest-ui-comment.mjs +17 -17
- package/fesm2022/ng-nest-ui-container.mjs +32 -32
- package/fesm2022/ng-nest-ui-core.mjs +19 -19
- package/fesm2022/ng-nest-ui-crumb.mjs +11 -11
- package/fesm2022/ng-nest-ui-date-picker.mjs +50 -50
- package/fesm2022/ng-nest-ui-description.mjs +17 -17
- package/fesm2022/ng-nest-ui-dialog.mjs +41 -41
- package/fesm2022/ng-nest-ui-doc.mjs +8 -8
- package/fesm2022/ng-nest-ui-drag.mjs +10 -10
- package/fesm2022/ng-nest-ui-drawer.mjs +32 -32
- package/fesm2022/ng-nest-ui-dropdown.mjs +14 -14
- package/fesm2022/ng-nest-ui-empty.mjs +11 -11
- package/fesm2022/ng-nest-ui-examples.mjs +8 -8
- package/fesm2022/ng-nest-ui-find.mjs +11 -11
- package/fesm2022/ng-nest-ui-form.mjs +17 -17
- package/fesm2022/ng-nest-ui-highlight.mjs +14 -14
- package/fesm2022/ng-nest-ui-i18n.mjs +13 -13
- package/fesm2022/ng-nest-ui-icon.mjs +18 -15
- package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-image.mjs +20 -20
- package/fesm2022/ng-nest-ui-inner.mjs +11 -11
- package/fesm2022/ng-nest-ui-input-number.mjs +11 -11
- package/fesm2022/ng-nest-ui-input.mjs +17 -17
- package/fesm2022/ng-nest-ui-keyword.mjs +10 -10
- package/fesm2022/ng-nest-ui-layout.mjs +17 -17
- package/fesm2022/ng-nest-ui-link.mjs +11 -11
- package/fesm2022/ng-nest-ui-list.mjs +24 -24
- package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-loading.mjs +11 -11
- package/fesm2022/ng-nest-ui-menu.mjs +17 -17
- package/fesm2022/ng-nest-ui-message-box.mjs +11 -11
- package/fesm2022/ng-nest-ui-message.mjs +11 -11
- package/fesm2022/ng-nest-ui-notification.mjs +11 -11
- package/fesm2022/ng-nest-ui-outlet.mjs +7 -7
- package/fesm2022/ng-nest-ui-page-header.mjs +11 -11
- package/fesm2022/ng-nest-ui-pagination.mjs +11 -11
- package/fesm2022/ng-nest-ui-pattern.mjs +8 -8
- package/fesm2022/ng-nest-ui-popconfirm.mjs +11 -11
- package/fesm2022/ng-nest-ui-popover.mjs +14 -14
- package/fesm2022/ng-nest-ui-portal.mjs +8 -8
- package/fesm2022/ng-nest-ui-portal.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-progress.mjs +11 -11
- package/fesm2022/ng-nest-ui-radio.mjs +11 -11
- package/fesm2022/ng-nest-ui-rate.mjs +11 -11
- package/fesm2022/ng-nest-ui-resizable.mjs +11 -11
- package/fesm2022/ng-nest-ui-result.mjs +11 -11
- package/fesm2022/ng-nest-ui-ripple.mjs +10 -10
- package/fesm2022/ng-nest-ui-select.mjs +14 -14
- package/fesm2022/ng-nest-ui-skeleton.mjs +11 -11
- package/fesm2022/ng-nest-ui-slider-select.mjs +11 -11
- package/fesm2022/ng-nest-ui-slider.mjs +11 -11
- package/fesm2022/ng-nest-ui-statistic.mjs +17 -17
- package/fesm2022/ng-nest-ui-steps.mjs +11 -11
- package/fesm2022/ng-nest-ui-switch.mjs +11 -11
- package/fesm2022/ng-nest-ui-table.mjs +28 -28
- package/fesm2022/ng-nest-ui-tabs.mjs +26 -26
- package/fesm2022/ng-nest-ui-tag.mjs +11 -11
- package/fesm2022/ng-nest-ui-text-retract.mjs +11 -11
- package/fesm2022/ng-nest-ui-textarea.mjs +11 -11
- package/fesm2022/ng-nest-ui-theme.mjs +11 -11
- package/fesm2022/ng-nest-ui-time-ago.mjs +7 -7
- package/fesm2022/ng-nest-ui-time-picker.mjs +17 -17
- 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 +14 -14
- package/fesm2022/ng-nest-ui-transfer.mjs +11 -11
- package/fesm2022/ng-nest-ui-tree-file.mjs +11 -11
- package/fesm2022/ng-nest-ui-tree-select.mjs +14 -14
- package/fesm2022/ng-nest-ui-tree.mjs +20 -20
- package/fesm2022/ng-nest-ui-typography.mjs +11 -11
- package/fesm2022/ng-nest-ui-upload.mjs +14 -14
- package/find/index.d.ts +625 -3
- package/form/index.d.ts +556 -3
- package/highlight/index.d.ts +107 -3
- package/i18n/index.d.ts +9399 -3
- package/icon/index.d.ts +134 -3
- package/image/index.d.ts +282 -3
- package/index.d.ts +0 -21
- package/inner/index.d.ts +38 -3
- package/input/index.d.ts +615 -3
- package/input-number/index.d.ts +352 -3
- package/keyword/index.d.ts +61 -3
- package/layout/index.d.ts +171 -3
- package/link/index.d.ts +128 -3
- package/list/index.d.ts +482 -3
- package/loading/index.d.ts +92 -3
- package/menu/index.d.ts +206 -3
- package/message/index.d.ts +192 -3
- package/message-box/index.d.ts +234 -3
- package/notification/index.d.ts +136 -3
- package/outlet/index.d.ts +28 -3
- package/package.json +33 -33
- package/page-header/index.d.ts +61 -3
- package/pagination/index.d.ts +212 -3
- package/pattern/index.d.ts +20 -3
- package/popconfirm/index.d.ts +124 -3
- package/popover/index.d.ts +163 -3
- package/portal/index.d.ts +157 -3
- package/progress/index.d.ts +191 -3
- package/radio/index.d.ts +313 -3
- package/rate/index.d.ts +231 -3
- package/resizable/index.d.ts +155 -3
- package/result/index.d.ts +61 -3
- package/ripple/index.d.ts +67 -3
- package/select/index.d.ts +633 -3
- package/skeleton/index.d.ts +132 -3
- package/slider/index.d.ts +188 -3
- package/slider-select/index.d.ts +386 -3
- package/statistic/index.d.ts +129 -3
- package/steps/index.d.ts +101 -3
- package/switch/index.d.ts +223 -3
- package/table/index.d.ts +1076 -3
- package/tabs/index.d.ts +238 -3
- package/tag/index.d.ts +99 -3
- package/text-retract/index.d.ts +45 -3
- package/textarea/index.d.ts +340 -3
- package/theme/index.d.ts +152 -3
- package/time-ago/index.d.ts +32 -3
- package/time-picker/index.d.ts +615 -3
- package/time-range/index.d.ts +24 -3
- package/timeline/index.d.ts +108 -3
- package/tooltip/index.d.ts +154 -3
- package/transfer/index.d.ts +340 -3
- package/tree/index.d.ts +601 -3
- package/tree-file/index.d.ts +167 -3
- package/tree-select/index.d.ts +642 -3
- package/typography/index.d.ts +42 -3
- package/upload/index.d.ts +304 -3
- package/affix/affix.component.d.ts +0 -6
- package/affix/affix.module.d.ts +0 -7
- package/affix/affix.property.d.ts +0 -46
- package/affix/public-api.d.ts +0 -3
- package/alert/alert.component.d.ts +0 -21
- package/alert/alert.module.d.ts +0 -7
- package/alert/alert.property.d.ts +0 -396
- package/alert/public-api.d.ts +0 -3
- package/anchor/anchor-inner.component.d.ts +0 -6
- package/anchor/anchor.component.d.ts +0 -38
- package/anchor/anchor.module.d.ts +0 -8
- package/anchor/anchor.property.d.ts +0 -136
- package/anchor/public-api.d.ts +0 -4
- package/api/api.component.d.ts +0 -6
- package/api/api.module.d.ts +0 -7
- package/api/api.property.d.ts +0 -6
- package/api/public-api.d.ts +0 -3
- package/auto-complete/auto-complete-portal.component.d.ts +0 -35
- package/auto-complete/auto-complete.component.d.ts +0 -54
- package/auto-complete/auto-complete.module.d.ts +0 -7
- package/auto-complete/auto-complete.property.d.ts +0 -364
- package/auto-complete/public-api.d.ts +0 -4
- package/avatar/avatar-group.component.d.ts +0 -7
- package/avatar/avatar.component.d.ts +0 -37
- package/avatar/avatar.module.d.ts +0 -8
- package/avatar/avatar.property.d.ts +0 -149
- package/avatar/public-api.d.ts +0 -4
- package/back-top/back-top.component.d.ts +0 -25
- package/back-top/back-top.module.d.ts +0 -7
- package/back-top/back-top.property.d.ts +0 -45
- package/back-top/public-api.d.ts +0 -3
- package/badge/badge.component.d.ts +0 -14
- package/badge/badge.module.d.ts +0 -7
- package/badge/badge.property.d.ts +0 -132
- package/badge/public-api.d.ts +0 -3
- package/base-form/base-form.component.d.ts +0 -60
- package/base-form/base-form.module.d.ts +0 -6
- package/base-form/base-form.property.d.ts +0 -180
- package/base-form/public-api.d.ts +0 -3
- package/button/button.component.d.ts +0 -25
- package/button/button.module.d.ts +0 -8
- package/button/button.property.d.ts +0 -336
- package/button/buttons.component.d.ts +0 -13
- package/button/public-api.d.ts +0 -4
- package/calendar/calendar.component.d.ts +0 -55
- package/calendar/calendar.module.d.ts +0 -7
- package/calendar/calendar.property.d.ts +0 -132
- package/calendar/public-api.d.ts +0 -3
- package/card/card.component.d.ts +0 -9
- package/card/card.module.d.ts +0 -7
- package/card/card.property.d.ts +0 -83
- package/card/public-api.d.ts +0 -3
- package/carousel/carousel-panel.component.d.ts +0 -34
- package/carousel/carousel.component.d.ts +0 -33
- package/carousel/carousel.module.d.ts +0 -8
- package/carousel/carousel.property.d.ts +0 -259
- package/carousel/public-api.d.ts +0 -4
- package/cascade/cascade-portal.component.d.ts +0 -41
- package/cascade/cascade.component.d.ts +0 -56
- package/cascade/cascade.module.d.ts +0 -7
- package/cascade/cascade.property.d.ts +0 -359
- package/cascade/public-api.d.ts +0 -4
- package/checkbox/checkbox.component.d.ts +0 -26
- package/checkbox/checkbox.module.d.ts +0 -7
- package/checkbox/checkbox.property.d.ts +0 -319
- package/checkbox/public-api.d.ts +0 -3
- package/collapse/collapse-panel.component.d.ts +0 -16
- package/collapse/collapse.component.d.ts +0 -10
- package/collapse/collapse.module.d.ts +0 -8
- package/collapse/collapse.property.d.ts +0 -168
- package/collapse/public-api.d.ts +0 -4
- package/color/color.component.d.ts +0 -10
- package/color/color.module.d.ts +0 -7
- package/color/color.property.d.ts +0 -64
- package/color/public-api.d.ts +0 -3
- package/color-picker/color-map.data.d.ts +0 -3
- package/color-picker/color-picker-portal.component.d.ts +0 -118
- package/color-picker/color-picker.component.d.ts +0 -53
- package/color-picker/color-picker.directive.d.ts +0 -9
- package/color-picker/color-picker.module.d.ts +0 -8
- package/color-picker/color-picker.property.d.ts +0 -303
- package/color-picker/public-api.d.ts +0 -5
- package/comment/comment-reply.component.d.ts +0 -8
- package/comment/comment.component.d.ts +0 -14
- package/comment/comment.module.d.ts +0 -8
- package/comment/comment.property.d.ts +0 -131
- package/comment/public-api.d.ts +0 -4
- package/container/aside.component.d.ts +0 -8
- package/container/container.component.d.ts +0 -10
- package/container/container.module.d.ts +0 -11
- package/container/container.property.d.ts +0 -94
- package/container/footer.component.d.ts +0 -12
- package/container/header.component.d.ts +0 -12
- package/container/main.component.d.ts +0 -6
- package/container/public-api.d.ts +0 -7
- package/core/README.md +0 -25
- package/core/animation/badge.d.ts +0 -11
- package/core/animation/connect.d.ts +0 -11
- package/core/animation/consts.d.ts +0 -9
- package/core/animation/drop.d.ts +0 -6
- package/core/animation/fade.d.ts +0 -6
- package/core/animation/move.d.ts +0 -7
- package/core/animation/opacity.d.ts +0 -6
- package/core/animation/public-api.d.ts +0 -8
- package/core/animation/slide.d.ts +0 -6
- package/core/components/inner-html.component.d.ts +0 -9
- package/core/components/public-api.d.ts +0 -1
- package/core/config/config.d.ts +0 -620
- package/core/config/config.service.d.ts +0 -22
- package/core/config/index.d.ts +0 -1
- package/core/config/public-api.d.ts +0 -2
- package/core/functions/chunk.d.ts +0 -12
- package/core/functions/clone-deep.d.ts +0 -17
- package/core/functions/convert.d.ts +0 -90
- package/core/functions/csspx.d.ts +0 -5
- package/core/functions/date.d.ts +0 -70
- package/core/functions/drop.d.ts +0 -13
- package/core/functions/flex.d.ts +0 -7
- package/core/functions/group-by.d.ts +0 -5
- package/core/functions/guid.d.ts +0 -5
- package/core/functions/has-in.d.ts +0 -5
- package/core/functions/order-by.d.ts +0 -5
- package/core/functions/parent-path.d.ts +0 -10
- package/core/functions/property.d.ts +0 -16
- package/core/functions/public-api.d.ts +0 -15
- package/core/functions/remove.d.ts +0 -5
- package/core/functions/resize.d.ts +0 -19
- package/core/interfaces/data.type.d.ts +0 -194
- package/core/interfaces/identify.type.d.ts +0 -83
- package/core/interfaces/index.d.ts +0 -1
- package/core/interfaces/layout.type.d.ts +0 -169
- package/core/interfaces/public-api.d.ts +0 -4
- package/core/interfaces/result-list.type.d.ts +0 -116
- package/core/public-api.d.ts +0 -8
- package/core/services/http.service.d.ts +0 -28
- package/core/services/preloading-strategy.service.d.ts +0 -9
- package/core/services/public-api.d.ts +0 -5
- package/core/services/repository.service.d.ts +0 -28
- package/core/services/reuse-strategy.service.d.ts +0 -17
- package/core/services/storage.service.d.ts +0 -15
- package/core/theme/index.d.ts +0 -1
- package/core/theme/public-api.d.ts +0 -2
- package/core/theme/theme.d.ts +0 -73
- package/core/theme/theme.service.d.ts +0 -76
- package/core/util/animation.d.ts +0 -1
- package/core/util/camel-to-kebab.d.ts +0 -13
- package/core/util/check.d.ts +0 -10
- package/core/util/computed-style.d.ts +0 -10
- package/core/util/host.d.ts +0 -5
- package/core/util/html.d.ts +0 -5
- package/core/util/index.d.ts +0 -1
- package/core/util/kebab-to-camel.d.ts +0 -13
- package/core/util/log.d.ts +0 -10
- package/core/util/option.d.ts +0 -9
- package/core/util/public-api.d.ts +0 -10
- package/core/util/sleep.d.ts +0 -5
- package/crumb/crumb.component.d.ts +0 -7
- package/crumb/crumb.module.d.ts +0 -7
- package/crumb/crumb.property.d.ts +0 -77
- package/crumb/public-api.d.ts +0 -3
- package/date-picker/date-picker-portal.component.d.ts +0 -104
- package/date-picker/date-picker.component.d.ts +0 -113
- package/date-picker/date-picker.module.d.ts +0 -8
- package/date-picker/date-picker.property.d.ts +0 -1314
- package/date-picker/date-quarter.pipe.d.ts +0 -9
- package/date-picker/date-range-portal.component.d.ts +0 -135
- package/date-picker/date-range.component.d.ts +0 -134
- package/date-picker/picker-date.component.d.ts +0 -97
- package/date-picker/picker-month.component.d.ts +0 -86
- package/date-picker/picker-quarter.component.d.ts +0 -86
- package/date-picker/picker-year.component.d.ts +0 -32
- package/date-picker/public-api.d.ts +0 -11
- package/description/description-item.component.d.ts +0 -8
- package/description/description.component.d.ts +0 -15
- package/description/description.module.d.ts +0 -8
- package/description/description.property.d.ts +0 -207
- package/description/public-api.d.ts +0 -4
- package/dialog/dialog-container.component.d.ts +0 -7
- package/dialog/dialog-portal.component.d.ts +0 -45
- package/dialog/dialog-portal.directives.d.ts +0 -36
- package/dialog/dialog-ref.d.ts +0 -23
- package/dialog/dialog.component.d.ts +0 -72
- package/dialog/dialog.module.d.ts +0 -9
- package/dialog/dialog.property.d.ts +0 -338
- package/dialog/dialog.service.d.ts +0 -20
- package/dialog/public-api.d.ts +0 -8
- package/doc/doc.component.d.ts +0 -6
- package/doc/doc.module.d.ts +0 -7
- package/doc/doc.property.d.ts +0 -6
- package/doc/public-api.d.ts +0 -3
- package/drag/drag.directive.d.ts +0 -13
- package/drag/drag.module.d.ts +0 -7
- package/drag/drag.property.d.ts +0 -25
- package/drag/public-api.d.ts +0 -3
- package/drawer/drawer-container.component.d.ts +0 -7
- package/drawer/drawer-portal.component.d.ts +0 -17
- package/drawer/drawer-portal.directives.d.ts +0 -18
- package/drawer/drawer-ref.d.ts +0 -9
- package/drawer/drawer.component.d.ts +0 -34
- package/drawer/drawer.module.d.ts +0 -9
- package/drawer/drawer.property.d.ts +0 -149
- package/drawer/drawer.service.d.ts +0 -17
- package/drawer/public-api.d.ts +0 -9
- package/dropdown/dropdown-portal.component.d.ts +0 -55
- package/dropdown/dropdown.component.d.ts +0 -42
- package/dropdown/dropdown.module.d.ts +0 -7
- package/dropdown/dropdown.property.d.ts +0 -102
- package/dropdown/public-api.d.ts +0 -4
- package/empty/empty.component.d.ts +0 -6
- package/empty/empty.module.d.ts +0 -7
- package/empty/empty.property.d.ts +0 -48
- package/empty/public-api.d.ts +0 -3
- package/examples/examples.component.d.ts +0 -6
- package/examples/examples.module.d.ts +0 -7
- package/examples/examples.property.d.ts +0 -6
- package/examples/public-api.d.ts +0 -3
- package/find/find.component.d.ts +0 -57
- package/find/find.module.d.ts +0 -7
- package/find/find.property.d.ts +0 -562
- package/find/public-api.d.ts +0 -3
- package/form/control.component.d.ts +0 -51
- package/form/form.component.d.ts +0 -25
- package/form/form.module.d.ts +0 -8
- package/form/form.property.d.ts +0 -493
- package/form/public-api.d.ts +0 -4
- package/highlight/highlight.component.d.ts +0 -19
- package/highlight/highlight.module.d.ts +0 -7
- package/highlight/highlight.property.d.ts +0 -72
- package/highlight/highlight.service.d.ts +0 -8
- package/highlight/public-api.d.ts +0 -4
- package/i18n/i18n.directive.d.ts +0 -11
- package/i18n/i18n.module.d.ts +0 -8
- package/i18n/i18n.pipe.d.ts +0 -12
- package/i18n/i18n.property.d.ts +0 -195
- package/i18n/i18n.service.d.ts +0 -17
- package/i18n/languages/ar_EG.d.ts +0 -180
- package/i18n/languages/bg_BG.d.ts +0 -180
- package/i18n/languages/ca_ES.d.ts +0 -180
- package/i18n/languages/cs_CZ.d.ts +0 -180
- package/i18n/languages/da_DK.d.ts +0 -180
- package/i18n/languages/de_DE.d.ts +0 -180
- package/i18n/languages/el_GR.d.ts +0 -180
- package/i18n/languages/en_GB.d.ts +0 -181
- package/i18n/languages/en_US.d.ts +0 -181
- package/i18n/languages/es_ES.d.ts +0 -180
- package/i18n/languages/et_EE.d.ts +0 -180
- package/i18n/languages/fa_IR.d.ts +0 -180
- package/i18n/languages/fi_FI.d.ts +0 -180
- package/i18n/languages/fr_BE.d.ts +0 -180
- package/i18n/languages/fr_FR.d.ts +0 -180
- package/i18n/languages/he_IL.d.ts +0 -180
- package/i18n/languages/hi_IN.d.ts +0 -180
- package/i18n/languages/hr_HR.d.ts +0 -180
- package/i18n/languages/hu_HU.d.ts +0 -180
- package/i18n/languages/hy_AM.d.ts +0 -180
- package/i18n/languages/id_ID.d.ts +0 -180
- package/i18n/languages/is_IS.d.ts +0 -180
- package/i18n/languages/it_IT.d.ts +0 -180
- package/i18n/languages/ja_JP.d.ts +0 -180
- package/i18n/languages/ka_GE.d.ts +0 -180
- package/i18n/languages/kn_IN.d.ts +0 -180
- package/i18n/languages/ko_KR.d.ts +0 -180
- package/i18n/languages/ku_IQ.d.ts +0 -156
- package/i18n/languages/lv_LV.d.ts +0 -180
- package/i18n/languages/mn_MN.d.ts +0 -180
- package/i18n/languages/ms_MY.d.ts +0 -180
- package/i18n/languages/nb_NO.d.ts +0 -180
- package/i18n/languages/ne_NP.d.ts +0 -180
- package/i18n/languages/nl_BE.d.ts +0 -180
- package/i18n/languages/nl_NL.d.ts +0 -180
- package/i18n/languages/pl_PL.d.ts +0 -180
- package/i18n/languages/pt_BR.d.ts +0 -180
- package/i18n/languages/pt_PT.d.ts +0 -180
- package/i18n/languages/ro_RO.d.ts +0 -180
- package/i18n/languages/ru_RU.d.ts +0 -180
- package/i18n/languages/sk_SK.d.ts +0 -179
- package/i18n/languages/sl_SI.d.ts +0 -180
- package/i18n/languages/sr_RS.d.ts +0 -180
- package/i18n/languages/sv_SE.d.ts +0 -180
- package/i18n/languages/ta_IN.d.ts +0 -180
- package/i18n/languages/th_TH.d.ts +0 -180
- package/i18n/languages/tr_TR.d.ts +0 -180
- package/i18n/languages/uk_UA.d.ts +0 -180
- package/i18n/languages/vi_VN.d.ts +0 -180
- package/i18n/languages/zh_CN.d.ts +0 -180
- package/i18n/languages/zh_TW.d.ts +0 -180
- package/i18n/public-api.d.ts +0 -56
- package/icon/icon.component.d.ts +0 -31
- package/icon/icon.module.d.ts +0 -7
- package/icon/icon.property.d.ts +0 -64
- package/icon/icon.service.d.ts +0 -33
- package/icon/public-api.d.ts +0 -4
- package/image/image-group.component.d.ts +0 -9
- package/image/image-preview.component.d.ts +0 -33
- package/image/image.component.d.ts +0 -24
- package/image/image.module.d.ts +0 -9
- package/image/image.property.d.ts +0 -213
- package/image/public-api.d.ts +0 -5
- package/inner/inner.component.d.ts +0 -8
- package/inner/inner.module.d.ts +0 -7
- package/inner/inner.property.d.ts +0 -24
- package/inner/public-api.d.ts +0 -3
- package/input/input-group.component.d.ts +0 -8
- package/input/input.component.d.ts +0 -52
- package/input/input.module.d.ts +0 -8
- package/input/input.property.d.ts +0 -552
- package/input/public-api.d.ts +0 -4
- package/input-number/input-number.component.d.ts +0 -35
- package/input-number/input-number.module.d.ts +0 -7
- package/input-number/input-number.property.d.ts +0 -312
- package/input-number/public-api.d.ts +0 -3
- package/keyword/keyword.directive.d.ts +0 -10
- package/keyword/keyword.module.d.ts +0 -7
- package/keyword/keyword.property.d.ts +0 -44
- package/keyword/public-api.d.ts +0 -3
- package/layout/col.component.d.ts +0 -14
- package/layout/layout.module.d.ts +0 -8
- package/layout/layout.property.d.ts +0 -139
- package/layout/public-api.d.ts +0 -4
- package/layout/row.component.d.ts +0 -13
- package/link/link.component.d.ts +0 -13
- package/link/link.module.d.ts +0 -7
- package/link/link.property.d.ts +0 -108
- package/link/public-api.d.ts +0 -3
- package/list/list-drop-group.directive.d.ts +0 -13
- package/list/list-option.component.d.ts +0 -18
- package/list/list.component.d.ts +0 -76
- package/list/list.module.d.ts +0 -9
- package/list/list.property.d.ts +0 -377
- package/list/public-api.d.ts +0 -5
- package/loading/loading.component.d.ts +0 -23
- package/loading/loading.module.d.ts +0 -7
- package/loading/loading.property.d.ts +0 -64
- package/loading/public-api.d.ts +0 -3
- package/menu/menu-node.component.d.ts +0 -19
- package/menu/menu.component.d.ts +0 -35
- package/menu/menu.module.d.ts +0 -8
- package/menu/menu.property.d.ts +0 -150
- package/menu/public-api.d.ts +0 -4
- package/message/README.md +0 -20
- package/message/message-ref.d.ts +0 -9
- package/message/message.component.d.ts +0 -15
- package/message/message.module.d.ts +0 -6
- package/message/message.property.d.ts +0 -137
- package/message/message.service.d.ts +0 -27
- package/message/public-api.d.ts +0 -5
- package/message-box/message-box.component.d.ts +0 -31
- package/message-box/message-box.module.d.ts +0 -6
- package/message-box/message-box.property.d.ts +0 -180
- package/message-box/message-box.service.d.ts +0 -17
- package/message-box/public-api.d.ts +0 -4
- package/notification/notification.component.d.ts +0 -15
- package/notification/notification.module.d.ts +0 -6
- package/notification/notification.property.d.ts +0 -96
- package/notification/notification.service.d.ts +0 -20
- package/notification/public-api.d.ts +0 -4
- package/outlet/outlet.directive.d.ts +0 -14
- package/outlet/outlet.module.d.ts +0 -7
- package/outlet/outlet.property.d.ts +0 -6
- package/outlet/public-api.d.ts +0 -3
- package/page-header/page-header.component.d.ts +0 -12
- package/page-header/page-header.module.d.ts +0 -7
- package/page-header/page-header.property.d.ts +0 -43
- package/page-header/public-api.d.ts +0 -3
- package/pagination/pagination.component.d.ts +0 -53
- package/pagination/pagination.module.d.ts +0 -7
- package/pagination/pagination.property.d.ts +0 -151
- package/pagination/public-api.d.ts +0 -3
- package/pattern/pattern.component.d.ts +0 -6
- package/pattern/pattern.module.d.ts +0 -7
- package/pattern/pattern.property.d.ts +0 -6
- package/pattern/public-api.d.ts +0 -3
- package/popconfirm/popconfirm.component.d.ts +0 -22
- package/popconfirm/popconfirm.module.d.ts +0 -7
- package/popconfirm/popconfirm.property.d.ts +0 -96
- package/popconfirm/public-api.d.ts +0 -3
- package/popover/popover-portal.component.d.ts +0 -23
- package/popover/popover.directive.d.ts +0 -34
- package/popover/popover.module.d.ts +0 -7
- package/popover/popover.property.d.ts +0 -103
- package/popover/public-api.d.ts +0 -4
- package/portal/portal.module.d.ts +0 -6
- package/portal/portal.property.d.ts +0 -76
- package/portal/portal.service.d.ts +0 -80
- package/portal/public-api.d.ts +0 -3
- package/progress/progress.component.d.ts +0 -39
- package/progress/progress.module.d.ts +0 -7
- package/progress/progress.property.d.ts +0 -147
- package/progress/public-api.d.ts +0 -3
- package/radio/public-api.d.ts +0 -3
- package/radio/radio.component.d.ts +0 -23
- package/radio/radio.module.d.ts +0 -7
- package/radio/radio.property.d.ts +0 -283
- package/rate/public-api.d.ts +0 -3
- package/rate/rate.component.d.ts +0 -26
- package/rate/rate.module.d.ts +0 -7
- package/rate/rate.property.d.ts +0 -199
- package/resizable/public-api.d.ts +0 -3
- package/resizable/resizable.directive.d.ts +0 -52
- package/resizable/resizable.module.d.ts +0 -7
- package/resizable/resizable.property.d.ts +0 -97
- package/result/public-api.d.ts +0 -3
- package/result/result.component.d.ts +0 -10
- package/result/result.module.d.ts +0 -7
- package/result/result.property.d.ts +0 -44
- package/ripple/public-api.d.ts +0 -3
- package/ripple/ripple.directive.d.ts +0 -21
- package/ripple/ripple.module.d.ts +0 -7
- package/ripple/ripple.property.d.ts +0 -39
- package/select/public-api.d.ts +0 -4
- package/select/select-portal.component.d.ts +0 -55
- package/select/select.component.d.ts +0 -106
- package/select/select.module.d.ts +0 -7
- package/select/select.property.d.ts +0 -473
- package/skeleton/public-api.d.ts +0 -3
- package/skeleton/skeleton.component.d.ts +0 -9
- package/skeleton/skeleton.module.d.ts +0 -7
- package/skeleton/skeleton.property.d.ts +0 -116
- package/slider/public-api.d.ts +0 -3
- package/slider/slider.component.d.ts +0 -62
- package/slider/slider.module.d.ts +0 -7
- package/slider/slider.property.d.ts +0 -121
- package/slider-select/public-api.d.ts +0 -3
- package/slider-select/slider-select.component.d.ts +0 -60
- package/slider-select/slider-select.module.d.ts +0 -7
- package/slider-select/slider-select.property.d.ts +0 -320
- package/statistic/countdown.component.d.ts +0 -21
- package/statistic/public-api.d.ts +0 -4
- package/statistic/statistic.component.d.ts +0 -8
- package/statistic/statistic.module.d.ts +0 -8
- package/statistic/statistic.property.d.ts +0 -95
- package/steps/public-api.d.ts +0 -3
- package/steps/steps.component.d.ts +0 -11
- package/steps/steps.module.d.ts +0 -7
- package/steps/steps.property.d.ts +0 -82
- package/switch/public-api.d.ts +0 -3
- package/switch/switch.component.d.ts +0 -15
- package/switch/switch.module.d.ts +0 -7
- package/switch/switch.property.d.ts +0 -201
- package/table/public-api.d.ts +0 -6
- package/table/table-body.component.d.ts +0 -48
- package/table/table-foot.component.d.ts +0 -15
- package/table/table-head.component.d.ts +0 -48
- package/table/table.component.d.ts +0 -106
- package/table/table.module.d.ts +0 -10
- package/table/table.property.d.ts +0 -869
- package/tabs/public-api.d.ts +0 -6
- package/tabs/tab-content.component.d.ts +0 -10
- package/tabs/tab-link.directive.d.ts +0 -17
- package/tabs/tab.component.d.ts +0 -11
- package/tabs/tabs.component.d.ts +0 -36
- package/tabs/tabs.module.d.ts +0 -9
- package/tabs/tabs.property.d.ts +0 -167
- package/tag/public-api.d.ts +0 -3
- package/tag/tag.component.d.ts +0 -17
- package/tag/tag.module.d.ts +0 -7
- package/tag/tag.property.d.ts +0 -76
- package/text-retract/public-api.d.ts +0 -3
- package/text-retract/text-retract.component.d.ts +0 -10
- package/text-retract/text-retract.module.d.ts +0 -7
- package/text-retract/text-retract.property.d.ts +0 -29
- package/textarea/public-api.d.ts +0 -3
- package/textarea/textarea.component.d.ts +0 -26
- package/textarea/textarea.module.d.ts +0 -7
- package/textarea/textarea.property.d.ts +0 -309
- package/theme/public-api.d.ts +0 -3
- package/theme/theme.component.d.ts +0 -47
- package/theme/theme.module.d.ts +0 -7
- package/theme/theme.property.d.ts +0 -100
- package/time-ago/public-api.d.ts +0 -3
- package/time-ago/time-ago.module.d.ts +0 -7
- package/time-ago/time-ago.pipe.d.ts +0 -17
- package/time-ago/time-ago.property.d.ts +0 -6
- package/time-picker/public-api.d.ts +0 -5
- package/time-picker/time-picker-frame.component.d.ts +0 -73
- package/time-picker/time-picker-portal.component.d.ts +0 -39
- package/time-picker/time-picker.component.d.ts +0 -64
- package/time-picker/time-picker.module.d.ts +0 -8
- package/time-picker/time-picker.property.d.ts +0 -441
- package/time-range/public-api.d.ts +0 -3
- package/time-range/time-range.module.d.ts +0 -7
- package/time-range/time-range.pipe.d.ts +0 -10
- package/time-range/time-range.property.d.ts +0 -6
- package/timeline/public-api.d.ts +0 -3
- package/timeline/timeline.component.d.ts +0 -11
- package/timeline/timeline.module.d.ts +0 -7
- package/timeline/timeline.property.d.ts +0 -90
- package/tooltip/public-api.d.ts +0 -4
- package/tooltip/tooltip-portal.component.d.ts +0 -34
- package/tooltip/tooltip.directive.d.ts +0 -36
- package/tooltip/tooltip.module.d.ts +0 -7
- package/tooltip/tooltip.property.d.ts +0 -81
- package/transfer/public-api.d.ts +0 -3
- package/transfer/transfer.component.d.ts +0 -72
- package/transfer/transfer.module.d.ts +0 -7
- package/transfer/transfer.property.d.ts +0 -263
- package/tree/public-api.d.ts +0 -4
- package/tree/tree-node.component.d.ts +0 -57
- package/tree/tree.component.d.ts +0 -77
- package/tree/tree.module.d.ts +0 -8
- package/tree/tree.property.d.ts +0 -460
- package/tree/tree.service.d.ts +0 -10
- package/tree-file/public-api.d.ts +0 -3
- package/tree-file/tree-file.component.d.ts +0 -24
- package/tree-file/tree-file.module.d.ts +0 -7
- package/tree-file/tree-file.property.d.ts +0 -138
- package/tree-select/public-api.d.ts +0 -4
- package/tree-select/tree-select-portal.component.d.ts +0 -46
- package/tree-select/tree-select.component.d.ts +0 -109
- package/tree-select/tree-select.module.d.ts +0 -7
- package/tree-select/tree-select.property.d.ts +0 -486
- package/typography/public-api.d.ts +0 -3
- package/typography/typography.component.d.ts +0 -11
- package/typography/typography.module.d.ts +0 -7
- package/typography/typography.property.d.ts +0 -25
- package/upload/public-api.d.ts +0 -4
- package/upload/upload-portal.component.d.ts +0 -48
- package/upload/upload.component.d.ts +0 -44
- package/upload/upload.module.d.ts +0 -7
- package/upload/upload.property.d.ts +0 -208
package/api/index.d.ts
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class XApiComponent {
|
|
4
|
+
_has: boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XApiComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XApiComponent, "x-api", never, {}, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare class XApiModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XApiModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<XApiModule, never, [typeof XApiComponent], [typeof XApiComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<XApiModule>;
|
|
13
|
+
}
|
|
14
|
+
|
|
1
15
|
/**
|
|
2
|
-
*
|
|
16
|
+
* Api
|
|
17
|
+
* @selector x-api
|
|
18
|
+
* @decorator component
|
|
3
19
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
20
|
+
declare const XApiPrefix = "x-api";
|
|
21
|
+
|
|
22
|
+
export { XApiComponent, XApiModule, XApiPrefix };
|
package/auto-complete/index.d.ts
CHANGED
|
@@ -1,5 +1,456 @@
|
|
|
1
|
+
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
2
|
+
import { OverlayRef, OverlayConfig } from '@angular/cdk/overlay';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { TemplateRef, OnInit, OnChanges, ComponentRef, SimpleChanges } from '@angular/core';
|
|
5
|
+
import { Subject, BehaviorSubject } from 'rxjs';
|
|
6
|
+
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
7
|
+
import { XBoolean, XNumber, XAlign, XJustify, XDirection, XSize, XTemplate, XData, XParentIdentityProperty, XPositionTopBottom } from '@ng-nest/ui/core';
|
|
8
|
+
import { XFormOption } from '@ng-nest/ui/base-form';
|
|
9
|
+
import { XInputComponent } from '@ng-nest/ui/input';
|
|
10
|
+
import { XListComponent } from '@ng-nest/ui/list';
|
|
11
|
+
|
|
1
12
|
/**
|
|
2
|
-
*
|
|
13
|
+
* AutoComplete
|
|
14
|
+
* @selector x-auto-complete
|
|
15
|
+
* @decorator component
|
|
3
16
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
17
|
+
declare const XAutoCompletePrefix = "x-auto-complete";
|
|
18
|
+
declare const XAutoCompleteProperty_base: new () => {
|
|
19
|
+
config: _ng_nest_ui_core.XAutoCompleteConfig | undefined;
|
|
20
|
+
cdr: _angular_core.ChangeDetectorRef;
|
|
21
|
+
invalid: _angular_core.Signal<boolean>;
|
|
22
|
+
invalidPattern: _angular_core.Signal<boolean>;
|
|
23
|
+
requiredIsEmpty: _angular_core.Signal<boolean>;
|
|
24
|
+
invalidMessage: _angular_core.Signal<string>;
|
|
25
|
+
invalidIndex: _angular_core.Signal<number>;
|
|
26
|
+
value: _angular_core.WritableSignal<any>;
|
|
27
|
+
validatorSignal: _angular_core.WritableSignal<boolean>;
|
|
28
|
+
disabledSignal: _angular_core.WritableSignal<boolean>;
|
|
29
|
+
requiredSignal: _angular_core.WritableSignal<boolean>;
|
|
30
|
+
patternSignal: _angular_core.WritableSignal<any>;
|
|
31
|
+
messageSignal: _angular_core.WritableSignal<string | string[]>;
|
|
32
|
+
requiredComputed: _angular_core.Signal<boolean>;
|
|
33
|
+
disabledComputed: _angular_core.Signal<boolean>;
|
|
34
|
+
validatorComputed: _angular_core.Signal<boolean>;
|
|
35
|
+
patternComputed: _angular_core.Signal<any>;
|
|
36
|
+
messageComputed: _angular_core.Signal<string | string[]>;
|
|
37
|
+
invalidInputValidator: _angular_core.WritableSignal<boolean>;
|
|
38
|
+
onChange: (value: any) => void;
|
|
39
|
+
onTouched: () => void;
|
|
40
|
+
writeValue(value: any): void;
|
|
41
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
42
|
+
registerOnTouched(fn: () => void): void;
|
|
43
|
+
setDisabledState(disabled: boolean): void;
|
|
44
|
+
formControlValidator(): void;
|
|
45
|
+
readonly validator: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
46
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
47
|
+
readonly labelWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
48
|
+
readonly labelAlign: _angular_core.InputSignal<XAlign>;
|
|
49
|
+
readonly justify: _angular_core.InputSignal<XJustify>;
|
|
50
|
+
readonly align: _angular_core.InputSignal<XAlign>;
|
|
51
|
+
readonly direction: _angular_core.InputSignal<XDirection>;
|
|
52
|
+
readonly size: _angular_core.InputSignal<XSize>;
|
|
53
|
+
readonly placeholder: _angular_core.InputSignal<string | string[]>;
|
|
54
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
55
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
56
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
57
|
+
readonly valueTpl: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
58
|
+
readonly valueTplContext: _angular_core.InputSignal<unknown>;
|
|
59
|
+
readonly before: _angular_core.InputSignal<XTemplate | undefined>;
|
|
60
|
+
readonly after: _angular_core.InputSignal<XTemplate | undefined>;
|
|
61
|
+
readonly pattern: _angular_core.InputSignal<RegExp | RegExp[]>;
|
|
62
|
+
readonly message: _angular_core.InputSignal<string | string[]>;
|
|
63
|
+
readonly active: _angular_core.ModelSignal<boolean>;
|
|
64
|
+
readonly pointer: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
65
|
+
readonly inputValidator: _angular_core.InputSignal<((value: any) => boolean) | undefined>;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* AutoComplete Property
|
|
69
|
+
*/
|
|
70
|
+
declare class XAutoCompleteProperty extends XAutoCompleteProperty_base {
|
|
71
|
+
/**
|
|
72
|
+
* @zh_CN 节点数据
|
|
73
|
+
* @en_US Node data
|
|
74
|
+
*/
|
|
75
|
+
readonly data: _angular_core.InputSignal<XData<XAutoCompleteNode>>;
|
|
76
|
+
/**
|
|
77
|
+
* @zh_CN 输入延迟执行时间,ms
|
|
78
|
+
* @en_US Enter a delay execution time, ms
|
|
79
|
+
*/
|
|
80
|
+
readonly debounceTime: _angular_core.InputSignalWithTransform<number, XNumber>;
|
|
81
|
+
/**
|
|
82
|
+
* @zh_CN 展示方位
|
|
83
|
+
* @en_US Display position
|
|
84
|
+
*/
|
|
85
|
+
readonly placement: _angular_core.InputSignal<XPositionTopBottom>;
|
|
86
|
+
/**
|
|
87
|
+
* @zh_CN 节点模板
|
|
88
|
+
* @en_US Node template
|
|
89
|
+
*/
|
|
90
|
+
readonly nodeTpl: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* @zh_CN 显示边框
|
|
93
|
+
* @en_US Display Border
|
|
94
|
+
*/
|
|
95
|
+
readonly bordered: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
96
|
+
/**
|
|
97
|
+
* @zh_CN 匹配区分大小写
|
|
98
|
+
* @en_US Case-sensitive
|
|
99
|
+
*/
|
|
100
|
+
readonly caseSensitive: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
101
|
+
/**
|
|
102
|
+
* @zh_CN 只能是选择的值
|
|
103
|
+
* @en_US Can only be the value of choice
|
|
104
|
+
*/
|
|
105
|
+
readonly onlySelect: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
106
|
+
/**
|
|
107
|
+
* @zh_CN 尺寸
|
|
108
|
+
* @en_US Size
|
|
109
|
+
*/
|
|
110
|
+
readonly size: _angular_core.InputSignal<XSize>;
|
|
111
|
+
/**
|
|
112
|
+
* @zh_CN 输入框点击样式
|
|
113
|
+
* @en_US Input pointer
|
|
114
|
+
*/
|
|
115
|
+
readonly pointer: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
116
|
+
/**
|
|
117
|
+
* @zh_CN 标签
|
|
118
|
+
* @en_US Label
|
|
119
|
+
*/
|
|
120
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
121
|
+
/**
|
|
122
|
+
* @zh_CN 标签宽度
|
|
123
|
+
* @en_US Label width
|
|
124
|
+
*/
|
|
125
|
+
readonly labelWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
126
|
+
/**
|
|
127
|
+
* @zh_CN 标签文字对齐方式
|
|
128
|
+
* @en_US Label text alignment method
|
|
129
|
+
*/
|
|
130
|
+
readonly labelAlign: _angular_core.InputSignal<XAlign>;
|
|
131
|
+
/**
|
|
132
|
+
* @zh_CN flex 布局下的子元素水平排列方式
|
|
133
|
+
* @en_US The level of sub-element level arrangement under flex layout
|
|
134
|
+
*/
|
|
135
|
+
readonly justify: _angular_core.InputSignal<XJustify>;
|
|
136
|
+
/**
|
|
137
|
+
* @zh_CN flex 布局下的子元素垂直排列方式
|
|
138
|
+
* @en_US sub-element vertical arrangement method under flex layout
|
|
139
|
+
*/
|
|
140
|
+
readonly align: _angular_core.InputSignal<XAlign>;
|
|
141
|
+
/**
|
|
142
|
+
* @zh_CN flex 布局下的子元素排列方向
|
|
143
|
+
* @en_US The direction of the sub-element arrangement under flex layout
|
|
144
|
+
*/
|
|
145
|
+
readonly direction: _angular_core.InputSignal<XDirection>;
|
|
146
|
+
/**
|
|
147
|
+
* @zh_CN 输入提示信息
|
|
148
|
+
* @en_US Enter prompt information
|
|
149
|
+
*/
|
|
150
|
+
readonly placeholder: _angular_core.InputSignal<string | string[]>;
|
|
151
|
+
/**
|
|
152
|
+
* @zh_CN 禁用
|
|
153
|
+
* @en_US Disabled
|
|
154
|
+
*/
|
|
155
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
156
|
+
/**
|
|
157
|
+
* @zh_CN 必填
|
|
158
|
+
* @en_US Required
|
|
159
|
+
*/
|
|
160
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
161
|
+
/**
|
|
162
|
+
* @zh_CN 只读
|
|
163
|
+
* @en_US Readonly
|
|
164
|
+
*/
|
|
165
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
166
|
+
/**
|
|
167
|
+
* @zh_CN 值模板
|
|
168
|
+
* @en_US Node template
|
|
169
|
+
*/
|
|
170
|
+
readonly valueTpl: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* @zh_CN 值模板参数
|
|
173
|
+
* @en_US Node template
|
|
174
|
+
*/
|
|
175
|
+
readonly valueTplContext: _angular_core.InputSignal<unknown>;
|
|
176
|
+
/**
|
|
177
|
+
* @zh_CN 前置标签
|
|
178
|
+
* @en_US Before label
|
|
179
|
+
*/
|
|
180
|
+
readonly before: _angular_core.InputSignal<XTemplate | undefined>;
|
|
181
|
+
/**
|
|
182
|
+
* @zh_CN 后置标签
|
|
183
|
+
* @en_US After label
|
|
184
|
+
*/
|
|
185
|
+
readonly after: _angular_core.InputSignal<XTemplate | undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* @zh_CN 正则验证规则
|
|
188
|
+
* @en_US Regular verification rules
|
|
189
|
+
*/
|
|
190
|
+
readonly pattern: _angular_core.InputSignal<any>;
|
|
191
|
+
/**
|
|
192
|
+
* @zh_CN 验证不通过提示文字
|
|
193
|
+
* @en_US Verify not pass the prompt text
|
|
194
|
+
*/
|
|
195
|
+
readonly message: _angular_core.InputSignal<string | string[]>;
|
|
196
|
+
/**
|
|
197
|
+
* @zh_CN 激活状态
|
|
198
|
+
* @en_US Activation state
|
|
199
|
+
*/
|
|
200
|
+
readonly active: _angular_core.ModelSignal<boolean>;
|
|
201
|
+
/**
|
|
202
|
+
* @zh_CN 输入验证函数
|
|
203
|
+
* @en_US Enter the verification function
|
|
204
|
+
*/
|
|
205
|
+
readonly inputValidator: _angular_core.InputSignal<((value: any) => boolean) | undefined>;
|
|
206
|
+
/**
|
|
207
|
+
* @zh_CN 选择节点事件
|
|
208
|
+
* @en_US Node click event
|
|
209
|
+
*/
|
|
210
|
+
readonly nodeEmit: _angular_core.OutputEmitterRef<XAutoCompleteNode>;
|
|
211
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAutoCompleteProperty, never>;
|
|
212
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XAutoCompleteProperty, "x-auto-complete-property", never, { "data": { "alias": "data"; "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; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; "onlySelect": { "alias": "onlySelect"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "pointer": { "alias": "pointer"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelWidth": { "alias": "labelWidth"; "required": false; "isSignal": true; }; "labelAlign": { "alias": "labelAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "valueTpl": { "alias": "valueTpl"; "required": false; "isSignal": true; }; "valueTplContext": { "alias": "valueTplContext"; "required": false; "isSignal": true; }; "before": { "alias": "before"; "required": false; "isSignal": true; }; "after": { "alias": "after"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "inputValidator": { "alias": "inputValidator"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "nodeEmit": "nodeEmit"; }, never, never, true, never>;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* AutoComplete Option
|
|
216
|
+
*/
|
|
217
|
+
interface XAutoCompleteOption extends XFormOption {
|
|
218
|
+
/**
|
|
219
|
+
* @zh_CN 节点数据
|
|
220
|
+
* @en_US Node data
|
|
221
|
+
*/
|
|
222
|
+
data?: XData<XAutoCompleteNode>;
|
|
223
|
+
/**
|
|
224
|
+
* @zh_CN 输入延迟执行时间,ms
|
|
225
|
+
* @en_US Enter a delay execution time, ms
|
|
226
|
+
*/
|
|
227
|
+
debounceTime?: number;
|
|
228
|
+
/**
|
|
229
|
+
* @zh_CN 展示方位
|
|
230
|
+
* @en_US Display position
|
|
231
|
+
*/
|
|
232
|
+
placement?: XPositionTopBottom;
|
|
233
|
+
/**
|
|
234
|
+
* @zh_CN 节点模板
|
|
235
|
+
* @en_US Node template
|
|
236
|
+
*/
|
|
237
|
+
nodeTpl?: TemplateRef<any>;
|
|
238
|
+
/**
|
|
239
|
+
* @zh_CN 显示边框
|
|
240
|
+
* @en_US Display Border
|
|
241
|
+
*/
|
|
242
|
+
bordered?: boolean;
|
|
243
|
+
/**
|
|
244
|
+
* @zh_CN 匹配区分大小写
|
|
245
|
+
* @en_US Case-sensitive
|
|
246
|
+
*/
|
|
247
|
+
caseSensitive?: boolean;
|
|
248
|
+
/**
|
|
249
|
+
* @zh_CN 只能是选择的值
|
|
250
|
+
* @en_US Can only be the value of choice
|
|
251
|
+
*/
|
|
252
|
+
onlySelect?: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* @zh_CN 尺寸
|
|
255
|
+
* @en_US Size
|
|
256
|
+
*/
|
|
257
|
+
size?: XSize;
|
|
258
|
+
/**
|
|
259
|
+
* @zh_CN 输入框点击样式
|
|
260
|
+
* @en_US Input pointer
|
|
261
|
+
*/
|
|
262
|
+
pointer?: boolean;
|
|
263
|
+
/**
|
|
264
|
+
* @zh_CN 标签
|
|
265
|
+
* @en_US Label
|
|
266
|
+
*/
|
|
267
|
+
label?: string;
|
|
268
|
+
/**
|
|
269
|
+
* @zh_CN 标签宽度
|
|
270
|
+
* @en_US Label width
|
|
271
|
+
*/
|
|
272
|
+
labelWidth?: string;
|
|
273
|
+
/**
|
|
274
|
+
* @zh_CN 标签文字对齐方式
|
|
275
|
+
* @en_US Label text alignment method
|
|
276
|
+
*/
|
|
277
|
+
labelAlign?: XAlign;
|
|
278
|
+
/**
|
|
279
|
+
* @zh_CN flex 布局下的子元素水平排列方式
|
|
280
|
+
* @en_US The level of sub-element level arrangement under flex layout
|
|
281
|
+
*/
|
|
282
|
+
justify?: XJustify;
|
|
283
|
+
/**
|
|
284
|
+
* @zh_CN flex 布局下的子元素垂直排列方式
|
|
285
|
+
* @en_US sub-element vertical arrangement method under flex layout
|
|
286
|
+
*/
|
|
287
|
+
align?: XAlign;
|
|
288
|
+
/**
|
|
289
|
+
* @zh_CN flex 布局下的子元素排列方向
|
|
290
|
+
* @en_US The direction of the sub-element arrangement under flex layout
|
|
291
|
+
*/
|
|
292
|
+
direction?: XDirection;
|
|
293
|
+
/**
|
|
294
|
+
* @zh_CN 输入提示信息
|
|
295
|
+
* @en_US Enter prompt information
|
|
296
|
+
*/
|
|
297
|
+
placeholder?: string;
|
|
298
|
+
/**
|
|
299
|
+
* @zh_CN 禁用
|
|
300
|
+
* @en_US Disabled
|
|
301
|
+
*/
|
|
302
|
+
disabled?: boolean;
|
|
303
|
+
/**
|
|
304
|
+
* @zh_CN 必填
|
|
305
|
+
* @en_US Required
|
|
306
|
+
*/
|
|
307
|
+
required?: boolean;
|
|
308
|
+
/**
|
|
309
|
+
* @zh_CN 只读
|
|
310
|
+
* @en_US Readonly
|
|
311
|
+
*/
|
|
312
|
+
readonly?: boolean;
|
|
313
|
+
/**
|
|
314
|
+
* @zh_CN 值模板
|
|
315
|
+
* @en_US Node template
|
|
316
|
+
*/
|
|
317
|
+
valueTpl?: TemplateRef<any>;
|
|
318
|
+
/**
|
|
319
|
+
* @zh_CN 值模板参数
|
|
320
|
+
* @en_US Node template
|
|
321
|
+
*/
|
|
322
|
+
valueTplContext?: any;
|
|
323
|
+
/**
|
|
324
|
+
* @zh_CN 前置标签
|
|
325
|
+
* @en_US Before label
|
|
326
|
+
*/
|
|
327
|
+
before?: XTemplate;
|
|
328
|
+
/**
|
|
329
|
+
* @zh_CN 后置标签
|
|
330
|
+
* @en_US After label
|
|
331
|
+
*/
|
|
332
|
+
after?: XTemplate;
|
|
333
|
+
/**
|
|
334
|
+
* @zh_CN 正则验证规则
|
|
335
|
+
* @en_US Regular verification rules
|
|
336
|
+
*/
|
|
337
|
+
pattern?: RegExp | RegExp[];
|
|
338
|
+
/**
|
|
339
|
+
* @zh_CN 验证不通过提示文字
|
|
340
|
+
* @en_US Verify not pass the prompt text
|
|
341
|
+
*/
|
|
342
|
+
message?: string | string[];
|
|
343
|
+
/**
|
|
344
|
+
* @zh_CN 激活状态
|
|
345
|
+
* @en_US Activation state
|
|
346
|
+
*/
|
|
347
|
+
active?: boolean;
|
|
348
|
+
/**
|
|
349
|
+
* @zh_CN 输入验证函数
|
|
350
|
+
* @en_US Enter the verification function
|
|
351
|
+
*/
|
|
352
|
+
inputValidator?: (value: any) => boolean;
|
|
353
|
+
/**
|
|
354
|
+
* @zh_CN 选择节点事件
|
|
355
|
+
* @en_US Node click event
|
|
356
|
+
*/
|
|
357
|
+
nodeEmit?: (node: XAutoCompleteNode) => void;
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* @zh_CN AutoComplete 数据对象
|
|
361
|
+
* @en_US AutoComplete data object
|
|
362
|
+
*/
|
|
363
|
+
interface XAutoCompleteNode extends XParentIdentityProperty<XAutoCompleteNode> {
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* AutoComplete Portal
|
|
367
|
+
* @selector x-auto-complete-portal
|
|
368
|
+
* @decorator component
|
|
369
|
+
*/
|
|
370
|
+
declare const XAutoCompletePortalPrefix = "x-auto-complete-portal";
|
|
371
|
+
|
|
372
|
+
declare class XAutoCompletePortalComponent implements OnInit {
|
|
373
|
+
get getPlacement(): XPositionTopBottom | undefined;
|
|
374
|
+
done(): void;
|
|
375
|
+
start(): void;
|
|
376
|
+
list: _angular_core.Signal<XListComponent>;
|
|
377
|
+
data: _angular_core.InputSignal<XAutoCompleteNode[] | undefined>;
|
|
378
|
+
value: _angular_core.InputSignal<any>;
|
|
379
|
+
placement: _angular_core.InputSignal<XPositionTopBottom | undefined>;
|
|
380
|
+
nodeTpl: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
381
|
+
inputCom: _angular_core.InputSignal<XInputComponent | undefined>;
|
|
382
|
+
keywordText: _angular_core.ModelSignal<string>;
|
|
383
|
+
caseSensitive: _angular_core.InputSignal<boolean>;
|
|
384
|
+
animating: _angular_core.OutputEmitterRef<boolean>;
|
|
385
|
+
nodeClick: _angular_core.OutputEmitterRef<XAutoCompleteNode>;
|
|
386
|
+
closeSubject: Subject<void>;
|
|
387
|
+
keydownSubject: Subject<KeyboardEvent>;
|
|
388
|
+
active: _angular_core.WritableSignal<number>;
|
|
389
|
+
destroy: _angular_core.WritableSignal<boolean>;
|
|
390
|
+
private unSubject;
|
|
391
|
+
private destroyRef;
|
|
392
|
+
ngOnInit(): void;
|
|
393
|
+
stopPropagation(event: Event): void;
|
|
394
|
+
onNodeClick(node: XAutoCompleteNode): void;
|
|
395
|
+
onActive(num: number): void;
|
|
396
|
+
onTabOut(): void;
|
|
397
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAutoCompletePortalComponent, never>;
|
|
398
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XAutoCompletePortalComponent, "x-auto-complete-portal", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "nodeTpl": { "alias": "nodeTpl"; "required": false; "isSignal": true; }; "inputCom": { "alias": "inputCom"; "required": false; "isSignal": true; }; "keywordText": { "alias": "keywordText"; "required": false; "isSignal": true; }; "caseSensitive": { "alias": "caseSensitive"; "required": false; "isSignal": true; }; }, { "keywordText": "keywordTextChange"; "animating": "animating"; "nodeClick": "nodeClick"; }, never, never, true, never>;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
declare class XAutoCompleteComponent extends XAutoCompleteProperty implements OnInit, OnChanges {
|
|
402
|
+
inputCom: _angular_core.Signal<XInputComponent>;
|
|
403
|
+
nodes: _angular_core.WritableSignal<XAutoCompleteNode[]>;
|
|
404
|
+
searchNodes: _angular_core.WritableSignal<XAutoCompleteNode[]>;
|
|
405
|
+
icon: _angular_core.WritableSignal<string>;
|
|
406
|
+
iconSpin: _angular_core.WritableSignal<boolean>;
|
|
407
|
+
animating: _angular_core.WritableSignal<boolean>;
|
|
408
|
+
valueTplContextSignal: _angular_core.WritableSignal<{
|
|
409
|
+
$node: any;
|
|
410
|
+
$isValue: boolean;
|
|
411
|
+
}>;
|
|
412
|
+
valueTplContextComputed: _angular_core.Signal<unknown>;
|
|
413
|
+
inputChange: BehaviorSubject<any>;
|
|
414
|
+
closeSubject: Subject<void>;
|
|
415
|
+
keydownSubject: Subject<KeyboardEvent>;
|
|
416
|
+
private unSubject;
|
|
417
|
+
private portalService;
|
|
418
|
+
private viewContainerRef;
|
|
419
|
+
private overlay;
|
|
420
|
+
private elementRef;
|
|
421
|
+
private realPlacement;
|
|
422
|
+
portalComponent: _angular_core.WritableSignal<ComponentRef<XAutoCompletePortalComponent> | null>;
|
|
423
|
+
portalOverlayRef: _angular_core.WritableSignal<OverlayRef | null>;
|
|
424
|
+
inputChanged: _angular_core.Signal<any>;
|
|
425
|
+
constructor();
|
|
426
|
+
ngOnInit(): void;
|
|
427
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
428
|
+
ngAfterViewInit(): void;
|
|
429
|
+
ngOnDestroy(): void;
|
|
430
|
+
setData(): void;
|
|
431
|
+
setSubject(): void;
|
|
432
|
+
setParantScroll(): void;
|
|
433
|
+
portalAttached(): boolean | undefined;
|
|
434
|
+
closePortal(): void;
|
|
435
|
+
showPortal(): void;
|
|
436
|
+
createPortal(): void;
|
|
437
|
+
setPosition(config: OverlayConfig): void;
|
|
438
|
+
onNodeClick(node: XAutoCompleteNode): void;
|
|
439
|
+
setPlacement(): _angular_cdk_overlay.PositionStrategy;
|
|
440
|
+
setPortal(): void;
|
|
441
|
+
setSearchNodes(value: string | number): void;
|
|
442
|
+
modelChange(value: string | number): void;
|
|
443
|
+
onKeydown($event: KeyboardEvent): void;
|
|
444
|
+
onInput(_event: Event): void;
|
|
445
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAutoCompleteComponent, never>;
|
|
446
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XAutoCompleteComponent, "x-auto-complete", never, {}, {}, never, never, true, never>;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
declare class XAutoCompleteModule {
|
|
450
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAutoCompleteModule, never>;
|
|
451
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<XAutoCompleteModule, never, [typeof XAutoCompleteComponent], [typeof XAutoCompleteComponent]>;
|
|
452
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<XAutoCompleteModule>;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export { XAutoCompleteComponent, XAutoCompleteModule, XAutoCompletePortalComponent, XAutoCompletePortalPrefix, XAutoCompletePrefix, XAutoCompleteProperty };
|
|
456
|
+
export type { XAutoCompleteNode, XAutoCompleteOption };
|
package/avatar/index.d.ts
CHANGED
|
@@ -1,5 +1,200 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy, AfterViewChecked } from '@angular/core';
|
|
3
|
+
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
4
|
+
import { XTemplate, XSize, XResponseSize, XShape, XFit, XNumber, XProperty, XClassMap } from '@ng-nest/ui/core';
|
|
5
|
+
|
|
1
6
|
/**
|
|
2
|
-
*
|
|
7
|
+
* Avatar
|
|
8
|
+
* @selector x-avatar
|
|
9
|
+
* @decorator component
|
|
3
10
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
11
|
+
declare const XAvatarPrefix = "x-avatar";
|
|
12
|
+
declare const X_AVATAR_CONFIG_NAME = "avatar";
|
|
13
|
+
declare const XAvatarProperty_base: new () => {
|
|
14
|
+
config: _ng_nest_ui_core.XAvatarConfig | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Avatar Property
|
|
18
|
+
*/
|
|
19
|
+
declare class XAvatarProperty extends XAvatarProperty_base {
|
|
20
|
+
/**
|
|
21
|
+
* @zh_CN 显示字符
|
|
22
|
+
* @en_US Display characters
|
|
23
|
+
* @example
|
|
24
|
+
*
|
|
25
|
+
* ```html
|
|
26
|
+
* <x-avatar label="ng-nest"></x-avatar>
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
readonly label: _angular_core.InputSignal<XTemplate | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* @zh_CN 尺寸
|
|
33
|
+
* @en_US Size
|
|
34
|
+
* @example
|
|
35
|
+
*
|
|
36
|
+
* ```html
|
|
37
|
+
* <x-avatar size="big" icon="fto-user"></x-avatar>
|
|
38
|
+
* <x-avatar size="large" icon="fto-user"></x-avatar>
|
|
39
|
+
* <x-avatar size="medium" icon="fto-user"></x-avatar>
|
|
40
|
+
* <x-avatar size="small" icon="fto-user"></x-avatar>
|
|
41
|
+
* <x-avatar size="mini" icon="fto-user"></x-avatar>
|
|
42
|
+
* <x-avatar [size]="100" icon="fto-user"></x-avatar>
|
|
43
|
+
* <x-avatar [size]="{ xs: 20, sm: 60, md: 90, lg: 120, xl: 160 }" icon="fto-user"></x-avatar>
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
readonly size: _angular_core.InputSignal<XAvatarSize>;
|
|
48
|
+
/**
|
|
49
|
+
* @zh_CN 显示图标
|
|
50
|
+
* @en_US Show icon
|
|
51
|
+
* @example
|
|
52
|
+
*
|
|
53
|
+
* ```html
|
|
54
|
+
* <x-avatar icon="fto-user"></x-avatar>
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* @zh_CN 形状
|
|
61
|
+
* @en_US Shape
|
|
62
|
+
* @example
|
|
63
|
+
*
|
|
64
|
+
* ```html
|
|
65
|
+
* <x-avatar icon="fto-user" shape="circle"></x-avatar>
|
|
66
|
+
* <x-avatar icon="fto-user" shape="square"></x-avatar>
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
readonly shape: _angular_core.InputSignal<XShape>;
|
|
71
|
+
/**
|
|
72
|
+
* @zh_CN 图片地址
|
|
73
|
+
* @en_US The map's address
|
|
74
|
+
* @example
|
|
75
|
+
*
|
|
76
|
+
* ```html
|
|
77
|
+
* <x-avatar src="https://ngnest.com/img/logo/logo-144x144.png"></x-avatar>
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
readonly src: _angular_core.InputSignal<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* @zh_CN 图片适应方式
|
|
84
|
+
* @en_US Image adaptation method
|
|
85
|
+
* @example
|
|
86
|
+
*
|
|
87
|
+
* ```html
|
|
88
|
+
* <x-avatar fit="fill" src="https://ngnest.com/img/logo/logo-144x144.png"></x-avatar>
|
|
89
|
+
* <x-avatar fit="contain" src="https://ngnest.com/img/logo/logo-144x144.png"></x-avatar>
|
|
90
|
+
* <x-avatar fit="cover" src="https://ngnest.com/img/logo/logo-144x144.png"></x-avatar>
|
|
91
|
+
* <x-avatar fit="none" src="https://ngnest.com/img/logo/logo-144x144.png"></x-avatar>
|
|
92
|
+
* <x-avatar fit="scale-down" src="https://ngnest.com/img/logo/logo-144x144.png"></x-avatar>
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
readonly fit: _angular_core.InputSignal<XFit>;
|
|
97
|
+
/**
|
|
98
|
+
* @zh_CN 字符类型的时候左右边距
|
|
99
|
+
* @en_US When the character type is the left and right distance
|
|
100
|
+
* @example
|
|
101
|
+
*
|
|
102
|
+
* ```html
|
|
103
|
+
* <x-avatar label="ng-nest" gap="5"></x-avatar>
|
|
104
|
+
* <x-avatar label="ng-nest" gap="5px"></x-avatar>
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
readonly gap: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
109
|
+
/**
|
|
110
|
+
* @zh_CN 背景颜色
|
|
111
|
+
* @en_US Background color
|
|
112
|
+
* @example
|
|
113
|
+
*
|
|
114
|
+
* ```html
|
|
115
|
+
* <x-avatar label="ng-nest" backgroundColor="#999999"></x-avatar>
|
|
116
|
+
* <x-avatar label="ng-nest" backgroundColor="#888888"></x-avatar>
|
|
117
|
+
* ```
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
readonly backgroundColor: _angular_core.InputSignal<string>;
|
|
121
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAvatarProperty, never>;
|
|
122
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XAvatarProperty, "x-avatar-property", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; "fit": { "alias": "fit"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* @zh_CN 头像形状
|
|
126
|
+
* @en_US Avatar shape
|
|
127
|
+
*/
|
|
128
|
+
type XAvatarShape = XShape;
|
|
129
|
+
/**
|
|
130
|
+
* @zh_CN 当展示类型为图片的时候,设置图片如何适应容器框
|
|
131
|
+
* @en_US When the display type is picture, set how the picture fits into the container frame
|
|
132
|
+
*/
|
|
133
|
+
type XAvatarFit = XFit;
|
|
134
|
+
/**
|
|
135
|
+
* @zh_CN 尺寸类型
|
|
136
|
+
* @en_US Size type
|
|
137
|
+
*/
|
|
138
|
+
type XAvatarSize = number | XSize | XResponseSize;
|
|
139
|
+
/**
|
|
140
|
+
* Avatar Group
|
|
141
|
+
* @selector x-avatar-group
|
|
142
|
+
* @decorator component
|
|
143
|
+
*/
|
|
144
|
+
declare const XAvatarGroupPrefix = "x-avatar-group";
|
|
145
|
+
/**
|
|
146
|
+
* Avatar Group Property
|
|
147
|
+
*/
|
|
148
|
+
declare class XAvatarGroupProperty extends XProperty {
|
|
149
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAvatarGroupProperty, never>;
|
|
150
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XAvatarGroupProperty, "x-avatar-group-property", never, {}, {}, never, never, true, never>;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
declare class XAvatarComponent extends XAvatarProperty implements OnDestroy, AfterViewChecked {
|
|
154
|
+
private document;
|
|
155
|
+
private avatar;
|
|
156
|
+
private labelRef;
|
|
157
|
+
private fontSize;
|
|
158
|
+
private resizeObserver;
|
|
159
|
+
private labelWidth;
|
|
160
|
+
private documentWidth;
|
|
161
|
+
isImgError: _angular_core.WritableSignal<boolean>;
|
|
162
|
+
styleMap: _angular_core.Signal<{
|
|
163
|
+
height: string;
|
|
164
|
+
width: string;
|
|
165
|
+
lineHeight: string;
|
|
166
|
+
fontSize: string;
|
|
167
|
+
} | {
|
|
168
|
+
height?: undefined;
|
|
169
|
+
width?: undefined;
|
|
170
|
+
lineHeight?: undefined;
|
|
171
|
+
fontSize?: undefined;
|
|
172
|
+
}>;
|
|
173
|
+
classMap: _angular_core.Signal<XClassMap>;
|
|
174
|
+
labelStyleMap: _angular_core.Signal<{
|
|
175
|
+
transform?: undefined;
|
|
176
|
+
} | {
|
|
177
|
+
transform: string;
|
|
178
|
+
}>;
|
|
179
|
+
constructor();
|
|
180
|
+
ngAfterViewChecked(): void;
|
|
181
|
+
ngOnDestroy(): void;
|
|
182
|
+
imgError(): void;
|
|
183
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAvatarComponent, never>;
|
|
184
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XAvatarComponent, "x-avatar", never, {}, {}, never, never, true, never>;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
declare class XAvatarGroupComponent extends XAvatarGroupProperty {
|
|
188
|
+
_has: boolean;
|
|
189
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAvatarGroupComponent, never>;
|
|
190
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XAvatarGroupComponent, "x-avatar-group", never, {}, {}, never, ["*"], true, never>;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
declare class XAvatarModule {
|
|
194
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XAvatarModule, never>;
|
|
195
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<XAvatarModule, never, [typeof XAvatarComponent, typeof XAvatarGroupComponent], [typeof XAvatarComponent, typeof XAvatarGroupComponent]>;
|
|
196
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<XAvatarModule>;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export { XAvatarComponent, XAvatarGroupComponent, XAvatarGroupPrefix, XAvatarGroupProperty, XAvatarModule, XAvatarPrefix, XAvatarProperty, X_AVATAR_CONFIG_NAME };
|
|
200
|
+
export type { XAvatarFit, XAvatarShape, XAvatarSize };
|