@ng-nest/ui 17.0.1 → 17.0.3
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/affix/affix.component.d.ts +1 -2
- package/affix/affix.module.d.ts +1 -3
- package/alert/alert.component.d.ts +4 -5
- package/alert/alert.module.d.ts +1 -8
- package/anchor/anchor-inner.component.d.ts +1 -1
- package/anchor/anchor.component.d.ts +6 -7
- package/anchor/anchor.module.d.ts +2 -6
- package/api/api.component.d.ts +4 -4
- package/api/api.module.d.ts +1 -2
- package/auto-complete/auto-complete-portal.component.d.ts +3 -5
- package/auto-complete/auto-complete.component.d.ts +12 -13
- package/auto-complete/auto-complete.module.d.ts +1 -9
- package/avatar/avatar-group.component.d.ts +1 -2
- package/avatar/avatar.component.d.ts +6 -7
- package/avatar/avatar.module.d.ts +2 -6
- package/back-top/back-top.component.d.ts +7 -12
- package/back-top/back-top.module.d.ts +1 -5
- package/badge/badge.component.d.ts +3 -8
- package/badge/badge.module.d.ts +1 -3
- package/base-form/base-form.component.d.ts +1 -1
- package/base-form/base-form.module.d.ts +1 -2
- package/border/border.component.d.ts +4 -4
- package/border/border.module.d.ts +1 -1
- package/button/button.component.d.ts +8 -10
- package/button/button.module.d.ts +1 -5
- package/button/buttons.component.d.ts +4 -5
- package/calendar/calendar.component.d.ts +9 -14
- package/calendar/calendar.module.d.ts +1 -10
- package/card/card.component.d.ts +2 -6
- package/card/card.module.d.ts +1 -5
- package/carousel/carousel-panel.component.d.ts +10 -13
- package/carousel/carousel.component.d.ts +4 -8
- package/carousel/carousel.module.d.ts +1 -5
- package/cascade/cascade-portal.component.d.ts +4 -5
- package/cascade/cascade.component.d.ts +14 -13
- package/cascade/cascade.module.d.ts +1 -9
- package/checkbox/checkbox.component.d.ts +6 -9
- package/checkbox/checkbox.module.d.ts +1 -8
- package/collapse/collapse-panel.component.d.ts +5 -8
- package/collapse/collapse.component.d.ts +3 -7
- package/collapse/collapse.module.d.ts +1 -5
- package/color/color.component.d.ts +4 -6
- package/color/color.module.d.ts +1 -3
- package/color-picker/color-picker-portal.component.d.ts +7 -11
- package/color-picker/color-picker.component.d.ts +11 -12
- package/color-picker/color-picker.module.d.ts +1 -11
- package/comment/comment-reply.component.d.ts +4 -9
- package/comment/comment.component.d.ts +5 -9
- package/comment/comment.module.d.ts +1 -11
- package/container/aside.component.d.ts +5 -5
- package/container/container.component.d.ts +2 -3
- package/container/container.module.d.ts +1 -3
- package/container/footer.component.d.ts +5 -7
- package/container/header.component.d.ts +5 -7
- package/container/main.component.d.ts +4 -4
- package/crumb/crumb.component.d.ts +4 -6
- package/crumb/crumb.module.d.ts +1 -5
- package/date-picker/date-picker-portal.component.d.ts +5 -9
- package/date-picker/date-picker.component.d.ts +14 -16
- package/date-picker/date-picker.module.d.ts +2 -21
- package/date-picker/date-quarter.pipe.d.ts +1 -1
- package/date-picker/date-range-portal.component.d.ts +1 -1
- package/date-picker/date-range.component.d.ts +17 -19
- package/date-picker/picker-date.component.d.ts +8 -12
- package/date-picker/picker-month.component.d.ts +8 -11
- package/date-picker/picker-quarter.component.d.ts +9 -14
- package/date-picker/picker-year.component.d.ts +5 -8
- package/description/description-item.component.d.ts +1 -2
- package/description/description.component.d.ts +4 -5
- package/description/description.module.d.ts +2 -5
- package/dialog/dialog-container.component.d.ts +1 -2
- package/dialog/dialog-portal.component.d.ts +1 -1
- package/dialog/dialog-portal.directives.d.ts +13 -17
- package/dialog/dialog.component.d.ts +15 -17
- package/dialog/dialog.module.d.ts +1 -14
- package/dialog/dialog.service.d.ts +8 -10
- package/doc/doc.component.d.ts +6 -6
- package/doc/doc.module.d.ts +1 -2
- package/drag/drag.directive.d.ts +5 -6
- package/drag/drag.module.d.ts +1 -2
- package/drawer/drawer-container.component.d.ts +1 -2
- package/drawer/drawer-portal.component.d.ts +1 -2
- package/drawer/drawer-portal.directives.d.ts +5 -6
- package/drawer/drawer.component.d.ts +10 -15
- package/drawer/drawer.module.d.ts +2 -8
- package/drawer/drawer.service.d.ts +5 -7
- package/dropdown/dropdown-portal.component.d.ts +1 -1
- package/dropdown/dropdown.component.d.ts +10 -13
- package/dropdown/dropdown.module.d.ts +1 -7
- package/empty/empty.component.d.ts +4 -7
- package/empty/empty.module.d.ts +1 -6
- package/esm2022/affix/affix.component.mjs +11 -11
- package/esm2022/affix/affix.module.mjs +6 -9
- package/esm2022/affix/affix.property.mjs +3 -3
- package/esm2022/alert/alert.component.mjs +19 -19
- package/esm2022/alert/alert.module.mjs +6 -14
- package/esm2022/alert/alert.property.mjs +4 -4
- package/esm2022/anchor/anchor-inner.component.mjs +5 -4
- package/esm2022/anchor/anchor.component.mjs +18 -21
- package/esm2022/anchor/anchor.module.mjs +6 -11
- package/esm2022/anchor/anchor.property.mjs +7 -7
- package/esm2022/api/api.component.mjs +14 -12
- package/esm2022/api/api.module.mjs +6 -8
- package/esm2022/auto-complete/auto-complete-portal.component.mjs +15 -16
- package/esm2022/auto-complete/auto-complete.component.mjs +44 -31
- package/esm2022/auto-complete/auto-complete.module.mjs +7 -16
- package/esm2022/auto-complete/auto-complete.property.mjs +3 -3
- package/esm2022/avatar/avatar-group.component.mjs +7 -7
- package/esm2022/avatar/avatar.component.mjs +17 -19
- package/esm2022/avatar/avatar.module.mjs +6 -11
- package/esm2022/avatar/avatar.property.mjs +7 -7
- package/esm2022/back-top/back-top.component.mjs +23 -29
- package/esm2022/back-top/back-top.module.mjs +6 -11
- package/esm2022/back-top/back-top.property.mjs +3 -3
- package/esm2022/badge/badge.component.mjs +18 -23
- package/esm2022/badge/badge.module.mjs +6 -9
- package/esm2022/badge/badge.property.mjs +3 -3
- package/esm2022/base-form/base-form.component.mjs +11 -6
- package/esm2022/base-form/base-form.module.mjs +7 -8
- package/esm2022/base-form/base-form.property.mjs +4 -4
- package/esm2022/border/border.component.mjs +14 -12
- package/esm2022/border/border.module.mjs +6 -6
- package/esm2022/button/button.component.mjs +19 -24
- package/esm2022/button/button.module.mjs +6 -11
- package/esm2022/button/button.property.mjs +7 -7
- package/esm2022/button/buttons.component.mjs +15 -15
- package/esm2022/calendar/calendar.component.mjs +38 -30
- package/esm2022/calendar/calendar.module.mjs +6 -16
- package/esm2022/calendar/calendar.property.mjs +3 -3
- package/esm2022/card/card.component.mjs +14 -17
- package/esm2022/card/card.module.mjs +6 -11
- package/esm2022/card/card.property.mjs +3 -3
- package/esm2022/carousel/carousel-panel.component.mjs +36 -34
- package/esm2022/carousel/carousel.component.mjs +19 -26
- package/esm2022/carousel/carousel.module.mjs +7 -12
- package/esm2022/carousel/carousel.property.mjs +6 -6
- package/esm2022/cascade/cascade-portal.component.mjs +20 -20
- package/esm2022/cascade/cascade.component.mjs +34 -29
- package/esm2022/cascade/cascade.module.mjs +7 -16
- package/esm2022/cascade/cascade.property.mjs +3 -3
- package/esm2022/checkbox/checkbox.component.mjs +31 -27
- package/esm2022/checkbox/checkbox.module.mjs +6 -14
- package/esm2022/checkbox/checkbox.property.mjs +3 -3
- package/esm2022/collapse/collapse-panel.component.mjs +18 -21
- package/esm2022/collapse/collapse.component.mjs +11 -15
- package/esm2022/collapse/collapse.module.mjs +6 -11
- package/esm2022/collapse/collapse.property.mjs +6 -6
- package/esm2022/color/color.component.mjs +14 -19
- package/esm2022/color/color.module.mjs +6 -9
- package/esm2022/color/color.property.mjs +3 -3
- package/esm2022/color-picker/color-picker-portal.component.mjs +45 -35
- package/esm2022/color-picker/color-picker.component.mjs +36 -35
- package/esm2022/color-picker/color-picker.module.mjs +7 -44
- package/esm2022/color-picker/color-picker.property.mjs +3 -3
- package/esm2022/comment/comment-reply.component.mjs +18 -19
- package/esm2022/comment/comment.component.mjs +30 -25
- package/esm2022/comment/comment.module.mjs +6 -43
- package/esm2022/comment/comment.property.mjs +7 -7
- package/esm2022/container/aside.component.mjs +15 -13
- package/esm2022/container/container.component.mjs +14 -14
- package/esm2022/container/container.module.mjs +7 -37
- package/esm2022/container/container.property.mjs +12 -12
- package/esm2022/container/footer.component.mjs +17 -21
- package/esm2022/container/header.component.mjs +17 -21
- package/esm2022/container/main.component.mjs +14 -12
- package/esm2022/core/config/config.service.mjs +11 -6
- package/esm2022/core/services/http.service.mjs +3 -3
- package/esm2022/core/services/preloading-strategy.service.mjs +6 -5
- package/esm2022/core/services/storage.service.mjs +3 -3
- package/esm2022/core/theme/theme.service.mjs +3 -3
- package/esm2022/crumb/crumb.component.mjs +15 -19
- package/esm2022/crumb/crumb.module.mjs +6 -11
- package/esm2022/crumb/crumb.property.mjs +3 -3
- package/esm2022/date-picker/date-picker-portal.component.mjs +38 -29
- package/esm2022/date-picker/date-picker.component.mjs +52 -47
- package/esm2022/date-picker/date-picker.module.mjs +7 -108
- package/esm2022/date-picker/date-picker.property.mjs +18 -18
- package/esm2022/date-picker/date-quarter.pipe.mjs +5 -5
- package/esm2022/date-picker/date-range-portal.component.mjs +25 -13
- package/esm2022/date-picker/date-range.component.mjs +50 -51
- package/esm2022/date-picker/picker-date.component.mjs +45 -43
- package/esm2022/date-picker/picker-month.component.mjs +31 -30
- package/esm2022/date-picker/picker-quarter.component.mjs +31 -32
- package/esm2022/date-picker/picker-year.component.mjs +26 -25
- package/esm2022/description/description-item.component.mjs +6 -9
- package/esm2022/description/description.component.mjs +13 -14
- package/esm2022/description/description.module.mjs +6 -10
- package/esm2022/description/description.property.mjs +6 -6
- package/esm2022/dialog/dialog-container.component.mjs +7 -7
- package/esm2022/dialog/dialog-portal.component.mjs +22 -11
- package/esm2022/dialog/dialog-portal.directives.mjs +48 -48
- package/esm2022/dialog/dialog-ref.mjs +1 -1
- package/esm2022/dialog/dialog.component.mjs +40 -48
- package/esm2022/dialog/dialog.module.mjs +12 -71
- package/esm2022/dialog/dialog.property.mjs +6 -6
- package/esm2022/dialog/dialog.service.mjs +16 -17
- package/esm2022/doc/doc.component.mjs +12 -10
- package/esm2022/doc/doc.module.mjs +6 -8
- package/esm2022/drag/drag.directive.mjs +11 -11
- package/esm2022/drag/drag.module.mjs +6 -8
- package/esm2022/drag/drag.property.mjs +3 -3
- package/esm2022/drawer/drawer-container.component.mjs +7 -7
- package/esm2022/drawer/drawer-portal.component.mjs +12 -12
- package/esm2022/drawer/drawer-portal.directives.mjs +22 -21
- package/esm2022/drawer/drawer.component.mjs +23 -33
- package/esm2022/drawer/drawer.module.mjs +10 -27
- package/esm2022/drawer/drawer.property.mjs +6 -6
- package/esm2022/drawer/drawer.service.mjs +15 -15
- package/esm2022/dropdown/dropdown-portal.component.mjs +8 -7
- package/esm2022/dropdown/dropdown.component.mjs +18 -22
- package/esm2022/dropdown/dropdown.module.mjs +7 -14
- package/esm2022/dropdown/dropdown.property.mjs +3 -3
- package/esm2022/empty/empty.component.mjs +20 -18
- package/esm2022/empty/empty.module.mjs +6 -12
- package/esm2022/empty/empty.property.mjs +3 -3
- package/esm2022/examples/examples.component.mjs +12 -10
- package/esm2022/examples/examples.module.mjs +6 -8
- package/esm2022/find/find.component.mjs +48 -33
- package/esm2022/find/find.module.mjs +6 -54
- package/esm2022/find/find.property.mjs +3 -3
- package/esm2022/form/control.component.mjs +67 -40
- package/esm2022/form/form.component.mjs +28 -22
- package/esm2022/form/form.module.mjs +6 -71
- package/esm2022/form/form.property.mjs +6 -6
- package/esm2022/highlight/highlight.component.mjs +26 -24
- package/esm2022/highlight/highlight.module.mjs +6 -10
- package/esm2022/highlight/highlight.property.mjs +3 -3
- package/esm2022/i18n/i18n.directive.mjs +14 -11
- package/esm2022/i18n/i18n.module.mjs +6 -6
- package/esm2022/i18n/i18n.pipe.mjs +6 -5
- package/esm2022/i18n/i18n.service.mjs +9 -13
- package/esm2022/icon/icon.component.mjs +21 -22
- package/esm2022/icon/icon.module.mjs +6 -11
- package/esm2022/icon/icon.property.mjs +4 -4
- package/esm2022/icon/icon.service.mjs +36 -35
- package/esm2022/image/image-group.component.mjs +12 -6
- package/esm2022/image/image-preview.component.mjs +26 -32
- package/esm2022/image/image.component.mjs +30 -30
- package/esm2022/image/image.module.mjs +6 -15
- package/esm2022/image/image.property.mjs +6 -6
- package/esm2022/inner/inner.component.mjs +14 -14
- package/esm2022/inner/inner.module.mjs +6 -9
- package/esm2022/inner/inner.property.mjs +3 -3
- package/esm2022/input/input-group.component.mjs +12 -14
- package/esm2022/input/input.component.mjs +33 -35
- package/esm2022/input/input.module.mjs +6 -13
- package/esm2022/input/input.property.mjs +6 -6
- package/esm2022/input-number/input-number.component.mjs +23 -27
- package/esm2022/input-number/input-number.module.mjs +6 -13
- package/esm2022/input-number/input-number.property.mjs +3 -3
- package/esm2022/keyword/keyword.directive.mjs +14 -14
- package/esm2022/keyword/keyword.module.mjs +6 -9
- package/esm2022/keyword/keyword.property.mjs +5 -5
- package/esm2022/layout/col.component.mjs +15 -19
- package/esm2022/layout/layout.module.mjs +6 -9
- package/esm2022/layout/layout.property.mjs +7 -7
- package/esm2022/layout/row.component.mjs +13 -13
- package/esm2022/link/link.component.mjs +17 -19
- package/esm2022/link/link.module.mjs +6 -12
- package/esm2022/link/link.property.mjs +3 -3
- package/esm2022/list/list-drop-group.directive.mjs +5 -4
- package/esm2022/list/list-option.component.mjs +16 -17
- package/esm2022/list/list.component.mjs +36 -33
- package/esm2022/list/list.module.mjs +6 -54
- package/esm2022/list/list.property.mjs +6 -6
- package/esm2022/loading/loading.component.mjs +19 -22
- package/esm2022/loading/loading.module.mjs +6 -12
- package/esm2022/loading/loading.property.mjs +3 -3
- package/esm2022/menu/menu-node.component.mjs +17 -18
- package/esm2022/menu/menu.component.mjs +21 -27
- package/esm2022/menu/menu.module.mjs +6 -13
- package/esm2022/menu/menu.property.mjs +6 -6
- package/esm2022/message/message.component.mjs +10 -16
- package/esm2022/message/message.module.mjs +7 -14
- package/esm2022/message/message.service.mjs +13 -13
- package/esm2022/message-box/message-box.component.mjs +21 -12
- package/esm2022/message-box/message-box.module.mjs +7 -49
- package/esm2022/message-box/message-box.service.mjs +13 -12
- package/esm2022/notification/notification.component.mjs +10 -16
- package/esm2022/notification/notification.module.mjs +7 -14
- package/esm2022/notification/notification.service.mjs +15 -11
- package/esm2022/outlet/outlet.directive.mjs +10 -10
- package/esm2022/outlet/outlet.module.mjs +6 -8
- package/esm2022/page-header/page-header.component.mjs +18 -19
- package/esm2022/page-header/page-header.module.mjs +6 -10
- package/esm2022/page-header/page-header.property.mjs +3 -3
- package/esm2022/pagination/pagination.component.mjs +37 -33
- package/esm2022/pagination/pagination.module.mjs +6 -15
- package/esm2022/pagination/pagination.property.mjs +3 -3
- package/esm2022/pattern/pattern.component.mjs +12 -10
- package/esm2022/pattern/pattern.module.mjs +6 -8
- package/esm2022/popconfirm/popconfirm.component.mjs +23 -26
- package/esm2022/popconfirm/popconfirm.module.mjs +6 -13
- package/esm2022/popconfirm/popconfirm.property.mjs +3 -3
- package/esm2022/popover/popover-portal.component.mjs +16 -16
- package/esm2022/popover/popover.directive.mjs +17 -19
- package/esm2022/popover/popover.module.mjs +7 -13
- package/esm2022/popover/popover.property.mjs +3 -3
- package/esm2022/portal/portal.module.mjs +8 -11
- package/esm2022/portal/portal.service.mjs +13 -12
- package/esm2022/progress/progress.component.mjs +16 -19
- package/esm2022/progress/progress.module.mjs +6 -11
- package/esm2022/progress/progress.property.mjs +3 -3
- package/esm2022/radio/radio.component.mjs +21 -25
- package/esm2022/radio/radio.module.mjs +6 -14
- package/esm2022/radio/radio.property.mjs +3 -3
- package/esm2022/rate/rate.component.mjs +22 -22
- package/esm2022/rate/rate.module.mjs +6 -13
- package/esm2022/rate/rate.property.mjs +3 -3
- package/esm2022/resizable/resizable.directive.mjs +57 -46
- package/esm2022/resizable/resizable.module.mjs +7 -9
- package/esm2022/resizable/resizable.property.mjs +5 -5
- package/esm2022/result/result.component.mjs +15 -19
- package/esm2022/result/result.module.mjs +6 -11
- package/esm2022/result/result.property.mjs +3 -3
- package/esm2022/ripple/ripple.directive.mjs +12 -11
- package/esm2022/ripple/ripple.module.mjs +7 -10
- package/esm2022/ripple/ripple.property.mjs +3 -3
- package/esm2022/select/select-portal.component.mjs +7 -6
- package/esm2022/select/select.component.mjs +51 -50
- package/esm2022/select/select.module.mjs +7 -48
- package/esm2022/select/select.property.mjs +3 -3
- package/esm2022/skeleton/skeleton.component.mjs +14 -17
- package/esm2022/skeleton/skeleton.module.mjs +6 -10
- package/esm2022/skeleton/skeleton.property.mjs +3 -3
- package/esm2022/slider/slider.component.mjs +38 -39
- package/esm2022/slider/slider.module.mjs +7 -13
- package/esm2022/slider/slider.property.mjs +3 -3
- package/esm2022/slider-select/slider-select.component.mjs +46 -38
- package/esm2022/slider-select/slider-select.module.mjs +6 -38
- package/esm2022/slider-select/slider-select.property.mjs +3 -3
- package/esm2022/statistic/countdown.component.mjs +15 -16
- package/esm2022/statistic/statistic.component.mjs +13 -14
- package/esm2022/statistic/statistic.module.mjs +6 -11
- package/esm2022/statistic/statistic.property.mjs +6 -6
- package/esm2022/steps/steps.component.mjs +17 -22
- package/esm2022/steps/steps.module.mjs +6 -11
- package/esm2022/steps/steps.property.mjs +3 -3
- package/esm2022/switch/switch.component.mjs +18 -18
- package/esm2022/switch/switch.module.mjs +6 -13
- package/esm2022/switch/switch.property.mjs +3 -3
- package/esm2022/table/table-body.component.mjs +23 -13
- package/esm2022/table/table-foot.component.mjs +12 -16
- package/esm2022/table/table-head.component.mjs +35 -31
- package/esm2022/table/table.component.mjs +22 -13
- package/esm2022/table/table.module.mjs +6 -71
- package/esm2022/table/table.property.mjs +12 -12
- package/esm2022/tabs/tab-content.component.mjs +13 -11
- package/esm2022/tabs/tab-link.directive.mjs +11 -9
- package/esm2022/tabs/tab.component.mjs +11 -11
- package/esm2022/tabs/tabs.component.mjs +28 -27
- package/esm2022/tabs/tabs.module.mjs +7 -28
- package/esm2022/tabs/tabs.property.mjs +6 -6
- package/esm2022/tag/tag.component.mjs +16 -20
- package/esm2022/tag/tag.module.mjs +6 -11
- package/esm2022/tag/tag.property.mjs +3 -3
- package/esm2022/text-retract/text-retract.component.mjs +16 -19
- package/esm2022/text-retract/text-retract.module.mjs +6 -12
- package/esm2022/text-retract/text-retract.property.mjs +3 -3
- package/esm2022/textarea/textarea.component.mjs +24 -25
- package/esm2022/textarea/textarea.module.mjs +6 -12
- package/esm2022/textarea/textarea.property.mjs +3 -3
- package/esm2022/theme/theme.component.mjs +42 -31
- package/esm2022/theme/theme.module.mjs +6 -42
- package/esm2022/theme/theme.property.mjs +3 -3
- package/esm2022/time-ago/time-ago.module.mjs +6 -8
- package/esm2022/time-ago/time-ago.pipe.mjs +21 -21
- package/esm2022/time-picker/time-picker-frame.component.mjs +30 -30
- package/esm2022/time-picker/time-picker-portal.component.mjs +18 -20
- package/esm2022/time-picker/time-picker.component.mjs +40 -41
- package/esm2022/time-picker/time-picker.module.mjs +7 -48
- package/esm2022/time-picker/time-picker.property.mjs +3 -3
- package/esm2022/time-range/time-range.module.mjs +7 -7
- package/esm2022/time-range/time-range.pipe.mjs +5 -5
- package/esm2022/timeline/timeline.component.mjs +17 -20
- package/esm2022/timeline/timeline.module.mjs +6 -13
- package/esm2022/timeline/timeline.property.mjs +3 -3
- package/esm2022/tooltip/tooltip-portal.component.mjs +16 -16
- package/esm2022/tooltip/tooltip.directive.mjs +16 -19
- package/esm2022/tooltip/tooltip.module.mjs +7 -13
- package/esm2022/tooltip/tooltip.property.mjs +3 -3
- package/esm2022/transfer/transfer.component.mjs +70 -55
- package/esm2022/transfer/transfer.module.mjs +6 -59
- package/esm2022/transfer/transfer.property.mjs +3 -3
- package/esm2022/tree/tree-node.component.mjs +36 -30
- package/esm2022/tree/tree.component.mjs +12 -16
- package/esm2022/tree/tree.module.mjs +6 -43
- package/esm2022/tree/tree.property.mjs +6 -6
- package/esm2022/tree/tree.service.mjs +6 -5
- package/esm2022/tree-file/tree-file.component.mjs +34 -31
- package/esm2022/tree-file/tree-file.module.mjs +6 -15
- package/esm2022/tree-file/tree-file.property.mjs +3 -3
- package/esm2022/tree-select/tree-select-portal.component.mjs +24 -26
- package/esm2022/tree-select/tree-select.component.mjs +52 -51
- package/esm2022/tree-select/tree-select.module.mjs +8 -56
- package/esm2022/tree-select/tree-select.property.mjs +3 -3
- package/esm2022/typography/typography.component.mjs +12 -12
- package/esm2022/typography/typography.module.mjs +6 -9
- package/esm2022/typography/typography.property.mjs +3 -3
- package/esm2022/upload/upload-portal.component.mjs +11 -12
- package/esm2022/upload/upload.component.mjs +42 -43
- package/esm2022/upload/upload.module.mjs +6 -55
- package/esm2022/upload/upload.property.mjs +3 -3
- package/examples/examples.component.d.ts +6 -6
- package/examples/examples.module.d.ts +1 -2
- package/fesm2022/ng-nest-ui-affix.mjs +18 -21
- package/fesm2022/ng-nest-ui-affix.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-alert.mjs +25 -32
- package/fesm2022/ng-nest-ui-alert.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-anchor.mjs +32 -37
- package/fesm2022/ng-nest-ui-anchor.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-api.mjs +18 -18
- package/fesm2022/ng-nest-ui-api.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-auto-complete.mjs +65 -57
- package/fesm2022/ng-nest-ui-auto-complete.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-avatar.mjs +33 -38
- package/fesm2022/ng-nest-ui-avatar.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-back-top.mjs +30 -39
- package/fesm2022/ng-nest-ui-back-top.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-badge.mjs +25 -32
- package/fesm2022/ng-nest-ui-badge.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-base-form.mjs +19 -14
- package/fesm2022/ng-nest-ui-base-form.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-border.mjs +18 -16
- package/fesm2022/ng-nest-ui-border.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-button.mjs +40 -49
- package/fesm2022/ng-nest-ui-button.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-calendar.mjs +44 -44
- package/fesm2022/ng-nest-ui-calendar.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-card.mjs +21 -28
- package/fesm2022/ng-nest-ui-card.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-carousel.mjs +62 -68
- package/fesm2022/ng-nest-ui-carousel.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-cascade.mjs +58 -58
- package/fesm2022/ng-nest-ui-cascade.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-checkbox.mjs +37 -39
- package/fesm2022/ng-nest-ui-checkbox.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-collapse.mjs +36 -47
- package/fesm2022/ng-nest-ui-collapse.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-color-picker.mjs +84 -106
- package/fesm2022/ng-nest-ui-color-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-color.mjs +22 -28
- package/fesm2022/ng-nest-ui-color.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-comment.mjs +51 -83
- package/fesm2022/ng-nest-ui-comment.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-container.mjs +80 -114
- package/fesm2022/ng-nest-ui-container.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-core.mjs +24 -18
- package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-crumb.mjs +22 -30
- package/fesm2022/ng-nest-ui-crumb.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-date-picker.mjs +277 -326
- package/fesm2022/ng-nest-ui-date-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-description.mjs +28 -35
- package/fesm2022/ng-nest-ui-description.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-dialog.mjs +193 -242
- package/fesm2022/ng-nest-ui-dialog.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-doc.mjs +16 -16
- package/fesm2022/ng-nest-ui-doc.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-drag.mjs +19 -20
- package/fesm2022/ng-nest-ui-drag.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-drawer.mjs +128 -149
- package/fesm2022/ng-nest-ui-drawer.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-dropdown.mjs +33 -38
- package/fesm2022/ng-nest-ui-dropdown.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-empty.mjs +26 -31
- package/fesm2022/ng-nest-ui-empty.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-examples.mjs +16 -16
- package/fesm2022/ng-nest-ui-examples.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-find.mjs +55 -86
- package/fesm2022/ng-nest-ui-find.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-form.mjs +98 -126
- package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-highlight.mjs +33 -33
- package/fesm2022/ng-nest-ui-highlight.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-i18n.mjs +29 -29
- package/fesm2022/ng-nest-ui-i18n.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-icon.mjs +62 -64
- package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-image.mjs +69 -75
- package/fesm2022/ng-nest-ui-image.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-inner.mjs +21 -24
- package/fesm2022/ng-nest-ui-inner.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-input-number.mjs +31 -38
- package/fesm2022/ng-nest-ui-input-number.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-input.mjs +51 -60
- package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-keyword.mjs +22 -24
- package/fesm2022/ng-nest-ui-keyword.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-layout.mjs +35 -41
- package/fesm2022/ng-nest-ui-layout.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-link.mjs +24 -31
- package/fesm2022/ng-nest-ui-link.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-list.mjs +63 -100
- package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-loading.mjs +26 -34
- package/fesm2022/ng-nest-ui-loading.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-menu.mjs +42 -54
- package/fesm2022/ng-nest-ui-menu.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-message-box.mjs +38 -66
- package/fesm2022/ng-nest-ui-message-box.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-message.mjs +26 -37
- package/fesm2022/ng-nest-ui-message.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-notification.mjs +28 -35
- package/fesm2022/ng-nest-ui-notification.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-outlet.mjs +14 -16
- package/fesm2022/ng-nest-ui-outlet.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-page-header.mjs +25 -30
- package/fesm2022/ng-nest-ui-page-header.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-pagination.mjs +43 -47
- package/fesm2022/ng-nest-ui-pagination.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-pattern.mjs +16 -16
- package/fesm2022/ng-nest-ui-pattern.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-popconfirm.mjs +30 -40
- package/fesm2022/ng-nest-ui-popconfirm.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-popover.mjs +39 -44
- package/fesm2022/ng-nest-ui-popover.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-portal.mjs +26 -26
- package/fesm2022/ng-nest-ui-portal.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-progress.mjs +22 -29
- package/fesm2022/ng-nest-ui-progress.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-radio.mjs +28 -38
- package/fesm2022/ng-nest-ui-radio.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-rate.mjs +29 -34
- package/fesm2022/ng-nest-ui-rate.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-resizable.mjs +67 -57
- package/fesm2022/ng-nest-ui-resizable.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-result.mjs +22 -30
- package/fesm2022/ng-nest-ui-result.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-ripple.mjs +20 -21
- package/fesm2022/ng-nest-ui-ripple.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-select.mjs +66 -100
- package/fesm2022/ng-nest-ui-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-skeleton.mjs +21 -27
- package/fesm2022/ng-nest-ui-skeleton.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-slider-select.mjs +53 -73
- package/fesm2022/ng-nest-ui-slider-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-slider.mjs +46 -52
- package/fesm2022/ng-nest-ui-slider.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-statistic.mjs +34 -40
- package/fesm2022/ng-nest-ui-statistic.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-steps.mjs +24 -33
- package/fesm2022/ng-nest-ui-steps.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-switch.mjs +25 -30
- package/fesm2022/ng-nest-ui-switch.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-table.mjs +111 -154
- package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tabs.mjs +67 -79
- package/fesm2022/ng-nest-ui-tabs.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tag.mjs +23 -31
- package/fesm2022/ng-nest-ui-tag.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-text-retract.mjs +22 -30
- package/fesm2022/ng-nest-ui-text-retract.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-textarea.mjs +31 -36
- package/fesm2022/ng-nest-ui-textarea.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-theme.mjs +49 -71
- package/fesm2022/ng-nest-ui-theme.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-time-ago.mjs +24 -26
- package/fesm2022/ng-nest-ui-time-ago.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-time-picker.mjs +89 -127
- package/fesm2022/ng-nest-ui-time-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-time-range.mjs +10 -10
- package/fesm2022/ng-nest-ui-time-range.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-timeline.mjs +24 -33
- package/fesm2022/ng-nest-ui-timeline.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tooltip.mjs +38 -44
- package/fesm2022/ng-nest-ui-tooltip.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-transfer.mjs +76 -111
- package/fesm2022/ng-nest-ui-transfer.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree-file.mjs +41 -46
- package/fesm2022/ng-nest-ui-tree-file.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree-select.mjs +83 -126
- package/fesm2022/ng-nest-ui-tree-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree.mjs +60 -89
- package/fesm2022/ng-nest-ui-tree.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-typography.mjs +19 -21
- package/fesm2022/ng-nest-ui-typography.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-upload.mjs +58 -106
- package/fesm2022/ng-nest-ui-upload.mjs.map +1 -1
- package/find/find.component.d.ts +6 -8
- package/find/find.module.d.ts +1 -13
- package/form/control.component.d.ts +6 -7
- package/form/form.component.d.ts +5 -8
- package/form/form.module.d.ts +1 -24
- package/highlight/highlight.component.d.ts +12 -10
- package/highlight/highlight.module.d.ts +1 -4
- package/i18n/i18n.directive.d.ts +6 -7
- package/i18n/i18n.module.d.ts +1 -1
- package/i18n/i18n.pipe.d.ts +1 -1
- package/i18n/i18n.service.d.ts +3 -2
- package/icon/icon.component.d.ts +7 -9
- package/icon/icon.module.d.ts +1 -3
- package/icon/icon.property.d.ts +1 -1
- package/icon/icon.service.d.ts +6 -7
- package/image/image-group.component.d.ts +3 -1
- package/image/image-preview.component.d.ts +5 -10
- package/image/image.component.d.ts +9 -14
- package/image/image.module.d.ts +3 -11
- package/inner/inner.component.d.ts +2 -3
- package/inner/inner.module.d.ts +1 -3
- package/input/input-group.component.d.ts +3 -6
- package/input/input.component.d.ts +8 -10
- package/input/input.module.d.ts +2 -8
- package/input-number/input-number.component.d.ts +5 -6
- package/input-number/input-number.module.d.ts +1 -7
- package/keyword/keyword.directive.d.ts +3 -4
- package/keyword/keyword.module.d.ts +1 -3
- package/keyword/keyword.property.d.ts +1 -1
- package/layout/col.component.d.ts +5 -7
- package/layout/layout.module.d.ts +1 -3
- package/layout/row.component.d.ts +3 -4
- package/link/link.component.d.ts +5 -7
- package/link/link.module.d.ts +1 -6
- package/list/list-drop-group.directive.d.ts +1 -1
- package/list/list-option.component.d.ts +6 -7
- package/list/list.component.d.ts +9 -12
- package/list/list.module.d.ts +1 -13
- package/loading/loading.component.d.ts +7 -10
- package/loading/loading.module.d.ts +1 -6
- package/menu/menu-node.component.d.ts +6 -7
- package/menu/menu.component.d.ts +4 -8
- package/menu/menu.module.d.ts +1 -7
- package/message/message.component.d.ts +3 -7
- package/message/message.module.d.ts +1 -5
- package/message/message.service.d.ts +4 -5
- package/message-box/message-box.component.d.ts +1 -1
- package/message-box/message-box.module.d.ts +1 -11
- package/message-box/message-box.service.d.ts +2 -5
- package/notification/notification.component.d.ts +3 -7
- package/notification/notification.module.d.ts +1 -5
- package/notification/notification.service.d.ts +1 -3
- package/outlet/outlet.directive.d.ts +4 -5
- package/outlet/outlet.module.d.ts +1 -2
- package/package.json +36 -36
- package/page-header/page-header.component.d.ts +5 -7
- package/page-header/page-header.module.d.ts +1 -4
- package/pagination/pagination.component.d.ts +8 -11
- package/pagination/pagination.module.d.ts +1 -9
- package/pattern/pattern.component.d.ts +4 -4
- package/pattern/pattern.module.d.ts +1 -2
- package/popconfirm/popconfirm.component.d.ts +6 -9
- package/popconfirm/popconfirm.module.d.ts +1 -7
- package/popover/popover-portal.component.d.ts +4 -5
- package/popover/popover.directive.d.ts +9 -10
- package/popover/popover.module.d.ts +1 -6
- package/portal/portal.module.d.ts +1 -3
- package/portal/portal.service.d.ts +3 -4
- package/progress/progress.component.d.ts +3 -7
- package/progress/progress.module.d.ts +1 -5
- package/radio/radio.component.d.ts +6 -9
- package/radio/radio.module.d.ts +1 -8
- package/rate/rate.component.d.ts +6 -8
- package/rate/rate.module.d.ts +1 -7
- package/resizable/resizable.directive.d.ts +5 -7
- package/resizable/resizable.module.d.ts +1 -2
- package/resizable/resizable.property.d.ts +1 -1
- package/result/result.component.d.ts +3 -7
- package/result/result.module.d.ts +1 -5
- package/ripple/ripple.directive.d.ts +4 -5
- package/ripple/ripple.module.d.ts +1 -3
- package/select/select-portal.component.d.ts +1 -1
- package/select/select.component.d.ts +14 -15
- package/select/select.module.d.ts +1 -12
- package/skeleton/skeleton.component.d.ts +3 -6
- package/skeleton/skeleton.module.d.ts +1 -4
- package/slider/slider.component.d.ts +5 -8
- package/slider/slider.module.d.ts +1 -7
- package/slider-select/slider-select.component.d.ts +6 -7
- package/slider-select/slider-select.module.d.ts +1 -9
- package/statistic/countdown.component.d.ts +6 -7
- package/statistic/statistic.component.d.ts +2 -3
- package/statistic/statistic.module.d.ts +1 -5
- package/steps/steps.component.d.ts +4 -8
- package/steps/steps.module.d.ts +1 -5
- package/style/core/index.css +1 -1
- package/style/params/colors.scss +1 -1
- package/switch/switch.component.d.ts +6 -7
- package/switch/switch.module.d.ts +1 -7
- package/table/table-body.component.d.ts +1 -1
- package/table/table-foot.component.d.ts +3 -6
- package/table/table-head.component.d.ts +5 -8
- package/table/table.component.d.ts +1 -1
- package/table/table.module.d.ts +4 -17
- package/tabs/tab-content.component.d.ts +6 -6
- package/tabs/tab-link.directive.d.ts +2 -2
- package/tabs/tab.component.d.ts +2 -3
- package/tabs/tabs.component.d.ts +8 -9
- package/tabs/tabs.module.d.ts +3 -9
- package/tag/tag.component.d.ts +4 -8
- package/tag/tag.module.d.ts +1 -5
- package/text-retract/text-retract.component.d.ts +6 -10
- package/text-retract/text-retract.module.d.ts +1 -6
- package/textarea/textarea.component.d.ts +5 -7
- package/textarea/textarea.module.d.ts +1 -6
- package/theme/theme.component.d.ts +8 -9
- package/theme/theme.module.d.ts +1 -10
- package/time-ago/time-ago.module.d.ts +1 -1
- package/time-ago/time-ago.pipe.d.ts +6 -9
- package/time-picker/time-picker-frame.component.d.ts +5 -6
- package/time-picker/time-picker-portal.component.d.ts +5 -7
- package/time-picker/time-picker.component.d.ts +14 -16
- package/time-picker/time-picker.module.d.ts +2 -13
- package/time-range/time-range.module.d.ts +1 -1
- package/time-range/time-range.pipe.d.ts +1 -1
- package/timeline/timeline.component.d.ts +5 -8
- package/timeline/timeline.module.d.ts +1 -7
- package/tooltip/tooltip-portal.component.d.ts +4 -5
- package/tooltip/tooltip.directive.d.ts +8 -9
- package/tooltip/tooltip.module.d.ts +1 -6
- package/transfer/transfer.component.d.ts +6 -9
- package/transfer/transfer.module.d.ts +1 -15
- package/tree/tree-node.component.d.ts +6 -10
- package/tree/tree.component.d.ts +1 -1
- package/tree/tree.module.d.ts +1 -11
- package/tree-file/tree-file.component.d.ts +5 -10
- package/tree-file/tree-file.module.d.ts +1 -9
- package/tree-select/tree-select-portal.component.d.ts +5 -7
- package/tree-select/tree-select.component.d.ts +14 -15
- package/tree-select/tree-select.module.d.ts +1 -14
- package/typography/typography.component.d.ts +3 -4
- package/typography/typography.module.d.ts +1 -3
- package/upload/upload-portal.component.d.ts +5 -7
- package/upload/upload.component.d.ts +12 -16
- package/upload/upload.module.d.ts +1 -14
|
@@ -1,32 +1,21 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, EventEmitter, Component, Input, Output,
|
|
3
|
-
import
|
|
4
|
-
import { XInputBoolean, XWithConfig, XProperty, XIsChange, XClearClass, XIsEmpty, XIsFunction, XMoveBoxAnimation, XOpacityAnimation, fillDefault } from '@ng-nest/ui/core';
|
|
2
|
+
import { InjectionToken, EventEmitter, Component, Input, Output, Renderer2, inject, ElementRef, ChangeDetectorRef, ViewContainerRef, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, ViewChild, QueryList, HostListener, ContentChildren, Directive, NgModule, RendererFactory2, TemplateRef, Injectable } from '@angular/core';
|
|
3
|
+
import { XInputBoolean, XWithConfig, XProperty, XConfigService, XIsChange, XClearClass, XIsEmpty, XIsFunction, XMoveBoxAnimation, XOpacityAnimation, fillDefault } from '@ng-nest/ui/core';
|
|
5
4
|
import { __decorate } from 'tslib';
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import * as i1 from '@ng-nest/ui/portal';
|
|
9
|
-
import { PortalResizablePrefix, XPortalModule } from '@ng-nest/ui/portal';
|
|
5
|
+
import { XAlertProperty, XAlertComponent } from '@ng-nest/ui/alert';
|
|
6
|
+
import { XPortalService, PortalResizablePrefix } from '@ng-nest/ui/portal';
|
|
10
7
|
import { Subject, filter, take } from 'rxjs';
|
|
8
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
9
|
+
import { XI18nService } from '@ng-nest/ui/i18n';
|
|
11
10
|
import { map, takeUntil } from 'rxjs/operators';
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import * as
|
|
16
|
-
import {
|
|
17
|
-
import * as
|
|
18
|
-
import { XButtonModule } from '@ng-nest/ui/button';
|
|
19
|
-
import * as i8 from '@ng-nest/ui/outlet';
|
|
20
|
-
import { XOutletModule } from '@ng-nest/ui/outlet';
|
|
21
|
-
import * as i2$1 from '@angular/cdk/portal';
|
|
22
|
-
import { BasePortalOutlet, CdkPortalOutlet, TemplatePortal, ComponentPortal } from '@angular/cdk/portal';
|
|
23
|
-
import * as i1$1 from '@angular/cdk/drag-drop';
|
|
11
|
+
import { XButtonComponent, XButtonsComponent } from '@ng-nest/ui/button';
|
|
12
|
+
import { XOutletDirective } from '@ng-nest/ui/outlet';
|
|
13
|
+
import { NgStyle, NgTemplateOutlet } from '@angular/common';
|
|
14
|
+
import * as i2 from '@angular/cdk/portal';
|
|
15
|
+
import { BasePortalOutlet, CdkPortalOutlet, PortalModule, TemplatePortal, ComponentPortal } from '@angular/cdk/portal';
|
|
16
|
+
import * as i1 from '@angular/cdk/drag-drop';
|
|
24
17
|
import { CdkDragHandle, CdkDrag, DragDropModule } from '@angular/cdk/drag-drop';
|
|
25
|
-
import
|
|
26
|
-
import { XResizableModule } from '@ng-nest/ui/resizable';
|
|
27
|
-
import { XIconModule } from '@ng-nest/ui/icon';
|
|
28
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
29
|
-
import { XInputModule } from '@ng-nest/ui/input';
|
|
18
|
+
import { XResizableDirective } from '@ng-nest/ui/resizable';
|
|
30
19
|
|
|
31
20
|
/**
|
|
32
21
|
* Dialog
|
|
@@ -80,8 +69,8 @@ class XDialogProperty extends XAlertProperty {
|
|
|
80
69
|
*/
|
|
81
70
|
this.closeDone = new EventEmitter();
|
|
82
71
|
}
|
|
83
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
84
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
72
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
73
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", type: XDialogProperty, selector: "x-dialog-property", inputs: { visible: "visible", placement: "placement", offset: "offset", type: "type", width: "width", height: "height", minWidth: "minWidth", minHeight: "minHeight", effect: "effect", footer: "footer", showCancel: "showCancel", cancelText: "cancelText", showConfirm: "showConfirm", confirmText: "confirmText", backdropClose: "backdropClose", hasBackdrop: "hasBackdrop", className: "className", buttonsCenter: "buttonsCenter", draggable: "draggable", resizable: "resizable", maximize: "maximize", beforeClose: "beforeClose" }, outputs: { cancel: "cancel", confirm: "confirm", close: "close", visibleChange: "visibleChange", showDone: "showDone", closeDone: "closeDone" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
85
74
|
}
|
|
86
75
|
__decorate([
|
|
87
76
|
XInputBoolean()
|
|
@@ -141,7 +130,7 @@ __decorate([
|
|
|
141
130
|
XWithConfig(X_DIALOG_CONFIG_NAME, false),
|
|
142
131
|
XInputBoolean()
|
|
143
132
|
], XDialogProperty.prototype, "maximize", void 0);
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogProperty, decorators: [{
|
|
145
134
|
type: Component,
|
|
146
135
|
args: [{ selector: `${XDialogPrefix}-property`, template: '' }]
|
|
147
136
|
}], propDecorators: { visible: [{
|
|
@@ -212,41 +201,39 @@ const X_DIALOG_CONTAINER = new InjectionToken('X_DIALOG_CONTAINER');
|
|
|
212
201
|
* Dialog Container Property
|
|
213
202
|
*/
|
|
214
203
|
class XDialogContainerProperty extends XProperty {
|
|
215
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
216
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
204
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogContainerProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
205
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", type: XDialogContainerProperty, selector: "x-dialog-container-property", usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
217
206
|
}
|
|
218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogContainerProperty, decorators: [{
|
|
219
208
|
type: Component,
|
|
220
209
|
args: [{ selector: `${XDialogContainerPrefix}-property`, template: '' }]
|
|
221
210
|
}] });
|
|
222
211
|
|
|
223
|
-
class
|
|
212
|
+
class XDialogComponent extends XDialogProperty {
|
|
224
213
|
constructor() {
|
|
225
|
-
super();
|
|
226
|
-
this.
|
|
214
|
+
super(...arguments);
|
|
215
|
+
this.locale = {};
|
|
216
|
+
this.initHeight = 0;
|
|
217
|
+
this.initContentHeight = 0;
|
|
218
|
+
this.isMaximize = false;
|
|
219
|
+
this.isDefaultMaximize = false;
|
|
220
|
+
this.dialogBox = {};
|
|
221
|
+
this.contentBox = {};
|
|
222
|
+
this.distance = { x: 0, y: 0 };
|
|
223
|
+
this.viewInit = false;
|
|
224
|
+
this.action = null;
|
|
225
|
+
this.containerInit = false;
|
|
226
|
+
this._unSubject = new Subject();
|
|
227
|
+
this.renderer = inject(Renderer2);
|
|
228
|
+
this.elementRef = inject(ElementRef);
|
|
229
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
230
|
+
this.viewContainerRef = inject(ViewContainerRef);
|
|
231
|
+
this.protalService = inject(XPortalService);
|
|
232
|
+
this.overlay = inject(Overlay);
|
|
233
|
+
this.i18n = inject(XI18nService);
|
|
234
|
+
this.container = inject(X_DIALOG_CONTAINER, { optional: true });
|
|
235
|
+
this.configService = inject(XConfigService);
|
|
227
236
|
}
|
|
228
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XDialogContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
229
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: XDialogContainerComponent, selector: "x-dialog-container", host: { properties: { "class.x-dialog-container": "this._has" } }, providers: [
|
|
230
|
-
{
|
|
231
|
-
provide: X_DIALOG_CONTAINER,
|
|
232
|
-
useExisting: XDialogContainerComponent
|
|
233
|
-
}
|
|
234
|
-
], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [".x-dialog-container{margin:0;padding:0;position:relative;z-index:1;box-sizing:border-box;display:block;overflow:hidden}.x-dialog-container x-dialog{display:flex;position:absolute;width:100%;height:100%;z-index:-1;transition:z-index .4s;top:0;left:0}.x-dialog-container .x-dialog{position:absolute;display:block;outline:0;z-index:1001;width:initial;height:initial}.x-dialog-container .x-dialog-top,.x-dialog-container .x-dialog-bottom{justify-content:center}.x-dialog-container .x-dialog-center{justify-content:center;align-items:center}.x-dialog-container .x-dialog-left,.x-dialog-container .x-dialog-right{align-items:center}.x-dialog-container .x-dialog-visible{display:flex;z-index:1000}.x-dialog-container .x-dialog-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;background:rgba(0,0,0,.32)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
235
|
-
}
|
|
236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XDialogContainerComponent, decorators: [{
|
|
237
|
-
type: Component,
|
|
238
|
-
args: [{ selector: 'x-dialog-container', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
239
|
-
{
|
|
240
|
-
provide: X_DIALOG_CONTAINER,
|
|
241
|
-
useExisting: XDialogContainerComponent
|
|
242
|
-
}
|
|
243
|
-
], template: "<ng-content></ng-content>\r\n", styles: [".x-dialog-container{margin:0;padding:0;position:relative;z-index:1;box-sizing:border-box;display:block;overflow:hidden}.x-dialog-container x-dialog{display:flex;position:absolute;width:100%;height:100%;z-index:-1;transition:z-index .4s;top:0;left:0}.x-dialog-container .x-dialog{position:absolute;display:block;outline:0;z-index:1001;width:initial;height:initial}.x-dialog-container .x-dialog-top,.x-dialog-container .x-dialog-bottom{justify-content:center}.x-dialog-container .x-dialog-center{justify-content:center;align-items:center}.x-dialog-container .x-dialog-left,.x-dialog-container .x-dialog-right{align-items:center}.x-dialog-container .x-dialog-visible{display:flex;z-index:1000}.x-dialog-container .x-dialog-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;background:rgba(0,0,0,.32)}\n"] }]
|
|
244
|
-
}], ctorParameters: () => [], propDecorators: { _has: [{
|
|
245
|
-
type: HostBinding,
|
|
246
|
-
args: ['class.x-dialog-container']
|
|
247
|
-
}] } });
|
|
248
|
-
|
|
249
|
-
class XDialogComponent extends XDialogProperty {
|
|
250
237
|
get getVisible() {
|
|
251
238
|
return this.visible;
|
|
252
239
|
}
|
|
@@ -267,32 +254,8 @@ class XDialogComponent extends XDialogProperty {
|
|
|
267
254
|
}
|
|
268
255
|
: {};
|
|
269
256
|
}
|
|
270
|
-
constructor(renderer, elementRef, cdr, viewContainerRef, protalService, overlay, i18n, configService, container) {
|
|
271
|
-
super();
|
|
272
|
-
this.renderer = renderer;
|
|
273
|
-
this.elementRef = elementRef;
|
|
274
|
-
this.cdr = cdr;
|
|
275
|
-
this.viewContainerRef = viewContainerRef;
|
|
276
|
-
this.protalService = protalService;
|
|
277
|
-
this.overlay = overlay;
|
|
278
|
-
this.i18n = i18n;
|
|
279
|
-
this.configService = configService;
|
|
280
|
-
this.container = container;
|
|
281
|
-
this.locale = {};
|
|
282
|
-
this.initHeight = 0;
|
|
283
|
-
this.initContentHeight = 0;
|
|
284
|
-
this.isMaximize = false;
|
|
285
|
-
this.isDefaultMaximize = false;
|
|
286
|
-
this.dialogBox = {};
|
|
287
|
-
this.contentBox = {};
|
|
288
|
-
this.distance = { x: 0, y: 0 };
|
|
289
|
-
this.viewInit = false;
|
|
290
|
-
this.action = null;
|
|
291
|
-
this.containerInit = false;
|
|
292
|
-
this._unSubject = new Subject();
|
|
293
|
-
this.scrollStrategy = this.protalService.overlay.scrollStrategies.block();
|
|
294
|
-
}
|
|
295
257
|
ngOnInit() {
|
|
258
|
+
this.scrollStrategy = this.protalService.overlay.scrollStrategies.block();
|
|
296
259
|
this.i18n.localeChange
|
|
297
260
|
.pipe(map((x) => x.dialog), takeUntil(this._unSubject))
|
|
298
261
|
.subscribe((x) => {
|
|
@@ -512,18 +475,13 @@ class XDialogComponent extends XDialogProperty {
|
|
|
512
475
|
this.renderer.setStyle(this.dialogContent, 'height', `${contentHeight}px`);
|
|
513
476
|
}
|
|
514
477
|
}
|
|
515
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
516
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
478
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
479
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.7", type: XDialogComponent, isStandalone: true, selector: "x-dialog", host: { properties: { "class.x-dialog-visible": "this.getVisible" } }, viewQueries: [{ propertyName: "dialogTpl", first: true, predicate: ["dialogTpl"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ng-template #dialogTpl>\r\n @if (container && hasBackdrop) {\r\n <div class=\"x-dialog-backdrop\" [@x-opacity-animation]=\"visible\" (click)=\"onClose('close')\"></div>\r\n }\r\n <div\r\n class=\"x-dialog\"\r\n [@x-move-box-animation]=\"placement\"\r\n (@x-move-box-animation.done)=\"moveDone($event)\"\r\n [class.x-dialog-maximize]=\"isMaximize\"\r\n [class.x-dialog-resizable]=\"resizable\"\r\n [class.x-dialog-default-maximize]=\"isDefaultMaximize\"\r\n [ngStyle]=\"getStyle\"\r\n >\r\n <x-alert\r\n [draggable]=\"draggable && dialogBox['draggable']\"\r\n [resizable]=\"resizable && dialogBox['resizable']\"\r\n [dragFreeDragPosition]=\"dialogBox['distance']\"\r\n [offsetLeft]=\"offsetLeft\"\r\n [offsetTop]=\"offsetTop\"\r\n [minWidth]=\"dialogBox['minWidth']\"\r\n [minHeight]=\"dialogBox['minHeight']\"\r\n [dragBoundary]=\"'.cdk-overlay-container'\"\r\n [title]=\"title\"\r\n [content]=\"contentTpl\"\r\n [type]=\"type\"\r\n [effect]=\"effect\"\r\n [hideClose]=\"hideClose\"\r\n [closeText]=\"closeText\"\r\n [operationTpl]=\"operationTpl\"\r\n (close)=\"onClose('close')\"\r\n (dragEnded)=\"onDragEnded($event)\"\r\n (resizing)=\"onResizing($event)\"\r\n showIcon=\"false\"\r\n duration=\"0\"\r\n manual\r\n disabledAnimation\r\n ></x-alert>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #contentTpl>\r\n <div class=\"x-dialog-inner\">\r\n <div class=\"x-dialog-content\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"x-dialog-buttons\" [class.x-dialog-buttons-center]=\"buttonsCenter\">\r\n <ng-container *xOutlet=\"footer\">\r\n @if (showCancel || showConfirm) {\r\n <x-buttons space=\"1\">\r\n @if (showCancel) {\r\n <x-button (click)=\"onClose('cancel')\">{{ getCancelText }}</x-button>\r\n }\r\n @if (showConfirm) {\r\n <x-button type=\"primary\" (click)=\"onClose('confirm')\">{{ getConfirmText }}</x-button>\r\n }\r\n </x-buttons>\r\n }\r\n </ng-container>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #operationTpl>\r\n @if (maximize || resizable) {\r\n <x-button\r\n size=\"small\"\r\n [icon]=\"isMaximize ? 'fto-minimize' : 'fto-maximize'\"\r\n [onlyIcon]=\"true\"\r\n (click)=\"onSize()\"\r\n ></x-button>\r\n }\r\n</ng-template>\r\n\r\n@if (container && visible) {\r\n <ng-container *ngTemplateOutlet=\"dialogTpl\"></ng-container>\r\n}\r\n", styles: [".x-dialog{margin:0;padding:0;width:100%;height:100%}.x-dialog>x-alert{height:100%}.x-dialog>x-alert .x-alert{min-height:100%;height:-moz-fit-content;height:fit-content;align-items:inherit;padding:0}.x-dialog>x-alert .x-alert-inner{min-height:100%;display:flex;flex-direction:column}.x-dialog>x-alert .x-alert-title{padding:1rem 1rem 0}.x-dialog>x-alert .x-alert-content{flex:1;display:flex;flex-direction:column;padding:0 1rem .5rem}.x-dialog-inner{display:flex;flex-direction:column;margin:.5rem 0;flex:1}.x-dialog-buttons{display:flex;justify-content:flex-end}.x-dialog-buttons>x-buttons{margin-top:1rem;align-self:flex-end}.x-dialog-buttons-center{justify-content:center}.x-dialog-content{display:inline-flex;flex-direction:column;flex:1;max-height:70vh;overflow:auto;min-height:2rem}.x-dialog-maximize>x-alert .x-alert{left:0!important;top:0!important}.x-dialog-maximize .x-dialog-content{max-height:calc(100vh - 7rem)!important;height:calc(100vh - 7rem)!important}.x-dialog-default-maximize .x-dialog-content{max-height:calc(100vh - 7rem)!important;height:calc(100vh - 7rem)!important;flex:initial}\n"], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: XAlertComponent, selector: "x-alert" }, { kind: "component", type: XButtonComponent, selector: "x-button" }, { kind: "component", type: XButtonsComponent, selector: "x-buttons" }, { kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], animations: [XMoveBoxAnimation, XOpacityAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
517
480
|
}
|
|
518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogComponent, decorators: [{
|
|
519
482
|
type: Component,
|
|
520
|
-
args: [{ selector: `${XDialogPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [XMoveBoxAnimation, XOpacityAnimation], template: "<ng-template #dialogTpl>\r\n <div class=\"x-dialog-backdrop\"
|
|
521
|
-
}],
|
|
522
|
-
type: Optional
|
|
523
|
-
}, {
|
|
524
|
-
type: Inject,
|
|
525
|
-
args: [X_DIALOG_CONTAINER]
|
|
526
|
-
}] }], propDecorators: { getVisible: [{
|
|
483
|
+
args: [{ selector: `${XDialogPrefix}`, standalone: true, imports: [NgStyle, NgTemplateOutlet, XAlertComponent, XButtonComponent, XButtonsComponent, XOutletDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [XMoveBoxAnimation, XOpacityAnimation], template: "<ng-template #dialogTpl>\r\n @if (container && hasBackdrop) {\r\n <div class=\"x-dialog-backdrop\" [@x-opacity-animation]=\"visible\" (click)=\"onClose('close')\"></div>\r\n }\r\n <div\r\n class=\"x-dialog\"\r\n [@x-move-box-animation]=\"placement\"\r\n (@x-move-box-animation.done)=\"moveDone($event)\"\r\n [class.x-dialog-maximize]=\"isMaximize\"\r\n [class.x-dialog-resizable]=\"resizable\"\r\n [class.x-dialog-default-maximize]=\"isDefaultMaximize\"\r\n [ngStyle]=\"getStyle\"\r\n >\r\n <x-alert\r\n [draggable]=\"draggable && dialogBox['draggable']\"\r\n [resizable]=\"resizable && dialogBox['resizable']\"\r\n [dragFreeDragPosition]=\"dialogBox['distance']\"\r\n [offsetLeft]=\"offsetLeft\"\r\n [offsetTop]=\"offsetTop\"\r\n [minWidth]=\"dialogBox['minWidth']\"\r\n [minHeight]=\"dialogBox['minHeight']\"\r\n [dragBoundary]=\"'.cdk-overlay-container'\"\r\n [title]=\"title\"\r\n [content]=\"contentTpl\"\r\n [type]=\"type\"\r\n [effect]=\"effect\"\r\n [hideClose]=\"hideClose\"\r\n [closeText]=\"closeText\"\r\n [operationTpl]=\"operationTpl\"\r\n (close)=\"onClose('close')\"\r\n (dragEnded)=\"onDragEnded($event)\"\r\n (resizing)=\"onResizing($event)\"\r\n showIcon=\"false\"\r\n duration=\"0\"\r\n manual\r\n disabledAnimation\r\n ></x-alert>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #contentTpl>\r\n <div class=\"x-dialog-inner\">\r\n <div class=\"x-dialog-content\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"x-dialog-buttons\" [class.x-dialog-buttons-center]=\"buttonsCenter\">\r\n <ng-container *xOutlet=\"footer\">\r\n @if (showCancel || showConfirm) {\r\n <x-buttons space=\"1\">\r\n @if (showCancel) {\r\n <x-button (click)=\"onClose('cancel')\">{{ getCancelText }}</x-button>\r\n }\r\n @if (showConfirm) {\r\n <x-button type=\"primary\" (click)=\"onClose('confirm')\">{{ getConfirmText }}</x-button>\r\n }\r\n </x-buttons>\r\n }\r\n </ng-container>\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #operationTpl>\r\n @if (maximize || resizable) {\r\n <x-button\r\n size=\"small\"\r\n [icon]=\"isMaximize ? 'fto-minimize' : 'fto-maximize'\"\r\n [onlyIcon]=\"true\"\r\n (click)=\"onSize()\"\r\n ></x-button>\r\n }\r\n</ng-template>\r\n\r\n@if (container && visible) {\r\n <ng-container *ngTemplateOutlet=\"dialogTpl\"></ng-container>\r\n}\r\n", styles: [".x-dialog{margin:0;padding:0;width:100%;height:100%}.x-dialog>x-alert{height:100%}.x-dialog>x-alert .x-alert{min-height:100%;height:-moz-fit-content;height:fit-content;align-items:inherit;padding:0}.x-dialog>x-alert .x-alert-inner{min-height:100%;display:flex;flex-direction:column}.x-dialog>x-alert .x-alert-title{padding:1rem 1rem 0}.x-dialog>x-alert .x-alert-content{flex:1;display:flex;flex-direction:column;padding:0 1rem .5rem}.x-dialog-inner{display:flex;flex-direction:column;margin:.5rem 0;flex:1}.x-dialog-buttons{display:flex;justify-content:flex-end}.x-dialog-buttons>x-buttons{margin-top:1rem;align-self:flex-end}.x-dialog-buttons-center{justify-content:center}.x-dialog-content{display:inline-flex;flex-direction:column;flex:1;max-height:70vh;overflow:auto;min-height:2rem}.x-dialog-maximize>x-alert .x-alert{left:0!important;top:0!important}.x-dialog-maximize .x-dialog-content{max-height:calc(100vh - 7rem)!important;height:calc(100vh - 7rem)!important}.x-dialog-default-maximize .x-dialog-content{max-height:calc(100vh - 7rem)!important;height:calc(100vh - 7rem)!important;flex:initial}\n"] }]
|
|
484
|
+
}], propDecorators: { getVisible: [{
|
|
527
485
|
type: HostBinding,
|
|
528
486
|
args: ['class.x-dialog-visible']
|
|
529
487
|
}], dialogTpl: [{
|
|
@@ -531,12 +489,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
|
|
|
531
489
|
args: ['dialogTpl']
|
|
532
490
|
}] } });
|
|
533
491
|
|
|
492
|
+
class XDialogContainerComponent extends XDialogContainerProperty {
|
|
493
|
+
constructor() {
|
|
494
|
+
super(...arguments);
|
|
495
|
+
this._has = true;
|
|
496
|
+
}
|
|
497
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
498
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", type: XDialogContainerComponent, isStandalone: true, selector: "x-dialog-container", host: { properties: { "class.x-dialog-container": "this._has" } }, providers: [
|
|
499
|
+
{
|
|
500
|
+
provide: X_DIALOG_CONTAINER,
|
|
501
|
+
useExisting: XDialogContainerComponent
|
|
502
|
+
}
|
|
503
|
+
], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [".x-dialog-container{margin:0;padding:0;position:relative;z-index:1;box-sizing:border-box;display:block;overflow:hidden}.x-dialog-container x-dialog{display:flex;position:absolute;width:100%;height:100%;z-index:-1;transition:z-index .4s;top:0;left:0}.x-dialog-container .x-dialog{position:absolute;display:block;outline:0;z-index:1001;width:initial;height:initial}.x-dialog-container .x-dialog-top,.x-dialog-container .x-dialog-bottom{justify-content:center}.x-dialog-container .x-dialog-center{justify-content:center;align-items:center}.x-dialog-container .x-dialog-left,.x-dialog-container .x-dialog-right{align-items:center}.x-dialog-container .x-dialog-visible{display:flex;z-index:1000}.x-dialog-container .x-dialog-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;background:rgba(0,0,0,.32)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
504
|
+
}
|
|
505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogContainerComponent, decorators: [{
|
|
506
|
+
type: Component,
|
|
507
|
+
args: [{ selector: 'x-dialog-container', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
508
|
+
{
|
|
509
|
+
provide: X_DIALOG_CONTAINER,
|
|
510
|
+
useExisting: XDialogContainerComponent
|
|
511
|
+
}
|
|
512
|
+
], template: "<ng-content></ng-content>\r\n", styles: [".x-dialog-container{margin:0;padding:0;position:relative;z-index:1;box-sizing:border-box;display:block;overflow:hidden}.x-dialog-container x-dialog{display:flex;position:absolute;width:100%;height:100%;z-index:-1;transition:z-index .4s;top:0;left:0}.x-dialog-container .x-dialog{position:absolute;display:block;outline:0;z-index:1001;width:initial;height:initial}.x-dialog-container .x-dialog-top,.x-dialog-container .x-dialog-bottom{justify-content:center}.x-dialog-container .x-dialog-center{justify-content:center;align-items:center}.x-dialog-container .x-dialog-left,.x-dialog-container .x-dialog-right{align-items:center}.x-dialog-container .x-dialog-visible{display:flex;z-index:1000}.x-dialog-container .x-dialog-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;background:rgba(0,0,0,.32)}\n"] }]
|
|
513
|
+
}], propDecorators: { _has: [{
|
|
514
|
+
type: HostBinding,
|
|
515
|
+
args: ['class.x-dialog-container']
|
|
516
|
+
}] } });
|
|
517
|
+
|
|
534
518
|
class XDialogPortalComponent extends BasePortalOutlet {
|
|
535
519
|
done({ toState, totalTime }) {
|
|
536
|
-
this.animationChanged.next({
|
|
520
|
+
this.animationChanged.next({
|
|
521
|
+
action: 'done',
|
|
522
|
+
state: toState,
|
|
523
|
+
totalTime
|
|
524
|
+
});
|
|
537
525
|
}
|
|
538
526
|
start({ toState, totalTime }) {
|
|
539
|
-
this.animationChanged.next({
|
|
527
|
+
this.animationChanged.next({
|
|
528
|
+
action: 'start',
|
|
529
|
+
state: toState,
|
|
530
|
+
totalTime
|
|
531
|
+
});
|
|
540
532
|
}
|
|
541
533
|
constructor(renderer) {
|
|
542
534
|
super();
|
|
@@ -589,14 +581,17 @@ class XDialogPortalComponent extends BasePortalOutlet {
|
|
|
589
581
|
}
|
|
590
582
|
}
|
|
591
583
|
onDragEnded(event) {
|
|
592
|
-
this.distance = {
|
|
584
|
+
this.distance = {
|
|
585
|
+
x: this.distance.x + event.distance.x,
|
|
586
|
+
y: this.distance.y + event.distance.y
|
|
587
|
+
};
|
|
593
588
|
}
|
|
594
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
595
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
589
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogPortalComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
590
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", type: XDialogPortalComponent, isStandalone: true, selector: "x-dialog-portal", host: { listeners: { "@x-move-box-animation.done": "done($event)", "@x-move-box-animation.start": "start($event)" }, properties: { "@x-move-box-animation": "this.placement" } }, queries: [{ propertyName: "handles", predicate: CdkDragHandle, descendants: true }], viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }, { propertyName: "dragRef", first: true, predicate: CdkDrag, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"x-dialog-portal\"\r\n #dragRef\r\n cdkDrag\r\n [cdkDragDisabled]=\"!option.draggable && !dialogBox['draggable']\"\r\n [cdkDragBoundary]=\"'.cdk-overlay-container'\"\r\n [cdkDragFreeDragPosition]=\"dialogBox['distance']\"\r\n [xResizable]=\"option.resizable && dialogBox['resizable']!\"\r\n (resizing)=\"resizing($event)\"\r\n (cdkDragEnded)=\"onDragEnded($event)\"\r\n [offsetLeft]=\"offsetLeft\"\r\n [offsetTop]=\"offsetTop\"\r\n [style.minWidth]=\"dialogBox['minWidth']\"\r\n [style.minHeight]=\"dialogBox['minHeight']\"\r\n>\r\n <ng-template cdkPortalOutlet></ng-template>\r\n</div>\r\n", styles: [".x-dialog-portal{margin:0;padding:0;width:100%;height:100%;display:block;padding:1rem;box-sizing:border-box;min-height:inherit;max-height:inherit;background-color:var(--x-background);box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color);border:.0625rem solid transparent;border-radius:var(--x-border-radius)}.x-dialog-portal-title{font-weight:600;color:var(--x-text-300);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:3rem;line-height:3rem;display:block;align-items:center;margin:-1rem -1rem 0;padding:0 1rem}.x-dialog-portal-content{display:block;margin:0 -1rem;padding:0 1rem;max-height:70vh;overflow:auto;color:var(--x-text-300);font-size:calc(var(--x-font-size) - .0625rem);line-height:1.325rem}.x-dialog-portal-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;box-sizing:content-box;margin:0 -1rem -1rem;padding:0 1rem;height:4rem}.x-dialog-portal-actions[align=center]{justify-content:center}.x-dialog-portal-actions[align=start]{justify-content:flex-start}.x-dialog-portal-actions x-button:not(:first-child){margin-left:1rem}.x-dialog-portal-drag-handle{cursor:move}.x-dialog-portal-fullscreen{margin:0!important}.x-dialog-portal-fullscreen .x-dialog-portal{left:0!important;top:0!important}.x-dialog-portal-fullscreen .x-dialog-portal-content{max-height:calc(100vh - 7rem)!important;height:calc(100vh - 7rem)!important}x-dialog-portal{width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: XResizableDirective, selector: "[xResizable]" }], animations: [XMoveBoxAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
596
591
|
}
|
|
597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogPortalComponent, decorators: [{
|
|
598
593
|
type: Component,
|
|
599
|
-
args: [{ selector: 'x-dialog-portal', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [XMoveBoxAnimation], template: "<div\r\n class=\"x-dialog-portal\"\r\n #dragRef\r\n cdkDrag\r\n [cdkDragDisabled]=\"!option.draggable && !dialogBox['draggable']\"\r\n [cdkDragBoundary]=\"'.cdk-overlay-container'\"\r\n [cdkDragFreeDragPosition]=\"dialogBox['distance']\"\r\n [xResizable]=\"option.resizable && dialogBox['resizable']!\"\r\n (resizing)=\"resizing($event)\"\r\n (cdkDragEnded)=\"onDragEnded($event)\"\r\n [offsetLeft]=\"offsetLeft\"\r\n [offsetTop]=\"offsetTop\"\r\n [style.minWidth]=\"dialogBox['minWidth']\"\r\n [style.minHeight]=\"dialogBox['minHeight']\"\r\n>\r\n <ng-template cdkPortalOutlet></ng-template>\r\n</div>\r\n", styles: [".x-dialog-portal{margin:0;padding:0;width:100%;height:100%;display:block;padding:1rem;box-sizing:border-box;min-height:inherit;max-height:inherit;background-color:var(--x-background);box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color);border:.0625rem solid transparent;border-radius:var(--x-border-radius)}.x-dialog-portal-title{font-weight:600;color:var(--x-text-300);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:3rem;line-height:3rem;display:block;align-items:center;margin:-1rem -1rem 0;padding:0 1rem}.x-dialog-portal-content{display:block;margin:0 -1rem;padding:0 1rem;max-height:70vh;overflow:auto;color:var(--x-text-300);font-size:calc(var(--x-font-size) - .0625rem);line-height:1.325rem}.x-dialog-portal-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;box-sizing:content-box;margin:0 -1rem -1rem;padding:0 1rem;height:4rem}.x-dialog-portal-actions[align=center]{justify-content:center}.x-dialog-portal-actions[align=start]{justify-content:flex-start}.x-dialog-portal-actions x-button:not(:first-child){margin-left:1rem}.x-dialog-portal-drag-handle{cursor:move}.x-dialog-portal-fullscreen{margin:0!important}.x-dialog-portal-fullscreen .x-dialog-portal{left:0!important;top:0!important}.x-dialog-portal-fullscreen .x-dialog-portal-content{max-height:calc(100vh - 7rem)!important;height:calc(100vh - 7rem)!important}x-dialog-portal{width:100%;height:100%}\n"] }]
|
|
594
|
+
args: [{ selector: 'x-dialog-portal', standalone: true, imports: [DragDropModule, PortalModule, XResizableDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [XMoveBoxAnimation], template: "<div\r\n class=\"x-dialog-portal\"\r\n #dragRef\r\n cdkDrag\r\n [cdkDragDisabled]=\"!option.draggable && !dialogBox['draggable']\"\r\n [cdkDragBoundary]=\"'.cdk-overlay-container'\"\r\n [cdkDragFreeDragPosition]=\"dialogBox['distance']\"\r\n [xResizable]=\"option.resizable && dialogBox['resizable']!\"\r\n (resizing)=\"resizing($event)\"\r\n (cdkDragEnded)=\"onDragEnded($event)\"\r\n [offsetLeft]=\"offsetLeft\"\r\n [offsetTop]=\"offsetTop\"\r\n [style.minWidth]=\"dialogBox['minWidth']\"\r\n [style.minHeight]=\"dialogBox['minHeight']\"\r\n>\r\n <ng-template cdkPortalOutlet></ng-template>\r\n</div>\r\n", styles: [".x-dialog-portal{margin:0;padding:0;width:100%;height:100%;display:block;padding:1rem;box-sizing:border-box;min-height:inherit;max-height:inherit;background-color:var(--x-background);box-shadow:var(--x-box-shadow) var(--x-box-shadow-light-color);border:.0625rem solid transparent;border-radius:var(--x-border-radius)}.x-dialog-portal-title{font-weight:600;color:var(--x-text-300);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:3rem;line-height:3rem;display:block;align-items:center;margin:-1rem -1rem 0;padding:0 1rem}.x-dialog-portal-content{display:block;margin:0 -1rem;padding:0 1rem;max-height:70vh;overflow:auto;color:var(--x-text-300);font-size:calc(var(--x-font-size) - .0625rem);line-height:1.325rem}.x-dialog-portal-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;box-sizing:content-box;margin:0 -1rem -1rem;padding:0 1rem;height:4rem}.x-dialog-portal-actions[align=center]{justify-content:center}.x-dialog-portal-actions[align=start]{justify-content:flex-start}.x-dialog-portal-actions x-button:not(:first-child){margin-left:1rem}.x-dialog-portal-drag-handle{cursor:move}.x-dialog-portal-fullscreen{margin:0!important}.x-dialog-portal-fullscreen .x-dialog-portal{left:0!important;top:0!important}.x-dialog-portal-fullscreen .x-dialog-portal-content{max-height:calc(100vh - 7rem)!important;height:calc(100vh - 7rem)!important}x-dialog-portal{width:100%;height:100%}\n"] }]
|
|
600
595
|
}], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { placement: [{
|
|
601
596
|
type: HostBinding,
|
|
602
597
|
args: ['@x-move-box-animation']
|
|
@@ -716,23 +711,22 @@ class XDialogRef {
|
|
|
716
711
|
}
|
|
717
712
|
|
|
718
713
|
class XDialogCloseDirective {
|
|
714
|
+
constructor() {
|
|
715
|
+
this.dialogRef = inject((XDialogRef), { optional: true });
|
|
716
|
+
}
|
|
719
717
|
onCloseClick() {
|
|
720
718
|
this.dialogRef && this.dialogRef.close();
|
|
721
719
|
}
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
}
|
|
725
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XDialogCloseDirective, deps: [{ token: XDialogRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
726
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.2", type: XDialogCloseDirective, selector: "[x-dialog-close]", host: { listeners: { "click": "onCloseClick($event)" } }, ngImport: i0 }); }
|
|
720
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
721
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: XDialogCloseDirective, isStandalone: true, selector: "[x-dialog-close]", host: { listeners: { "click": "onCloseClick($event)" } }, ngImport: i0 }); }
|
|
727
722
|
}
|
|
728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogCloseDirective, decorators: [{
|
|
729
724
|
type: Directive,
|
|
730
725
|
args: [{
|
|
731
|
-
selector: `[x-dialog-close]
|
|
726
|
+
selector: `[x-dialog-close]`,
|
|
727
|
+
standalone: true
|
|
732
728
|
}]
|
|
733
|
-
}],
|
|
734
|
-
type: Optional
|
|
735
|
-
}] }], propDecorators: { onCloseClick: [{
|
|
729
|
+
}], propDecorators: { onCloseClick: [{
|
|
736
730
|
type: HostListener,
|
|
737
731
|
args: ['click', ['$event']]
|
|
738
732
|
}] } });
|
|
@@ -740,13 +734,14 @@ class XDialogTitleDirective {
|
|
|
740
734
|
constructor() {
|
|
741
735
|
this._has = true;
|
|
742
736
|
}
|
|
743
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
744
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
737
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
738
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: XDialogTitleDirective, isStandalone: true, selector: "[x-dialog-title]", host: { properties: { "class.x-dialog-portal-title": "this._has" } }, ngImport: i0 }); }
|
|
745
739
|
}
|
|
746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogTitleDirective, decorators: [{
|
|
747
741
|
type: Directive,
|
|
748
742
|
args: [{
|
|
749
|
-
selector: `[x-dialog-title]
|
|
743
|
+
selector: `[x-dialog-title]`,
|
|
744
|
+
standalone: true
|
|
750
745
|
}]
|
|
751
746
|
}], propDecorators: { _has: [{
|
|
752
747
|
type: HostBinding,
|
|
@@ -756,13 +751,14 @@ class XDialogContentDirective {
|
|
|
756
751
|
constructor() {
|
|
757
752
|
this._has = true;
|
|
758
753
|
}
|
|
759
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
760
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
754
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
755
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: XDialogContentDirective, isStandalone: true, selector: "[x-dialog-content], x-dialog-content", host: { properties: { "class.x-dialog-portal-content": "this._has" } }, ngImport: i0 }); }
|
|
761
756
|
}
|
|
762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogContentDirective, decorators: [{
|
|
763
758
|
type: Directive,
|
|
764
759
|
args: [{
|
|
765
|
-
selector: `[x-dialog-content], x-dialog-content
|
|
760
|
+
selector: `[x-dialog-content], x-dialog-content`,
|
|
761
|
+
standalone: true
|
|
766
762
|
}]
|
|
767
763
|
}], propDecorators: { _has: [{
|
|
768
764
|
type: HostBinding,
|
|
@@ -772,71 +768,111 @@ class XDialogActionsDirective {
|
|
|
772
768
|
constructor() {
|
|
773
769
|
this._has = true;
|
|
774
770
|
}
|
|
775
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
776
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
771
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
772
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: XDialogActionsDirective, isStandalone: true, selector: "[x-dialog-actions], x-dialog-actions", host: { properties: { "class.x-dialog-portal-actions": "this._has" } }, ngImport: i0 }); }
|
|
777
773
|
}
|
|
778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogActionsDirective, decorators: [{
|
|
779
775
|
type: Directive,
|
|
780
776
|
args: [{
|
|
781
|
-
selector: `[x-dialog-actions], x-dialog-actions
|
|
777
|
+
selector: `[x-dialog-actions], x-dialog-actions`,
|
|
778
|
+
standalone: true
|
|
782
779
|
}]
|
|
783
780
|
}], propDecorators: { _has: [{
|
|
784
781
|
type: HostBinding,
|
|
785
782
|
args: ['class.x-dialog-portal-actions']
|
|
786
783
|
}] } });
|
|
787
784
|
class XDialogDragHandleDirective {
|
|
788
|
-
|
|
789
|
-
|
|
785
|
+
constructor() {
|
|
786
|
+
this.dialogRef = inject((XDialogRef), { optional: true });
|
|
787
|
+
this.elementRef = inject(ElementRef);
|
|
790
788
|
}
|
|
791
|
-
|
|
792
|
-
this.dialogRef
|
|
793
|
-
this.elementRef = elementRef;
|
|
789
|
+
get getDraggable() {
|
|
790
|
+
return !this.dialogRef?.fullscreen && this.dialogRef?.option.draggable;
|
|
794
791
|
}
|
|
795
792
|
ngOnInit() {
|
|
796
|
-
this.dialogRef
|
|
793
|
+
this.dialogRef?.dragHandleRefs.push(this.elementRef);
|
|
797
794
|
}
|
|
798
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
799
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
795
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogDragHandleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
796
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: XDialogDragHandleDirective, isStandalone: true, selector: "[x-dialog-drag-handle], x-dialog-drag-handle", host: { properties: { "class.x-dialog-portal-drag-handle": "this.getDraggable" } }, ngImport: i0 }); }
|
|
800
797
|
}
|
|
801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogDragHandleDirective, decorators: [{
|
|
802
799
|
type: Directive,
|
|
803
800
|
args: [{
|
|
804
|
-
selector: `[x-dialog-drag-handle], x-dialog-drag-handle
|
|
801
|
+
selector: `[x-dialog-drag-handle], x-dialog-drag-handle`,
|
|
802
|
+
standalone: true
|
|
805
803
|
}]
|
|
806
|
-
}],
|
|
807
|
-
type: Optional
|
|
808
|
-
}] }, { type: i0.ElementRef }], propDecorators: { getDraggable: [{
|
|
804
|
+
}], propDecorators: { getDraggable: [{
|
|
809
805
|
type: HostBinding,
|
|
810
806
|
args: ['class.x-dialog-portal-drag-handle']
|
|
811
807
|
}] } });
|
|
812
808
|
class XDialogFullscreenDirective {
|
|
809
|
+
constructor() {
|
|
810
|
+
this.dialogRef = inject((XDialogRef), { optional: true });
|
|
811
|
+
}
|
|
813
812
|
onFullscreenClick() {
|
|
814
813
|
this.dialogRef && this.dialogRef.onFullscreen();
|
|
815
814
|
}
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
}
|
|
819
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XDialogFullscreenDirective, deps: [{ token: XDialogRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
820
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.2", type: XDialogFullscreenDirective, selector: "[x-dialog-fullscreen], x-dialog-fullscreen", host: { listeners: { "click": "onFullscreenClick($event)" } }, ngImport: i0 }); }
|
|
815
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogFullscreenDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
816
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: XDialogFullscreenDirective, isStandalone: true, selector: "[x-dialog-fullscreen], x-dialog-fullscreen", host: { listeners: { "click": "onFullscreenClick($event)" } }, ngImport: i0 }); }
|
|
821
817
|
}
|
|
822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogFullscreenDirective, decorators: [{
|
|
823
819
|
type: Directive,
|
|
824
820
|
args: [{
|
|
825
|
-
selector: `[x-dialog-fullscreen], x-dialog-fullscreen
|
|
821
|
+
selector: `[x-dialog-fullscreen], x-dialog-fullscreen`,
|
|
822
|
+
standalone: true
|
|
826
823
|
}]
|
|
827
|
-
}],
|
|
828
|
-
type: Optional
|
|
829
|
-
}] }], propDecorators: { onFullscreenClick: [{
|
|
824
|
+
}], propDecorators: { onFullscreenClick: [{
|
|
830
825
|
type: HostListener,
|
|
831
826
|
args: ['click', ['$event']]
|
|
832
827
|
}] } });
|
|
833
828
|
|
|
829
|
+
class XDialogModule {
|
|
830
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
831
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: XDialogModule, imports: [XDialogComponent,
|
|
832
|
+
XDialogContainerComponent,
|
|
833
|
+
XDialogCloseDirective,
|
|
834
|
+
XDialogTitleDirective,
|
|
835
|
+
XDialogContentDirective,
|
|
836
|
+
XDialogActionsDirective,
|
|
837
|
+
XDialogDragHandleDirective,
|
|
838
|
+
XDialogFullscreenDirective], exports: [XDialogComponent,
|
|
839
|
+
XDialogContainerComponent,
|
|
840
|
+
XDialogCloseDirective,
|
|
841
|
+
XDialogTitleDirective,
|
|
842
|
+
XDialogContentDirective,
|
|
843
|
+
XDialogActionsDirective,
|
|
844
|
+
XDialogDragHandleDirective,
|
|
845
|
+
XDialogFullscreenDirective] }); }
|
|
846
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogModule, imports: [XDialogComponent] }); }
|
|
847
|
+
}
|
|
848
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogModule, decorators: [{
|
|
849
|
+
type: NgModule,
|
|
850
|
+
args: [{
|
|
851
|
+
exports: [
|
|
852
|
+
XDialogComponent,
|
|
853
|
+
XDialogContainerComponent,
|
|
854
|
+
XDialogCloseDirective,
|
|
855
|
+
XDialogTitleDirective,
|
|
856
|
+
XDialogContentDirective,
|
|
857
|
+
XDialogActionsDirective,
|
|
858
|
+
XDialogDragHandleDirective,
|
|
859
|
+
XDialogFullscreenDirective
|
|
860
|
+
],
|
|
861
|
+
imports: [
|
|
862
|
+
XDialogComponent,
|
|
863
|
+
XDialogContainerComponent,
|
|
864
|
+
XDialogCloseDirective,
|
|
865
|
+
XDialogTitleDirective,
|
|
866
|
+
XDialogContentDirective,
|
|
867
|
+
XDialogActionsDirective,
|
|
868
|
+
XDialogDragHandleDirective,
|
|
869
|
+
XDialogFullscreenDirective
|
|
870
|
+
]
|
|
871
|
+
}]
|
|
872
|
+
}] });
|
|
873
|
+
|
|
834
874
|
class XDialogService {
|
|
835
|
-
constructor(
|
|
836
|
-
this.portalService = portalService;
|
|
837
|
-
this.configService = configService;
|
|
838
|
-
this.overlay = overlay;
|
|
839
|
-
this.rendererFactory = rendererFactory;
|
|
875
|
+
constructor() {
|
|
840
876
|
this.default = {
|
|
841
877
|
placement: 'center',
|
|
842
878
|
offset: '1rem',
|
|
@@ -848,6 +884,10 @@ class XDialogService {
|
|
|
848
884
|
draggable: false,
|
|
849
885
|
resizable: false
|
|
850
886
|
};
|
|
887
|
+
this.portalService = inject(XPortalService);
|
|
888
|
+
this.configService = inject(XConfigService);
|
|
889
|
+
this.overlay = inject(Overlay);
|
|
890
|
+
this.rendererFactory = inject(RendererFactory2);
|
|
851
891
|
this.renderer = this.rendererFactory.createRenderer(null, null);
|
|
852
892
|
this.configDefault = this.configService.getConfigForComponent(X_DIALOG_CONFIG_NAME);
|
|
853
893
|
Object.assign(this.default, this.configDefault);
|
|
@@ -936,102 +976,13 @@ class XDialogService {
|
|
|
936
976
|
}
|
|
937
977
|
return false;
|
|
938
978
|
}
|
|
939
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
940
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
941
|
-
}
|
|
942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XDialogService, decorators: [{
|
|
943
|
-
type: Injectable
|
|
944
|
-
}], ctorParameters: () => [{ type: i1.XPortalService }, { type: i4.XConfigService }, { type: i2.Overlay }, { type: i0.RendererFactory2 }] });
|
|
945
|
-
|
|
946
|
-
class XDialogModule {
|
|
947
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
948
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: XDialogModule, declarations: [XDialogComponent,
|
|
949
|
-
XDialogContainerComponent,
|
|
950
|
-
XDialogCloseDirective,
|
|
951
|
-
XDialogTitleDirective,
|
|
952
|
-
XDialogContentDirective,
|
|
953
|
-
XDialogActionsDirective,
|
|
954
|
-
XDialogDragHandleDirective,
|
|
955
|
-
XDialogFullscreenDirective,
|
|
956
|
-
XDialogPortalComponent,
|
|
957
|
-
XDialogProperty,
|
|
958
|
-
XDialogContainerProperty], imports: [CommonModule,
|
|
959
|
-
FormsModule,
|
|
960
|
-
ReactiveFormsModule,
|
|
961
|
-
DragDropModule,
|
|
962
|
-
XInputModule,
|
|
963
|
-
XButtonModule,
|
|
964
|
-
XIconModule,
|
|
965
|
-
XPortalModule,
|
|
966
|
-
XAlertModule,
|
|
967
|
-
XOutletModule,
|
|
968
|
-
XResizableModule,
|
|
969
|
-
XI18nModule], exports: [XDialogComponent,
|
|
970
|
-
XDialogContainerComponent,
|
|
971
|
-
XDialogCloseDirective,
|
|
972
|
-
XDialogTitleDirective,
|
|
973
|
-
XDialogContentDirective,
|
|
974
|
-
XDialogActionsDirective,
|
|
975
|
-
XDialogDragHandleDirective,
|
|
976
|
-
XDialogFullscreenDirective,
|
|
977
|
-
XDialogPortalComponent] }); }
|
|
978
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: XDialogModule, providers: [XDialogService], imports: [CommonModule,
|
|
979
|
-
FormsModule,
|
|
980
|
-
ReactiveFormsModule,
|
|
981
|
-
DragDropModule,
|
|
982
|
-
XInputModule,
|
|
983
|
-
XButtonModule,
|
|
984
|
-
XIconModule,
|
|
985
|
-
XPortalModule,
|
|
986
|
-
XAlertModule,
|
|
987
|
-
XOutletModule,
|
|
988
|
-
XResizableModule,
|
|
989
|
-
XI18nModule] }); }
|
|
979
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
980
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogService, providedIn: 'root' }); }
|
|
990
981
|
}
|
|
991
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
992
|
-
type:
|
|
993
|
-
args: [{
|
|
994
|
-
|
|
995
|
-
XDialogComponent,
|
|
996
|
-
XDialogContainerComponent,
|
|
997
|
-
XDialogCloseDirective,
|
|
998
|
-
XDialogTitleDirective,
|
|
999
|
-
XDialogContentDirective,
|
|
1000
|
-
XDialogActionsDirective,
|
|
1001
|
-
XDialogDragHandleDirective,
|
|
1002
|
-
XDialogFullscreenDirective,
|
|
1003
|
-
XDialogPortalComponent,
|
|
1004
|
-
XDialogProperty,
|
|
1005
|
-
XDialogContainerProperty
|
|
1006
|
-
],
|
|
1007
|
-
exports: [
|
|
1008
|
-
XDialogComponent,
|
|
1009
|
-
XDialogContainerComponent,
|
|
1010
|
-
XDialogCloseDirective,
|
|
1011
|
-
XDialogTitleDirective,
|
|
1012
|
-
XDialogContentDirective,
|
|
1013
|
-
XDialogActionsDirective,
|
|
1014
|
-
XDialogDragHandleDirective,
|
|
1015
|
-
XDialogFullscreenDirective,
|
|
1016
|
-
XDialogPortalComponent
|
|
1017
|
-
],
|
|
1018
|
-
imports: [
|
|
1019
|
-
CommonModule,
|
|
1020
|
-
FormsModule,
|
|
1021
|
-
ReactiveFormsModule,
|
|
1022
|
-
DragDropModule,
|
|
1023
|
-
XInputModule,
|
|
1024
|
-
XButtonModule,
|
|
1025
|
-
XIconModule,
|
|
1026
|
-
XPortalModule,
|
|
1027
|
-
XAlertModule,
|
|
1028
|
-
XOutletModule,
|
|
1029
|
-
XResizableModule,
|
|
1030
|
-
XI18nModule
|
|
1031
|
-
],
|
|
1032
|
-
providers: [XDialogService]
|
|
1033
|
-
}]
|
|
1034
|
-
}] });
|
|
982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: XDialogService, decorators: [{
|
|
983
|
+
type: Injectable,
|
|
984
|
+
args: [{ providedIn: 'root' }]
|
|
985
|
+
}], ctorParameters: () => [] });
|
|
1035
986
|
|
|
1036
987
|
/**
|
|
1037
988
|
* Generated bundle index. Do not edit.
|