@ng-nest/ui 19.0.13 → 20.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +524 -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 +12 -11
- package/fesm2022/ng-nest-ui-back-top.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-badge.mjs +11 -11
- package/fesm2022/ng-nest-ui-base-form.mjs +7 -9
- package/fesm2022/ng-nest-ui-base-form.mjs.map +1 -1
- 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 +15 -14
- package/fesm2022/ng-nest-ui-cascade.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-checkbox.mjs +11 -11
- package/fesm2022/ng-nest-ui-collapse.mjs +18 -17
- package/fesm2022/ng-nest-ui-collapse.mjs.map +1 -1
- 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-core.mjs.map +1 -1
- 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 +20 -21
- package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
- 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 +28 -20
- 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 +26 -26
- 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 +12 -22
- package/fesm2022/ng-nest-ui-pagination.mjs.map +1 -1
- 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 +29 -39
- package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
- 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 +135 -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 +18 -18
- 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 +635 -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 -365
- 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 -61
- 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 -360
- 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 -320
- 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 -304
- 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 -624
- 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 -1316
- 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 -563
- 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 -494
- 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 -553
- 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 -313
- 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 -378
- 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 -161
- 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 -284
- 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 -200
- 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 -108
- package/select/select.module.d.ts +0 -7
- package/select/select.property.d.ts +0 -474
- 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 -321
- 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 -202
- 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 -879
- 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 -310
- 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 -101
- 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 -442
- 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 -264
- 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 -487
- 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 -209
package/portal/index.d.ts
CHANGED
|
@@ -1,5 +1,159 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { TemplateRef, ViewContainerRef, ComponentRef, EmbeddedViewRef, Injector, StaticProvider, ElementRef } from '@angular/core';
|
|
3
|
+
import { ComponentType, TemplatePortal, ComponentPortal } from '@angular/cdk/portal';
|
|
4
|
+
import { ConnectedPosition, OverlayConfig, OverlayRef, Overlay, PositionStrategy } from '@angular/cdk/overlay';
|
|
5
|
+
import { XPlace, XPlacement, XPosition } from '@ng-nest/ui/core';
|
|
6
|
+
|
|
7
|
+
declare class XPortalModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XPortalModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<XPortalModule, never, never, never>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<XPortalModule>;
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
/**
|
|
2
|
-
*
|
|
14
|
+
* Portal
|
|
15
|
+
* @selector x-portal
|
|
16
|
+
* @decorator component
|
|
3
17
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
18
|
+
declare const XPortalPrefix = "x-portal";
|
|
19
|
+
declare const XPortalResizablePrefix = "x-portal-resizable";
|
|
20
|
+
declare const XPortalPlacement: {
|
|
21
|
+
[proptery: string]: ConnectedPosition;
|
|
22
|
+
};
|
|
23
|
+
declare const XPortalConnectedPosition: Map<ConnectedPosition, string>;
|
|
24
|
+
/**
|
|
25
|
+
* Portal Property
|
|
26
|
+
*/
|
|
27
|
+
interface XPortalProperty<T> {
|
|
28
|
+
/**
|
|
29
|
+
* @zh_CN 内容,模板/组件
|
|
30
|
+
* @en_US Content, template/component
|
|
31
|
+
*/
|
|
32
|
+
content?: TemplateRef<any> | ComponentType<T>;
|
|
33
|
+
/**
|
|
34
|
+
* @zh_CN 视图容器
|
|
35
|
+
* @en_US View container
|
|
36
|
+
*/
|
|
37
|
+
viewContainerRef?: ViewContainerRef;
|
|
38
|
+
/**
|
|
39
|
+
* @zh_CN 上下文
|
|
40
|
+
* @en_US Context
|
|
41
|
+
*/
|
|
42
|
+
context?: any;
|
|
43
|
+
/**
|
|
44
|
+
* @zh_CN 注入器
|
|
45
|
+
* @en_US Injector
|
|
46
|
+
*/
|
|
47
|
+
injector?: any;
|
|
48
|
+
/**
|
|
49
|
+
* @zh_CN 覆盖视图层配置
|
|
50
|
+
* @en_US Overlay view layer configuration
|
|
51
|
+
*/
|
|
52
|
+
overlayConfig?: OverlayConfig;
|
|
53
|
+
}
|
|
54
|
+
interface XPortalOverlayRef<T> {
|
|
55
|
+
/**
|
|
56
|
+
* @zh_CN cdk 创建的覆盖视图层
|
|
57
|
+
* @en_US Overlay view layer created by cdk
|
|
58
|
+
*/
|
|
59
|
+
overlayRef?: OverlayRef;
|
|
60
|
+
/**
|
|
61
|
+
* @zh_CN cdk 模板视图
|
|
62
|
+
* @en_US Cdk template view
|
|
63
|
+
*/
|
|
64
|
+
templatePortal?: TemplatePortal<any>;
|
|
65
|
+
/**
|
|
66
|
+
* @zh_CN cdk 组件视图
|
|
67
|
+
* @en_US Cdk component view
|
|
68
|
+
*/
|
|
69
|
+
componentPortal?: ComponentPortal<T>;
|
|
70
|
+
/**
|
|
71
|
+
* @zh_CN 组件视图
|
|
72
|
+
* @en_US Component view
|
|
73
|
+
*/
|
|
74
|
+
componentRef?: ComponentRef<T>;
|
|
75
|
+
/**
|
|
76
|
+
* @zh_CN 模板视图
|
|
77
|
+
* @en_US Template view
|
|
78
|
+
*/
|
|
79
|
+
embeddedViewRef?: EmbeddedViewRef<any>;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* 动态创建视图服务
|
|
84
|
+
*/
|
|
85
|
+
declare class XPortalService {
|
|
86
|
+
overlay: Overlay;
|
|
87
|
+
injector: Injector;
|
|
88
|
+
private rendererFactory;
|
|
89
|
+
renderer: i0.Renderer2;
|
|
90
|
+
attach<T>(option: XPortalProperty<T>): XPortalOverlayRef<T>;
|
|
91
|
+
createInjector(providers: StaticProvider[], viewContainerRef?: ViewContainerRef): i0.DestroyableInjector;
|
|
92
|
+
setPlacement(param?: {
|
|
93
|
+
elementRef?: ElementRef;
|
|
94
|
+
placement?: XPlace[] | XPlacement[];
|
|
95
|
+
transformOriginOn?: string;
|
|
96
|
+
}): PositionStrategy;
|
|
97
|
+
setPosition(position?: XPosition, width?: string, height?: string): PositionStrategy;
|
|
98
|
+
setPlace(place?: XPlace, ...offset: string[]): PositionStrategy;
|
|
99
|
+
setResizable(ele: HTMLElement, place?: XPlace): {
|
|
100
|
+
marginLeft: string;
|
|
101
|
+
marginTop: string;
|
|
102
|
+
marginBottom: string;
|
|
103
|
+
marginRight: string;
|
|
104
|
+
};
|
|
105
|
+
setContainerStyle(place?: XPlace, ...offset: string[]): {
|
|
106
|
+
top: string;
|
|
107
|
+
left: string;
|
|
108
|
+
right?: undefined;
|
|
109
|
+
bottom?: undefined;
|
|
110
|
+
} | {
|
|
111
|
+
top: string;
|
|
112
|
+
left?: undefined;
|
|
113
|
+
right?: undefined;
|
|
114
|
+
bottom?: undefined;
|
|
115
|
+
} | {
|
|
116
|
+
top: string;
|
|
117
|
+
right: string;
|
|
118
|
+
left?: undefined;
|
|
119
|
+
bottom?: undefined;
|
|
120
|
+
} | {
|
|
121
|
+
left: string;
|
|
122
|
+
top?: undefined;
|
|
123
|
+
right?: undefined;
|
|
124
|
+
bottom?: undefined;
|
|
125
|
+
} | {
|
|
126
|
+
top?: undefined;
|
|
127
|
+
left?: undefined;
|
|
128
|
+
right?: undefined;
|
|
129
|
+
bottom?: undefined;
|
|
130
|
+
} | {
|
|
131
|
+
right: string;
|
|
132
|
+
top?: undefined;
|
|
133
|
+
left?: undefined;
|
|
134
|
+
bottom?: undefined;
|
|
135
|
+
} | {
|
|
136
|
+
bottom: string;
|
|
137
|
+
left: string;
|
|
138
|
+
top?: undefined;
|
|
139
|
+
right?: undefined;
|
|
140
|
+
} | {
|
|
141
|
+
bottom: string;
|
|
142
|
+
top?: undefined;
|
|
143
|
+
left?: undefined;
|
|
144
|
+
right?: undefined;
|
|
145
|
+
} | {
|
|
146
|
+
bottom: string;
|
|
147
|
+
right: string;
|
|
148
|
+
top?: undefined;
|
|
149
|
+
left?: undefined;
|
|
150
|
+
};
|
|
151
|
+
getOffset(offset: string[]): string[];
|
|
152
|
+
createOverlayRef<T>(option: XPortalProperty<T>): OverlayRef;
|
|
153
|
+
setConnectedPosition(...placement: XPlace[] | XPlacement[]): ConnectedPosition[];
|
|
154
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XPortalService, never>;
|
|
155
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<XPortalService>;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export { XPortalConnectedPosition, XPortalModule, XPortalPlacement, XPortalPrefix, XPortalResizablePrefix, XPortalService };
|
|
159
|
+
export type { XPortalOverlayRef, XPortalProperty };
|
package/progress/index.d.ts
CHANGED
|
@@ -1,5 +1,193 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
3
|
+
import { XNumber, XBoolean } from '@ng-nest/ui/core';
|
|
4
|
+
|
|
1
5
|
/**
|
|
2
|
-
*
|
|
6
|
+
* Progress
|
|
7
|
+
* @selector x-progress
|
|
8
|
+
* @decorator component
|
|
3
9
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
10
|
+
declare const XProgressPrefix = "x-progress";
|
|
11
|
+
declare const XProgressProperty_base: new () => {
|
|
12
|
+
config: _ng_nest_ui_core.XProgressConfing | undefined;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Progress Property
|
|
16
|
+
*/
|
|
17
|
+
declare class XProgressProperty extends XProgressProperty_base {
|
|
18
|
+
/**
|
|
19
|
+
* @zh_CN 进度条类型
|
|
20
|
+
* @en_US Progress bar type
|
|
21
|
+
*/
|
|
22
|
+
readonly type: _angular_core.InputSignal<XProgressType>;
|
|
23
|
+
/**
|
|
24
|
+
* @zh_CN 显示进度 0-100
|
|
25
|
+
* @en_US Show progress 0-100
|
|
26
|
+
*/
|
|
27
|
+
readonly percent: _angular_core.InputSignalWithTransform<number, XNumber>;
|
|
28
|
+
/**
|
|
29
|
+
* @zh_CN 进度条高度
|
|
30
|
+
* @en_US Height of progress bar
|
|
31
|
+
*/
|
|
32
|
+
readonly height: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
33
|
+
/**
|
|
34
|
+
* @zh_CN 状态
|
|
35
|
+
* @en_US Status
|
|
36
|
+
*/
|
|
37
|
+
readonly status: _angular_core.InputSignal<XProgressStatus>;
|
|
38
|
+
/**
|
|
39
|
+
* @zh_CN 是否显示百分比文本信息
|
|
40
|
+
* @en_US Whether to display percentage text
|
|
41
|
+
*/
|
|
42
|
+
readonly info: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
43
|
+
/**
|
|
44
|
+
* @zh_CN 文本信息宽度
|
|
45
|
+
* @en_US The width of the text information
|
|
46
|
+
*/
|
|
47
|
+
readonly infoWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
48
|
+
/**
|
|
49
|
+
* @zh_CN 百分比文本是否显示在进度条里面
|
|
50
|
+
* @en_US Whether the percentage text is displayed in the progress bar
|
|
51
|
+
*/
|
|
52
|
+
readonly inside: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
53
|
+
/**
|
|
54
|
+
* @zh_CN 自定义百分比文本内容
|
|
55
|
+
* @en_US Custom percentage text content
|
|
56
|
+
*/
|
|
57
|
+
readonly format: _angular_core.InputSignal<((percent: number) => string) | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* @zh_CN 自定义颜色
|
|
60
|
+
* @en_US Custom color
|
|
61
|
+
*/
|
|
62
|
+
readonly color: _angular_core.InputSignal<XProgressColor | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* @zh_CN 渐变颜色
|
|
65
|
+
* @en_US Gradient color
|
|
66
|
+
*/
|
|
67
|
+
readonly gradient: _angular_core.InputSignal<XProgressGradient | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* @zh_CN 步骤进度条
|
|
70
|
+
* @en_US Steps progress bar
|
|
71
|
+
*/
|
|
72
|
+
readonly steps: _angular_core.InputSignalWithTransform<number | null, XNumber>;
|
|
73
|
+
/**
|
|
74
|
+
* @zh_CN 单个步骤的宽度
|
|
75
|
+
* @en_US Single step width
|
|
76
|
+
*/
|
|
77
|
+
readonly stepWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
78
|
+
/**
|
|
79
|
+
* @zh_CN 单个步骤的宽度自适应
|
|
80
|
+
* @en_US Single step width flex
|
|
81
|
+
*/
|
|
82
|
+
readonly stepFlex: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
83
|
+
/**
|
|
84
|
+
* @zh_CN 圆环/仪表盘厚度
|
|
85
|
+
* @en_US Ring thickness
|
|
86
|
+
*/
|
|
87
|
+
readonly thickness: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
88
|
+
/**
|
|
89
|
+
* @zh_CN 圆环/仪表盘尺寸
|
|
90
|
+
* @en_US Ring size
|
|
91
|
+
*/
|
|
92
|
+
readonly size: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
93
|
+
/**
|
|
94
|
+
* @zh_CN 仪表盘缺口角度 0~300
|
|
95
|
+
* @en_US Dashboard notch angle
|
|
96
|
+
*/
|
|
97
|
+
readonly notchAngle: _angular_core.InputSignalWithTransform<number, XNumber>;
|
|
98
|
+
/**
|
|
99
|
+
* @zh_CN 分段显示颜色,只适用 type = 'line'
|
|
100
|
+
* @en_US Segmentation display color, only use of type = 'line'
|
|
101
|
+
*/
|
|
102
|
+
readonly subsection: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
103
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XProgressProperty, never>;
|
|
104
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XProgressProperty, "x-progress-property", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "percent": { "alias": "percent"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "info": { "alias": "info"; "required": false; "isSignal": true; }; "infoWidth": { "alias": "infoWidth"; "required": false; "isSignal": true; }; "inside": { "alias": "inside"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "gradient": { "alias": "gradient"; "required": false; "isSignal": true; }; "steps": { "alias": "steps"; "required": false; "isSignal": true; }; "stepWidth": { "alias": "stepWidth"; "required": false; "isSignal": true; }; "stepFlex": { "alias": "stepFlex"; "required": false; "isSignal": true; }; "thickness": { "alias": "thickness"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "notchAngle": { "alias": "notchAngle"; "required": false; "isSignal": true; }; "subsection": { "alias": "subsection"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* @zh_CN 进度条类型
|
|
108
|
+
* @en_US Progress bar type
|
|
109
|
+
*/
|
|
110
|
+
type XProgressType = 'line' | 'circle' | 'dashboard';
|
|
111
|
+
/**
|
|
112
|
+
* @zh_CN 进度条颜色
|
|
113
|
+
* @en_US Progress bar color
|
|
114
|
+
*/
|
|
115
|
+
type XProgressColor = string | XProgressColorNode[] | Function;
|
|
116
|
+
/**
|
|
117
|
+
* @zh_CN 进度条节点颜色
|
|
118
|
+
* @en_US Progress bar node color
|
|
119
|
+
*/
|
|
120
|
+
interface XProgressColorNode {
|
|
121
|
+
/**
|
|
122
|
+
* @zh_CN 颜色
|
|
123
|
+
* @en_US Color
|
|
124
|
+
*/
|
|
125
|
+
color: string;
|
|
126
|
+
/**
|
|
127
|
+
* @zh_CN 百分比
|
|
128
|
+
* @en_US Percent
|
|
129
|
+
*/
|
|
130
|
+
percent: number;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* @zh_CN 状态
|
|
134
|
+
* @en_US Status
|
|
135
|
+
*/
|
|
136
|
+
type XProgressStatus = 'normal' | 'active' | 'success' | 'exception' | 'warning';
|
|
137
|
+
/**
|
|
138
|
+
* @zh_CN 渐变颜色
|
|
139
|
+
* @en_US Gradient color
|
|
140
|
+
*/
|
|
141
|
+
type XProgressGradient = {
|
|
142
|
+
direction?: string;
|
|
143
|
+
} & ({
|
|
144
|
+
from: string;
|
|
145
|
+
to: string;
|
|
146
|
+
} | {
|
|
147
|
+
[percent: string]: string;
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
declare class XProgressComponent extends XProgressProperty {
|
|
151
|
+
maskWidth: _angular_core.Signal<number>;
|
|
152
|
+
classMap: _angular_core.Signal<{
|
|
153
|
+
[x: string]: boolean;
|
|
154
|
+
"x-progress-inside": boolean;
|
|
155
|
+
}>;
|
|
156
|
+
stepsArray: _angular_core.Signal<boolean[]>;
|
|
157
|
+
currentColor: _angular_core.Signal<any>;
|
|
158
|
+
linearGradient: _angular_core.Signal<string>;
|
|
159
|
+
/**
|
|
160
|
+
* circle 中的 100% 等于 clip-path 中的 400%
|
|
161
|
+
*/
|
|
162
|
+
circleClipPath: _angular_core.Signal<string>;
|
|
163
|
+
railValue: _angular_core.Signal<number>;
|
|
164
|
+
dashboardStart: _angular_core.Signal<string>;
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* 90 polygon(50% 50%, 0% 100%, 0% 0%, 100% 0%, 100% 100%);
|
|
168
|
+
* 180 polygon(50% 50%, 0% 50%, 0% 0%, 100% 0%, 100% 50%);
|
|
169
|
+
* 270 polygon(50% 50%, 0% 0%, 100% 0%);
|
|
170
|
+
*/
|
|
171
|
+
dashboardRailClipPath: _angular_core.Signal<string>;
|
|
172
|
+
dashboardClipPath: _angular_core.Signal<string>;
|
|
173
|
+
subLinearGradient: _angular_core.Signal<string>;
|
|
174
|
+
getLevelColor(percent: XNumber, color: XProgressColorNode[]): string;
|
|
175
|
+
sortGradient(percents: {
|
|
176
|
+
[percent: string]: string;
|
|
177
|
+
}): {
|
|
178
|
+
key: number;
|
|
179
|
+
value: string;
|
|
180
|
+
}[];
|
|
181
|
+
setCircleClipPathValue(start: string, railValue: number): string;
|
|
182
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XProgressComponent, never>;
|
|
183
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XProgressComponent, "x-progress", never, {}, {}, never, never, true, never>;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
declare class XProgressModule {
|
|
187
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XProgressModule, never>;
|
|
188
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<XProgressModule, never, [typeof XProgressComponent], [typeof XProgressComponent]>;
|
|
189
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<XProgressModule>;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export { XProgressComponent, XProgressModule, XProgressPrefix, XProgressProperty };
|
|
193
|
+
export type { XProgressColor, XProgressColorNode, XProgressGradient, XProgressStatus, XProgressType };
|
package/radio/index.d.ts
CHANGED
|
@@ -1,5 +1,315 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnChanges, OnDestroy, ElementRef, SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
4
|
+
import { XBoolean, XNumber, XAlign, XJustify, XDirection, XTemplate, XData, XIdentityProperty } from '@ng-nest/ui/core';
|
|
5
|
+
import { XButtonType } from '@ng-nest/ui/button';
|
|
6
|
+
import { XFormOption } from '@ng-nest/ui/base-form';
|
|
7
|
+
|
|
1
8
|
/**
|
|
2
|
-
*
|
|
9
|
+
* Radio
|
|
10
|
+
* @selector x-radio
|
|
11
|
+
* @decorator component
|
|
3
12
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
13
|
+
declare const XRadioPrefix = "x-radio";
|
|
14
|
+
declare const XRadioProperty_base: new () => {
|
|
15
|
+
config: _ng_nest_ui_core.XRadioConfig | undefined;
|
|
16
|
+
cdr: _angular_core.ChangeDetectorRef;
|
|
17
|
+
invalid: _angular_core.Signal<boolean>;
|
|
18
|
+
invalidPattern: _angular_core.Signal<boolean>;
|
|
19
|
+
requiredIsEmpty: _angular_core.Signal<boolean>;
|
|
20
|
+
invalidMessage: _angular_core.Signal<string>;
|
|
21
|
+
invalidIndex: _angular_core.Signal<number>;
|
|
22
|
+
value: _angular_core.WritableSignal<any>;
|
|
23
|
+
validatorSignal: _angular_core.WritableSignal<boolean>;
|
|
24
|
+
disabledSignal: _angular_core.WritableSignal<boolean>;
|
|
25
|
+
requiredSignal: _angular_core.WritableSignal<boolean>;
|
|
26
|
+
patternSignal: _angular_core.WritableSignal<any>;
|
|
27
|
+
messageSignal: _angular_core.WritableSignal<string | string[]>;
|
|
28
|
+
requiredComputed: _angular_core.Signal<boolean>;
|
|
29
|
+
disabledComputed: _angular_core.Signal<boolean>;
|
|
30
|
+
validatorComputed: _angular_core.Signal<boolean>;
|
|
31
|
+
patternComputed: _angular_core.Signal<any>;
|
|
32
|
+
messageComputed: _angular_core.Signal<string | string[]>;
|
|
33
|
+
invalidInputValidator: _angular_core.WritableSignal<boolean>;
|
|
34
|
+
onChange: (value: any) => void;
|
|
35
|
+
onTouched: () => void;
|
|
36
|
+
writeValue(value: any): void;
|
|
37
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
38
|
+
registerOnTouched(fn: () => void): void;
|
|
39
|
+
setDisabledState(disabled: boolean): void;
|
|
40
|
+
formControlValidator(): void;
|
|
41
|
+
readonly validator: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
42
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
43
|
+
readonly labelWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
44
|
+
readonly labelAlign: _angular_core.InputSignal<XAlign>;
|
|
45
|
+
readonly justify: _angular_core.InputSignal<XJustify>;
|
|
46
|
+
readonly align: _angular_core.InputSignal<XAlign>;
|
|
47
|
+
readonly direction: _angular_core.InputSignal<XDirection>;
|
|
48
|
+
readonly size: _angular_core.InputSignal<_ng_nest_ui_core.XSize>;
|
|
49
|
+
readonly placeholder: _angular_core.InputSignal<string | string[]>;
|
|
50
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
51
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
52
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
53
|
+
readonly valueTpl: _angular_core.InputSignal<_angular_core.TemplateRef<any> | undefined>;
|
|
54
|
+
readonly valueTplContext: _angular_core.InputSignal<unknown>;
|
|
55
|
+
readonly before: _angular_core.InputSignal<XTemplate | undefined>;
|
|
56
|
+
readonly after: _angular_core.InputSignal<XTemplate | undefined>;
|
|
57
|
+
readonly pattern: _angular_core.InputSignal<RegExp | RegExp[]>;
|
|
58
|
+
readonly message: _angular_core.InputSignal<string | string[]>;
|
|
59
|
+
readonly active: _angular_core.ModelSignal<boolean>;
|
|
60
|
+
readonly pointer: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
61
|
+
readonly inputValidator: _angular_core.InputSignal<((value: any) => boolean) | undefined>;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Radio Property
|
|
65
|
+
*/
|
|
66
|
+
declare class XRadioProperty extends XRadioProperty_base {
|
|
67
|
+
/**
|
|
68
|
+
* @zh_CN 单选框数据
|
|
69
|
+
* @en_US Radio data
|
|
70
|
+
*/
|
|
71
|
+
readonly data: _angular_core.InputSignal<XData<XRadioNode>>;
|
|
72
|
+
/**
|
|
73
|
+
* @zh_CN 按钮样式
|
|
74
|
+
* @en_US Button style
|
|
75
|
+
*/
|
|
76
|
+
readonly button: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
77
|
+
/**
|
|
78
|
+
* @zh_CN 图标样式
|
|
79
|
+
* @en_US Icon style
|
|
80
|
+
*/
|
|
81
|
+
readonly icon: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
82
|
+
/**
|
|
83
|
+
* @zh_CN tag 标签样式
|
|
84
|
+
* @en_US Tag style
|
|
85
|
+
*/
|
|
86
|
+
readonly tag: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
87
|
+
/**
|
|
88
|
+
* @zh_CN 按钮/图标/ tag 标签样式时生效
|
|
89
|
+
* @en_US Take effect when button style
|
|
90
|
+
*/
|
|
91
|
+
readonly type: _angular_core.InputSignal<_ng_nest_ui_core.XType>;
|
|
92
|
+
/**
|
|
93
|
+
* @zh_CN tag 标签边框
|
|
94
|
+
* @en_US Tag bordered
|
|
95
|
+
*/
|
|
96
|
+
readonly tagBordered: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
97
|
+
/**
|
|
98
|
+
* @zh_CN tag 标签深色主题
|
|
99
|
+
* @en_US Tag dark theme
|
|
100
|
+
*/
|
|
101
|
+
readonly tagDark: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
102
|
+
/**
|
|
103
|
+
* @zh_CN 允许取消选中
|
|
104
|
+
* @en_US Allow cancel checked
|
|
105
|
+
*/
|
|
106
|
+
readonly allowCancel: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
107
|
+
/**
|
|
108
|
+
* @zh_CN 垂直布局,不支持 button 和 icon 样式
|
|
109
|
+
* @en_US Vertical layout, does not support button and icon styles
|
|
110
|
+
*/
|
|
111
|
+
readonly vertical: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
112
|
+
/**
|
|
113
|
+
* @zh_CN 标签
|
|
114
|
+
* @en_US Label
|
|
115
|
+
*/
|
|
116
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
117
|
+
/**
|
|
118
|
+
* @zh_CN 标签宽度
|
|
119
|
+
* @en_US Label width
|
|
120
|
+
*/
|
|
121
|
+
readonly labelWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
122
|
+
/**
|
|
123
|
+
* @zh_CN 标签文字对齐方式
|
|
124
|
+
* @en_US Label text alignment method
|
|
125
|
+
*/
|
|
126
|
+
readonly labelAlign: _angular_core.InputSignal<XAlign>;
|
|
127
|
+
/**
|
|
128
|
+
* @zh_CN flex 布局下的子元素水平排列方式
|
|
129
|
+
* @en_US The level of sub-element level arrangement under flex layout
|
|
130
|
+
*/
|
|
131
|
+
readonly justify: _angular_core.InputSignal<XJustify>;
|
|
132
|
+
/**
|
|
133
|
+
* @zh_CN flex 布局下的子元素垂直排列方式
|
|
134
|
+
* @en_US sub-element vertical arrangement method under flex layout
|
|
135
|
+
*/
|
|
136
|
+
readonly align: _angular_core.InputSignal<XAlign>;
|
|
137
|
+
/**
|
|
138
|
+
* @zh_CN flex 布局下的子元素排列方向
|
|
139
|
+
* @en_US The direction of the sub-element arrangement under flex layout
|
|
140
|
+
*/
|
|
141
|
+
readonly direction: _angular_core.InputSignal<XDirection>;
|
|
142
|
+
/**
|
|
143
|
+
* @zh_CN 禁用
|
|
144
|
+
* @en_US Disabled
|
|
145
|
+
*/
|
|
146
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
147
|
+
/**
|
|
148
|
+
* @zh_CN 必填
|
|
149
|
+
* @en_US Required
|
|
150
|
+
*/
|
|
151
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
152
|
+
/**
|
|
153
|
+
* @zh_CN 前置标签
|
|
154
|
+
* @en_US Before label
|
|
155
|
+
*/
|
|
156
|
+
readonly before: _angular_core.InputSignal<XTemplate | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* @zh_CN 后置标签
|
|
159
|
+
* @en_US After label
|
|
160
|
+
*/
|
|
161
|
+
readonly after: _angular_core.InputSignal<XTemplate | undefined>;
|
|
162
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XRadioProperty, never>;
|
|
163
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XRadioProperty, "x-radio-property", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "button": { "alias": "button"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "tag": { "alias": "tag"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "tagBordered": { "alias": "tagBordered"; "required": false; "isSignal": true; }; "tagDark": { "alias": "tagDark"; "required": false; "isSignal": true; }; "allowCancel": { "alias": "allowCancel"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "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; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "before": { "alias": "before"; "required": false; "isSignal": true; }; "after": { "alias": "after"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Radio Option
|
|
167
|
+
*/
|
|
168
|
+
interface XRadioOption extends XFormOption {
|
|
169
|
+
/**
|
|
170
|
+
* @zh_CN 单选框数据
|
|
171
|
+
* @en_US Radio data
|
|
172
|
+
*/
|
|
173
|
+
data?: XData<XRadioNode>;
|
|
174
|
+
/**
|
|
175
|
+
* @zh_CN 按钮样式
|
|
176
|
+
* @en_US Button style
|
|
177
|
+
*/
|
|
178
|
+
button?: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* @zh_CN 图标样式
|
|
181
|
+
* @en_US Icon style
|
|
182
|
+
*/
|
|
183
|
+
icon?: boolean;
|
|
184
|
+
/**
|
|
185
|
+
* @zh_CN tag 标签样式
|
|
186
|
+
* @en_US Tag style
|
|
187
|
+
*/
|
|
188
|
+
tag?: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* @zh_CN 按钮/图标/ tag 标签样式时生效
|
|
191
|
+
* @en_US Take effect when button style
|
|
192
|
+
*/
|
|
193
|
+
type?: XButtonType;
|
|
194
|
+
/**
|
|
195
|
+
* @zh_CN tag 标签边框
|
|
196
|
+
* @en_US Tag bordered
|
|
197
|
+
*/
|
|
198
|
+
tagBordered?: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* @zh_CN tag 标签深色主题
|
|
201
|
+
* @en_US Tag dark theme
|
|
202
|
+
*/
|
|
203
|
+
tagDark?: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* @zh_CN 允许取消选中
|
|
206
|
+
* @en_US Allow cancel checked
|
|
207
|
+
*/
|
|
208
|
+
allowCancel?: boolean;
|
|
209
|
+
/**
|
|
210
|
+
* @zh_CN 垂直布局,不支持 button 和 icon 样式
|
|
211
|
+
* @en_US Vertical layout, does not support button and icon styles
|
|
212
|
+
*/
|
|
213
|
+
vertical?: boolean;
|
|
214
|
+
/**
|
|
215
|
+
* @zh_CN 标签
|
|
216
|
+
* @en_US Label
|
|
217
|
+
*/
|
|
218
|
+
label?: string;
|
|
219
|
+
/**
|
|
220
|
+
* @zh_CN 标签宽度
|
|
221
|
+
* @en_US Label width
|
|
222
|
+
*/
|
|
223
|
+
labelWidth?: string;
|
|
224
|
+
/**
|
|
225
|
+
* @zh_CN 标签文字对齐方式
|
|
226
|
+
* @en_US Label text alignment method
|
|
227
|
+
*/
|
|
228
|
+
labelAlign?: XAlign;
|
|
229
|
+
/**
|
|
230
|
+
* @zh_CN flex 布局下的子元素水平排列方式
|
|
231
|
+
* @en_US The level of sub-element level arrangement under flex layout
|
|
232
|
+
*/
|
|
233
|
+
justify?: XJustify;
|
|
234
|
+
/**
|
|
235
|
+
* @zh_CN flex 布局下的子元素垂直排列方式
|
|
236
|
+
* @en_US sub-element vertical arrangement method under flex layout
|
|
237
|
+
*/
|
|
238
|
+
align?: XAlign;
|
|
239
|
+
/**
|
|
240
|
+
* @zh_CN flex 布局下的子元素排列方向
|
|
241
|
+
* @en_US The direction of the sub-element arrangement under flex layout
|
|
242
|
+
*/
|
|
243
|
+
direction?: XDirection;
|
|
244
|
+
/**
|
|
245
|
+
* @zh_CN 禁用
|
|
246
|
+
* @en_US Disabled
|
|
247
|
+
*/
|
|
248
|
+
disabled?: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* @zh_CN 必填
|
|
251
|
+
* @en_US Required
|
|
252
|
+
*/
|
|
253
|
+
required?: boolean;
|
|
254
|
+
/**
|
|
255
|
+
* @zh_CN 前置标签
|
|
256
|
+
* @en_US Before label
|
|
257
|
+
*/
|
|
258
|
+
before?: XTemplate;
|
|
259
|
+
/**
|
|
260
|
+
* @zh_CN 后置标签
|
|
261
|
+
* @en_US After label
|
|
262
|
+
*/
|
|
263
|
+
after?: XTemplate;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* @zh_CN Radio 数据对象
|
|
267
|
+
* @en_US Radio data object
|
|
268
|
+
*/
|
|
269
|
+
interface XRadioNode extends XIdentityProperty {
|
|
270
|
+
/**
|
|
271
|
+
* @zh_CN 禁用
|
|
272
|
+
* @en_US Disabled
|
|
273
|
+
*/
|
|
274
|
+
disabled?: boolean;
|
|
275
|
+
/**
|
|
276
|
+
* @zh_CN 图标
|
|
277
|
+
* @en_US Icon
|
|
278
|
+
*/
|
|
279
|
+
icon?: string;
|
|
280
|
+
/**
|
|
281
|
+
* @zh_CN 图标的提示信息
|
|
282
|
+
* @en_US Icon message
|
|
283
|
+
*/
|
|
284
|
+
title?: string;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
declare class XRadioComponent extends XRadioProperty implements OnChanges, OnDestroy {
|
|
288
|
+
radio: _angular_core.Signal<ElementRef<any>>;
|
|
289
|
+
nodes: _angular_core.WritableSignal<XRadioNode[]>;
|
|
290
|
+
private unSubject;
|
|
291
|
+
beforeIsTemplate: _angular_core.Signal<boolean>;
|
|
292
|
+
afterIsTemplate: _angular_core.Signal<boolean>;
|
|
293
|
+
classMap: _angular_core.Signal<{
|
|
294
|
+
[x: string]: boolean;
|
|
295
|
+
}>;
|
|
296
|
+
labelMapSignal: _angular_core.Signal<{
|
|
297
|
+
[x: string]: boolean;
|
|
298
|
+
}>;
|
|
299
|
+
radioType: _angular_core.Signal<"initial" | "button" | "icon" | "tag">;
|
|
300
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
301
|
+
ngOnDestroy(): void;
|
|
302
|
+
radioClick(event: Event, node: XRadioNode): void;
|
|
303
|
+
private setData;
|
|
304
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XRadioComponent, never>;
|
|
305
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XRadioComponent, "x-radio", never, {}, {}, never, never, true, never>;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
declare class XRadioModule {
|
|
309
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XRadioModule, never>;
|
|
310
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<XRadioModule, never, [typeof XRadioComponent], [typeof XRadioComponent]>;
|
|
311
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<XRadioModule>;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export { XRadioComponent, XRadioModule, XRadioPrefix, XRadioProperty };
|
|
315
|
+
export type { XRadioNode, XRadioOption };
|