ng-primitives 0.89.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/index.d.ts +60 -7
- 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 +21 -21
- package/fesm2022/ng-primitives-breadcrumbs.mjs.map +1 -1
- 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 +114 -108
- 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 +28 -28
- 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/breadcrumbs/breadcrumb-ellipsis/breadcrumb-ellipsis.d.ts +0 -8
- package/breadcrumbs/breadcrumb-item/breadcrumb-item.d.ts +0 -8
- package/breadcrumbs/breadcrumb-link/breadcrumb-link.d.ts +0 -9
- package/breadcrumbs/breadcrumb-list/breadcrumb-list.d.ts +0 -8
- package/breadcrumbs/breadcrumb-page/breadcrumb-page.d.ts +0 -8
- package/breadcrumbs/breadcrumb-separator/breadcrumb-separator.d.ts +0 -8
- package/breadcrumbs/breadcrumbs/breadcrumbs.d.ts +0 -8
- 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 -129
- 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 -149
- 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
|
@@ -113,10 +113,10 @@ class NgpDatePickerCellRender {
|
|
|
113
113
|
ngOnDestroy() {
|
|
114
114
|
this.viewRefs.forEach(viewRef => viewRef.destroy());
|
|
115
115
|
}
|
|
116
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
117
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerCellRender, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
117
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.9", type: NgpDatePickerCellRender, isStandalone: true, selector: "[ngpDatePickerCellRender]", providers: [{ provide: NgpDatePickerCellRenderToken, useExisting: NgpDatePickerCellRender }], exportAs: ["ngpDatePickerCellRender"], ngImport: i0 }); }
|
|
118
118
|
}
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerCellRender, decorators: [{
|
|
120
120
|
type: Directive,
|
|
121
121
|
args: [{
|
|
122
122
|
selector: '[ngpDatePickerCellRender]',
|
|
@@ -180,18 +180,18 @@ class NgpDatePickerCell {
|
|
|
180
180
|
/**
|
|
181
181
|
* Access the child date picker date button.
|
|
182
182
|
*/
|
|
183
|
-
this.datePickerButton = contentChild(NgpDatePickerDateButtonToken, {
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
this.datePickerButton = contentChild(NgpDatePickerDateButtonToken, ...(ngDevMode ? [{ debugName: "datePickerButton", descendants: true }] : [{
|
|
184
|
+
descendants: true,
|
|
185
|
+
}]));
|
|
186
186
|
/**
|
|
187
187
|
* Access the label id.
|
|
188
188
|
*/
|
|
189
|
-
this.labelId = computed(() => this.state().label()?.id());
|
|
189
|
+
this.labelId = computed(() => this.state().label()?.id(), ...(ngDevMode ? [{ debugName: "labelId" }] : []));
|
|
190
190
|
}
|
|
191
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
192
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
191
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
192
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.3.9", type: NgpDatePickerCell, isStandalone: true, selector: "[ngpDatePickerCell]", host: { attributes: { "role": "gridcell" }, properties: { "attr.data-selected": "datePickerButton()?.selected() ? \"\" : null", "attr.aria-selected": "datePickerButton()?.selected()", "attr.aria-disabled": "datePickerButton()?.disabled()", "attr.data-disabled": "datePickerButton()?.disabled() ? \"\" : null", "attr.aria-labelledby": "labelId()" } }, queries: [{ propertyName: "datePickerButton", first: true, predicate: NgpDatePickerDateButtonToken, descendants: true, isSignal: true }], exportAs: ["ngpDatePickerCell"], ngImport: i0 }); }
|
|
193
193
|
}
|
|
194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerCell, decorators: [{
|
|
195
195
|
type: Directive,
|
|
196
196
|
args: [{
|
|
197
197
|
selector: '[ngpDatePickerCell]',
|
|
@@ -205,7 +205,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
205
205
|
'[attr.aria-labelledby]': 'labelId()',
|
|
206
206
|
},
|
|
207
207
|
}]
|
|
208
|
-
}]
|
|
208
|
+
}], propDecorators: { datePickerButton: [{ type: i0.ContentChild, args: [i0.forwardRef(() => NgpDatePickerDateButtonToken), { ...{
|
|
209
|
+
descendants: true,
|
|
210
|
+
}, isSignal: true }] }] } });
|
|
209
211
|
|
|
210
212
|
/**
|
|
211
213
|
* A button that represents a date in the date picker grid.
|
|
@@ -235,31 +237,31 @@ class NgpDatePickerDateButton {
|
|
|
235
237
|
/**
|
|
236
238
|
* Determine if this is the focused date.
|
|
237
239
|
*/
|
|
238
|
-
this.focused = computed(() => this.dateAdapter.isSameDay(this.date, this.state().focusedDate()));
|
|
240
|
+
this.focused = computed(() => this.dateAdapter.isSameDay(this.date, this.state().focusedDate()), ...(ngDevMode ? [{ debugName: "focused" }] : []));
|
|
239
241
|
/**
|
|
240
242
|
* Determine if this is the selected date.
|
|
241
243
|
*/
|
|
242
|
-
this.selected = computed(() => this.state().isSelected(this.date));
|
|
244
|
+
this.selected = computed(() => this.state().isSelected(this.date), ...(ngDevMode ? [{ debugName: "selected" }] : []));
|
|
243
245
|
/**
|
|
244
246
|
* Determine if this is the start date of the range.
|
|
245
247
|
*/
|
|
246
|
-
this.start = computed(() => this.state().isStartOfRange(this.date));
|
|
248
|
+
this.start = computed(() => this.state().isStartOfRange(this.date), ...(ngDevMode ? [{ debugName: "start" }] : []));
|
|
247
249
|
/**
|
|
248
250
|
* Determine if this is the end date of the range.
|
|
249
251
|
*/
|
|
250
|
-
this.end = computed(() => this.state().isEndOfRange(this.date));
|
|
252
|
+
this.end = computed(() => this.state().isEndOfRange(this.date), ...(ngDevMode ? [{ debugName: "end" }] : []));
|
|
251
253
|
/**
|
|
252
254
|
* Determine if this is between the start and end dates of the range.
|
|
253
255
|
*/
|
|
254
|
-
this.betweenRange = computed(() => this.state().isBetweenRange(this.date));
|
|
256
|
+
this.betweenRange = computed(() => this.state().isBetweenRange(this.date), ...(ngDevMode ? [{ debugName: "betweenRange" }] : []));
|
|
255
257
|
/**
|
|
256
258
|
* Determine if this date is outside the current month.
|
|
257
259
|
*/
|
|
258
|
-
this.outside = computed(() => !this.dateAdapter.isSameMonth(this.date, this.state().focusedDate()));
|
|
260
|
+
this.outside = computed(() => !this.dateAdapter.isSameMonth(this.date, this.state().focusedDate()), ...(ngDevMode ? [{ debugName: "outside" }] : []));
|
|
259
261
|
/**
|
|
260
262
|
* Determine if this date is today.
|
|
261
263
|
*/
|
|
262
|
-
this.today = computed(() => this.dateAdapter.isSameDay(this.date, this.dateAdapter.now()));
|
|
264
|
+
this.today = computed(() => this.dateAdapter.isSameDay(this.date, this.dateAdapter.now()), ...(ngDevMode ? [{ debugName: "today" }] : []));
|
|
263
265
|
/**
|
|
264
266
|
* Determine if this date is disabled.
|
|
265
267
|
* @internal
|
|
@@ -277,7 +279,7 @@ class NgpDatePickerDateButton {
|
|
|
277
279
|
return true;
|
|
278
280
|
}
|
|
279
281
|
return false;
|
|
280
|
-
});
|
|
282
|
+
}, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
281
283
|
/**
|
|
282
284
|
* Determine if the element is a button.
|
|
283
285
|
*/
|
|
@@ -422,10 +424,10 @@ class NgpDatePickerDateButton {
|
|
|
422
424
|
getDirection() {
|
|
423
425
|
return getComputedStyle(this.elementRef.nativeElement).direction === 'rtl' ? 'rtl' : 'ltr';
|
|
424
426
|
}
|
|
425
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
426
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
427
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerDateButton, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
428
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.9", type: NgpDatePickerDateButton, isStandalone: true, selector: "[ngpDatePickerDateButton]", host: { listeners: { "click": "select()", "keydown.enter": "select($event)", "keydown.space": "select($event)", "keydown.arrowLeft": "focusPrevious($event)", "keydown.arrowRight": "focusNext($event)", "keydown.arrowUp": "focusAbove($event)", "keydown.arrowDown": "focusBelow($event)", "keydown.home": "focusFirst($event)", "keydown.end": "focusLast($event)", "keydown.pageUp": "focusPreviousMonth($event)", "keydown.pageDown": "focusNextMonth($event)" }, properties: { "attr.role": "!isButton ? \"button\" : null", "attr.tabindex": "focused() ? 0 : -1", "attr.data-selected": "selected() ? \"\" : null", "attr.aria-disabled": "disabled()", "attr.data-outside-month": "outside() ? \"\" : null", "attr.data-today": "today() ? \"\" : null", "attr.data-range-start": "start() ? \"\" : null", "attr.data-range-end": "end() ? \"\" : null", "attr.data-range-between": "betweenRange() ? \"\" : null" } }, providers: [{ provide: NgpDatePickerDateButtonToken, useExisting: NgpDatePickerDateButton }], exportAs: ["ngpDatePickerDateButton"], ngImport: i0 }); }
|
|
427
429
|
}
|
|
428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerDateButton, decorators: [{
|
|
429
431
|
type: Directive,
|
|
430
432
|
args: [{
|
|
431
433
|
selector: '[ngpDatePickerDateButton]',
|
|
@@ -490,12 +492,12 @@ class NgpDatePickerGrid {
|
|
|
490
492
|
/**
|
|
491
493
|
* Determine the id for the label.
|
|
492
494
|
*/
|
|
493
|
-
this.labelId = computed(() => this.state().label()?.id());
|
|
495
|
+
this.labelId = computed(() => this.state().label()?.id(), ...(ngDevMode ? [{ debugName: "labelId" }] : []));
|
|
494
496
|
}
|
|
495
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
496
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
497
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerGrid, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
498
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.9", type: NgpDatePickerGrid, isStandalone: true, selector: "[ngpDatePickerGrid]", host: { attributes: { "role": "grid" }, properties: { "attr.aria-labelledby": "labelId()", "attr.data-disabled": "state().disabled() ? \"\" : null" } }, exportAs: ["ngpDatePickerGrid"], ngImport: i0 }); }
|
|
497
499
|
}
|
|
498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerGrid, decorators: [{
|
|
499
501
|
type: Directive,
|
|
500
502
|
args: [{
|
|
501
503
|
selector: '[ngpDatePickerGrid]',
|
|
@@ -528,18 +530,18 @@ class NgpDatePickerLabel {
|
|
|
528
530
|
/**
|
|
529
531
|
* Define a unique id for the label.
|
|
530
532
|
*/
|
|
531
|
-
this.id = input(uniqueId('ngp-date-picker-label'));
|
|
533
|
+
this.id = input(uniqueId('ngp-date-picker-label'), ...(ngDevMode ? [{ debugName: "id" }] : []));
|
|
532
534
|
/**
|
|
533
535
|
* Define the aria live attribute.
|
|
534
536
|
*/
|
|
535
|
-
this.ariaLive = input('polite', {
|
|
536
|
-
|
|
537
|
-
|
|
537
|
+
this.ariaLive = input('polite', ...(ngDevMode ? [{ debugName: "ariaLive", alias: 'aria-live' }] : [{
|
|
538
|
+
alias: 'aria-live',
|
|
539
|
+
}]));
|
|
538
540
|
}
|
|
539
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
540
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
541
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
542
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.9", type: NgpDatePickerLabel, isStandalone: true, selector: "[ngpDatePickerLabel]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, ariaLive: { classPropertyName: "ariaLive", publicName: "aria-live", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "id": "id()", "attr.aria-live": "ariaLive()", "attr.data-disabled": "state().disabled() ? \"\" : null" } }, providers: [{ provide: NgpDatePickerLabelToken, useExisting: NgpDatePickerLabel }], exportAs: ["ngpDatePickerLabel"], ngImport: i0 }); }
|
|
541
543
|
}
|
|
542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerLabel, decorators: [{
|
|
543
545
|
type: Directive,
|
|
544
546
|
args: [{
|
|
545
547
|
selector: '[ngpDatePickerLabel]',
|
|
@@ -551,7 +553,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
551
553
|
'[attr.data-disabled]': 'state().disabled() ? "" : null',
|
|
552
554
|
},
|
|
553
555
|
}]
|
|
554
|
-
}] });
|
|
556
|
+
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], ariaLive: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-live", required: false }] }] } });
|
|
555
557
|
|
|
556
558
|
/**
|
|
557
559
|
* A button that navigates to the next month.
|
|
@@ -594,7 +596,7 @@ class NgpDatePickerNextMonth {
|
|
|
594
596
|
return true;
|
|
595
597
|
}
|
|
596
598
|
return false;
|
|
597
|
-
});
|
|
599
|
+
}, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
598
600
|
setupButton({ disabled: this.disabled });
|
|
599
601
|
}
|
|
600
602
|
/**
|
|
@@ -616,10 +618,10 @@ class NgpDatePickerNextMonth {
|
|
|
616
618
|
});
|
|
617
619
|
this.state().setFocusedDate(date, 'mouse', 'forward');
|
|
618
620
|
}
|
|
619
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
620
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
621
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerNextMonth, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
622
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.9", type: NgpDatePickerNextMonth, isStandalone: true, selector: "[ngpDatePickerNextMonth]", host: { listeners: { "click": "navigateToNextMonth()" }, properties: { "attr.aria-disabled": "disabled()", "attr.type": "isButton ? \"button\" : null" } }, exportAs: ["ngpDatePickerNextMonth"], ngImport: i0 }); }
|
|
621
623
|
}
|
|
622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerNextMonth, decorators: [{
|
|
623
625
|
type: Directive,
|
|
624
626
|
args: [{
|
|
625
627
|
selector: '[ngpDatePickerNextMonth]',
|
|
@@ -676,7 +678,7 @@ class NgpDatePickerPreviousMonth {
|
|
|
676
678
|
return true;
|
|
677
679
|
}
|
|
678
680
|
return false;
|
|
679
|
-
});
|
|
681
|
+
}, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
680
682
|
setupButton({ disabled: this.disabled });
|
|
681
683
|
}
|
|
682
684
|
/**
|
|
@@ -698,10 +700,10 @@ class NgpDatePickerPreviousMonth {
|
|
|
698
700
|
date = this.dateAdapter.subtract(date, { months: 1 });
|
|
699
701
|
this.state().setFocusedDate(date, 'mouse', 'backward');
|
|
700
702
|
}
|
|
701
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
702
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
703
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerPreviousMonth, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
704
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.9", type: NgpDatePickerPreviousMonth, isStandalone: true, selector: "[ngpDatePickerPreviousMonth]", host: { listeners: { "click": "navigateToPreviouMonth()" }, properties: { "attr.aria-disabled": "disabled()", "attr.type": "isButton ? \"button\" : null" } }, exportAs: ["ngpDatePickerPreviousMonth"], ngImport: i0 }); }
|
|
703
705
|
}
|
|
704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerPreviousMonth, decorators: [{
|
|
705
707
|
type: Directive,
|
|
706
708
|
args: [{
|
|
707
709
|
selector: '[ngpDatePickerPreviousMonth]',
|
|
@@ -768,7 +770,7 @@ class NgpDatePickerRowRender {
|
|
|
768
770
|
firstDay = this.dateAdapter.add(firstDay, { days: 1 });
|
|
769
771
|
}
|
|
770
772
|
return days;
|
|
771
|
-
});
|
|
773
|
+
}, ...(ngDevMode ? [{ debugName: "days" }] : []));
|
|
772
774
|
// get the weeks to display.
|
|
773
775
|
this.weeks = computed(() => {
|
|
774
776
|
const days = this.days();
|
|
@@ -777,7 +779,7 @@ class NgpDatePickerRowRender {
|
|
|
777
779
|
weeks.push(days.slice(i, i + 7));
|
|
778
780
|
}
|
|
779
781
|
return weeks;
|
|
780
|
-
});
|
|
782
|
+
}, ...(ngDevMode ? [{ debugName: "weeks" }] : []));
|
|
781
783
|
/**
|
|
782
784
|
* Store the embedded view refs of each rendered row.
|
|
783
785
|
*/
|
|
@@ -849,10 +851,10 @@ class NgpDatePickerRowRender {
|
|
|
849
851
|
const firstDay = this.state().firstDayOfWeek();
|
|
850
852
|
return (DAYS_PER_WEEK + firstDay + DAYS_PER_WEEK - 1 - lastDay) % DAYS_PER_WEEK;
|
|
851
853
|
}
|
|
852
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
853
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
854
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerRowRender, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
855
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.9", type: NgpDatePickerRowRender, isStandalone: true, selector: "[ngpDatePickerRowRender]", providers: [{ provide: NgpDatePickerRowRenderToken, useExisting: NgpDatePickerRowRender }], exportAs: ["ngpDatePickerRowRender"], ngImport: i0 }); }
|
|
854
856
|
}
|
|
855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePickerRowRender, decorators: [{
|
|
856
858
|
type: Directive,
|
|
857
859
|
args: [{
|
|
858
860
|
selector: '[ngpDatePickerRowRender]',
|
|
@@ -894,28 +896,29 @@ class NgpDatePicker {
|
|
|
894
896
|
/**
|
|
895
897
|
* The minimum date that can be selected.
|
|
896
898
|
*/
|
|
897
|
-
this.min = input(undefined, {
|
|
898
|
-
|
|
899
|
-
|
|
899
|
+
this.min = input(undefined, ...(ngDevMode ? [{ debugName: "min", alias: 'ngpDatePickerMin' }] : [{
|
|
900
|
+
alias: 'ngpDatePickerMin',
|
|
901
|
+
}]));
|
|
900
902
|
/**
|
|
901
903
|
* The maximum date that can be selected.
|
|
902
904
|
*/
|
|
903
|
-
this.max = input(undefined, {
|
|
904
|
-
|
|
905
|
-
|
|
905
|
+
this.max = input(undefined, ...(ngDevMode ? [{ debugName: "max", alias: 'ngpDatePickerMax' }] : [{
|
|
906
|
+
alias: 'ngpDatePickerMax',
|
|
907
|
+
}]));
|
|
906
908
|
/**
|
|
907
909
|
* Determine if the date picker is disabled.
|
|
908
910
|
*/
|
|
909
|
-
this.disabled = input(false, {
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
911
|
+
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", alias: 'ngpDatePickerDisabled',
|
|
912
|
+
transform: booleanAttribute }] : [{
|
|
913
|
+
alias: 'ngpDatePickerDisabled',
|
|
914
|
+
transform: booleanAttribute,
|
|
915
|
+
}]));
|
|
913
916
|
/**
|
|
914
917
|
* A function that is called to determine if a specific date should be disabled.
|
|
915
918
|
*/
|
|
916
|
-
this.dateDisabled = input(() => false, {
|
|
917
|
-
|
|
918
|
-
|
|
919
|
+
this.dateDisabled = input(() => false, ...(ngDevMode ? [{ debugName: "dateDisabled", alias: 'ngpDatePickerDateDisabled' }] : [{
|
|
920
|
+
alias: 'ngpDatePickerDateDisabled',
|
|
921
|
+
}]));
|
|
919
922
|
/**
|
|
920
923
|
* Sets which day starts the week in the calendar.
|
|
921
924
|
* Accepts 0-7 where 1=Monday, 2=Tuesday, 3=Wednesday, 4=Thursday, 5=Friday, 6=Saturday, 7=Sunday.
|
|
@@ -923,16 +926,17 @@ class NgpDatePicker {
|
|
|
923
926
|
* Note: Update calendar header column order when changing from Sunday start.
|
|
924
927
|
* @default 7 (Sunday)
|
|
925
928
|
*/
|
|
926
|
-
this.firstDayOfWeek = input(transformToFirstDayOfWeekNumber(this.config.firstDayOfWeek), {
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
929
|
+
this.firstDayOfWeek = input(transformToFirstDayOfWeekNumber(this.config.firstDayOfWeek), ...(ngDevMode ? [{ debugName: "firstDayOfWeek", alias: 'ngpDatePickerFirstDayOfWeek',
|
|
930
|
+
transform: transformToFirstDayOfWeekNumber }] : [{
|
|
931
|
+
alias: 'ngpDatePickerFirstDayOfWeek',
|
|
932
|
+
transform: transformToFirstDayOfWeekNumber,
|
|
933
|
+
}]));
|
|
930
934
|
/**
|
|
931
935
|
* The selected value.
|
|
932
936
|
*/
|
|
933
|
-
this.date = input(undefined, {
|
|
934
|
-
|
|
935
|
-
|
|
937
|
+
this.date = input(undefined, ...(ngDevMode ? [{ debugName: "date", alias: 'ngpDatePickerDate' }] : [{
|
|
938
|
+
alias: 'ngpDatePickerDate',
|
|
939
|
+
}]));
|
|
936
940
|
/**
|
|
937
941
|
* Emit when the date changes.
|
|
938
942
|
*/
|
|
@@ -942,9 +946,9 @@ class NgpDatePicker {
|
|
|
942
946
|
/**
|
|
943
947
|
* The focused value.
|
|
944
948
|
*/
|
|
945
|
-
this.focusedDate = input(this.dateAdapter.now(), {
|
|
946
|
-
|
|
947
|
-
|
|
949
|
+
this.focusedDate = input(this.dateAdapter.now(), ...(ngDevMode ? [{ debugName: "focusedDate", alias: 'ngpDatePickerFocusedDate' }] : [{
|
|
950
|
+
alias: 'ngpDatePickerFocusedDate',
|
|
951
|
+
}]));
|
|
948
952
|
/**
|
|
949
953
|
* Emit when the focused date changes.
|
|
950
954
|
*/
|
|
@@ -955,11 +959,11 @@ class NgpDatePicker {
|
|
|
955
959
|
* Detect the label element.
|
|
956
960
|
* @internal
|
|
957
961
|
*/
|
|
958
|
-
this.label = contentChild(NgpDatePickerLabelToken, { descendants: true });
|
|
962
|
+
this.label = contentChild(NgpDatePickerLabelToken, ...(ngDevMode ? [{ debugName: "label", descendants: true }] : [{ descendants: true }]));
|
|
959
963
|
/**
|
|
960
964
|
* Access all the date picker buttons
|
|
961
965
|
*/
|
|
962
|
-
this.buttons = signal([]);
|
|
966
|
+
this.buttons = signal([], ...(ngDevMode ? [{ debugName: "buttons" }] : []));
|
|
963
967
|
/**
|
|
964
968
|
* The date picker state.
|
|
965
969
|
*/
|
|
@@ -1079,10 +1083,10 @@ class NgpDatePicker {
|
|
|
1079
1083
|
isBetweenRange(_) {
|
|
1080
1084
|
return false;
|
|
1081
1085
|
}
|
|
1082
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1083
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
1086
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePicker, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1087
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.3.9", type: NgpDatePicker, isStandalone: true, selector: "[ngpDatePicker]", inputs: { min: { classPropertyName: "min", publicName: "ngpDatePickerMin", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "ngpDatePickerMax", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "ngpDatePickerDisabled", isSignal: true, isRequired: false, transformFunction: null }, dateDisabled: { classPropertyName: "dateDisabled", publicName: "ngpDatePickerDateDisabled", isSignal: true, isRequired: false, transformFunction: null }, firstDayOfWeek: { classPropertyName: "firstDayOfWeek", publicName: "ngpDatePickerFirstDayOfWeek", isSignal: true, isRequired: false, transformFunction: null }, date: { classPropertyName: "date", publicName: "ngpDatePickerDate", isSignal: true, isRequired: false, transformFunction: null }, focusedDate: { classPropertyName: "focusedDate", publicName: "ngpDatePickerFocusedDate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dateChange: "ngpDatePickerDateChange", focusedDateChange: "ngpDatePickerFocusedDateChange" }, host: { properties: { "attr.data-disabled": "state.disabled() ? \"\" : null" } }, providers: [provideDatePickerState()], queries: [{ propertyName: "label", first: true, predicate: NgpDatePickerLabelToken, descendants: true, isSignal: true }], exportAs: ["ngpDatePicker"], ngImport: i0 }); }
|
|
1084
1088
|
}
|
|
1085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDatePicker, decorators: [{
|
|
1086
1090
|
type: Directive,
|
|
1087
1091
|
args: [{
|
|
1088
1092
|
selector: '[ngpDatePicker]',
|
|
@@ -1092,7 +1096,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
1092
1096
|
'[attr.data-disabled]': 'state.disabled() ? "" : null',
|
|
1093
1097
|
},
|
|
1094
1098
|
}]
|
|
1095
|
-
}] });
|
|
1099
|
+
}], propDecorators: { min: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDatePickerMin", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDatePickerMax", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDatePickerDisabled", required: false }] }], dateDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDatePickerDateDisabled", required: false }] }], firstDayOfWeek: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDatePickerFirstDayOfWeek", required: false }] }], date: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDatePickerDate", required: false }] }], dateChange: [{ type: i0.Output, args: ["ngpDatePickerDateChange"] }], focusedDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDatePickerFocusedDate", required: false }] }], focusedDateChange: [{ type: i0.Output, args: ["ngpDatePickerFocusedDateChange"] }], label: [{ type: i0.ContentChild, args: [i0.forwardRef(() => NgpDatePickerLabelToken), { ...{ descendants: true }, isSignal: true }] }] } });
|
|
1096
1100
|
|
|
1097
1101
|
class NgpDateRangePicker {
|
|
1098
1102
|
constructor() {
|
|
@@ -1108,28 +1112,29 @@ class NgpDateRangePicker {
|
|
|
1108
1112
|
/**
|
|
1109
1113
|
* The minimum date that can be selected.
|
|
1110
1114
|
*/
|
|
1111
|
-
this.min = input(undefined, {
|
|
1112
|
-
|
|
1113
|
-
|
|
1115
|
+
this.min = input(undefined, ...(ngDevMode ? [{ debugName: "min", alias: 'ngpDateRangePickerMin' }] : [{
|
|
1116
|
+
alias: 'ngpDateRangePickerMin',
|
|
1117
|
+
}]));
|
|
1114
1118
|
/**
|
|
1115
1119
|
* The maximum date that can be selected.
|
|
1116
1120
|
*/
|
|
1117
|
-
this.max = input(undefined, {
|
|
1118
|
-
|
|
1119
|
-
|
|
1121
|
+
this.max = input(undefined, ...(ngDevMode ? [{ debugName: "max", alias: 'ngpDateRangePickerMax' }] : [{
|
|
1122
|
+
alias: 'ngpDateRangePickerMax',
|
|
1123
|
+
}]));
|
|
1120
1124
|
/**
|
|
1121
1125
|
* Determine if the date picker is disabled.
|
|
1122
1126
|
*/
|
|
1123
|
-
this.disabled = input(false, {
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
+
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", alias: 'ngpDateRangePickerDisabled',
|
|
1128
|
+
transform: booleanAttribute }] : [{
|
|
1129
|
+
alias: 'ngpDateRangePickerDisabled',
|
|
1130
|
+
transform: booleanAttribute,
|
|
1131
|
+
}]));
|
|
1127
1132
|
/**
|
|
1128
1133
|
* A function that is called to determine if a specific date should be disabled.
|
|
1129
1134
|
*/
|
|
1130
|
-
this.dateDisabled = input(() => false, {
|
|
1131
|
-
|
|
1132
|
-
|
|
1135
|
+
this.dateDisabled = input(() => false, ...(ngDevMode ? [{ debugName: "dateDisabled", alias: 'ngpDateRangePickerDateDisabled' }] : [{
|
|
1136
|
+
alias: 'ngpDateRangePickerDateDisabled',
|
|
1137
|
+
}]));
|
|
1133
1138
|
/**
|
|
1134
1139
|
* Sets which day starts the week in the calendar.
|
|
1135
1140
|
* Accepts 0-7 where 1=Monday, 2=Tuesday, 3=Wednesday, 4=Thursday, 5=Friday, 6=Saturday, 7=Sunday.
|
|
@@ -1137,16 +1142,17 @@ class NgpDateRangePicker {
|
|
|
1137
1142
|
* Note: Update calendar header column order when changing from Sunday start.
|
|
1138
1143
|
* @default 7 (Sunday)
|
|
1139
1144
|
*/
|
|
1140
|
-
this.firstDayOfWeek = input(transformToFirstDayOfWeekNumber(this.config.firstDayOfWeek), {
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1145
|
+
this.firstDayOfWeek = input(transformToFirstDayOfWeekNumber(this.config.firstDayOfWeek), ...(ngDevMode ? [{ debugName: "firstDayOfWeek", alias: 'ngpDateRangePickerFirstDayOfWeek',
|
|
1146
|
+
transform: transformToFirstDayOfWeekNumber }] : [{
|
|
1147
|
+
alias: 'ngpDateRangePickerFirstDayOfWeek',
|
|
1148
|
+
transform: transformToFirstDayOfWeekNumber,
|
|
1149
|
+
}]));
|
|
1144
1150
|
/**
|
|
1145
1151
|
* The selected start date
|
|
1146
1152
|
*/
|
|
1147
|
-
this.startDate = input(undefined, {
|
|
1148
|
-
|
|
1149
|
-
|
|
1153
|
+
this.startDate = input(undefined, ...(ngDevMode ? [{ debugName: "startDate", alias: 'ngpDateRangePickerStartDate' }] : [{
|
|
1154
|
+
alias: 'ngpDateRangePickerStartDate',
|
|
1155
|
+
}]));
|
|
1150
1156
|
/**
|
|
1151
1157
|
* Emit when the date changes.
|
|
1152
1158
|
*/
|
|
@@ -1156,9 +1162,9 @@ class NgpDateRangePicker {
|
|
|
1156
1162
|
/**
|
|
1157
1163
|
* The selected end date
|
|
1158
1164
|
*/
|
|
1159
|
-
this.endDate = input(undefined, {
|
|
1160
|
-
|
|
1161
|
-
|
|
1165
|
+
this.endDate = input(undefined, ...(ngDevMode ? [{ debugName: "endDate", alias: 'ngpDateRangePickerEndDate' }] : [{
|
|
1166
|
+
alias: 'ngpDateRangePickerEndDate',
|
|
1167
|
+
}]));
|
|
1162
1168
|
/**
|
|
1163
1169
|
* Emit when the end date changes.
|
|
1164
1170
|
*/
|
|
@@ -1168,9 +1174,9 @@ class NgpDateRangePicker {
|
|
|
1168
1174
|
/**
|
|
1169
1175
|
* The focused value.
|
|
1170
1176
|
*/
|
|
1171
|
-
this.focusedDate = input(this.dateAdapter.now(), {
|
|
1172
|
-
|
|
1173
|
-
|
|
1177
|
+
this.focusedDate = input(this.dateAdapter.now(), ...(ngDevMode ? [{ debugName: "focusedDate", alias: 'ngpDateRangePickerFocusedDate' }] : [{
|
|
1178
|
+
alias: 'ngpDateRangePickerFocusedDate',
|
|
1179
|
+
}]));
|
|
1174
1180
|
/**
|
|
1175
1181
|
* Emit when the focused date changes.
|
|
1176
1182
|
*/
|
|
@@ -1181,11 +1187,11 @@ class NgpDateRangePicker {
|
|
|
1181
1187
|
* Detect the label element.
|
|
1182
1188
|
* @internal
|
|
1183
1189
|
*/
|
|
1184
|
-
this.label = contentChild(NgpDatePickerLabelToken, { descendants: true });
|
|
1190
|
+
this.label = contentChild(NgpDatePickerLabelToken, ...(ngDevMode ? [{ debugName: "label", descendants: true }] : [{ descendants: true }]));
|
|
1185
1191
|
/**
|
|
1186
1192
|
* Access all the date picker buttons
|
|
1187
1193
|
*/
|
|
1188
|
-
this.buttons = signal([]);
|
|
1194
|
+
this.buttons = signal([], ...(ngDevMode ? [{ debugName: "buttons" }] : []));
|
|
1189
1195
|
/**
|
|
1190
1196
|
* The date range picker state.
|
|
1191
1197
|
*/
|
|
@@ -1365,10 +1371,10 @@ class NgpDateRangePicker {
|
|
|
1365
1371
|
}
|
|
1366
1372
|
return this.dateAdapter.isAfter(date, start) && this.dateAdapter.isBefore(date, end);
|
|
1367
1373
|
}
|
|
1368
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1369
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "
|
|
1374
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDateRangePicker, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1375
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.3.9", type: NgpDateRangePicker, isStandalone: true, selector: "[ngpDateRangePicker]", inputs: { min: { classPropertyName: "min", publicName: "ngpDateRangePickerMin", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "ngpDateRangePickerMax", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "ngpDateRangePickerDisabled", isSignal: true, isRequired: false, transformFunction: null }, dateDisabled: { classPropertyName: "dateDisabled", publicName: "ngpDateRangePickerDateDisabled", isSignal: true, isRequired: false, transformFunction: null }, firstDayOfWeek: { classPropertyName: "firstDayOfWeek", publicName: "ngpDateRangePickerFirstDayOfWeek", isSignal: true, isRequired: false, transformFunction: null }, startDate: { classPropertyName: "startDate", publicName: "ngpDateRangePickerStartDate", isSignal: true, isRequired: false, transformFunction: null }, endDate: { classPropertyName: "endDate", publicName: "ngpDateRangePickerEndDate", isSignal: true, isRequired: false, transformFunction: null }, focusedDate: { classPropertyName: "focusedDate", publicName: "ngpDateRangePickerFocusedDate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { startDateChange: "ngpDateRangePickerStartDateChange", endDateChange: "ngpDateRangePickerEndDateChange", focusedDateChange: "ngpDateRangePickerFocusedDateChange" }, host: { properties: { "attr.data-disabled": "state.disabled() ? \"\" : null" } }, providers: [provideDateRangePickerState()], queries: [{ propertyName: "label", first: true, predicate: NgpDatePickerLabelToken, descendants: true, isSignal: true }], exportAs: ["ngpDateRangePicker"], ngImport: i0 }); }
|
|
1370
1376
|
}
|
|
1371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NgpDateRangePicker, decorators: [{
|
|
1372
1378
|
type: Directive,
|
|
1373
1379
|
args: [{
|
|
1374
1380
|
selector: '[ngpDateRangePicker]',
|
|
@@ -1378,7 +1384,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
1378
1384
|
'[attr.data-disabled]': 'state.disabled() ? "" : null',
|
|
1379
1385
|
},
|
|
1380
1386
|
}]
|
|
1381
|
-
}] });
|
|
1387
|
+
}], propDecorators: { min: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDateRangePickerMin", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDateRangePickerMax", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDateRangePickerDisabled", required: false }] }], dateDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDateRangePickerDateDisabled", required: false }] }], firstDayOfWeek: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDateRangePickerFirstDayOfWeek", required: false }] }], startDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDateRangePickerStartDate", required: false }] }], startDateChange: [{ type: i0.Output, args: ["ngpDateRangePickerStartDateChange"] }], endDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDateRangePickerEndDate", required: false }] }], endDateChange: [{ type: i0.Output, args: ["ngpDateRangePickerEndDateChange"] }], focusedDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "ngpDateRangePickerFocusedDate", required: false }] }], focusedDateChange: [{ type: i0.Output, args: ["ngpDateRangePickerFocusedDateChange"] }], label: [{ type: i0.ContentChild, args: [i0.forwardRef(() => NgpDatePickerLabelToken), { ...{ descendants: true }, isSignal: true }] }] } });
|
|
1382
1388
|
|
|
1383
1389
|
/**
|
|
1384
1390
|
* Generated bundle index. Do not edit.
|