@ng-nest/ui 13.0.1 → 13.0.5
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/alert/alert.component.d.ts +2 -1
- package/carousel/carousel-panel.component.d.ts +2 -3
- package/core/config/config.d.ts +4 -0
- package/core/interfaces/layout.type.d.ts +1 -1
- package/date-picker/date-picker.component.d.ts +1 -1
- package/date-picker/date-picker.property.d.ts +51 -1
- package/date-picker/date-range-portal.component.d.ts +7 -5
- package/date-picker/date-range.component.d.ts +5 -1
- package/date-picker/examples/en_US/default/disabled/README.md +1 -1
- package/date-picker/examples/en_US/default/time/README.md +6 -0
- package/date-picker/examples/zh_CN/default/disabled/README.md +1 -1
- package/date-picker/examples/zh_CN/default/time/README.md +6 -0
- package/date-picker/picker-date.component.d.ts +3 -0
- package/dialog/dialog-portal.component.d.ts +18 -0
- package/dialog/dialog-portal.directives.d.ts +24 -0
- package/dialog/dialog-ref.d.ts +9 -0
- package/dialog/dialog.module.d.ts +13 -11
- package/dialog/dialog.property.d.ts +85 -7
- package/dialog/dialog.service.d.ts +19 -0
- package/dialog/examples/en_US/default/service/README.md +6 -0
- package/dialog/examples/zh_CN/default/service/README.md +6 -0
- package/dialog/public-api.d.ts +4 -0
- package/drawer/drawer-container.component.d.ts +8 -0
- package/drawer/drawer-portal.component.d.ts +18 -0
- package/drawer/drawer-portal.directives.d.ts +19 -0
- package/drawer/drawer-ref.d.ts +9 -0
- package/drawer/drawer.component.d.ts +10 -3
- package/drawer/drawer.module.d.ts +9 -6
- package/drawer/drawer.property.d.ts +97 -2
- package/drawer/drawer.service.d.ts +19 -0
- package/drawer/examples/en_US/default/container/README.md +6 -0
- package/drawer/examples/en_US/default/service/README.md +6 -0
- package/drawer/examples/zh_CN/default/container/README.md +6 -0
- package/drawer/examples/zh_CN/default/service/README.md +6 -0
- package/drawer/public-api.d.ts +6 -0
- package/esm2020/affix/affix.component.mjs +3 -3
- package/esm2020/affix/affix.module.mjs +4 -4
- package/esm2020/affix/affix.property.mjs +3 -3
- package/esm2020/alert/alert.component.mjs +11 -6
- package/esm2020/alert/alert.module.mjs +4 -4
- package/esm2020/alert/alert.property.mjs +3 -3
- package/esm2020/anchor/anchor.component.mjs +3 -3
- package/esm2020/anchor/anchor.module.mjs +4 -4
- package/esm2020/anchor/anchor.property.mjs +3 -3
- package/esm2020/api/api.component.mjs +3 -3
- package/esm2020/api/api.module.mjs +4 -4
- package/esm2020/auto-complete/auto-complete-portal.component.mjs +5 -5
- package/esm2020/auto-complete/auto-complete.component.mjs +4 -4
- package/esm2020/auto-complete/auto-complete.module.mjs +6 -7
- package/esm2020/auto-complete/auto-complete.property.mjs +3 -3
- package/esm2020/avatar/avatar.component.mjs +3 -3
- package/esm2020/avatar/avatar.module.mjs +4 -4
- package/esm2020/avatar/avatar.property.mjs +3 -3
- package/esm2020/back-top/back-top.component.mjs +3 -3
- package/esm2020/back-top/back-top.module.mjs +4 -4
- package/esm2020/back-top/back-top.property.mjs +3 -3
- package/esm2020/badge/badge.component.mjs +3 -3
- package/esm2020/badge/badge.module.mjs +4 -4
- package/esm2020/badge/badge.property.mjs +3 -3
- package/esm2020/base-form/base-form.component.mjs +3 -3
- package/esm2020/base-form/base-form.module.mjs +4 -4
- package/esm2020/base-form/base-form.property.mjs +3 -3
- package/esm2020/border/border.component.mjs +3 -3
- package/esm2020/border/border.module.mjs +4 -4
- package/esm2020/button/button.component.mjs +4 -4
- package/esm2020/button/button.module.mjs +4 -4
- package/esm2020/button/button.property.mjs +6 -6
- package/esm2020/button/buttons.component.mjs +3 -3
- package/esm2020/calendar/calendar.component.mjs +3 -3
- package/esm2020/calendar/calendar.module.mjs +4 -4
- package/esm2020/calendar/calendar.property.mjs +3 -3
- package/esm2020/card/card.component.mjs +4 -4
- package/esm2020/card/card.module.mjs +4 -4
- package/esm2020/card/card.property.mjs +3 -3
- package/esm2020/carousel/carousel-panel.component.mjs +14 -13
- package/esm2020/carousel/carousel.component.mjs +3 -3
- package/esm2020/carousel/carousel.module.mjs +4 -4
- package/esm2020/carousel/carousel.property.mjs +6 -6
- package/esm2020/cascade/cascade-portal.component.mjs +5 -5
- package/esm2020/cascade/cascade.component.mjs +4 -4
- package/esm2020/cascade/cascade.module.mjs +6 -7
- package/esm2020/cascade/cascade.property.mjs +3 -3
- package/esm2020/checkbox/checkbox.component.mjs +4 -4
- package/esm2020/checkbox/checkbox.module.mjs +4 -4
- package/esm2020/checkbox/checkbox.property.mjs +3 -3
- package/esm2020/collapse/collapse-panel.component.mjs +3 -3
- package/esm2020/collapse/collapse.component.mjs +3 -3
- package/esm2020/collapse/collapse.module.mjs +4 -4
- package/esm2020/collapse/collapse.property.mjs +6 -6
- package/esm2020/color/color.component.mjs +3 -3
- package/esm2020/color/color.module.mjs +4 -4
- package/esm2020/color/color.property.mjs +3 -3
- package/esm2020/color-picker/color-picker-portal.component.mjs +5 -5
- package/esm2020/color-picker/color-picker.component.mjs +4 -4
- package/esm2020/color-picker/color-picker.module.mjs +6 -7
- package/esm2020/color-picker/color-picker.property.mjs +3 -3
- package/esm2020/comment/comment-reply.component.mjs +3 -3
- package/esm2020/comment/comment.component.mjs +3 -3
- package/esm2020/comment/comment.module.mjs +4 -4
- package/esm2020/comment/comment.property.mjs +6 -6
- package/esm2020/container/aside.component.mjs +3 -3
- package/esm2020/container/container.component.mjs +3 -3
- package/esm2020/container/container.module.mjs +4 -4
- package/esm2020/container/container.property.mjs +12 -12
- package/esm2020/container/footer.component.mjs +4 -4
- package/esm2020/container/header.component.mjs +4 -4
- package/esm2020/container/main.component.mjs +4 -4
- package/esm2020/core/config/config.mjs +1 -1
- package/esm2020/core/config/config.service.mjs +3 -3
- package/esm2020/core/interfaces/layout.type.mjs +1 -1
- package/esm2020/core/services/http.service.mjs +3 -3
- package/esm2020/core/services/preloading-strategy.service.mjs +3 -3
- package/esm2020/core/services/storage.service.mjs +3 -3
- package/esm2020/core/theme/theme.service.mjs +3 -3
- package/esm2020/crumb/crumb.component.mjs +3 -3
- package/esm2020/crumb/crumb.module.mjs +4 -4
- package/esm2020/crumb/crumb.property.mjs +3 -3
- package/esm2020/date-picker/date-picker-portal.component.mjs +6 -6
- package/esm2020/date-picker/date-picker.component.mjs +6 -10
- package/esm2020/date-picker/date-picker.module.mjs +6 -7
- package/esm2020/date-picker/date-picker.property.mjs +86 -16
- package/esm2020/date-picker/date-range-portal.component.mjs +47 -28
- package/esm2020/date-picker/date-range.component.mjs +33 -10
- package/esm2020/date-picker/picker-date.component.mjs +33 -6
- package/esm2020/date-picker/picker-month.component.mjs +3 -3
- package/esm2020/date-picker/picker-year.component.mjs +3 -3
- package/esm2020/description/description-item.component.mjs +3 -3
- package/esm2020/description/description.component.mjs +3 -3
- package/esm2020/description/description.module.mjs +4 -4
- package/esm2020/description/description.property.mjs +6 -6
- package/esm2020/dialog/dialog-portal.component.mjs +52 -0
- package/esm2020/dialog/dialog-portal.directives.mjs +73 -0
- package/esm2020/dialog/dialog-ref.mjs +17 -0
- package/esm2020/dialog/dialog.component.mjs +7 -7
- package/esm2020/dialog/dialog.module.mjs +39 -9
- package/esm2020/dialog/dialog.property.mjs +21 -20
- package/esm2020/dialog/dialog.service.mjs +67 -0
- package/esm2020/dialog/public-api.mjs +5 -1
- package/esm2020/doc/doc.component.mjs +4 -4
- package/esm2020/doc/doc.module.mjs +4 -4
- package/esm2020/drawer/drawer-container.component.mjs +29 -0
- package/esm2020/drawer/drawer-portal.component.mjs +52 -0
- package/esm2020/drawer/drawer-portal.directives.mjs +57 -0
- package/esm2020/drawer/drawer-ref.mjs +17 -0
- package/esm2020/drawer/drawer.component.mjs +55 -19
- package/esm2020/drawer/drawer.module.mjs +42 -9
- package/esm2020/drawer/drawer.property.mjs +42 -8
- package/esm2020/drawer/drawer.service.mjs +65 -0
- package/esm2020/drawer/public-api.mjs +7 -1
- package/esm2020/dropdown/dropdown-portal.component.mjs +3 -3
- package/esm2020/dropdown/dropdown.component.mjs +3 -3
- package/esm2020/dropdown/dropdown.module.mjs +6 -7
- package/esm2020/dropdown/dropdown.property.mjs +3 -3
- package/esm2020/empty/empty.component.mjs +3 -3
- package/esm2020/empty/empty.module.mjs +4 -4
- package/esm2020/empty/empty.property.mjs +3 -3
- package/esm2020/examples/examples.component.mjs +3 -3
- package/esm2020/examples/examples.module.mjs +4 -4
- package/esm2020/find/find.component.mjs +4 -4
- package/esm2020/find/find.module.mjs +4 -4
- package/esm2020/find/find.property.mjs +3 -3
- package/esm2020/form/control.component.mjs +3 -3
- package/esm2020/form/form.component.mjs +3 -3
- package/esm2020/form/form.module.mjs +4 -4
- package/esm2020/form/form.property.mjs +6 -6
- package/esm2020/highlight/highlight.component.mjs +3 -3
- package/esm2020/highlight/highlight.module.mjs +4 -4
- package/esm2020/highlight/highlight.property.mjs +3 -3
- package/esm2020/i18n/i18n.directive.mjs +3 -3
- package/esm2020/i18n/i18n.module.mjs +4 -4
- package/esm2020/i18n/i18n.pipe.mjs +3 -3
- package/esm2020/i18n/i18n.service.mjs +3 -3
- package/esm2020/icon/icon.component.mjs +3 -3
- package/esm2020/icon/icon.module.mjs +4 -4
- package/esm2020/icon/icon.property.mjs +3 -3
- package/esm2020/icon/icon.service.mjs +3 -3
- package/esm2020/inner/inner.component.mjs +3 -3
- package/esm2020/inner/inner.module.mjs +4 -4
- package/esm2020/inner/inner.property.mjs +3 -3
- package/esm2020/input/input-group.component.mjs +3 -3
- package/esm2020/input/input.component.mjs +8 -5
- package/esm2020/input/input.module.mjs +4 -4
- package/esm2020/input/input.property.mjs +6 -6
- package/esm2020/input-number/input-number.component.mjs +3 -3
- package/esm2020/input-number/input-number.module.mjs +4 -4
- package/esm2020/input-number/input-number.property.mjs +3 -3
- package/esm2020/layout/col.component.mjs +3 -3
- package/esm2020/layout/layout.module.mjs +4 -4
- package/esm2020/layout/layout.property.mjs +6 -6
- package/esm2020/layout/row.component.mjs +3 -3
- package/esm2020/link/link.component.mjs +3 -3
- package/esm2020/link/link.module.mjs +4 -4
- package/esm2020/link/link.property.mjs +3 -3
- package/esm2020/list/list-option.component.mjs +3 -3
- package/esm2020/list/list.component.mjs +3 -3
- package/esm2020/list/list.module.mjs +4 -4
- package/esm2020/list/list.property.mjs +6 -6
- package/esm2020/loading/loading.component.mjs +3 -3
- package/esm2020/loading/loading.module.mjs +4 -4
- package/esm2020/loading/loading.property.mjs +3 -3
- package/esm2020/menu/menu-node.component.mjs +3 -3
- package/esm2020/menu/menu.component.mjs +5 -5
- package/esm2020/menu/menu.module.mjs +4 -4
- package/esm2020/menu/menu.property.mjs +6 -6
- package/esm2020/message/message-ref.mjs +12 -0
- package/esm2020/message/message.component.mjs +6 -6
- package/esm2020/message/message.module.mjs +4 -4
- package/esm2020/message/message.property.mjs +2 -2
- package/esm2020/message/message.service.mjs +39 -18
- package/esm2020/message/public-api.mjs +2 -1
- package/esm2020/message-box/message-box.component.mjs +3 -3
- package/esm2020/message-box/message-box.module.mjs +4 -4
- package/esm2020/message-box/message-box.service.mjs +3 -3
- package/esm2020/notification/notification.component.mjs +3 -3
- package/esm2020/notification/notification.module.mjs +4 -4
- package/esm2020/notification/notification.service.mjs +3 -3
- package/esm2020/outlet/outlet.directive.mjs +3 -3
- package/esm2020/outlet/outlet.module.mjs +4 -4
- package/esm2020/page-header/page-header.component.mjs +3 -3
- package/esm2020/page-header/page-header.module.mjs +4 -4
- package/esm2020/page-header/page-header.property.mjs +3 -3
- package/esm2020/pagination/pagination.component.mjs +4 -4
- package/esm2020/pagination/pagination.module.mjs +4 -4
- package/esm2020/pagination/pagination.property.mjs +3 -3
- package/esm2020/pattern/pattern.component.mjs +3 -3
- package/esm2020/pattern/pattern.module.mjs +4 -4
- package/esm2020/popconfirm/popconfirm.component.mjs +28 -7
- package/esm2020/popconfirm/popconfirm.module.mjs +4 -4
- package/esm2020/popconfirm/popconfirm.property.mjs +12 -5
- package/esm2020/popover/popover-portal.component.mjs +3 -3
- package/esm2020/popover/popover.directive.mjs +11 -5
- package/esm2020/popover/popover.module.mjs +6 -7
- package/esm2020/popover/popover.property.mjs +9 -4
- package/esm2020/portal/portal.module.mjs +6 -5
- package/esm2020/portal/portal.service.mjs +11 -12
- package/esm2020/progress/progress.component.mjs +179 -18
- package/esm2020/progress/progress.module.mjs +4 -4
- package/esm2020/progress/progress.property.mjs +52 -5
- package/esm2020/radio/radio.component.mjs +4 -4
- package/esm2020/radio/radio.module.mjs +4 -4
- package/esm2020/radio/radio.property.mjs +3 -3
- package/esm2020/rate/rate.component.mjs +4 -4
- package/esm2020/rate/rate.module.mjs +4 -4
- package/esm2020/rate/rate.property.mjs +3 -3
- package/esm2020/result/result.component.mjs +4 -4
- package/esm2020/result/result.module.mjs +4 -4
- package/esm2020/result/result.property.mjs +3 -3
- package/esm2020/ripple/ripple.directive.mjs +3 -3
- package/esm2020/ripple/ripple.module.mjs +4 -4
- package/esm2020/ripple/ripple.property.mjs +3 -3
- package/esm2020/select/select-portal.component.mjs +5 -5
- package/esm2020/select/select.component.mjs +4 -4
- package/esm2020/select/select.module.mjs +6 -7
- package/esm2020/select/select.property.mjs +3 -3
- package/esm2020/skeleton/skeleton.component.mjs +3 -3
- package/esm2020/skeleton/skeleton.module.mjs +4 -4
- package/esm2020/skeleton/skeleton.property.mjs +3 -3
- package/esm2020/slider/slider.component.mjs +3 -3
- package/esm2020/slider/slider.module.mjs +4 -4
- package/esm2020/slider/slider.property.mjs +3 -3
- package/esm2020/slider-select/slider-select.component.mjs +4 -4
- package/esm2020/slider-select/slider-select.module.mjs +4 -4
- package/esm2020/slider-select/slider-select.property.mjs +3 -3
- package/esm2020/statistic/countdown.component.mjs +3 -3
- package/esm2020/statistic/statistic.component.mjs +3 -3
- package/esm2020/statistic/statistic.module.mjs +4 -4
- package/esm2020/statistic/statistic.property.mjs +6 -6
- package/esm2020/steps/steps.component.mjs +18 -11
- package/esm2020/steps/steps.module.mjs +4 -4
- package/esm2020/steps/steps.property.mjs +10 -5
- package/esm2020/switch/switch.component.mjs +4 -4
- package/esm2020/switch/switch.module.mjs +4 -4
- package/esm2020/switch/switch.property.mjs +3 -3
- package/esm2020/table/drag.directive.mjs +3 -3
- package/esm2020/table/table-body.component.mjs +3 -3
- package/esm2020/table/table-foot.component.mjs +3 -3
- package/esm2020/table/table-head.component.mjs +3 -3
- package/esm2020/table/table.component.mjs +3 -3
- package/esm2020/table/table.module.mjs +4 -4
- package/esm2020/table/table.property.mjs +13 -13
- package/esm2020/tabs/tab-content.component.mjs +3 -3
- package/esm2020/tabs/tab.component.mjs +3 -3
- package/esm2020/tabs/tabs.component.mjs +3 -3
- package/esm2020/tabs/tabs.module.mjs +4 -4
- package/esm2020/tabs/tabs.property.mjs +6 -6
- package/esm2020/tag/tag.component.mjs +4 -4
- package/esm2020/tag/tag.module.mjs +4 -4
- package/esm2020/tag/tag.property.mjs +3 -3
- package/esm2020/text-retract/text-retract.component.mjs +3 -3
- package/esm2020/text-retract/text-retract.module.mjs +4 -4
- package/esm2020/text-retract/text-retract.property.mjs +3 -3
- package/esm2020/textarea/textarea.component.mjs +4 -4
- package/esm2020/textarea/textarea.module.mjs +4 -4
- package/esm2020/textarea/textarea.property.mjs +3 -3
- package/esm2020/theme/theme.component.mjs +3 -3
- package/esm2020/theme/theme.module.mjs +4 -4
- package/esm2020/theme/theme.property.mjs +3 -3
- package/esm2020/time-ago/time-ago.module.mjs +4 -4
- package/esm2020/time-ago/time-ago.pipe.mjs +3 -3
- package/esm2020/time-picker/time-picker-frame.component.mjs +11 -8
- package/esm2020/time-picker/time-picker-portal.component.mjs +3 -3
- package/esm2020/time-picker/time-picker.component.mjs +27 -14
- package/esm2020/time-picker/time-picker.module.mjs +6 -7
- package/esm2020/time-picker/time-picker.property.mjs +3 -3
- package/esm2020/time-range/time-range.module.mjs +4 -4
- package/esm2020/time-range/time-range.pipe.mjs +3 -3
- package/esm2020/timeline/timeline.component.mjs +3 -3
- package/esm2020/timeline/timeline.module.mjs +4 -4
- package/esm2020/timeline/timeline.property.mjs +3 -3
- package/esm2020/tooltip/tooltip-portal.component.mjs +3 -3
- package/esm2020/tooltip/tooltip.directive.mjs +3 -3
- package/esm2020/tooltip/tooltip.module.mjs +6 -7
- package/esm2020/tooltip/tooltip.property.mjs +3 -3
- package/esm2020/transfer/transfer.component.mjs +3 -3
- package/esm2020/transfer/transfer.module.mjs +4 -4
- package/esm2020/transfer/transfer.property.mjs +3 -3
- package/esm2020/tree/tree-node.component.mjs +3 -3
- package/esm2020/tree/tree.component.mjs +3 -3
- package/esm2020/tree/tree.module.mjs +4 -4
- package/esm2020/tree/tree.property.mjs +6 -6
- package/esm2020/tree-file/tree-file.component.mjs +4 -4
- package/esm2020/tree-file/tree-file.module.mjs +4 -4
- package/esm2020/tree-file/tree-file.property.mjs +3 -3
- package/esm2020/typography/typography.component.mjs +3 -3
- package/esm2020/typography/typography.module.mjs +4 -4
- package/esm2020/typography/typography.property.mjs +3 -3
- package/esm2020/upload/upload-portal.component.mjs +4 -4
- package/esm2020/upload/upload.component.mjs +3 -3
- package/esm2020/upload/upload.module.mjs +4 -4
- package/esm2020/upload/upload.property.mjs +3 -3
- package/fesm2015/ng-nest-ui-affix.mjs +10 -10
- package/fesm2015/ng-nest-ui-alert.mjs +18 -12
- package/fesm2015/ng-nest-ui-alert.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-anchor.mjs +10 -10
- package/fesm2015/ng-nest-ui-api.mjs +7 -7
- package/fesm2015/ng-nest-ui-auto-complete.mjs +17 -17
- package/fesm2015/ng-nest-ui-auto-complete.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-avatar.mjs +11 -10
- package/fesm2015/ng-nest-ui-back-top.mjs +10 -10
- package/fesm2015/ng-nest-ui-badge.mjs +11 -10
- package/fesm2015/ng-nest-ui-base-form.mjs +11 -10
- package/fesm2015/ng-nest-ui-border.mjs +8 -7
- package/fesm2015/ng-nest-ui-button.mjs +18 -17
- package/fesm2015/ng-nest-ui-calendar.mjs +11 -10
- package/fesm2015/ng-nest-ui-card.mjs +12 -11
- package/fesm2015/ng-nest-ui-carousel.mjs +27 -26
- package/fesm2015/ng-nest-ui-carousel.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-cascade.mjs +17 -17
- package/fesm2015/ng-nest-ui-cascade.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-checkbox.mjs +12 -11
- package/fesm2015/ng-nest-ui-collapse.mjs +17 -16
- package/fesm2015/ng-nest-ui-color-picker.mjs +17 -17
- package/fesm2015/ng-nest-ui-color-picker.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-color.mjs +11 -10
- package/fesm2015/ng-nest-ui-comment.mjs +17 -16
- package/fesm2015/ng-nest-ui-container.mjs +35 -34
- package/fesm2015/ng-nest-ui-core.mjs +16 -15
- package/fesm2015/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-crumb.mjs +11 -10
- package/fesm2015/ng-nest-ui-date-picker.mjs +217 -82
- package/fesm2015/ng-nest-ui-date-picker.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-description.mjs +17 -16
- package/fesm2015/ng-nest-ui-dialog.mjs +260 -35
- package/fesm2015/ng-nest-ui-dialog.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-doc.mjs +8 -8
- package/fesm2015/ng-nest-ui-drawer.mjs +335 -31
- package/fesm2015/ng-nest-ui-drawer.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-dropdown.mjs +14 -15
- package/fesm2015/ng-nest-ui-dropdown.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-empty.mjs +11 -10
- package/fesm2015/ng-nest-ui-examples.mjs +7 -7
- package/fesm2015/ng-nest-ui-find.mjs +12 -11
- package/fesm2015/ng-nest-ui-form.mjs +17 -16
- package/fesm2015/ng-nest-ui-highlight.mjs +11 -10
- package/fesm2015/ng-nest-ui-i18n.mjs +14 -13
- package/fesm2015/ng-nest-ui-icon.mjs +14 -13
- package/fesm2015/ng-nest-ui-inner.mjs +10 -10
- package/fesm2015/ng-nest-ui-input-number.mjs +11 -10
- package/fesm2015/ng-nest-ui-input.mjs +21 -17
- package/fesm2015/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-layout.mjs +17 -16
- package/fesm2015/ng-nest-ui-link.mjs +11 -10
- package/fesm2015/ng-nest-ui-list.mjs +17 -16
- package/fesm2015/ng-nest-ui-loading.mjs +11 -10
- package/fesm2015/ng-nest-ui-menu.mjs +17 -17
- package/fesm2015/ng-nest-ui-menu.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-message-box.mjs +10 -10
- package/fesm2015/ng-nest-ui-message.mjs +61 -27
- package/fesm2015/ng-nest-ui-message.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-notification.mjs +10 -10
- package/fesm2015/ng-nest-ui-outlet.mjs +8 -7
- package/fesm2015/ng-nest-ui-page-header.mjs +10 -10
- package/fesm2015/ng-nest-ui-pagination.mjs +12 -11
- package/fesm2015/ng-nest-ui-pattern.mjs +7 -7
- package/fesm2015/ng-nest-ui-popconfirm.mjs +42 -14
- package/fesm2015/ng-nest-ui-popconfirm.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-popover.mjs +26 -16
- package/fesm2015/ng-nest-ui-popover.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-portal.mjs +16 -15
- package/fesm2015/ng-nest-ui-portal.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-progress.mjs +235 -26
- package/fesm2015/ng-nest-ui-progress.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-radio.mjs +12 -11
- package/fesm2015/ng-nest-ui-rate.mjs +12 -11
- package/fesm2015/ng-nest-ui-result.mjs +11 -11
- package/fesm2015/ng-nest-ui-ripple.mjs +11 -10
- package/fesm2015/ng-nest-ui-select.mjs +17 -17
- package/fesm2015/ng-nest-ui-select.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-skeleton.mjs +10 -10
- package/fesm2015/ng-nest-ui-slider-select.mjs +12 -11
- package/fesm2015/ng-nest-ui-slider.mjs +11 -10
- package/fesm2015/ng-nest-ui-statistic.mjs +17 -16
- package/fesm2015/ng-nest-ui-steps.mjs +30 -18
- package/fesm2015/ng-nest-ui-steps.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-switch.mjs +12 -11
- package/fesm2015/ng-nest-ui-table.mjs +32 -31
- package/fesm2015/ng-nest-ui-table.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-tabs.mjs +20 -19
- package/fesm2015/ng-nest-ui-tag.mjs +12 -11
- package/fesm2015/ng-nest-ui-text-retract.mjs +11 -10
- package/fesm2015/ng-nest-ui-textarea.mjs +12 -11
- package/fesm2015/ng-nest-ui-theme.mjs +11 -10
- package/fesm2015/ng-nest-ui-time-ago.mjs +8 -7
- package/fesm2015/ng-nest-ui-time-picker.mjs +48 -32
- package/fesm2015/ng-nest-ui-time-picker.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-time-range.mjs +8 -7
- package/fesm2015/ng-nest-ui-timeline.mjs +11 -10
- package/fesm2015/ng-nest-ui-tooltip.mjs +15 -15
- package/fesm2015/ng-nest-ui-tooltip.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-transfer.mjs +10 -10
- package/fesm2015/ng-nest-ui-tree-file.mjs +12 -11
- package/fesm2015/ng-nest-ui-tree.mjs +17 -16
- package/fesm2015/ng-nest-ui-typography.mjs +11 -10
- package/fesm2015/ng-nest-ui-upload.mjs +14 -14
- package/fesm2020/ng-nest-ui-affix.mjs +10 -10
- package/fesm2020/ng-nest-ui-alert.mjs +18 -12
- package/fesm2020/ng-nest-ui-alert.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-anchor.mjs +10 -10
- package/fesm2020/ng-nest-ui-api.mjs +7 -7
- package/fesm2020/ng-nest-ui-auto-complete.mjs +17 -17
- package/fesm2020/ng-nest-ui-auto-complete.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-avatar.mjs +11 -10
- package/fesm2020/ng-nest-ui-back-top.mjs +10 -10
- package/fesm2020/ng-nest-ui-badge.mjs +11 -10
- package/fesm2020/ng-nest-ui-base-form.mjs +11 -10
- package/fesm2020/ng-nest-ui-border.mjs +8 -7
- package/fesm2020/ng-nest-ui-button.mjs +18 -17
- package/fesm2020/ng-nest-ui-calendar.mjs +11 -10
- package/fesm2020/ng-nest-ui-card.mjs +12 -11
- package/fesm2020/ng-nest-ui-carousel.mjs +27 -25
- package/fesm2020/ng-nest-ui-carousel.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-cascade.mjs +17 -17
- package/fesm2020/ng-nest-ui-cascade.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-checkbox.mjs +12 -11
- package/fesm2020/ng-nest-ui-collapse.mjs +17 -16
- package/fesm2020/ng-nest-ui-color-picker.mjs +17 -17
- package/fesm2020/ng-nest-ui-color-picker.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-color.mjs +11 -10
- package/fesm2020/ng-nest-ui-comment.mjs +17 -16
- package/fesm2020/ng-nest-ui-container.mjs +35 -34
- package/fesm2020/ng-nest-ui-core.mjs +16 -15
- package/fesm2020/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-crumb.mjs +11 -10
- package/fesm2020/ng-nest-ui-date-picker.mjs +217 -82
- package/fesm2020/ng-nest-ui-date-picker.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-description.mjs +17 -16
- package/fesm2020/ng-nest-ui-dialog.mjs +258 -35
- package/fesm2020/ng-nest-ui-dialog.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-doc.mjs +8 -8
- package/fesm2020/ng-nest-ui-drawer.mjs +331 -31
- package/fesm2020/ng-nest-ui-drawer.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-dropdown.mjs +14 -15
- package/fesm2020/ng-nest-ui-dropdown.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-empty.mjs +11 -10
- package/fesm2020/ng-nest-ui-examples.mjs +7 -7
- package/fesm2020/ng-nest-ui-find.mjs +12 -11
- package/fesm2020/ng-nest-ui-form.mjs +17 -16
- package/fesm2020/ng-nest-ui-highlight.mjs +11 -10
- package/fesm2020/ng-nest-ui-i18n.mjs +14 -13
- package/fesm2020/ng-nest-ui-icon.mjs +14 -13
- package/fesm2020/ng-nest-ui-inner.mjs +10 -10
- package/fesm2020/ng-nest-ui-input-number.mjs +11 -10
- package/fesm2020/ng-nest-ui-input.mjs +21 -17
- package/fesm2020/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-layout.mjs +17 -16
- package/fesm2020/ng-nest-ui-link.mjs +11 -10
- package/fesm2020/ng-nest-ui-list.mjs +17 -16
- package/fesm2020/ng-nest-ui-loading.mjs +11 -10
- package/fesm2020/ng-nest-ui-menu.mjs +17 -17
- package/fesm2020/ng-nest-ui-menu.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-message-box.mjs +10 -10
- package/fesm2020/ng-nest-ui-message.mjs +60 -27
- package/fesm2020/ng-nest-ui-message.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-notification.mjs +10 -10
- package/fesm2020/ng-nest-ui-outlet.mjs +8 -7
- package/fesm2020/ng-nest-ui-page-header.mjs +10 -10
- package/fesm2020/ng-nest-ui-pagination.mjs +12 -11
- package/fesm2020/ng-nest-ui-pattern.mjs +7 -7
- package/fesm2020/ng-nest-ui-popconfirm.mjs +42 -14
- package/fesm2020/ng-nest-ui-popconfirm.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-popover.mjs +26 -16
- package/fesm2020/ng-nest-ui-popover.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-portal.mjs +16 -15
- package/fesm2020/ng-nest-ui-portal.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-progress.mjs +234 -25
- package/fesm2020/ng-nest-ui-progress.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-radio.mjs +12 -11
- package/fesm2020/ng-nest-ui-rate.mjs +12 -11
- package/fesm2020/ng-nest-ui-result.mjs +11 -11
- package/fesm2020/ng-nest-ui-ripple.mjs +11 -10
- package/fesm2020/ng-nest-ui-select.mjs +17 -17
- package/fesm2020/ng-nest-ui-select.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-skeleton.mjs +10 -10
- package/fesm2020/ng-nest-ui-slider-select.mjs +12 -11
- package/fesm2020/ng-nest-ui-slider.mjs +11 -10
- package/fesm2020/ng-nest-ui-statistic.mjs +17 -16
- package/fesm2020/ng-nest-ui-steps.mjs +30 -18
- package/fesm2020/ng-nest-ui-steps.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-switch.mjs +12 -11
- package/fesm2020/ng-nest-ui-table.mjs +32 -31
- package/fesm2020/ng-nest-ui-table.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-tabs.mjs +20 -19
- package/fesm2020/ng-nest-ui-tag.mjs +12 -11
- package/fesm2020/ng-nest-ui-text-retract.mjs +11 -10
- package/fesm2020/ng-nest-ui-textarea.mjs +12 -11
- package/fesm2020/ng-nest-ui-theme.mjs +11 -10
- package/fesm2020/ng-nest-ui-time-ago.mjs +8 -7
- package/fesm2020/ng-nest-ui-time-picker.mjs +48 -32
- package/fesm2020/ng-nest-ui-time-picker.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-time-range.mjs +8 -7
- package/fesm2020/ng-nest-ui-timeline.mjs +11 -10
- package/fesm2020/ng-nest-ui-tooltip.mjs +15 -15
- package/fesm2020/ng-nest-ui-tooltip.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-transfer.mjs +10 -10
- package/fesm2020/ng-nest-ui-tree-file.mjs +12 -11
- package/fesm2020/ng-nest-ui-tree.mjs +17 -16
- package/fesm2020/ng-nest-ui-typography.mjs +11 -10
- package/fesm2020/ng-nest-ui-upload.mjs +14 -14
- package/layout/examples/en_US/default/flex/README.md +1 -1
- package/layout/examples/zh_CN/default/flex/README.md +1 -1
- package/message/examples/en_US/default/loading/README.md +6 -0
- package/message/examples/zh_CN/default/loading/README.md +6 -0
- package/message/message-ref.d.ts +8 -0
- package/message/message.component.d.ts +3 -3
- package/message/message.property.d.ts +24 -4
- package/message/message.service.d.ts +4 -1
- package/message/public-api.d.ts +1 -0
- package/package.json +7 -7
- package/popconfirm/examples/en_US/default/async-close/README.md +6 -0
- package/popconfirm/examples/en_US/default/condition/README.md +6 -0
- package/popconfirm/examples/zh_CN/default/async-close/README.md +6 -0
- package/popconfirm/examples/zh_CN/default/condition/README.md +6 -0
- package/popconfirm/popconfirm.component.d.ts +6 -2
- package/popconfirm/popconfirm.property.d.ts +13 -2
- package/popover/popover.property.d.ts +6 -1
- package/portal/portal.module.d.ts +1 -1
- package/portal/portal.service.d.ts +2 -3
- package/progress/examples/en_US/default/circle/README.md +6 -0
- package/progress/examples/en_US/default/dashboard/README.md +6 -0
- package/progress/examples/en_US/default/gradient/README.md +6 -0
- package/progress/examples/en_US/default/steps/README.md +6 -0
- package/progress/examples/en_US/default/subsection/README.md +6 -0
- package/progress/examples/zh_CN/default/circle/README.md +6 -0
- package/progress/examples/zh_CN/default/dashboard/README.md +6 -0
- package/progress/examples/zh_CN/default/gradient/README.md +6 -0
- package/progress/examples/zh_CN/default/steps/README.md +6 -0
- package/progress/examples/zh_CN/default/subsection/README.md +6 -0
- package/progress/progress.component.d.ts +31 -3
- package/progress/progress.property.d.ts +80 -5
- package/steps/examples/en_US/default/node-status/README.md +6 -0
- package/steps/examples/zh_CN/default/node-status/README.md +6 -0
- package/steps/steps.property.d.ts +7 -2
- package/style/core/index.scss +1 -0
- package/table/table.property.d.ts +1 -1
- package/time-picker/time-picker-frame.component.d.ts +1 -0
- package/time-picker/time-picker.component.d.ts +3 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
1
|
+
import { OnInit, ChangeDetectorRef, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { XAlertProperty } from './alert.property';
|
|
3
3
|
import { XConfigService } from '@ng-nest/ui/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -9,6 +9,7 @@ export declare class XAlertComponent extends XAlertProperty implements OnInit, O
|
|
|
9
9
|
constructor(cdr: ChangeDetectorRef, configService: XConfigService);
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
13
|
setClassMap(): void;
|
|
13
14
|
setDuration(): void;
|
|
14
15
|
onClose(): void;
|
|
@@ -3,7 +3,7 @@ import { XCarouselPanelProperty } from './carousel.property';
|
|
|
3
3
|
import { XConfigService } from '@ng-nest/ui/core';
|
|
4
4
|
import { XCarouselComponent } from './carousel.component';
|
|
5
5
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
6
|
-
import { BehaviorSubject,
|
|
6
|
+
import { BehaviorSubject, Subject } from 'rxjs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class XCarouselPanelComponent extends XCarouselPanelProperty implements OnInit {
|
|
9
9
|
carousel: XCarouselComponent;
|
|
@@ -21,10 +21,9 @@ export declare class XCarouselPanelComponent extends XCarouselPanelProperty impl
|
|
|
21
21
|
scale: number;
|
|
22
22
|
inStage: boolean;
|
|
23
23
|
updateSub: BehaviorSubject<boolean>;
|
|
24
|
-
|
|
24
|
+
unSubject: Subject<void>;
|
|
25
25
|
constructor(carousel: XCarouselComponent, renderer: Renderer2, elementRef: ElementRef, sanitizer: DomSanitizer, cdr: ChangeDetectorRef, configService: XConfigService);
|
|
26
26
|
ngOnInit(): void;
|
|
27
|
-
ngAfterViewInit(): void;
|
|
28
27
|
ngOnDestroy(): void;
|
|
29
28
|
setActive(): void;
|
|
30
29
|
setStyles(): void;
|
package/core/config/config.d.ts
CHANGED
|
@@ -220,6 +220,9 @@ export interface XDialogConfig {
|
|
|
220
220
|
export interface XDrawerConfig {
|
|
221
221
|
placement?: XPosition;
|
|
222
222
|
size?: string;
|
|
223
|
+
backdropClose?: XBoolean;
|
|
224
|
+
hasBackdrop?: XBoolean;
|
|
225
|
+
className?: string;
|
|
223
226
|
}
|
|
224
227
|
export interface XDropdownConfig {
|
|
225
228
|
trigger?: XTrigger;
|
|
@@ -353,6 +356,7 @@ export interface XPortalConfig {
|
|
|
353
356
|
}
|
|
354
357
|
export interface XProgressConfing {
|
|
355
358
|
height?: string;
|
|
359
|
+
stepWidth?: string;
|
|
356
360
|
}
|
|
357
361
|
export interface XRadioConfig {
|
|
358
362
|
size?: XSize;
|
|
@@ -17,7 +17,7 @@ export declare type XType = 'initial' | 'primary' | 'success' | 'info' | 'warnin
|
|
|
17
17
|
/**
|
|
18
18
|
* 状态类型
|
|
19
19
|
*/
|
|
20
|
-
export declare type XStatus = 'success' | 'info' | 'warning' | 'error';
|
|
20
|
+
export declare type XStatus = 'success' | 'info' | 'warning' | 'error' | 'loading';
|
|
21
21
|
/**
|
|
22
22
|
* 样式映射类型
|
|
23
23
|
*/
|
|
@@ -48,7 +48,7 @@ export declare class XDatePickerComponent extends XDatePickerProperty implements
|
|
|
48
48
|
mleave(): void;
|
|
49
49
|
clearEmit(): void;
|
|
50
50
|
modelChange(): void;
|
|
51
|
-
getValue(): string | number | Date
|
|
51
|
+
getValue(): string | number | Date;
|
|
52
52
|
portalAttached(): boolean | undefined;
|
|
53
53
|
closePortal(): boolean;
|
|
54
54
|
destroyPortal(): void;
|
|
@@ -243,6 +243,36 @@ export declare class XPickerDateProperty extends XProperty {
|
|
|
243
243
|
* @en_US Range picker
|
|
244
244
|
*/
|
|
245
245
|
rangePicker?: XBoolean;
|
|
246
|
+
/**
|
|
247
|
+
* @zh_CN 上一年
|
|
248
|
+
* @en_US Last year
|
|
249
|
+
*/
|
|
250
|
+
lastYearBtn: XBoolean;
|
|
251
|
+
/**
|
|
252
|
+
* @zh_CN 上月
|
|
253
|
+
* @en_US Last month
|
|
254
|
+
*/
|
|
255
|
+
lastMonthBtn: XBoolean;
|
|
256
|
+
/**
|
|
257
|
+
* @zh_CN 下一年
|
|
258
|
+
* @en_US Next year
|
|
259
|
+
*/
|
|
260
|
+
nextYearBtn: XBoolean;
|
|
261
|
+
/**
|
|
262
|
+
* @zh_CN 上月
|
|
263
|
+
* @en_US Next month
|
|
264
|
+
*/
|
|
265
|
+
nextMonthBtn: XBoolean;
|
|
266
|
+
/**
|
|
267
|
+
* @zh_CN 范围日期
|
|
268
|
+
* @en_US Range date
|
|
269
|
+
*/
|
|
270
|
+
rangeValue: number[];
|
|
271
|
+
/**
|
|
272
|
+
* @zh_CN 当前选择的是开始/结束日期
|
|
273
|
+
* @en_US The current choice is the start / end date
|
|
274
|
+
*/
|
|
275
|
+
rangeType: XDatePickerRangType;
|
|
246
276
|
/**
|
|
247
277
|
* @zh_CN 选择类型
|
|
248
278
|
* @en_US Select type
|
|
@@ -258,9 +288,29 @@ export declare class XPickerDateProperty extends XProperty {
|
|
|
258
288
|
* @en_US Scope change event
|
|
259
289
|
*/
|
|
260
290
|
rangeChange: EventEmitter<Date[]>;
|
|
291
|
+
/**
|
|
292
|
+
* @zh_CN 选年的事件
|
|
293
|
+
* @en_US Year change event
|
|
294
|
+
*/
|
|
295
|
+
yearChange: EventEmitter<number>;
|
|
296
|
+
/**
|
|
297
|
+
* @zh_CN 选月的事件
|
|
298
|
+
* @en_US Month change event
|
|
299
|
+
*/
|
|
300
|
+
monthChange: EventEmitter<number>;
|
|
301
|
+
/**
|
|
302
|
+
* @zh_CN 显示日期事件
|
|
303
|
+
* @en_US display date event
|
|
304
|
+
*/
|
|
305
|
+
displayChange: EventEmitter<Date>;
|
|
261
306
|
static ɵfac: i0.ɵɵFactoryDeclaration<XPickerDateProperty, never>;
|
|
262
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XPickerDateProperty, "ng-component", never, { "type": "type"; "display": "display"; "model": "model"; "dateTemp": "dateTemp"; "showHeader": "showHeader"; "rangePicker": "rangePicker"; }, { "typeChange": "typeChange"; "modelChange": "modelChange"; "rangeChange": "rangeChange"; }, never, never>;
|
|
307
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XPickerDateProperty, "ng-component", never, { "type": "type"; "display": "display"; "model": "model"; "dateTemp": "dateTemp"; "showHeader": "showHeader"; "rangePicker": "rangePicker"; "lastYearBtn": "lastYearBtn"; "lastMonthBtn": "lastMonthBtn"; "nextYearBtn": "nextYearBtn"; "nextMonthBtn": "nextMonthBtn"; "rangeValue": "rangeValue"; "rangeType": "rangeType"; }, { "typeChange": "typeChange"; "modelChange": "modelChange"; "rangeChange": "rangeChange"; "yearChange": "yearChange"; "monthChange": "monthChange"; "displayChange": "displayChange"; }, never, never>;
|
|
263
308
|
}
|
|
309
|
+
/**
|
|
310
|
+
* @zh_CN 当前选择的是开始/结束日期
|
|
311
|
+
* @en_US The current choice is the start / end date
|
|
312
|
+
*/
|
|
313
|
+
export declare type XDatePickerRangType = 'start' | 'end';
|
|
264
314
|
/**
|
|
265
315
|
* PickerMonth
|
|
266
316
|
* @selector x-picker-month
|
|
@@ -26,6 +26,8 @@ export declare class XDateRangePortalComponent implements OnInit, OnDestroy, Aft
|
|
|
26
26
|
value: number[];
|
|
27
27
|
valueChange: Subject<number[]>;
|
|
28
28
|
positionChange: Subject<any>;
|
|
29
|
+
inputActiveChange: Subject<'start' | 'end'>;
|
|
30
|
+
activeType: 'start' | 'end';
|
|
29
31
|
animating: Function;
|
|
30
32
|
closePortal: Function;
|
|
31
33
|
destroyPortal: Function;
|
|
@@ -45,7 +47,7 @@ export declare class XDateRangePortalComponent implements OnInit, OnDestroy, Aft
|
|
|
45
47
|
stopPropagation(event: Event): void;
|
|
46
48
|
setDefault(): void;
|
|
47
49
|
setDisplay(date: Date): void;
|
|
48
|
-
dateChange(date: Date): void;
|
|
50
|
+
dateChange(date: Date, type: 'start' | 'end'): void;
|
|
49
51
|
typeChange(type: XDatePickerType): void;
|
|
50
52
|
monthChange(date: Date): void;
|
|
51
53
|
yearChange(date: Date): void;
|
|
@@ -54,12 +56,12 @@ export declare class XDateRangePortalComponent implements OnInit, OnDestroy, Aft
|
|
|
54
56
|
nextYear(num: number): void;
|
|
55
57
|
nextYears(num: number): void;
|
|
56
58
|
getLocaleMonth(date: Date): any;
|
|
57
|
-
onToday(): void;
|
|
58
|
-
onYesterday(): void;
|
|
59
|
-
onTomorrow(): void;
|
|
60
|
-
onPresetFunc(item: XDatePickerPreset): void;
|
|
61
59
|
selectTime(time: Date): void;
|
|
62
60
|
setModel(date: Date, time: Date): Date;
|
|
61
|
+
startYearChange(num: number): void;
|
|
62
|
+
endYearChange(num: number): void;
|
|
63
|
+
startMonthChange(num: number): void;
|
|
64
|
+
endMonthChange(num: number): void;
|
|
63
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<XDateRangePortalComponent, never>;
|
|
64
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<XDateRangePortalComponent, "x-date-range-portal", never, {}, {}, never, never>;
|
|
65
67
|
}
|
|
@@ -3,7 +3,7 @@ import { Subject } from 'rxjs';
|
|
|
3
3
|
import { OnInit, ChangeDetectorRef, Renderer2, ElementRef, OnChanges, ViewContainerRef, SimpleChanges } from '@angular/core';
|
|
4
4
|
import { XDatePickerModelType, XDateRangeProperty } from './date-picker.property';
|
|
5
5
|
import { XConfigService, XBoolean } from '@ng-nest/ui/core';
|
|
6
|
-
import { XInputGroupComponent } from '@ng-nest/ui/input';
|
|
6
|
+
import { XInputComponent, XInputGroupComponent } from '@ng-nest/ui/input';
|
|
7
7
|
import { DatePipe } from '@angular/common';
|
|
8
8
|
import { Overlay, OverlayConfig } from '@angular/cdk/overlay';
|
|
9
9
|
import { XDateRangePortalComponent } from './date-range-portal.component';
|
|
@@ -18,6 +18,8 @@ export declare class XDateRangeComponent extends XDateRangeProperty implements O
|
|
|
18
18
|
private overlay;
|
|
19
19
|
dateRange: ElementRef;
|
|
20
20
|
inputGroup: XInputGroupComponent;
|
|
21
|
+
inputStartCom: XInputComponent;
|
|
22
|
+
inputEndCom: XInputComponent;
|
|
21
23
|
modelType: XDatePickerModelType;
|
|
22
24
|
numberValue: number[];
|
|
23
25
|
isInput: boolean;
|
|
@@ -36,11 +38,13 @@ export declare class XDateRangeComponent extends XDateRangeProperty implements O
|
|
|
36
38
|
valueChange: Subject<any>;
|
|
37
39
|
dataChange: Subject<any>;
|
|
38
40
|
positionChange: Subject<any>;
|
|
41
|
+
inputActiveChange: Subject<string>;
|
|
39
42
|
closeSubject: Subject<void>;
|
|
40
43
|
startDisplay: string | number;
|
|
41
44
|
endDisplay: string | number;
|
|
42
45
|
startActive: XBoolean;
|
|
43
46
|
endActive: XBoolean;
|
|
47
|
+
activeType?: 'start' | 'end';
|
|
44
48
|
private _unSubject;
|
|
45
49
|
constructor(renderer: Renderer2, configService: XConfigService, cdr: ChangeDetectorRef, portalService: XPortalService, viewContainerRef: ViewContainerRef, datePipe: DatePipe, overlay: Overlay);
|
|
46
50
|
ngOnInit(): void;
|
|
@@ -16,6 +16,8 @@ export declare class XPickerDateComponent extends XPickerDateProperty implements
|
|
|
16
16
|
dates: Date[][];
|
|
17
17
|
locale: XI18nDatePicker;
|
|
18
18
|
private _unSubject;
|
|
19
|
+
get rangeStart(): number | "";
|
|
20
|
+
get rangeEnd(): number | "";
|
|
19
21
|
constructor(renderer: Renderer2, datePipe: DatePipe, lowerCasePipe: LowerCasePipe, cdr: ChangeDetectorRef, configService: XConfigService, i18n: XI18nService);
|
|
20
22
|
ngOnInit(): void;
|
|
21
23
|
ngOnChanges(simples: SimpleChanges): void;
|
|
@@ -24,6 +26,7 @@ export declare class XPickerDateComponent extends XPickerDateProperty implements
|
|
|
24
26
|
setDays(date: Date): void;
|
|
25
27
|
dateClick(date: Date): void;
|
|
26
28
|
getLocaleMonth(date: Date): any;
|
|
29
|
+
rangeDisabled(date: Date): boolean;
|
|
27
30
|
setDisplay(date: Date): void;
|
|
28
31
|
nextMonth(num: number): void;
|
|
29
32
|
nextYear(num: number): void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
2
|
+
import { ComponentRef, EmbeddedViewRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import { XDialogAnimationEvent, XDialogAnimationState } from './dialog.property';
|
|
4
|
+
import { AnimationEvent } from '@angular/animations';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class XDialogPortalComponent extends BasePortalOutlet {
|
|
7
|
+
_has: boolean;
|
|
8
|
+
placement?: XDialogAnimationState;
|
|
9
|
+
done({ toState, totalTime }: AnimationEvent): void;
|
|
10
|
+
start({ toState, totalTime }: AnimationEvent): void;
|
|
11
|
+
portalOutlet: CdkPortalOutlet;
|
|
12
|
+
animationChanged: EventEmitter<XDialogAnimationEvent>;
|
|
13
|
+
constructor();
|
|
14
|
+
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
15
|
+
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDialogPortalComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XDialogPortalComponent, "x-dialog-portal", never, {}, {}, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { XDialogRef } from './dialog-ref';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class XDialogCloseDirective {
|
|
4
|
+
dialogRef: XDialogRef<any>;
|
|
5
|
+
onCloseClick(): void;
|
|
6
|
+
constructor(dialogRef: XDialogRef<any>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDialogCloseDirective, [{ optional: true; }]>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<XDialogCloseDirective, "[x-dialog-close]", never, {}, {}, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class XDialogTitleDirective {
|
|
11
|
+
_has: boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDialogTitleDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<XDialogTitleDirective, "[x-dialog-title]", never, {}, {}, never>;
|
|
14
|
+
}
|
|
15
|
+
export declare class XDialogContentDirective {
|
|
16
|
+
_has: boolean;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDialogContentDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<XDialogContentDirective, "[x-dialog-content], x-dialog-content", never, {}, {}, never>;
|
|
19
|
+
}
|
|
20
|
+
export declare class XDialogActionsDirective {
|
|
21
|
+
_has: boolean;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDialogActionsDirective, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<XDialogActionsDirective, "[x-dialog-actions], x-dialog-actions", never, {}, {}, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OverlayRef } from '@angular/cdk/overlay';
|
|
2
|
+
import { XDialogPortalComponent } from './dialog-portal.component';
|
|
3
|
+
export declare class XDialogRef<C> {
|
|
4
|
+
overlayRef: OverlayRef;
|
|
5
|
+
containerInstance: XDialogPortalComponent;
|
|
6
|
+
componentInstance: C;
|
|
7
|
+
constructor(overlayRef: OverlayRef, containerInstance: XDialogPortalComponent);
|
|
8
|
+
close(): void;
|
|
9
|
+
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./dialog.component";
|
|
3
|
-
import * as i2 from "./dialog.
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "@angular/
|
|
7
|
-
import * as i6 from "@
|
|
8
|
-
import * as i7 from "@
|
|
9
|
-
import * as i8 from "@ng-nest/ui/
|
|
10
|
-
import * as i9 from "@ng-nest/ui/
|
|
11
|
-
import * as i10 from "@ng-nest/ui/
|
|
12
|
-
import * as i11 from "@ng-nest/ui/
|
|
3
|
+
import * as i2 from "./dialog-portal.directives";
|
|
4
|
+
import * as i3 from "./dialog-portal.component";
|
|
5
|
+
import * as i4 from "./dialog.property";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "@angular/cdk/drag-drop";
|
|
9
|
+
import * as i8 from "@ng-nest/ui/input";
|
|
10
|
+
import * as i9 from "@ng-nest/ui/button";
|
|
11
|
+
import * as i10 from "@ng-nest/ui/icon";
|
|
12
|
+
import * as i11 from "@ng-nest/ui/portal";
|
|
13
|
+
import * as i12 from "@ng-nest/ui/alert";
|
|
14
|
+
import * as i13 from "@ng-nest/ui/outlet";
|
|
13
15
|
export declare class XDialogModule {
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<XDialogModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<XDialogModule, [typeof i1.XDialogComponent, typeof i2.XDialogProperty], [typeof
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<XDialogModule, [typeof i1.XDialogComponent, typeof i2.XDialogCloseDirective, typeof i2.XDialogTitleDirective, typeof i2.XDialogContentDirective, typeof i2.XDialogActionsDirective, typeof i3.XDialogPortalComponent, typeof i4.XDialogProperty], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.DragDropModule, typeof i8.XInputModule, typeof i9.XButtonModule, typeof i10.XIconModule, typeof i11.XPortalModule, typeof i12.XAlertModule, typeof i13.XOutletModule], [typeof i1.XDialogComponent, typeof i2.XDialogCloseDirective, typeof i2.XDialogTitleDirective, typeof i2.XDialogContentDirective, typeof i2.XDialogActionsDirective, typeof i3.XDialogPortalComponent]>;
|
|
16
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<XDialogModule>;
|
|
17
19
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, ViewContainerRef, InjectionToken } from '@angular/core';
|
|
2
2
|
import { XStatus, XPlace, XTemplate, XEffect, XBoolean } from '@ng-nest/ui/core';
|
|
3
3
|
import { XAlertProperty, XAlertOption } from '@ng-nest/ui/alert';
|
|
4
4
|
import { XPortalOverlayRef } from '@ng-nest/ui/portal';
|
|
5
5
|
import { XDialogComponent } from './dialog.component';
|
|
6
|
+
import { XDialogPortalComponent } from './dialog-portal.component';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* Dialog
|
|
@@ -10,7 +11,9 @@ import * as i0 from "@angular/core";
|
|
|
10
11
|
* @decorator component
|
|
11
12
|
*/
|
|
12
13
|
export declare const XDialogPrefix = "x-dialog";
|
|
13
|
-
export declare const
|
|
14
|
+
export declare const X_DIALOG_CONFIG_NAME = "dialog";
|
|
15
|
+
export declare const XDialogContainer = "x-dialog-container";
|
|
16
|
+
export declare const X_DIALOG_DATA: InjectionToken<any>;
|
|
14
17
|
/**
|
|
15
18
|
* Dialog Property
|
|
16
19
|
*/
|
|
@@ -217,19 +220,94 @@ export interface XDialogOption extends XAlertOption {
|
|
|
217
220
|
*/
|
|
218
221
|
beforeClose?: Function;
|
|
219
222
|
}
|
|
223
|
+
/**
|
|
224
|
+
* Dialog option by service
|
|
225
|
+
*/
|
|
226
|
+
export interface XDialogRefOption {
|
|
227
|
+
/**
|
|
228
|
+
* @zh_CN 展示方向
|
|
229
|
+
* @en_US Display direction
|
|
230
|
+
* @default 'center'
|
|
231
|
+
* @withConfig true
|
|
232
|
+
*/
|
|
233
|
+
placement?: XPlace;
|
|
234
|
+
/**
|
|
235
|
+
* @zh_CN 偏移距离
|
|
236
|
+
* @en_US Offset distance
|
|
237
|
+
* @default '1rem'
|
|
238
|
+
* @withConfig true
|
|
239
|
+
*/
|
|
240
|
+
offset?: string;
|
|
241
|
+
/**
|
|
242
|
+
* @zh_CN 宽度
|
|
243
|
+
* @en_US Width
|
|
244
|
+
* @default '32rem'
|
|
245
|
+
* @withConfig true
|
|
246
|
+
*/
|
|
247
|
+
width?: string;
|
|
248
|
+
/**
|
|
249
|
+
* @zh_CN 高度
|
|
250
|
+
* @en_US Height
|
|
251
|
+
*/
|
|
252
|
+
height?: string;
|
|
253
|
+
/**
|
|
254
|
+
* @zh_CN 自定义样式名
|
|
255
|
+
* @en_US Custom style name
|
|
256
|
+
*/
|
|
257
|
+
className?: string;
|
|
258
|
+
/**
|
|
259
|
+
* @zh_CN 点击遮罩关闭
|
|
260
|
+
* @en_US Click the mask to close
|
|
261
|
+
* @default true
|
|
262
|
+
* @withConfig true
|
|
263
|
+
*/
|
|
264
|
+
backdropClose?: boolean;
|
|
265
|
+
/**
|
|
266
|
+
* @zh_CN 是否显示背景遮罩
|
|
267
|
+
* @en_US Whether to display the background mask
|
|
268
|
+
* @default true
|
|
269
|
+
* @withConfig true
|
|
270
|
+
*/
|
|
271
|
+
hasBackdrop?: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* @zh_CN 拖动对话框
|
|
274
|
+
* @en_US Drag dialog
|
|
275
|
+
* @default false
|
|
276
|
+
* @withConfig true
|
|
277
|
+
*/
|
|
278
|
+
draggable?: boolean;
|
|
279
|
+
/**
|
|
280
|
+
* @zh_CN 数据,通过 "@Inject(X_DIALOG_DATA)" 来接收数据
|
|
281
|
+
* @en_US Data. Receive data by "@Inject(X_DIALOG_DATA)"
|
|
282
|
+
*/
|
|
283
|
+
data?: any;
|
|
284
|
+
/**
|
|
285
|
+
* @en_US 视图容器实例可以包含其他视图容器。
|
|
286
|
+
* @en_US A view container instance can contain other view containers.
|
|
287
|
+
*/
|
|
288
|
+
viewContainerRef?: ViewContainerRef;
|
|
289
|
+
}
|
|
290
|
+
export declare type XDialogAnimationState = XPlace | 'void';
|
|
291
|
+
export interface XDialogAnimationEvent {
|
|
292
|
+
state: XDialogAnimationState;
|
|
293
|
+
action: 'start' | 'done';
|
|
294
|
+
totalTime: number;
|
|
295
|
+
}
|
|
220
296
|
export interface XDialogCallback {
|
|
221
297
|
(action: XDialogAction, message?: string): void;
|
|
222
298
|
}
|
|
223
299
|
export declare type XDialogAction = 'confirm' | 'cancel';
|
|
224
300
|
/**
|
|
225
|
-
* @zh_CN
|
|
226
|
-
* @en_US
|
|
301
|
+
* @zh_CN 创建的弹框对象
|
|
302
|
+
* @en_US Dialog object created
|
|
227
303
|
*/
|
|
228
304
|
export interface XDialogOverlayRef extends XPortalOverlayRef<XDialogComponent> {
|
|
229
305
|
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
306
|
+
/**
|
|
307
|
+
* @zh_CN 创建的弹框对象,通过服务
|
|
308
|
+
* @en_US Dialog object created by service
|
|
309
|
+
*/
|
|
310
|
+
export interface XDialogPortalOverlayRef extends XPortalOverlayRef<XDialogPortalComponent> {
|
|
233
311
|
}
|
|
234
312
|
/**
|
|
235
313
|
* @zh_CN 类型
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
3
|
+
import { TemplateRef } from '@angular/core';
|
|
4
|
+
import { XConfigService, XDialogConfig } from '@ng-nest/ui/core';
|
|
5
|
+
import { XPortalService } from '@ng-nest/ui/portal';
|
|
6
|
+
import { XDialogRef } from './dialog-ref';
|
|
7
|
+
import { XDialogRefOption } from './dialog.property';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class XDialogService {
|
|
10
|
+
portalService: XPortalService;
|
|
11
|
+
configService: XConfigService;
|
|
12
|
+
overlay: Overlay;
|
|
13
|
+
default: XDialogRefOption;
|
|
14
|
+
configDefault?: XDialogConfig;
|
|
15
|
+
constructor(portalService: XPortalService, configService: XConfigService, overlay: Overlay);
|
|
16
|
+
create<T>(content: TemplateRef<any> | ComponentType<T>, option?: XDialogRefOption): XDialogRef<T>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDialogService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<XDialogService>;
|
|
19
|
+
}
|
package/dialog/public-api.d.ts
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { XDrawerContainerProperty } from './drawer.property';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class XDrawerContainerComponent extends XDrawerContainerProperty {
|
|
4
|
+
_has: boolean;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerContainerComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XDrawerContainerComponent, "x-drawer-container", never, {}, {}, never, ["*"]>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
2
|
+
import { ComponentRef, EmbeddedViewRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import { XDrawerAnimationEvent, XDrawerAnimationState } from './drawer.property';
|
|
4
|
+
import { AnimationEvent } from '@angular/animations';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class XDrawerPortalComponent extends BasePortalOutlet {
|
|
7
|
+
_has: boolean;
|
|
8
|
+
placement?: XDrawerAnimationState;
|
|
9
|
+
done({ toState, totalTime }: AnimationEvent): void;
|
|
10
|
+
start({ toState, totalTime }: AnimationEvent): void;
|
|
11
|
+
portalOutlet: CdkPortalOutlet;
|
|
12
|
+
animationChanged: EventEmitter<XDrawerAnimationEvent>;
|
|
13
|
+
constructor();
|
|
14
|
+
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
15
|
+
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerPortalComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XDrawerPortalComponent, "x-drawer-portal", never, {}, {}, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { XDrawerRef } from './drawer-ref';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class XDrawerCloseDirective {
|
|
4
|
+
drawerRef: XDrawerRef<any>;
|
|
5
|
+
onCloseClick(): void;
|
|
6
|
+
constructor(drawerRef: XDrawerRef<any>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerCloseDirective, [{ optional: true; }]>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<XDrawerCloseDirective, "[x-drawer-close]", never, {}, {}, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class XDrawerTitleDirective {
|
|
11
|
+
_has: boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerTitleDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<XDrawerTitleDirective, "[x-drawer-title]", never, {}, {}, never>;
|
|
14
|
+
}
|
|
15
|
+
export declare class XDrawerContentDirective {
|
|
16
|
+
_has: boolean;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerContentDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<XDrawerContentDirective, "[x-drawer-content], x-drawer-content", never, {}, {}, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OverlayRef } from '@angular/cdk/overlay';
|
|
2
|
+
import { XDrawerPortalComponent } from './drawer-portal.component';
|
|
3
|
+
export declare class XDrawerRef<C> {
|
|
4
|
+
overlayRef: OverlayRef;
|
|
5
|
+
containerInstance: XDrawerPortalComponent;
|
|
6
|
+
componentInstance: C;
|
|
7
|
+
constructor(overlayRef: OverlayRef, containerInstance: XDrawerPortalComponent);
|
|
8
|
+
close(): void;
|
|
9
|
+
}
|
|
@@ -4,6 +4,7 @@ import { XConfigService } from '@ng-nest/ui/core';
|
|
|
4
4
|
import { XPortalService, XPortalOverlayRef } from '@ng-nest/ui/portal';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
6
|
import { Overlay } from '@angular/cdk/overlay';
|
|
7
|
+
import { XDrawerContainerComponent } from './drawer-container.component';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class XDrawerComponent extends XDrawerProperty implements OnInit, OnChanges {
|
|
9
10
|
renderer: Renderer2;
|
|
@@ -13,19 +14,25 @@ export declare class XDrawerComponent extends XDrawerProperty implements OnInit,
|
|
|
13
14
|
portalService: XPortalService;
|
|
14
15
|
viewContainerRef: ViewContainerRef;
|
|
15
16
|
configService: XConfigService;
|
|
17
|
+
container?: XDrawerContainerComponent | undefined;
|
|
18
|
+
get getVisible(): import("@ng-nest/ui/core").XBoolean | undefined;
|
|
16
19
|
drawerTpl: TemplateRef<void>;
|
|
17
20
|
portal: XPortalOverlayRef<any>;
|
|
18
21
|
back$: Subscription | null;
|
|
19
|
-
|
|
22
|
+
width: string;
|
|
23
|
+
height: string;
|
|
24
|
+
constructor(renderer: Renderer2, elementRef: ElementRef, cdr: ChangeDetectorRef, overlay: Overlay, portalService: XPortalService, viewContainerRef: ViewContainerRef, configService: XConfigService, container?: XDrawerContainerComponent | undefined);
|
|
20
25
|
ngOnInit(): void;
|
|
21
26
|
ngOnChanges(simples: SimpleChanges): void;
|
|
22
27
|
ngOnDestroy(): void;
|
|
23
28
|
unsubscribe(): void;
|
|
24
29
|
setClassMap(): void;
|
|
30
|
+
setSize(): void;
|
|
31
|
+
getSize(): string[];
|
|
25
32
|
setVisible(): void;
|
|
26
33
|
createPortal(): void;
|
|
27
34
|
portalAttached(): boolean | undefined;
|
|
28
|
-
closePortal():
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerComponent,
|
|
35
|
+
closePortal(): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerComponent, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
30
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<XDrawerComponent, "x-drawer", never, {}, {}, never, ["*"]>;
|
|
31
38
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./drawer.component";
|
|
3
|
-
import * as i2 from "./drawer.
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "@
|
|
3
|
+
import * as i2 from "./drawer-portal.directives";
|
|
4
|
+
import * as i3 from "./drawer-portal.component";
|
|
5
|
+
import * as i4 from "./drawer-container.component";
|
|
6
|
+
import * as i5 from "./drawer.property";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@ng-nest/ui/outlet";
|
|
9
|
+
import * as i8 from "@ng-nest/ui/button";
|
|
10
|
+
import * as i9 from "@ng-nest/ui/portal";
|
|
8
11
|
export declare class XDrawerModule {
|
|
9
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<XDrawerModule, [typeof i1.XDrawerComponent, typeof i2.XDrawerProperty], [typeof
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<XDrawerModule, [typeof i1.XDrawerComponent, typeof i2.XDrawerCloseDirective, typeof i2.XDrawerTitleDirective, typeof i2.XDrawerContentDirective, typeof i3.XDrawerPortalComponent, typeof i4.XDrawerContainerComponent, typeof i5.XDrawerProperty, typeof i5.XDrawerContainerProperty], [typeof i6.CommonModule, typeof i7.XOutletModule, typeof i8.XButtonModule, typeof i9.XPortalModule], [typeof i1.XDrawerComponent, typeof i2.XDrawerCloseDirective, typeof i2.XDrawerTitleDirective, typeof i2.XDrawerContentDirective, typeof i3.XDrawerPortalComponent, typeof i4.XDrawerContainerComponent]>;
|
|
11
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<XDrawerModule>;
|
|
12
15
|
}
|