ng-primitives 0.88.0 → 0.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/a11y/index.d.ts +106 -3
- package/accordion/index.d.ts +213 -7
- package/ai/index.d.ts +238 -16
- package/autofill/index.d.ts +22 -1
- package/avatar/index.d.ts +120 -5
- package/breadcrumbs/README.md +3 -0
- package/breadcrumbs/index.d.ts +60 -0
- package/button/index.d.ts +44 -3
- package/checkbox/index.d.ts +58 -2
- package/combobox/index.d.ts +414 -8
- package/common/index.d.ts +31 -4
- package/date-picker/index.d.ts +713 -18
- package/date-time/index.d.ts +289 -3
- package/date-time-luxon/index.d.ts +31 -1
- package/dialog/index.d.ts +253 -9
- package/fesm2022/ng-primitives-a11y.mjs +9 -9
- package/fesm2022/ng-primitives-a11y.mjs.map +1 -1
- package/fesm2022/ng-primitives-accordion.mjs +51 -48
- package/fesm2022/ng-primitives-accordion.mjs.map +1 -1
- package/fesm2022/ng-primitives-ai.mjs +57 -54
- package/fesm2022/ng-primitives-ai.mjs.map +1 -1
- package/fesm2022/ng-primitives-autofill.mjs +5 -5
- package/fesm2022/ng-primitives-autofill.mjs.map +1 -1
- package/fesm2022/ng-primitives-avatar.mjs +18 -17
- package/fesm2022/ng-primitives-avatar.mjs.map +1 -1
- package/fesm2022/ng-primitives-breadcrumbs.mjs +138 -0
- package/fesm2022/ng-primitives-breadcrumbs.mjs.map +1 -0
- package/fesm2022/ng-primitives-button.mjs +7 -7
- package/fesm2022/ng-primitives-button.mjs.map +1 -1
- package/fesm2022/ng-primitives-checkbox.mjs +25 -21
- package/fesm2022/ng-primitives-checkbox.mjs.map +1 -1
- package/fesm2022/ng-primitives-combobox.mjs +76 -72
- package/fesm2022/ng-primitives-combobox.mjs.map +1 -1
- package/fesm2022/ng-primitives-common.mjs +5 -5
- package/fesm2022/ng-primitives-common.mjs.map +1 -1
- package/fesm2022/ng-primitives-date-picker.mjs +160 -123
- package/fesm2022/ng-primitives-date-picker.mjs.map +1 -1
- package/fesm2022/ng-primitives-dialog.mjs +48 -47
- package/fesm2022/ng-primitives-dialog.mjs.map +1 -1
- package/fesm2022/ng-primitives-file-upload.mjs +56 -48
- package/fesm2022/ng-primitives-file-upload.mjs.map +1 -1
- package/fesm2022/ng-primitives-focus-trap.mjs +9 -8
- package/fesm2022/ng-primitives-focus-trap.mjs.map +1 -1
- package/fesm2022/ng-primitives-form-field.mjs +49 -48
- package/fesm2022/ng-primitives-form-field.mjs.map +1 -1
- package/fesm2022/ng-primitives-input-otp.mjs +44 -43
- package/fesm2022/ng-primitives-input-otp.mjs.map +1 -1
- package/fesm2022/ng-primitives-input.mjs +8 -8
- package/fesm2022/ng-primitives-input.mjs.map +1 -1
- package/fesm2022/ng-primitives-interactions.mjs +55 -50
- package/fesm2022/ng-primitives-interactions.mjs.map +1 -1
- package/fesm2022/ng-primitives-internal.mjs +14 -14
- package/fesm2022/ng-primitives-internal.mjs.map +1 -1
- package/fesm2022/ng-primitives-listbox.mjs +52 -50
- package/fesm2022/ng-primitives-listbox.mjs.map +1 -1
- package/fesm2022/ng-primitives-menu.mjs +75 -68
- package/fesm2022/ng-primitives-menu.mjs.map +1 -1
- package/fesm2022/ng-primitives-meter.mjs +38 -35
- package/fesm2022/ng-primitives-meter.mjs.map +1 -1
- package/fesm2022/ng-primitives-pagination.mjs +77 -68
- package/fesm2022/ng-primitives-pagination.mjs.map +1 -1
- package/fesm2022/ng-primitives-popover.mjs +67 -60
- package/fesm2022/ng-primitives-popover.mjs.map +1 -1
- package/fesm2022/ng-primitives-portal.mjs +11 -12
- package/fesm2022/ng-primitives-portal.mjs.map +1 -1
- package/fesm2022/ng-primitives-progress.mjs +42 -39
- package/fesm2022/ng-primitives-progress.mjs.map +1 -1
- package/fesm2022/ng-primitives-radio.mjs +32 -30
- package/fesm2022/ng-primitives-radio.mjs.map +1 -1
- package/fesm2022/ng-primitives-resize.mjs +4 -4
- package/fesm2022/ng-primitives-resize.mjs.map +1 -1
- package/fesm2022/ng-primitives-roving-focus.mjs +34 -30
- package/fesm2022/ng-primitives-roving-focus.mjs.map +1 -1
- package/fesm2022/ng-primitives-search.mjs +9 -9
- package/fesm2022/ng-primitives-search.mjs.map +1 -1
- package/fesm2022/ng-primitives-select.mjs +66 -62
- package/fesm2022/ng-primitives-select.mjs.map +1 -1
- package/fesm2022/ng-primitives-separator.mjs +7 -7
- package/fesm2022/ng-primitives-separator.mjs.map +1 -1
- package/fesm2022/ng-primitives-slider.mjs +99 -88
- package/fesm2022/ng-primitives-slider.mjs.map +1 -1
- package/fesm2022/ng-primitives-state.mjs +1 -1
- package/fesm2022/ng-primitives-state.mjs.map +1 -1
- package/fesm2022/ng-primitives-switch.mjs +18 -16
- package/fesm2022/ng-primitives-switch.mjs.map +1 -1
- package/fesm2022/ng-primitives-tabs.mjs +44 -42
- package/fesm2022/ng-primitives-tabs.mjs.map +1 -1
- package/fesm2022/ng-primitives-textarea.mjs +8 -8
- package/fesm2022/ng-primitives-textarea.mjs.map +1 -1
- package/fesm2022/ng-primitives-toast.mjs +19 -19
- package/fesm2022/ng-primitives-toast.mjs.map +1 -1
- package/fesm2022/ng-primitives-toggle-group.mjs +32 -29
- package/fesm2022/ng-primitives-toggle-group.mjs.map +1 -1
- package/fesm2022/ng-primitives-toggle.mjs +14 -12
- package/fesm2022/ng-primitives-toggle.mjs.map +1 -1
- package/fesm2022/ng-primitives-toolbar.mjs +7 -7
- package/fesm2022/ng-primitives-toolbar.mjs.map +1 -1
- package/fesm2022/ng-primitives-tooltip.mjs +68 -60
- package/fesm2022/ng-primitives-tooltip.mjs.map +1 -1
- package/fesm2022/ng-primitives-utils.mjs +2 -2
- package/fesm2022/ng-primitives-utils.mjs.map +1 -1
- package/file-upload/index.d.ts +148 -4
- package/focus-trap/index.d.ts +98 -2
- package/form-field/index.d.ts +262 -7
- package/index.d.ts +2 -2
- package/input/index.d.ts +47 -2
- package/input-otp/index.d.ts +247 -4
- package/interactions/index.d.ts +295 -16
- package/internal/index.d.ts +201 -10
- package/listbox/index.d.ts +209 -6
- package/menu/index.d.ts +296 -8
- package/meter/index.d.ts +67 -6
- package/package.json +20 -16
- package/pagination/index.d.ts +211 -7
- package/popover/index.d.ts +224 -5
- package/portal/index.d.ts +389 -6
- package/progress/index.d.ts +124 -6
- package/radio/index.d.ts +140 -5
- package/resize/index.d.ts +29 -1
- package/roving-focus/index.d.ts +178 -4
- package/schematics/ng-generate/__snapshots__/index.spec.ts.snap +1 -1
- package/search/index.d.ts +66 -3
- package/select/index.d.ts +341 -8
- package/separator/index.d.ts +30 -2
- package/slider/index.d.ts +332 -10
- package/state/index.d.ts +14 -11
- package/switch/index.d.ts +76 -3
- package/tabs/index.d.ts +222 -7
- package/textarea/index.d.ts +32 -2
- package/toast/index.d.ts +219 -4
- package/toggle/index.d.ts +57 -2
- package/toggle-group/index.d.ts +143 -5
- package/toolbar/index.d.ts +33 -2
- package/tooltip/index.d.ts +214 -5
- package/utils/index.d.ts +169 -9
- package/a11y/active-descendant/active-descendant.d.ts +0 -42
- package/a11y/visually-hidden/visually-hidden-state.d.ts +0 -17
- package/a11y/visually-hidden/visually-hidden.d.ts +0 -50
- package/accordion/accordion/accordion-state.d.ts +0 -17
- package/accordion/accordion/accordion.d.ts +0 -50
- package/accordion/accordion-content/accordion-content.d.ts +0 -40
- package/accordion/accordion-item/accordion-item-state.d.ts +0 -17
- package/accordion/accordion-item/accordion-item.d.ts +0 -50
- package/accordion/accordion-trigger/accordion-trigger.d.ts +0 -31
- package/accordion/config/accordion-config.d.ts +0 -32
- package/ai/prompt-composer/prompt-composer-state.d.ts +0 -17
- package/ai/prompt-composer/prompt-composer.d.ts +0 -23
- package/ai/prompt-composer-dictation/prompt-composer-dictation-state.d.ts +0 -17
- package/ai/prompt-composer-dictation/prompt-composer-dictation.d.ts +0 -29
- package/ai/prompt-composer-input/prompt-composer-input-state.d.ts +0 -17
- package/ai/prompt-composer-input/prompt-composer-input.d.ts +0 -16
- package/ai/prompt-composer-submit/prompt-composer-submit-state.d.ts +0 -17
- package/ai/prompt-composer-submit/prompt-composer-submit.d.ts +0 -15
- package/ai/thread/thread-state.d.ts +0 -17
- package/ai/thread/thread.d.ts +0 -23
- package/ai/thread-message/thread-message-state.d.ts +0 -17
- package/ai/thread-message/thread-message.d.ts +0 -11
- package/ai/thread-suggestion/thread-suggestion-state.d.ts +0 -17
- package/ai/thread-suggestion/thread-suggestion.d.ts +0 -14
- package/ai/thread-viewport/thread-viewport-state.d.ts +0 -17
- package/ai/thread-viewport/thread-viewport.d.ts +0 -34
- package/autofill/autofill/autofill.d.ts +0 -19
- package/avatar/avatar/avatar-state.d.ts +0 -17
- package/avatar/avatar/avatar.d.ts +0 -29
- package/avatar/avatar-fallback/avatar-fallback.d.ts +0 -37
- package/avatar/avatar-image/avatar-image.d.ts +0 -27
- package/avatar/config/avatar-config.d.ts +0 -21
- package/button/button/button-state.d.ts +0 -17
- package/button/button/button.d.ts +0 -15
- package/button/button/setup-button.d.ts +0 -15
- package/checkbox/checkbox/checkbox-state.d.ts +0 -17
- package/checkbox/checkbox/checkbox.d.ts +0 -45
- package/combobox/combobox/combobox-state.d.ts +0 -17
- package/combobox/combobox/combobox.d.ts +0 -222
- package/combobox/combobox-button/combobox-button.d.ts +0 -18
- package/combobox/combobox-dropdown/combobox-dropdown.d.ts +0 -21
- package/combobox/combobox-input/combobox-input.d.ts +0 -36
- package/combobox/combobox-option/combobox-option.d.ts +0 -51
- package/combobox/combobox-portal/combobox-portal.d.ts +0 -37
- package/combobox/config/combobox-config.d.ts +0 -28
- package/combobox/utils.d.ts +0 -9
- package/common/header/header-token.d.ts +0 -10
- package/common/header/header.d.ts +0 -13
- package/common/types/orientation.d.ts +0 -1
- package/common/types/selection.d.ts +0 -1
- package/date-picker/config/date-picker-config.d.ts +0 -22
- package/date-picker/date-picker/date-picker-first-day-of-week.d.ts +0 -29
- package/date-picker/date-picker/date-picker-state.d.ts +0 -9
- package/date-picker/date-picker/date-picker.d.ts +0 -128
- package/date-picker/date-picker-cell/date-picker-cell.d.ts +0 -20
- package/date-picker/date-picker-cell-render/date-picker-cell-render-token.d.ts +0 -12
- package/date-picker/date-picker-cell-render/date-picker-cell-render.d.ts +0 -39
- package/date-picker/date-picker-date-button/date-picker-date-button-token.d.ts +0 -7
- package/date-picker/date-picker-date-button/date-picker-date-button.d.ts +0 -114
- package/date-picker/date-picker-grid/date-picker-grid.d.ts +0 -16
- package/date-picker/date-picker-label/date-picker-label-token.d.ts +0 -7
- package/date-picker/date-picker-label/date-picker-label.d.ts +0 -20
- package/date-picker/date-picker-next-month/date-picker-next-month.d.ts +0 -34
- package/date-picker/date-picker-previous-month/date-picker-previous-month.d.ts +0 -34
- package/date-picker/date-picker-row-render/date-picker-row-render-token.d.ts +0 -12
- package/date-picker/date-picker-row-render/date-picker-row-render.d.ts +0 -65
- package/date-picker/date-range-picker/date-range-picker-state.d.ts +0 -19
- package/date-picker/date-range-picker/date-range-picker.d.ts +0 -147
- package/date-time/date-adapter/date-adapter-token.d.ts +0 -11
- package/date-time/date-adapter/date-adapter.d.ts +0 -169
- package/date-time/native-date-adapter/native-date-adapter.d.ts +0 -106
- package/date-time-luxon/luxon-date-adapter/luxon-date-adapter.d.ts +0 -28
- package/dialog/config/dialog-config.d.ts +0 -41
- package/dialog/dialog/dialog-ref.d.ts +0 -45
- package/dialog/dialog/dialog-state.d.ts +0 -17
- package/dialog/dialog/dialog.d.ts +0 -37
- package/dialog/dialog/dialog.service.d.ts +0 -69
- package/dialog/dialog-description/dialog-description.d.ts +0 -12
- package/dialog/dialog-overlay/dialog-overlay.d.ts +0 -16
- package/dialog/dialog-title/dialog-title.d.ts +0 -12
- package/dialog/dialog-trigger/dialog-trigger.d.ts +0 -26
- package/file-upload/file-dropzone/file-drop-filter.d.ts +0 -2
- package/file-upload/file-dropzone/file-dropzone-state.d.ts +0 -17
- package/file-upload/file-dropzone/file-dropzone.d.ts +0 -55
- package/file-upload/file-upload/file-upload-state.d.ts +0 -17
- package/file-upload/file-upload/file-upload.d.ts +0 -72
- package/focus-trap/focus-trap/focus-trap-state.d.ts +0 -17
- package/focus-trap/focus-trap/focus-trap.d.ts +0 -85
- package/form-field/description/description.d.ts +0 -17
- package/form-field/error/error.d.ts +0 -32
- package/form-field/form-control/form-control-state.d.ts +0 -17
- package/form-field/form-control/form-control.d.ts +0 -44
- package/form-field/form-field/form-field-state.d.ts +0 -17
- package/form-field/form-field/form-field.d.ts +0 -119
- package/form-field/label/label.d.ts +0 -30
- package/input/input/input-state.d.ts +0 -17
- package/input/input/input.d.ts +0 -34
- package/input-otp/input-otp/input-otp-state.d.ts +0 -17
- package/input-otp/input-otp/input-otp.d.ts +0 -133
- package/input-otp/input-otp-input/input-otp-input.d.ts +0 -57
- package/input-otp/input-otp-slot/input-otp-slot.d.ts +0 -45
- package/interactions/config/interactions-config.d.ts +0 -30
- package/interactions/focus/focus-interaction.d.ts +0 -14
- package/interactions/focus/focus.d.ts +0 -19
- package/interactions/focus-visible/focus-visible-interaction.d.ts +0 -12
- package/interactions/focus-visible/focus-visible.d.ts +0 -19
- package/interactions/hover/hover-interaction.d.ts +0 -17
- package/interactions/hover/hover.d.ts +0 -31
- package/interactions/interactions/interactions.d.ts +0 -20
- package/interactions/move/move.d.ts +0 -114
- package/interactions/press/press-interaction.d.ts +0 -14
- package/interactions/press/press.d.ts +0 -26
- package/internal/exit-animation/exit-animation-manager.d.ts +0 -17
- package/internal/exit-animation/exit-animation.d.ts +0 -26
- package/internal/signals/explicit-effect.d.ts +0 -19
- package/internal/style-injector/style-injector.d.ts +0 -44
- package/internal/utilities/dom-removal.d.ts +0 -6
- package/internal/utilities/element-ref.d.ts +0 -6
- package/internal/utilities/mutation-observer.d.ts +0 -39
- package/internal/utilities/overflow.d.ts +0 -13
- package/internal/utilities/resize.d.ts +0 -31
- package/internal/utilities/scrolling.d.ts +0 -1
- package/listbox/listbox/listbox-state.d.ts +0 -17
- package/listbox/listbox/listbox.d.ts +0 -101
- package/listbox/listbox-header/listbox-header.d.ts +0 -9
- package/listbox/listbox-option/listbox-option.d.ts +0 -68
- package/listbox/listbox-section/listbox-section.d.ts +0 -9
- package/listbox/listbox-trigger/listbox-trigger.d.ts +0 -13
- package/menu/config/menu-config.d.ts +0 -44
- package/menu/menu/menu-token.d.ts +0 -11
- package/menu/menu/menu.d.ts +0 -22
- package/menu/menu-item/menu-item.d.ts +0 -30
- package/menu/menu-trigger/menu-trigger-state.d.ts +0 -17
- package/menu/menu-trigger/menu-trigger.d.ts +0 -98
- package/menu/submenu-trigger/submenu-trigger-state.d.ts +0 -17
- package/menu/submenu-trigger/submenu-trigger.d.ts +0 -88
- package/meter/meter/meter-state.d.ts +0 -17
- package/meter/meter/meter.d.ts +0 -27
- package/meter/meter-indicator/meter-indicator.d.ts +0 -7
- package/meter/meter-label/meter-label.d.ts +0 -10
- package/meter/meter-track/meter-track.d.ts +0 -5
- package/meter/meter-value/meter-value.d.ts +0 -5
- package/pagination/pagination/pagination-state.d.ts +0 -17
- package/pagination/pagination/pagination.d.ts +0 -45
- package/pagination/pagination-button/pagination-button.d.ts +0 -39
- package/pagination/pagination-first/pagination-first.d.ts +0 -28
- package/pagination/pagination-last/pagination-last.d.ts +0 -28
- package/pagination/pagination-next/pagination-next.d.ts +0 -31
- package/pagination/pagination-previous/pagination-previous.d.ts +0 -31
- package/popover/config/popover-config.d.ts +0 -64
- package/popover/popover/popover.d.ts +0 -18
- package/popover/popover-arrow/popover-arrow.d.ts +0 -6
- package/popover/popover-trigger/popover-trigger-state.d.ts +0 -19
- package/popover/popover-trigger/popover-trigger.d.ts +0 -128
- package/portal/offset.d.ts +0 -39
- package/portal/overlay-arrow.d.ts +0 -1
- package/portal/overlay-token.d.ts +0 -12
- package/portal/overlay.d.ts +0 -214
- package/portal/portal.d.ts +0 -94
- package/portal/scroll-strategy.d.ts +0 -23
- package/progress/progress/progress-state.d.ts +0 -17
- package/progress/progress/progress.d.ts +0 -61
- package/progress/progress-indicator/progress-indicator.d.ts +0 -17
- package/progress/progress-label/progress-label.d.ts +0 -14
- package/progress/progress-track/progress-track.d.ts +0 -9
- package/progress/progress-value/progress-value.d.ts +0 -9
- package/radio/radio-group/radio-group-state.d.ts +0 -18
- package/radio/radio-group/radio-group.d.ts +0 -54
- package/radio/radio-indicator/radio-indicator.d.ts +0 -21
- package/radio/radio-item/radio-item-state.d.ts +0 -18
- package/radio/radio-item/radio-item.d.ts +0 -45
- package/resize/resize/resize.d.ts +0 -26
- package/roving-focus/roving-focus-group/roving-focus-group-state.d.ts +0 -17
- package/roving-focus/roving-focus-group/roving-focus-group-token.d.ts +0 -21
- package/roving-focus/roving-focus-group/roving-focus-group.d.ts +0 -94
- package/roving-focus/roving-focus-item/roving-focus-item.d.ts +0 -53
- package/search/search/search-state.d.ts +0 -17
- package/search/search/search.d.ts +0 -36
- package/search/search-clear/search-clear.d.ts +0 -16
- package/select/config/select-config.d.ts +0 -28
- package/select/native-select/native-select-state.d.ts +0 -17
- package/select/native-select/native-select.d.ts +0 -22
- package/select/select/select-state.d.ts +0 -17
- package/select/select/select.d.ts +0 -172
- package/select/select-dropdown/select-dropdown.d.ts +0 -17
- package/select/select-option/select-option.d.ts +0 -51
- package/select/select-portal/select-portal.d.ts +0 -37
- package/separator/config/separator-config.d.ts +0 -22
- package/separator/separator/separator.d.ts +0 -11
- package/slider/range-slider/range-slider/range-slider-state.d.ts +0 -17
- package/slider/range-slider/range-slider/range-slider.d.ts +0 -115
- package/slider/range-slider/range-slider-range/range-slider-range.d.ts +0 -12
- package/slider/range-slider/range-slider-thumb/range-slider-thumb.d.ts +0 -44
- package/slider/range-slider/range-slider-track/range-slider-track.d.ts +0 -22
- package/slider/slider/slider-state.d.ts +0 -17
- package/slider/slider/slider.d.ts +0 -58
- package/slider/slider-range/slider-range.d.ts +0 -12
- package/slider/slider-thumb/slider-thumb.d.ts +0 -29
- package/slider/slider-track/slider-track.d.ts +0 -22
- package/switch/switch/switch-state.d.ts +0 -17
- package/switch/switch/switch.d.ts +0 -49
- package/switch/switch-thumb/switch-thumb.d.ts +0 -13
- package/tabs/config/tabs-config.d.ts +0 -32
- package/tabs/tab-button/tab-button.d.ts +0 -59
- package/tabs/tab-list/tab-list.d.ts +0 -12
- package/tabs/tab-panel/tab-panel-token.d.ts +0 -8
- package/tabs/tab-panel/tab-panel.d.ts +0 -38
- package/tabs/tabset/tabset-state.d.ts +0 -17
- package/tabs/tabset/tabset.d.ts +0 -71
- package/textarea/textarea/textarea-state.d.ts +0 -17
- package/textarea/textarea/textarea.d.ts +0 -19
- package/toast/config/toast-config.d.ts +0 -70
- package/toast/toast/toast-context.d.ts +0 -3
- package/toast/toast/toast-manager.d.ts +0 -49
- package/toast/toast/toast-options.d.ts +0 -34
- package/toast/toast/toast-timer.d.ts +0 -14
- package/toast/toast/toast.d.ts +0 -72
- package/toggle/toggle/toggle-state.d.ts +0 -17
- package/toggle/toggle/toggle.d.ts +0 -44
- package/toggle-group/config/toggle-group-config.d.ts +0 -32
- package/toggle-group/toggle-group/toggle-group-state.d.ts +0 -17
- package/toggle-group/toggle-group/toggle-group.d.ts +0 -64
- package/toggle-group/toggle-group-item/toggle-group-item-state.d.ts +0 -17
- package/toggle-group/toggle-group-item/toggle-group-item.d.ts +0 -34
- package/toolbar/toolbar/toolbar-state.d.ts +0 -17
- package/toolbar/toolbar/toolbar.d.ts +0 -20
- package/tooltip/config/tooltip-config.d.ts +0 -59
- package/tooltip/tooltip/tooltip.d.ts +0 -17
- package/tooltip/tooltip-arrow/tooltip-arrow.d.ts +0 -6
- package/tooltip/tooltip-text-content/tooltip-text-content.component.d.ts +0 -14
- package/tooltip/tooltip-trigger/tooltip-trigger-state.d.ts +0 -17
- package/tooltip/tooltip-trigger/tooltip-trigger.d.ts +0 -126
- package/utils/forms/providers.d.ts +0 -6
- package/utils/forms/status.d.ts +0 -16
- package/utils/forms/types.d.ts +0 -8
- package/utils/helpers/attributes.d.ts +0 -2
- package/utils/helpers/disposables.d.ts +0 -40
- package/utils/helpers/unique-id.d.ts +0 -6
- package/utils/helpers/validators.d.ts +0 -51
- package/utils/observables/take-until-destroyed.d.ts +0 -10
- package/utils/signals/index.d.ts +0 -22
package/pagination/index.d.ts
CHANGED
|
@@ -1,7 +1,211 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as ng_primitives_state from 'ng-primitives/state';
|
|
3
|
+
import * as ng_primitives_pagination from 'ng-primitives/pagination';
|
|
4
|
+
import { NumberInput, BooleanInput } from '@angular/cdk/coercion';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The `NgpPaginationButton` directive is used to create a pagination button.
|
|
8
|
+
*/
|
|
9
|
+
declare class NgpPaginationButton {
|
|
10
|
+
/**
|
|
11
|
+
* Access the pagination state.
|
|
12
|
+
*/
|
|
13
|
+
protected readonly paginationState: _angular_core.Signal<ng_primitives_state.State<ng_primitives_pagination.NgpPagination>>;
|
|
14
|
+
/**
|
|
15
|
+
* Define the page this button represents.
|
|
16
|
+
*/
|
|
17
|
+
readonly page: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the button is disabled.
|
|
20
|
+
*/
|
|
21
|
+
readonly buttonDisabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the button is disabled.
|
|
24
|
+
*/
|
|
25
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
26
|
+
/**
|
|
27
|
+
* Whether this page is the currently selected page.
|
|
28
|
+
*/
|
|
29
|
+
protected readonly selected: _angular_core.Signal<boolean>;
|
|
30
|
+
constructor();
|
|
31
|
+
/**
|
|
32
|
+
* Go to the page this button represents.
|
|
33
|
+
*/
|
|
34
|
+
goToPage(): void;
|
|
35
|
+
/**
|
|
36
|
+
* A click event may not be fired if this is on an anchor tag and the href is empty.
|
|
37
|
+
* This is a workaround to ensure the click event is fired.
|
|
38
|
+
*/
|
|
39
|
+
protected onEnter(event: KeyboardEvent): void;
|
|
40
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpPaginationButton, never>;
|
|
41
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpPaginationButton, "[ngpPaginationButton]", ["ngpPaginationButton"], { "page": { "alias": "ngpPaginationButtonPage"; "required": true; "isSignal": true; }; "buttonDisabled": { "alias": "ngpPaginationButtonDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The `NgpPaginationFirst` directive is used to create a pagination button that navigates to the first page.
|
|
46
|
+
*/
|
|
47
|
+
declare class NgpPaginationFirst {
|
|
48
|
+
/**
|
|
49
|
+
* Access the pagination state.
|
|
50
|
+
*/
|
|
51
|
+
protected readonly paginationState: _angular_core.Signal<ng_primitives_state.State<ng_primitives_pagination.NgpPagination>>;
|
|
52
|
+
/**
|
|
53
|
+
* Whether the button is disabled.
|
|
54
|
+
*/
|
|
55
|
+
readonly buttonDisabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
56
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
57
|
+
constructor();
|
|
58
|
+
/**
|
|
59
|
+
* Go to the first page.
|
|
60
|
+
*/
|
|
61
|
+
goToFirstPage(): void;
|
|
62
|
+
/**
|
|
63
|
+
* A click event may not be fired if this is on an anchor tag and the href is empty.
|
|
64
|
+
* This is a workaround to ensure the click event is fired.
|
|
65
|
+
*/
|
|
66
|
+
protected onEnter(event: KeyboardEvent): void;
|
|
67
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpPaginationFirst, never>;
|
|
68
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpPaginationFirst, "[ngpPaginationFirst]", ["ngpPaginationFirst"], { "buttonDisabled": { "alias": "ngpPaginationFirstDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The `NgpPaginationLast` directive is used to create a pagination button that navigates to the last page.
|
|
73
|
+
*/
|
|
74
|
+
declare class NgpPaginationLast {
|
|
75
|
+
/**
|
|
76
|
+
* Access the pagination state.
|
|
77
|
+
*/
|
|
78
|
+
private readonly paginationState;
|
|
79
|
+
/**
|
|
80
|
+
* Whether the button is disabled.
|
|
81
|
+
*/
|
|
82
|
+
readonly buttonDisabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
83
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
84
|
+
constructor();
|
|
85
|
+
/**
|
|
86
|
+
* Go to the last page.
|
|
87
|
+
*/
|
|
88
|
+
goToLastPage(): void;
|
|
89
|
+
/**
|
|
90
|
+
* A click event may not be fired if this is on an anchor tag and the href is empty.
|
|
91
|
+
* This is a workaround to ensure the click event is fired.
|
|
92
|
+
*/
|
|
93
|
+
protected onEnter(event: KeyboardEvent): void;
|
|
94
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpPaginationLast, never>;
|
|
95
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpPaginationLast, "[ngpPaginationLast]", ["ngpPaginationLast"], { "buttonDisabled": { "alias": "ngpPaginationLastDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* The `NgpPaginationNext` directive is used to create a pagination button that navigates to the next page.
|
|
100
|
+
*/
|
|
101
|
+
declare class NgpPaginationNext {
|
|
102
|
+
/**
|
|
103
|
+
* Access the pagination state.
|
|
104
|
+
*/
|
|
105
|
+
protected readonly paginationState: _angular_core.Signal<ng_primitives_state.State<ng_primitives_pagination.NgpPagination>>;
|
|
106
|
+
/**
|
|
107
|
+
* Whether the button is disabled.
|
|
108
|
+
*/
|
|
109
|
+
readonly buttonDisabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
110
|
+
/**
|
|
111
|
+
* Whether the button is disabled.
|
|
112
|
+
*/
|
|
113
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
114
|
+
constructor();
|
|
115
|
+
/**
|
|
116
|
+
* Go to the next page.
|
|
117
|
+
*/
|
|
118
|
+
goToNextPage(): void;
|
|
119
|
+
/**
|
|
120
|
+
* A click event may not be fired if this is on an anchor tag and the href is empty.
|
|
121
|
+
* This is a workaround to ensure the click event is fired.
|
|
122
|
+
*/
|
|
123
|
+
protected onEnter(event: KeyboardEvent): void;
|
|
124
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpPaginationNext, never>;
|
|
125
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpPaginationNext, "[ngpPaginationNext]", ["ngpPaginationNext"], { "buttonDisabled": { "alias": "ngpPaginationNextDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The `NgpPaginationPrevious` directive is used to create a pagination button that navigates to the previous page.
|
|
130
|
+
*/
|
|
131
|
+
declare class NgpPaginationPrevious {
|
|
132
|
+
/**
|
|
133
|
+
* Access the pagination state.
|
|
134
|
+
*/
|
|
135
|
+
protected readonly paginationState: _angular_core.Signal<ng_primitives_state.State<ng_primitives_pagination.NgpPagination>>;
|
|
136
|
+
/**
|
|
137
|
+
* Whether the button is disabled.
|
|
138
|
+
*/
|
|
139
|
+
readonly buttonDisabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
140
|
+
/**
|
|
141
|
+
* Whether the button is disabled.
|
|
142
|
+
*/
|
|
143
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
144
|
+
constructor();
|
|
145
|
+
/**
|
|
146
|
+
* Go to the previous page.
|
|
147
|
+
*/
|
|
148
|
+
goToPreviousPage(): void;
|
|
149
|
+
/**
|
|
150
|
+
* A click event may not be fired if this is on an anchor tag and the href is empty.
|
|
151
|
+
* This is a workaround to ensure the click event is fired.
|
|
152
|
+
*/
|
|
153
|
+
protected onEnter(event: KeyboardEvent): void;
|
|
154
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpPaginationPrevious, never>;
|
|
155
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpPaginationPrevious, "[ngpPaginationPrevious]", ["ngpPaginationPrevious"], { "buttonDisabled": { "alias": "ngpPaginationPreviousDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* The `NgpPagination` directive is used to create a pagination control.
|
|
160
|
+
*/
|
|
161
|
+
declare class NgpPagination {
|
|
162
|
+
/**
|
|
163
|
+
* The currently selected page.
|
|
164
|
+
*/
|
|
165
|
+
readonly page: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
166
|
+
/**
|
|
167
|
+
* The event that is fired when the page changes.
|
|
168
|
+
*/
|
|
169
|
+
readonly pageChange: _angular_core.OutputEmitterRef<number>;
|
|
170
|
+
/**
|
|
171
|
+
* The total number of pages.
|
|
172
|
+
*/
|
|
173
|
+
readonly pageCount: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
174
|
+
/**
|
|
175
|
+
* Whether the pagination is disabled.
|
|
176
|
+
*/
|
|
177
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
178
|
+
/**
|
|
179
|
+
* Determine if we are on the first page.
|
|
180
|
+
* @internal
|
|
181
|
+
*/
|
|
182
|
+
readonly firstPage: _angular_core.Signal<boolean>;
|
|
183
|
+
/**
|
|
184
|
+
* Determine if we are on the last page.
|
|
185
|
+
* @internal
|
|
186
|
+
*/
|
|
187
|
+
readonly lastPage: _angular_core.Signal<boolean>;
|
|
188
|
+
/**
|
|
189
|
+
* The control state for the pagination.
|
|
190
|
+
* @internal
|
|
191
|
+
*/
|
|
192
|
+
private readonly state;
|
|
193
|
+
/**
|
|
194
|
+
* Go to the specified page.
|
|
195
|
+
* @param page The page to go to.
|
|
196
|
+
*/
|
|
197
|
+
goToPage(page: number): void;
|
|
198
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpPagination, never>;
|
|
199
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpPagination, "[ngpPagination]", ["ngpPagination"], { "page": { "alias": "ngpPaginationPage"; "required": false; "isSignal": true; }; "pageCount": { "alias": "ngpPaginationPageCount"; "required": false; "isSignal": true; }; "disabled": { "alias": "ngpPaginationDisabled"; "required": false; "isSignal": true; }; }, { "pageChange": "ngpPaginationPageChange"; }, never, never, true, never>;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Provides the Pagination state.
|
|
204
|
+
*/
|
|
205
|
+
declare const providePaginationState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
206
|
+
/**
|
|
207
|
+
* Injects the Pagination state.
|
|
208
|
+
*/
|
|
209
|
+
declare const injectPaginationState: <U = NgpPagination>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
210
|
+
|
|
211
|
+
export { NgpPagination, NgpPaginationButton, NgpPaginationFirst, NgpPaginationLast, NgpPaginationNext, NgpPaginationPrevious, injectPaginationState, providePaginationState };
|
package/popover/index.d.ts
CHANGED
|
@@ -1,6 +1,225 @@
|
|
|
1
|
+
import * as ng_primitives_portal from 'ng-primitives/portal';
|
|
2
|
+
import { NgpOffset, NgpOverlayContent, NgpOffsetInput, NgpOverlay } from 'ng-primitives/portal';
|
|
1
3
|
export { injectOverlayContext as injectPopoverContext } from 'ng-primitives/portal';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import * as _angular_core from '@angular/core';
|
|
5
|
+
import { Provider, OnDestroy, InjectOptions, Signal } from '@angular/core';
|
|
6
|
+
import { Placement } from '@floating-ui/dom';
|
|
7
|
+
import * as ng_primitives_state from 'ng-primitives/state';
|
|
8
|
+
import { State } from 'ng-primitives/state';
|
|
9
|
+
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
10
|
+
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
11
|
+
import * as i1 from 'ng-primitives/focus-trap';
|
|
12
|
+
|
|
13
|
+
interface NgpPopoverConfig {
|
|
14
|
+
/**
|
|
15
|
+
* Define the offset of the popover relative to the trigger.
|
|
16
|
+
* Can be a number (applies to mainAxis) or an object with mainAxis, crossAxis, and alignmentAxis.
|
|
17
|
+
* @default 4
|
|
18
|
+
*/
|
|
19
|
+
offset: NgpOffset;
|
|
20
|
+
/**
|
|
21
|
+
* Define the placement of the popover relative to the trigger.
|
|
22
|
+
* @default 'bottom'
|
|
23
|
+
*/
|
|
24
|
+
placement: Placement;
|
|
25
|
+
/**
|
|
26
|
+
* Define the delay before the popover is shown.
|
|
27
|
+
* @default 0
|
|
28
|
+
*/
|
|
29
|
+
showDelay: number;
|
|
30
|
+
/**
|
|
31
|
+
* Define the delay before the popover is hidden.
|
|
32
|
+
* @default 0
|
|
33
|
+
*/
|
|
34
|
+
hideDelay: number;
|
|
35
|
+
/**
|
|
36
|
+
* Define whether the popover should flip when there is not enough space for the popover.
|
|
37
|
+
* @default true
|
|
38
|
+
*/
|
|
39
|
+
flip: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Define the container element or selector in to which the popover should be attached.
|
|
42
|
+
* @default 'body'
|
|
43
|
+
*/
|
|
44
|
+
container: HTMLElement | string | null;
|
|
45
|
+
/**
|
|
46
|
+
* Define whether the popover should close when clicking outside of it.
|
|
47
|
+
* @default true
|
|
48
|
+
*/
|
|
49
|
+
closeOnOutsideClick: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Define whether the popover should close when the escape key is pressed.
|
|
52
|
+
* @default true
|
|
53
|
+
*/
|
|
54
|
+
closeOnEscape: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Defines how the popover behaves when the window is scrolled.
|
|
57
|
+
* @default scroll
|
|
58
|
+
*/
|
|
59
|
+
scrollBehavior: 'reposition' | 'block';
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Provide the default Popover configuration
|
|
63
|
+
* @param config The Popover configuration
|
|
64
|
+
* @returns The provider
|
|
65
|
+
*/
|
|
66
|
+
declare function providePopoverConfig(config: Partial<NgpPopoverConfig>): Provider[];
|
|
67
|
+
|
|
68
|
+
declare class NgpPopoverArrow {
|
|
69
|
+
constructor();
|
|
70
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpPopoverArrow, never>;
|
|
71
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpPopoverArrow, "[ngpPopoverArrow]", ["ngpPopoverArrow"], {}, {}, never, never, true, never>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Apply the `ngpPopoverTrigger` directive to an element that triggers the popover to show.
|
|
76
|
+
*/
|
|
77
|
+
declare class NgpPopoverTrigger<T = null> implements OnDestroy {
|
|
78
|
+
/**
|
|
79
|
+
* Access the trigger element
|
|
80
|
+
*/
|
|
81
|
+
private readonly trigger;
|
|
82
|
+
/**
|
|
83
|
+
* Access the injector.
|
|
84
|
+
*/
|
|
85
|
+
private readonly injector;
|
|
86
|
+
/**
|
|
87
|
+
* Access the view container reference.
|
|
88
|
+
*/
|
|
89
|
+
private readonly viewContainerRef;
|
|
90
|
+
/**
|
|
91
|
+
* Access the global popover configuration.
|
|
92
|
+
*/
|
|
93
|
+
private readonly config;
|
|
94
|
+
/**
|
|
95
|
+
* Access the popover template ref.
|
|
96
|
+
*/
|
|
97
|
+
readonly popover: _angular_core.InputSignal<NgpOverlayContent<T> | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Define if the trigger should be disabled.
|
|
100
|
+
* @default false
|
|
101
|
+
*/
|
|
102
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
103
|
+
/**
|
|
104
|
+
* Define the placement of the popover relative to the trigger.
|
|
105
|
+
* @default 'top'
|
|
106
|
+
*/
|
|
107
|
+
readonly placement: _angular_core.InputSignal<NgpPopoverPlacement>;
|
|
108
|
+
/**
|
|
109
|
+
* Define the offset of the popover relative to the trigger.
|
|
110
|
+
* Can be a number (applies to mainAxis) or an object with mainAxis, crossAxis, and alignmentAxis.
|
|
111
|
+
* @default 0
|
|
112
|
+
*/
|
|
113
|
+
readonly offset: _angular_core.InputSignalWithTransform<NgpOffset, NgpOffsetInput>;
|
|
114
|
+
/**
|
|
115
|
+
* Define the delay before the popover is displayed.
|
|
116
|
+
* @default 0
|
|
117
|
+
*/
|
|
118
|
+
readonly showDelay: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
119
|
+
/**
|
|
120
|
+
* Define the delay before the popover is hidden.
|
|
121
|
+
* @default 0
|
|
122
|
+
*/
|
|
123
|
+
readonly hideDelay: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
124
|
+
/**
|
|
125
|
+
* Define whether the popover should flip when there is not enough space for the popover.
|
|
126
|
+
* @default true
|
|
127
|
+
*/
|
|
128
|
+
readonly flip: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
129
|
+
/**
|
|
130
|
+
* Define the container in which the popover should be attached.
|
|
131
|
+
* @default document.body
|
|
132
|
+
*/
|
|
133
|
+
readonly container: _angular_core.InputSignal<string | HTMLElement | null>;
|
|
134
|
+
/**
|
|
135
|
+
* Define whether the popover should close when clicking outside of it.
|
|
136
|
+
* @default true
|
|
137
|
+
*/
|
|
138
|
+
readonly closeOnOutsideClick: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
139
|
+
/**
|
|
140
|
+
* Define whether the popover should close when the escape key is pressed.
|
|
141
|
+
* @default true
|
|
142
|
+
*/
|
|
143
|
+
readonly closeOnEscape: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
144
|
+
/**
|
|
145
|
+
* Defines how the popover behaves when the window is scrolled.
|
|
146
|
+
* @default 'reposition'
|
|
147
|
+
*/
|
|
148
|
+
readonly scrollBehavior: _angular_core.InputSignal<"reposition" | "block">;
|
|
149
|
+
/**
|
|
150
|
+
* Provide context to the popover. This can be used to pass data to the popover content.
|
|
151
|
+
*/
|
|
152
|
+
readonly context: _angular_core.InputSignal<T | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* Define an anchor element for positioning the popover.
|
|
155
|
+
* If provided, the popover will be positioned relative to this element instead of the trigger.
|
|
156
|
+
*/
|
|
157
|
+
readonly anchor: _angular_core.InputSignal<HTMLElement | null>;
|
|
158
|
+
/**
|
|
159
|
+
* The overlay that manages the popover
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
162
|
+
readonly overlay: _angular_core.WritableSignal<NgpOverlay<T> | null>;
|
|
163
|
+
/**
|
|
164
|
+
* The open state of the popover.
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
167
|
+
readonly open: _angular_core.Signal<boolean>;
|
|
168
|
+
/**
|
|
169
|
+
* Event emitted when the popover open state changes.
|
|
170
|
+
*/
|
|
171
|
+
readonly openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* The popover trigger state.
|
|
174
|
+
*/
|
|
175
|
+
readonly state: ng_primitives_state.CreatedState<NgpPopoverTrigger<T>>;
|
|
176
|
+
ngOnDestroy(): void;
|
|
177
|
+
protected toggle(event: MouseEvent): void;
|
|
178
|
+
/**
|
|
179
|
+
* Show the popover.
|
|
180
|
+
* @returns A promise that resolves when the popover has been shown
|
|
181
|
+
*/
|
|
182
|
+
show(): Promise<void>;
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
* Hide the popover.
|
|
186
|
+
* @returns A promise that resolves when the popover has been hidden
|
|
187
|
+
*/
|
|
188
|
+
hide(origin?: FocusOrigin): Promise<void>;
|
|
189
|
+
/**
|
|
190
|
+
* Create the overlay that will contain the popover
|
|
191
|
+
*/
|
|
192
|
+
private createOverlay;
|
|
193
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpPopoverTrigger<any>, never>;
|
|
194
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpPopoverTrigger<any>, "[ngpPopoverTrigger]", ["ngpPopoverTrigger"], { "popover": { "alias": "ngpPopoverTrigger"; "required": false; "isSignal": true; }; "disabled": { "alias": "ngpPopoverTriggerDisabled"; "required": false; "isSignal": true; }; "placement": { "alias": "ngpPopoverTriggerPlacement"; "required": false; "isSignal": true; }; "offset": { "alias": "ngpPopoverTriggerOffset"; "required": false; "isSignal": true; }; "showDelay": { "alias": "ngpPopoverTriggerShowDelay"; "required": false; "isSignal": true; }; "hideDelay": { "alias": "ngpPopoverTriggerHideDelay"; "required": false; "isSignal": true; }; "flip": { "alias": "ngpPopoverTriggerFlip"; "required": false; "isSignal": true; }; "container": { "alias": "ngpPopoverTriggerContainer"; "required": false; "isSignal": true; }; "closeOnOutsideClick": { "alias": "ngpPopoverTriggerCloseOnOutsideClick"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "ngpPopoverTriggerCloseOnEscape"; "required": false; "isSignal": true; }; "scrollBehavior": { "alias": "ngpPopoverTriggerScrollBehavior"; "required": false; "isSignal": true; }; "context": { "alias": "ngpPopoverTriggerContext"; "required": false; "isSignal": true; }; "anchor": { "alias": "ngpPopoverTriggerAnchor"; "required": false; "isSignal": true; }; }, { "openChange": "ngpPopoverTriggerOpenChange"; }, never, never, true, never>;
|
|
195
|
+
}
|
|
196
|
+
type NgpPopoverPlacement = 'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end';
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Provides the PopoverTrigger state.
|
|
200
|
+
*/
|
|
201
|
+
declare const providePopoverTriggerState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
202
|
+
/**
|
|
203
|
+
* Injects the PopoverTrigger state.
|
|
204
|
+
*/
|
|
205
|
+
declare const injectPopoverTriggerState: <T>(options?: InjectOptions) => Signal<State<NgpPopoverTrigger<T>>>;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Apply the `ngpPopover` directive to an element that represents the popover. This typically would be a `div` inside an `ng-template`.
|
|
209
|
+
*/
|
|
210
|
+
declare class NgpPopover {
|
|
211
|
+
/**
|
|
212
|
+
* Access the overlay.
|
|
213
|
+
*/
|
|
214
|
+
protected readonly overlay: ng_primitives_portal.NgpOverlay<unknown>;
|
|
215
|
+
/**
|
|
216
|
+
* The unique id of the tooltip.
|
|
217
|
+
*/
|
|
218
|
+
readonly id: _angular_core.InputSignal<string>;
|
|
219
|
+
constructor();
|
|
220
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgpPopover, never>;
|
|
221
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgpPopover, "[ngpPopover]", ["ngpPopover"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.NgpFocusTrap; inputs: {}; outputs: {}; }]>;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export { NgpPopover, NgpPopoverArrow, NgpPopoverTrigger, injectPopoverTriggerState, providePopoverConfig, providePopoverTriggerState };
|
|
225
|
+
export type { NgpPopoverConfig, NgpPopoverPlacement };
|