@ng-nest/ui 13.0.3 → 13.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alert/alert.component.d.ts +2 -1
- package/core/config/config.d.ts +11 -1
- package/core/interfaces/layout.type.d.ts +1 -1
- 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 +3 -3
- package/esm2020/auto-complete/auto-complete.component.mjs +3 -3
- 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 +3 -3
- 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 +3 -3
- package/esm2020/cascade/cascade.component.mjs +3 -3
- 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 +3 -3
- package/esm2020/color-picker/color-picker.component.mjs +3 -3
- 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 +3 -3
- package/esm2020/date-picker/date-picker.component.mjs +3 -3
- package/esm2020/date-picker/date-picker.module.mjs +6 -7
- package/esm2020/date-picker/date-picker.property.mjs +15 -15
- package/esm2020/date-picker/date-range-portal.component.mjs +5 -5
- package/esm2020/date-picker/date-range.component.mjs +3 -3
- package/esm2020/date-picker/picker-date.component.mjs +3 -3
- 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 +15 -6
- package/esm2020/find/find.module.mjs +4 -4
- package/esm2020/find/find.property.mjs +20 -4
- 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 +6 -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 +12 -7
- 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 +3 -3
- package/esm2020/select/select.component.mjs +3 -3
- 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 +12 -12
- 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 +4 -4
- package/esm2020/time-picker/time-picker-portal.component.mjs +3 -3
- package/esm2020/time-picker/time-picker.component.mjs +3 -3
- 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 +5 -5
- package/esm2020/tree/tree.component.mjs +3 -3
- package/esm2020/tree/tree.module.mjs +4 -4
- package/esm2020/tree/tree.property.mjs +13 -7
- 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 +17 -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 +14 -15
- package/fesm2015/ng-nest-ui-auto-complete.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-avatar.mjs +10 -10
- package/fesm2015/ng-nest-ui-back-top.mjs +10 -10
- package/fesm2015/ng-nest-ui-badge.mjs +10 -10
- package/fesm2015/ng-nest-ui-base-form.mjs +10 -10
- package/fesm2015/ng-nest-ui-border.mjs +7 -7
- package/fesm2015/ng-nest-ui-button.mjs +17 -17
- package/fesm2015/ng-nest-ui-calendar.mjs +10 -10
- package/fesm2015/ng-nest-ui-card.mjs +11 -11
- package/fesm2015/ng-nest-ui-carousel.mjs +16 -16
- package/fesm2015/ng-nest-ui-cascade.mjs +14 -15
- package/fesm2015/ng-nest-ui-cascade.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-checkbox.mjs +11 -11
- package/fesm2015/ng-nest-ui-collapse.mjs +16 -16
- package/fesm2015/ng-nest-ui-color-picker.mjs +14 -15
- package/fesm2015/ng-nest-ui-color-picker.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-color.mjs +10 -10
- package/fesm2015/ng-nest-ui-comment.mjs +16 -16
- package/fesm2015/ng-nest-ui-container.mjs +34 -34
- package/fesm2015/ng-nest-ui-core.mjs +15 -15
- package/fesm2015/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-crumb.mjs +10 -10
- package/fesm2015/ng-nest-ui-date-picker.mjs +42 -43
- package/fesm2015/ng-nest-ui-date-picker.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-description.mjs +16 -16
- package/fesm2015/ng-nest-ui-dialog.mjs +259 -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 +334 -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 +10 -10
- package/fesm2015/ng-nest-ui-examples.mjs +7 -7
- package/fesm2015/ng-nest-ui-find.mjs +37 -12
- package/fesm2015/ng-nest-ui-find.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-form.mjs +16 -16
- package/fesm2015/ng-nest-ui-highlight.mjs +10 -10
- package/fesm2015/ng-nest-ui-i18n.mjs +13 -13
- package/fesm2015/ng-nest-ui-icon.mjs +13 -13
- package/fesm2015/ng-nest-ui-inner.mjs +10 -10
- package/fesm2015/ng-nest-ui-input-number.mjs +10 -10
- package/fesm2015/ng-nest-ui-input.mjs +18 -17
- package/fesm2015/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-layout.mjs +16 -16
- package/fesm2015/ng-nest-ui-link.mjs +10 -10
- package/fesm2015/ng-nest-ui-list.mjs +16 -16
- package/fesm2015/ng-nest-ui-loading.mjs +10 -10
- package/fesm2015/ng-nest-ui-menu.mjs +22 -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 +60 -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 +7 -7
- package/fesm2015/ng-nest-ui-page-header.mjs +10 -10
- package/fesm2015/ng-nest-ui-pagination.mjs +11 -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 +15 -15
- package/fesm2015/ng-nest-ui-portal.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-progress.mjs +234 -26
- package/fesm2015/ng-nest-ui-progress.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-radio.mjs +11 -11
- package/fesm2015/ng-nest-ui-rate.mjs +11 -11
- package/fesm2015/ng-nest-ui-result.mjs +11 -11
- package/fesm2015/ng-nest-ui-ripple.mjs +10 -10
- package/fesm2015/ng-nest-ui-select.mjs +14 -15
- 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 +11 -11
- package/fesm2015/ng-nest-ui-slider.mjs +10 -10
- package/fesm2015/ng-nest-ui-statistic.mjs +16 -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 +11 -11
- package/fesm2015/ng-nest-ui-table.mjs +31 -31
- package/fesm2015/ng-nest-ui-tabs.mjs +19 -19
- package/fesm2015/ng-nest-ui-tag.mjs +11 -11
- package/fesm2015/ng-nest-ui-text-retract.mjs +10 -10
- package/fesm2015/ng-nest-ui-textarea.mjs +11 -11
- package/fesm2015/ng-nest-ui-theme.mjs +10 -10
- package/fesm2015/ng-nest-ui-time-ago.mjs +7 -7
- package/fesm2015/ng-nest-ui-time-picker.mjs +18 -19
- package/fesm2015/ng-nest-ui-time-picker.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-time-range.mjs +7 -7
- package/fesm2015/ng-nest-ui-timeline.mjs +10 -10
- package/fesm2015/ng-nest-ui-tooltip.mjs +14 -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 +11 -11
- package/fesm2015/ng-nest-ui-tree.mjs +23 -17
- package/fesm2015/ng-nest-ui-tree.mjs.map +1 -1
- package/fesm2015/ng-nest-ui-typography.mjs +10 -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 +17 -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 +14 -15
- package/fesm2020/ng-nest-ui-auto-complete.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-avatar.mjs +10 -10
- package/fesm2020/ng-nest-ui-back-top.mjs +10 -10
- package/fesm2020/ng-nest-ui-badge.mjs +10 -10
- package/fesm2020/ng-nest-ui-base-form.mjs +10 -10
- package/fesm2020/ng-nest-ui-border.mjs +7 -7
- package/fesm2020/ng-nest-ui-button.mjs +17 -17
- package/fesm2020/ng-nest-ui-calendar.mjs +10 -10
- package/fesm2020/ng-nest-ui-card.mjs +11 -11
- package/fesm2020/ng-nest-ui-carousel.mjs +16 -16
- package/fesm2020/ng-nest-ui-cascade.mjs +14 -15
- package/fesm2020/ng-nest-ui-cascade.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-checkbox.mjs +11 -11
- package/fesm2020/ng-nest-ui-collapse.mjs +16 -16
- package/fesm2020/ng-nest-ui-color-picker.mjs +14 -15
- package/fesm2020/ng-nest-ui-color-picker.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-color.mjs +10 -10
- package/fesm2020/ng-nest-ui-comment.mjs +16 -16
- package/fesm2020/ng-nest-ui-container.mjs +34 -34
- package/fesm2020/ng-nest-ui-core.mjs +15 -15
- package/fesm2020/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-crumb.mjs +10 -10
- package/fesm2020/ng-nest-ui-date-picker.mjs +42 -43
- package/fesm2020/ng-nest-ui-date-picker.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-description.mjs +16 -16
- package/fesm2020/ng-nest-ui-dialog.mjs +257 -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 +330 -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 +10 -10
- package/fesm2020/ng-nest-ui-examples.mjs +7 -7
- package/fesm2020/ng-nest-ui-find.mjs +37 -12
- package/fesm2020/ng-nest-ui-find.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-form.mjs +16 -16
- package/fesm2020/ng-nest-ui-highlight.mjs +10 -10
- package/fesm2020/ng-nest-ui-i18n.mjs +13 -13
- package/fesm2020/ng-nest-ui-icon.mjs +13 -13
- package/fesm2020/ng-nest-ui-inner.mjs +10 -10
- package/fesm2020/ng-nest-ui-input-number.mjs +10 -10
- package/fesm2020/ng-nest-ui-input.mjs +18 -17
- package/fesm2020/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-layout.mjs +16 -16
- package/fesm2020/ng-nest-ui-link.mjs +10 -10
- package/fesm2020/ng-nest-ui-list.mjs +16 -16
- package/fesm2020/ng-nest-ui-loading.mjs +10 -10
- package/fesm2020/ng-nest-ui-menu.mjs +22 -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 +59 -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 +7 -7
- package/fesm2020/ng-nest-ui-page-header.mjs +10 -10
- package/fesm2020/ng-nest-ui-pagination.mjs +11 -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 +15 -15
- package/fesm2020/ng-nest-ui-portal.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-progress.mjs +233 -25
- package/fesm2020/ng-nest-ui-progress.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-radio.mjs +11 -11
- package/fesm2020/ng-nest-ui-rate.mjs +11 -11
- package/fesm2020/ng-nest-ui-result.mjs +11 -11
- package/fesm2020/ng-nest-ui-ripple.mjs +10 -10
- package/fesm2020/ng-nest-ui-select.mjs +14 -15
- 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 +11 -11
- package/fesm2020/ng-nest-ui-slider.mjs +10 -10
- package/fesm2020/ng-nest-ui-statistic.mjs +16 -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 +11 -11
- package/fesm2020/ng-nest-ui-table.mjs +31 -31
- package/fesm2020/ng-nest-ui-tabs.mjs +19 -19
- package/fesm2020/ng-nest-ui-tag.mjs +11 -11
- package/fesm2020/ng-nest-ui-text-retract.mjs +10 -10
- package/fesm2020/ng-nest-ui-textarea.mjs +11 -11
- package/fesm2020/ng-nest-ui-theme.mjs +10 -10
- package/fesm2020/ng-nest-ui-time-ago.mjs +7 -7
- package/fesm2020/ng-nest-ui-time-picker.mjs +18 -19
- package/fesm2020/ng-nest-ui-time-picker.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-time-range.mjs +7 -7
- package/fesm2020/ng-nest-ui-timeline.mjs +10 -10
- package/fesm2020/ng-nest-ui-tooltip.mjs +14 -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 +11 -11
- package/fesm2020/ng-nest-ui-tree.mjs +23 -17
- package/fesm2020/ng-nest-ui-tree.mjs.map +1 -1
- package/fesm2020/ng-nest-ui-typography.mjs +10 -10
- package/fesm2020/ng-nest-ui-upload.mjs +14 -14
- package/find/find.property.d.ts +31 -1
- package/layout/examples/en_US/default/flex/README.md +1 -1
- package/layout/examples/zh_CN/default/flex/README.md +1 -1
- package/menu/menu.property.d.ts +8 -3
- 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/tree/tree.property.d.ts +6 -1
|
@@ -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;
|
package/core/config/config.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XSize, XBoolean, XType, XEffect, XNumber, XPositionLeftRight, XJustify, XShape, XFit, XShadow, XTrigger, XDisplayDirection, XCorner, XDirection, XPlace, XPosition, XPlacement, XPositionTopBottom, XStatus } from '../interfaces';
|
|
1
|
+
import { XSize, XBoolean, XType, XEffect, XNumber, XPositionLeftRight, XJustify, XShape, XFit, XShadow, XTrigger, XDisplayDirection, XCorner, XDirection, XPlace, XPosition, XPlacement, XPositionTopBottom, XStatus, XAlign } from '../interfaces';
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
3
|
import { XTheme } from '../theme';
|
|
4
4
|
export interface XConfig {
|
|
@@ -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;
|
|
@@ -237,6 +240,9 @@ export interface XFindConfig {
|
|
|
237
240
|
bordered?: XBoolean;
|
|
238
241
|
columnLabel?: string;
|
|
239
242
|
dialogTitle?: string;
|
|
243
|
+
dialogCheckboxLabel?: string;
|
|
244
|
+
dialogCheckboxWidth?: number;
|
|
245
|
+
dialogEmptyContent?: string;
|
|
240
246
|
dialogButtonsCenter?: XBoolean;
|
|
241
247
|
tableIndex?: number;
|
|
242
248
|
tableSize?: number;
|
|
@@ -295,6 +301,7 @@ export interface XLoadingConfig {
|
|
|
295
301
|
}
|
|
296
302
|
export interface XMenuConfig {
|
|
297
303
|
size?: XSize;
|
|
304
|
+
width?: string;
|
|
298
305
|
trigger?: XTrigger;
|
|
299
306
|
}
|
|
300
307
|
export interface XMessageConfig {
|
|
@@ -353,6 +360,7 @@ export interface XPortalConfig {
|
|
|
353
360
|
}
|
|
354
361
|
export interface XProgressConfing {
|
|
355
362
|
height?: string;
|
|
363
|
+
stepWidth?: string;
|
|
356
364
|
}
|
|
357
365
|
export interface XRadioConfig {
|
|
358
366
|
size?: XSize;
|
|
@@ -434,6 +442,8 @@ export interface XTransferConfig {
|
|
|
434
442
|
export interface XTreeConfig {
|
|
435
443
|
spacing?: XNumber;
|
|
436
444
|
nodeHeight?: XNumber;
|
|
445
|
+
nodeAlignItems?: XAlign;
|
|
446
|
+
virtualScroll?: boolean;
|
|
437
447
|
}
|
|
438
448
|
export interface XTextareaConfig {
|
|
439
449
|
clearable?: XBoolean;
|
|
@@ -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
|
*/
|
|
@@ -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
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { XTemplate, XPosition, XProperty, XBoolean } from '@ng-nest/ui/core';
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { EventEmitter, InjectionToken, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import { XPortalOverlayRef } from '@ng-nest/ui/portal';
|
|
4
|
+
import { XDrawerRef } from './drawer-ref';
|
|
5
|
+
import { XDrawerPortalComponent } from './drawer-portal.component';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
7
|
/**
|
|
5
8
|
* Drawer
|
|
@@ -7,6 +10,8 @@ import * as i0 from "@angular/core";
|
|
|
7
10
|
* @decorator component
|
|
8
11
|
*/
|
|
9
12
|
export declare const XDrawerPrefix = "x-drawer";
|
|
13
|
+
export declare const X_DRAWER_CONFIG_NAME = "drawer";
|
|
14
|
+
export declare const X_DRAWER_DATA: InjectionToken<any>;
|
|
10
15
|
/**
|
|
11
16
|
* Drawer Property
|
|
12
17
|
*/
|
|
@@ -31,6 +36,21 @@ export declare class XDrawerProperty extends XProperty {
|
|
|
31
36
|
* @en_US Size, supports fixed value
|
|
32
37
|
*/
|
|
33
38
|
size?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @zh_CN 点击遮罩关闭
|
|
41
|
+
* @en_US Click the mask to close
|
|
42
|
+
*/
|
|
43
|
+
backdropClose: XBoolean;
|
|
44
|
+
/**
|
|
45
|
+
* @zh_CN 是否显示背景遮罩
|
|
46
|
+
* @en_US Whether to display the background mask
|
|
47
|
+
*/
|
|
48
|
+
hasBackdrop: XBoolean;
|
|
49
|
+
/**
|
|
50
|
+
* @zh_CN 自定义样式名
|
|
51
|
+
* @en_US Custom style name
|
|
52
|
+
*/
|
|
53
|
+
className: string;
|
|
34
54
|
/**
|
|
35
55
|
* @zh_CN 关闭的事件
|
|
36
56
|
* @en_US Closed event
|
|
@@ -42,5 +62,80 @@ export declare class XDrawerProperty extends XProperty {
|
|
|
42
62
|
*/
|
|
43
63
|
visibleChange: EventEmitter<boolean>;
|
|
44
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerProperty, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XDrawerProperty, "ng-component", never, { "title": "title"; "visible": "visible"; "placement": "placement"; "size": "size"; }, { "close": "close"; "visibleChange": "visibleChange"; }, never, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XDrawerProperty, "ng-component", never, { "title": "title"; "visible": "visible"; "placement": "placement"; "size": "size"; "backdropClose": "backdropClose"; "hasBackdrop": "hasBackdrop"; "className": "className"; }, { "close": "close"; "visibleChange": "visibleChange"; }, never, never>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Drawer Option
|
|
69
|
+
*/
|
|
70
|
+
export interface XDrawerOption {
|
|
71
|
+
/**
|
|
72
|
+
* @zh_CN 展示方向
|
|
73
|
+
* @en_US Display direction
|
|
74
|
+
* @default 'right'
|
|
75
|
+
* @withConfig true
|
|
76
|
+
*/
|
|
77
|
+
placement?: XPosition;
|
|
78
|
+
/**
|
|
79
|
+
* @zh_CN 尺寸,支持固定值
|
|
80
|
+
* @en_US Size, supports fixed value
|
|
81
|
+
* @default '30%'
|
|
82
|
+
* @withConfig true
|
|
83
|
+
*/
|
|
84
|
+
size?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @zh_CN 自定义样式名
|
|
87
|
+
* @en_US Custom style name
|
|
88
|
+
*/
|
|
89
|
+
className?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @zh_CN 点击遮罩关闭
|
|
92
|
+
* @en_US Click the mask to close
|
|
93
|
+
* @default true
|
|
94
|
+
* @withConfig true
|
|
95
|
+
*/
|
|
96
|
+
backdropClose?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* @zh_CN 是否显示背景遮罩
|
|
99
|
+
* @en_US Whether to display the background mask
|
|
100
|
+
* @default true
|
|
101
|
+
* @withConfig true
|
|
102
|
+
*/
|
|
103
|
+
hasBackdrop?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* @zh_CN 数据,通过 "@Inject(X_DRAWER_DATA)" 来接收数据
|
|
106
|
+
* @en_US Data. Receive data by "@Inject(X_DRAWER_DATA)"
|
|
107
|
+
*/
|
|
108
|
+
data?: any;
|
|
109
|
+
/**
|
|
110
|
+
* @en_US 视图容器实例可以包含其他视图容器。
|
|
111
|
+
* @en_US A view container instance can contain other view containers.
|
|
112
|
+
*/
|
|
113
|
+
viewContainerRef?: ViewContainerRef;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Drawer Container
|
|
117
|
+
* @selector x-drawer-container
|
|
118
|
+
* @decorator component
|
|
119
|
+
*/
|
|
120
|
+
export declare const XDrawerContainerPrefix = "x-drawer-container";
|
|
121
|
+
export declare const X_DRAWER_CONTAINER: InjectionToken<unknown>;
|
|
122
|
+
/**
|
|
123
|
+
* Drawer Container Property
|
|
124
|
+
*/
|
|
125
|
+
export declare class XDrawerContainerProperty extends XProperty {
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerContainerProperty, never>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XDrawerContainerProperty, "ng-component", never, {}, {}, never, never>;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* @zh_CN 创建的抽屉对象
|
|
131
|
+
* @en_US Drawer object created
|
|
132
|
+
*/
|
|
133
|
+
export interface XDrawerPortalOverlayRef extends XPortalOverlayRef<XDrawerPortalComponent> {
|
|
134
|
+
drawerRef?: XDrawerRef<any>;
|
|
135
|
+
}
|
|
136
|
+
export declare type XDrawerAnimationState = XPosition | 'void';
|
|
137
|
+
export interface XDrawerAnimationEvent {
|
|
138
|
+
state: XDrawerAnimationState;
|
|
139
|
+
action: 'start' | 'done';
|
|
140
|
+
totalTime: number;
|
|
46
141
|
}
|
|
@@ -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, XDrawerConfig } from '@ng-nest/ui/core';
|
|
5
|
+
import { XPortalService } from '@ng-nest/ui/portal';
|
|
6
|
+
import { XDrawerRef } from './drawer-ref';
|
|
7
|
+
import { XDrawerOption } from './drawer.property';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class XDrawerService {
|
|
10
|
+
portalService: XPortalService;
|
|
11
|
+
configService: XConfigService;
|
|
12
|
+
overlay: Overlay;
|
|
13
|
+
default: XDrawerOption;
|
|
14
|
+
configDefault?: XDrawerConfig;
|
|
15
|
+
constructor(portalService: XPortalService, configService: XConfigService, overlay: Overlay);
|
|
16
|
+
create<T>(content: TemplateRef<any> | ComponentType<T>, option?: XDrawerOption): XDrawerRef<T>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XDrawerService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<XDrawerService>;
|
|
19
|
+
}
|
package/drawer/public-api.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
export * from './drawer.component';
|
|
2
|
+
export * from './drawer-portal.component';
|
|
3
|
+
export * from './drawer-portal.directives';
|
|
4
|
+
export * from './drawer.component';
|
|
5
|
+
export * from './drawer-container.component';
|
|
2
6
|
export * from './drawer.module';
|
|
3
7
|
export * from './drawer.property';
|
|
8
|
+
export * from './drawer.service';
|
|
9
|
+
export * from './drawer-ref';
|
|
@@ -8,9 +8,9 @@ export class XAffixComponent extends XAffixProperty {
|
|
|
8
8
|
this.configService = configService;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
/** @nocollapse */ /** @nocollapse */ XAffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.
|
|
12
|
-
/** @nocollapse */ /** @nocollapse */ XAffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.
|
|
11
|
+
/** @nocollapse */ /** @nocollapse */ XAffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XAffixComponent, deps: [{ token: i1.XConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
/** @nocollapse */ /** @nocollapse */ XAffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: XAffixComponent, selector: "x-affix", usesInheritance: true, ngImport: i0, template: "<div #affix class=\"x-affix\" [style.top]=\"top\" [style.left]=\"left\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".x-affix{margin:0;padding:0;position:sticky;display:inline-block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: XAffixComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{ selector: `${XAffixPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #affix class=\"x-affix\" [style.top]=\"top\" [style.left]=\"left\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".x-affix{margin:0;padding:0;position:sticky;display:inline-block}\n"] }]
|
|
16
16
|
}], ctorParameters: function () { return [{ type: i1.XConfigService }]; } });
|