@radix-ng/primitives 0.42.0 → 0.44.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/accordion/index.d.ts +160 -15
- package/alert-dialog/index.d.ts +54 -14
- package/arrow/README.md +1 -0
- package/arrow/index.d.ts +11 -0
- package/aspect-ratio/index.d.ts +35 -1
- package/avatar/index.d.ts +81 -11
- package/calendar/index.d.ts +310 -29
- package/checkbox/index.d.ts +163 -15
- package/collapsible/index.d.ts +82 -11
- package/config/index.d.ts +35 -2
- package/context-menu/index.d.ts +126 -23
- package/core/index.d.ts +898 -27
- package/cropper/index.d.ts +134 -14
- package/date-field/index.d.ts +209 -10
- package/dialog/index.d.ts +202 -20
- package/dismissable-layer/README.md +1 -0
- package/dismissable-layer/index.d.ts +126 -0
- package/dropdown-menu/index.d.ts +168 -23
- package/editable/index.d.ts +70 -1
- package/fesm2022/radix-ng-primitives-accordion.mjs +36 -36
- package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs +28 -28
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-arrow.mjs +38 -0
- package/fesm2022/radix-ng-primitives-arrow.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +5 -5
- package/fesm2022/radix-ng-primitives-aspect-ratio.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-avatar.mjs +20 -20
- package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-calendar.mjs +110 -95
- package/fesm2022/radix-ng-primitives-calendar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-checkbox.mjs +219 -209
- package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-collapsible.mjs +27 -27
- package/fesm2022/radix-ng-primitives-collapsible.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-config.mjs +5 -5
- package/fesm2022/radix-ng-primitives-config.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-context-menu.mjs +34 -34
- package/fesm2022/radix-ng-primitives-context-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-core.mjs +72 -24
- package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-cropper.mjs +51 -51
- package/fesm2022/radix-ng-primitives-cropper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-date-field.mjs +48 -48
- package/fesm2022/radix-ng-primitives-date-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dialog.mjs +33 -33
- package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dismissable-layer.mjs +418 -0
- package/fesm2022/radix-ng-primitives-dismissable-layer.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +37 -37
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-editable.mjs +21 -21
- package/fesm2022/radix-ng-primitives-editable.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-focus-guards.mjs +53 -0
- package/fesm2022/radix-ng-primitives-focus-guards.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-focus-scope.mjs +17 -9
- package/fesm2022/radix-ng-primitives-focus-scope.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-hover-card.mjs +74 -74
- package/fesm2022/radix-ng-primitives-hover-card.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-label.mjs +8 -8
- package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menu.mjs +65 -65
- package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menubar.mjs +31 -31
- package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-navigation-menu.mjs +91 -88
- package/fesm2022/radix-ng-primitives-navigation-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-number-field.mjs +56 -43
- package/fesm2022/radix-ng-primitives-number-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-pagination.mjs +45 -45
- package/fesm2022/radix-ng-primitives-pagination.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-popover.mjs +68 -68
- package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-popper.mjs +418 -0
- package/fesm2022/radix-ng-primitives-popper.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-portal.mjs +51 -0
- package/fesm2022/radix-ng-primitives-portal.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-presence.mjs +4 -4
- package/fesm2022/radix-ng-primitives-presence.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-progress.mjs +15 -15
- package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-radio.mjs +30 -30
- package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-roving-focus.mjs +179 -163
- package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-select.mjs +37 -37
- package/fesm2022/radix-ng-primitives-select.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-separator.mjs +16 -14
- package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-slider.mjs +75 -75
- package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-stepper.mjs +45 -45
- package/fesm2022/radix-ng-primitives-stepper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-switch.mjs +28 -28
- package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tabs.mjs +33 -33
- package/fesm2022/radix-ng-primitives-tabs.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-time-field.mjs +78 -66
- package/fesm2022/radix-ng-primitives-time-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle-group.mjs +22 -22
- package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle.mjs +9 -9
- package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toolbar.mjs +28 -28
- package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tooltip.mjs +74 -74
- package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tooltip2.mjs +740 -0
- package/fesm2022/radix-ng-primitives-tooltip2.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs +93 -98
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives.mjs.map +1 -1
- package/focus-guards/README.md +1 -0
- package/focus-guards/index.d.ts +15 -0
- package/focus-scope/index.d.ts +65 -1
- package/hover-card/index.d.ts +471 -19
- package/index.d.ts +2 -1
- package/label/index.d.ts +27 -1
- package/menu/index.d.ts +136 -26
- package/menubar/index.d.ts +53 -21
- package/navigation-menu/index.d.ts +402 -25
- package/number-field/index.d.ts +202 -16
- package/package.json +26 -5
- package/pagination/index.d.ts +96 -20
- package/popover/index.d.ts +402 -19
- package/popper/README.md +3 -0
- package/popper/index.d.ts +206 -0
- package/portal/README.md +1 -0
- package/portal/index.d.ts +22 -0
- package/presence/index.d.ts +103 -5
- package/progress/index.d.ts +76 -8
- package/radio/index.d.ts +118 -4
- package/roving-focus/index.d.ts +174 -3
- package/select/index.d.ts +211 -23
- package/separator/index.d.ts +63 -1
- package/slider/index.d.ts +262 -17
- package/stepper/index.d.ts +122 -21
- package/switch/index.d.ts +102 -9
- package/tabs/index.d.ts +111 -13
- package/time-field/index.d.ts +211 -10
- package/toggle/index.d.ts +75 -3
- package/toggle-group/index.d.ts +194 -5
- package/toolbar/index.d.ts +52 -16
- package/tooltip/index.d.ts +432 -19
- package/tooltip2/README.md +3 -0
- package/tooltip2/index.d.ts +325 -0
- package/visually-hidden/index.d.ts +65 -3
- package/accordion/src/accordion-content-presence.directive.d.ts +0 -6
- package/accordion/src/accordion-content.directive.d.ts +0 -8
- package/accordion/src/accordion-header.directive.d.ts +0 -7
- package/accordion/src/accordion-item.directive.d.ts +0 -43
- package/accordion/src/accordion-root.directive.d.ts +0 -83
- package/accordion/src/accordion-trigger.directive.d.ts +0 -10
- package/alert-dialog/src/alert-dialog-cancel.directive.d.ts +0 -7
- package/alert-dialog/src/alert-dialog-content.directive.d.ts +0 -9
- package/alert-dialog/src/alert-dialog-root.directive.d.ts +0 -9
- package/alert-dialog/src/alert-dialog-title.directive.d.ts +0 -5
- package/alert-dialog/src/alert-dialog-trigger.directive.d.ts +0 -7
- package/alert-dialog/src/alert-dialog.service.d.ts +0 -14
- package/aspect-ratio/src/aspect-ratio.directive.d.ts +0 -32
- package/avatar/src/avatar-context.token.d.ts +0 -7
- package/avatar/src/avatar-fallback.directive.d.ts +0 -20
- package/avatar/src/avatar-image.directive.d.ts +0 -29
- package/avatar/src/avatar-root.directive.d.ts +0 -8
- package/avatar/src/avatar.config.d.ts +0 -13
- package/avatar/src/types.d.ts +0 -2
- package/calendar/src/calendar-cell-trigger.directive.d.ts +0 -54
- package/calendar/src/calendar-cell.directive.d.ts +0 -11
- package/calendar/src/calendar-grid-body.directive.d.ts +0 -5
- package/calendar/src/calendar-grid-head.directive.d.ts +0 -5
- package/calendar/src/calendar-grid-row.directive.d.ts +0 -5
- package/calendar/src/calendar-grid.directive.d.ts +0 -8
- package/calendar/src/calendar-head-cell.directive.d.ts +0 -5
- package/calendar/src/calendar-header.directive.d.ts +0 -5
- package/calendar/src/calendar-heading.directive.d.ts +0 -7
- package/calendar/src/calendar-next.directive.d.ts +0 -16
- package/calendar/src/calendar-prev.directive.d.ts +0 -16
- package/calendar/src/calendar-root.directive.d.ts +0 -148
- package/calendar/src/calendar.d.ts +0 -44
- package/calendar/src//321/201alendar-/321/201ontext.token.d.ts +0 -24
- package/checkbox/src/checkbox-button.directive.d.ts +0 -8
- package/checkbox/src/checkbox-indicator.directive.d.ts +0 -6
- package/checkbox/src/checkbox-input.directive.d.ts +0 -10
- package/checkbox/src/checkbox.directive.d.ts +0 -86
- package/checkbox/src/checkbox.token.d.ts +0 -4
- package/collapsible/src/collapsible-content-presence.directive.d.ts +0 -6
- package/collapsible/src/collapsible-content.directive.d.ts +0 -18
- package/collapsible/src/collapsible-root.directive.d.ts +0 -44
- package/collapsible/src/collapsible-trigger.directive.d.ts +0 -6
- package/config/src/config.d.ts +0 -21
- package/config/src/config.provider.d.ts +0 -10
- package/context-menu/src/context-menu-content.directive.d.ts +0 -15
- package/context-menu/src/context-menu-item-checkbox.directive.d.ts +0 -9
- package/context-menu/src/context-menu-item-indicator.directive.d.ts +0 -7
- package/context-menu/src/context-menu-item-radio-group.directive.d.ts +0 -12
- package/context-menu/src/context-menu-item-radio.directive.d.ts +0 -19
- package/context-menu/src/context-menu-item-selectable.d.ts +0 -12
- package/context-menu/src/context-menu-item.directive.d.ts +0 -17
- package/context-menu/src/context-menu-label.directive.d.ts +0 -5
- package/context-menu/src/context-menu-separator.directive.d.ts +0 -6
- package/context-menu/src/context-menu-trigger.directive.d.ts +0 -31
- package/core/src/accessor/control-value-accessor.d.ts +0 -67
- package/core/src/accessor/provide-value-accessor.d.ts +0 -12
- package/core/src/auto-focus.directive.d.ts +0 -14
- package/core/src/chunk.d.ts +0 -12
- package/core/src/clamp.d.ts +0 -38
- package/core/src/create-context.d.ts +0 -10
- package/core/src/date-time/calendar.d.ts +0 -33
- package/core/src/date-time/comparators.d.ts +0 -98
- package/core/src/date-time/formatter.d.ts +0 -30
- package/core/src/date-time/index.d.ts +0 -9
- package/core/src/date-time/parser.d.ts +0 -37
- package/core/src/date-time/parts.d.ts +0 -12
- package/core/src/date-time/placeholders.d.ts +0 -8
- package/core/src/date-time/segment.d.ts +0 -4
- package/core/src/date-time/types.d.ts +0 -58
- package/core/src/date-time/useDateField.d.ts +0 -142
- package/core/src/date-time/utils.d.ts +0 -7
- package/core/src/document.d.ts +0 -1
- package/core/src/focus-initial.directive.d.ts +0 -9
- package/core/src/getActiveElement.d.ts +0 -1
- package/core/src/id-generator.d.ts +0 -12
- package/core/src/inject-ng-control.d.ts +0 -8
- package/core/src/is-client.d.ts +0 -1
- package/core/src/is-equal.d.ts +0 -7
- package/core/src/is-inside-form.d.ts +0 -2
- package/core/src/is-nullish.d.ts +0 -1
- package/core/src/is-number.d.ts +0 -1
- package/core/src/isValueEqualOrExist.d.ts +0 -10
- package/core/src/kbd-constants.d.ts +0 -41
- package/core/src/positioning/constants.d.ts +0 -3
- package/core/src/positioning/types.d.ts +0 -42
- package/core/src/positioning/utils.d.ts +0 -12
- package/core/src/provide-token.d.ts +0 -22
- package/core/src/serialize.d.ts +0 -11
- package/core/src/types.d.ts +0 -25
- package/core/src/useArrowNavigation.d.ts +0 -65
- package/core/src/useResizeObserver.d.ts +0 -15
- package/core/src/watch.d.ts +0 -41
- package/core/src/window.d.ts +0 -3
- package/cropper/src/cropper-context.token.d.ts +0 -12
- package/cropper/src/cropper-crop-area.directive.d.ts +0 -6
- package/cropper/src/cropper-description.directive.d.ts +0 -6
- package/cropper/src/cropper-image.component.d.ts +0 -10
- package/cropper/src/cropper-root.directive.d.ts +0 -91
- package/date-field/src/date-field-context.token.d.ts +0 -19
- package/date-field/src/date-field-input.directive.d.ts +0 -53
- package/date-field/src/date-field-root.directive.d.ts +0 -131
- package/dialog/src/dialog-close.directive.d.ts +0 -7
- package/dialog/src/dialog-content.directive.d.ts +0 -21
- package/dialog/src/dialog-description.directive.d.ts +0 -5
- package/dialog/src/dialog-dismiss.directive.d.ts +0 -7
- package/dialog/src/dialog-ref.d.ts +0 -40
- package/dialog/src/dialog-title.directive.d.ts +0 -5
- package/dialog/src/dialog-trigger.directive.d.ts +0 -28
- package/dialog/src/dialog.config.d.ts +0 -41
- package/dialog/src/dialog.injectors.d.ts +0 -4
- package/dialog/src/dialog.providers.d.ts +0 -19
- package/dialog/src/dialog.service.d.ts +0 -26
- package/dismissible-layer/README.md +0 -1
- package/dismissible-layer/index.d.ts +0 -1
- package/dismissible-layer/src/utils.d.ts +0 -38
- package/dropdown-menu/src/dropdown-menu-content.directive.d.ts +0 -15
- package/dropdown-menu/src/dropdown-menu-item-checkbox.directive.d.ts +0 -9
- package/dropdown-menu/src/dropdown-menu-item-indicator.directive.d.ts +0 -7
- package/dropdown-menu/src/dropdown-menu-item-radio-group.directive.d.ts +0 -12
- package/dropdown-menu/src/dropdown-menu-item-radio.directive.d.ts +0 -19
- package/dropdown-menu/src/dropdown-menu-item-selectable.d.ts +0 -12
- package/dropdown-menu/src/dropdown-menu-item.directive.d.ts +0 -17
- package/dropdown-menu/src/dropdown-menu-label.directive.d.ts +0 -6
- package/dropdown-menu/src/dropdown-menu-separator.directive.d.ts +0 -6
- package/dropdown-menu/src/dropdown-menu-trigger.directive.d.ts +0 -73
- package/editable/src/editable-root.d.ts +0 -67
- package/fesm2022/radix-ng-primitives-dismissible-layer.mjs +0 -211
- package/fesm2022/radix-ng-primitives-dismissible-layer.mjs.map +0 -1
- package/focus-scope/src/focus-scope.d.ts +0 -53
- package/focus-scope/src/stack.d.ts +0 -13
- package/focus-scope/src/utils.d.ts +0 -46
- package/hover-card/src/hover-card-anchor.directive.d.ts +0 -28
- package/hover-card/src/hover-card-anchor.token.d.ts +0 -3
- package/hover-card/src/hover-card-arrow.directive.d.ts +0 -45
- package/hover-card/src/hover-card-arrow.token.d.ts +0 -3
- package/hover-card/src/hover-card-close.directive.d.ts +0 -18
- package/hover-card/src/hover-card-close.token.d.ts +0 -3
- package/hover-card/src/hover-card-content-attributes.component.d.ts +0 -25
- package/hover-card/src/hover-card-content-attributes.token.d.ts +0 -3
- package/hover-card/src/hover-card-content.directive.d.ts +0 -124
- package/hover-card/src/hover-card-root.directive.d.ts +0 -182
- package/hover-card/src/hover-card-root.inject.d.ts +0 -3
- package/hover-card/src/hover-card-trigger.directive.d.ts +0 -26
- package/hover-card/src/hover-card.types.d.ts +0 -18
- package/hover-card/src/utils/cdk-event.service.d.ts +0 -30
- package/hover-card/src/utils/constants.d.ts +0 -1
- package/hover-card/src/utils/types.d.ts +0 -7
- package/label/src/label.directive.d.ts +0 -24
- package/menu/src/menu-content.directive.d.ts +0 -6
- package/menu/src/menu-directive.d.ts +0 -6
- package/menu/src/menu-group.directive.d.ts +0 -6
- package/menu/src/menu-item-checkbox.directive.d.ts +0 -21
- package/menu/src/menu-item-indicator.directive.d.ts +0 -10
- package/menu/src/menu-item-radio.directive.d.ts +0 -20
- package/menu/src/menu-item.directive.d.ts +0 -18
- package/menu/src/menu-label.directive.d.ts +0 -5
- package/menu/src/menu-radio-group.directive.d.ts +0 -6
- package/menu/src/menu-separator.directive.d.ts +0 -5
- package/menu/src/menu-trigger.directive.d.ts +0 -35
- package/menu/src/utils.d.ts +0 -3
- package/menubar/src/menubar-content.directive.d.ts +0 -6
- package/menubar/src/menubar-item-checkbox.directive.d.ts +0 -6
- package/menubar/src/menubar-item-indicator.directive.d.ts +0 -6
- package/menubar/src/menubar-item-radio.directive.d.ts +0 -6
- package/menubar/src/menubar-item.directive.d.ts +0 -6
- package/menubar/src/menubar-radio-group.directive.d.ts +0 -6
- package/menubar/src/menubar-root.directive.d.ts +0 -6
- package/menubar/src/menubar-separator.directive.d.ts +0 -6
- package/menubar/src/menubar-trigger.directive.d.ts +0 -6
- package/navigation-menu/src/navigation-menu-a11y.component.d.ts +0 -15
- package/navigation-menu/src/navigation-menu-content.directive.d.ts +0 -31
- package/navigation-menu/src/navigation-menu-indicator.directive.d.ts +0 -29
- package/navigation-menu/src/navigation-menu-item.directive.d.ts +0 -44
- package/navigation-menu/src/navigation-menu-link.directive.d.ts +0 -17
- package/navigation-menu/src/navigation-menu-list.directive.d.ts +0 -38
- package/navigation-menu/src/navigation-menu-sub.directive.d.ts +0 -19
- package/navigation-menu/src/navigation-menu-trigger.directive.d.ts +0 -33
- package/navigation-menu/src/navigation-menu-viewport.directive.d.ts +0 -61
- package/navigation-menu/src/navigation-menu.directive.d.ts +0 -76
- package/navigation-menu/src/navigation-menu.token.d.ts +0 -36
- package/navigation-menu/src/navigation-menu.types.d.ts +0 -13
- package/navigation-menu/src/utils.d.ts +0 -44
- package/number-field/src/number-field-context.token.d.ts +0 -24
- package/number-field/src/number-field-decrement.directive.d.ts +0 -23
- package/number-field/src/number-field-increment.directive.d.ts +0 -23
- package/number-field/src/number-field-input.directive.d.ts +0 -22
- package/number-field/src/number-field-root.directive.d.ts +0 -86
- package/number-field/src/types.d.ts +0 -1
- package/number-field/src/utils.d.ts +0 -18
- package/pagination/src/pagination-context.token.d.ts +0 -11
- package/pagination/src/pagination-ellipsis.directive.d.ts +0 -5
- package/pagination/src/pagination-first.directive.d.ts +0 -8
- package/pagination/src/pagination-last.directive.d.ts +0 -8
- package/pagination/src/pagination-list-item.directive.d.ts +0 -10
- package/pagination/src/pagination-list.directive.d.ts +0 -12
- package/pagination/src/pagination-next.directive.d.ts +0 -8
- package/pagination/src/pagination-prev.directive.d.ts +0 -8
- package/pagination/src/pagination-root.directive.d.ts +0 -18
- package/pagination/src/utils.d.ts +0 -9
- package/popover/src/popover-anchor.directive.d.ts +0 -28
- package/popover/src/popover-anchor.token.d.ts +0 -3
- package/popover/src/popover-arrow.directive.d.ts +0 -40
- package/popover/src/popover-arrow.token.d.ts +0 -3
- package/popover/src/popover-close.directive.d.ts +0 -15
- package/popover/src/popover-close.token.d.ts +0 -3
- package/popover/src/popover-content-attributes.component.d.ts +0 -23
- package/popover/src/popover-content-attributes.token.d.ts +0 -3
- package/popover/src/popover-content.directive.d.ts +0 -104
- package/popover/src/popover-root.directive.d.ts +0 -155
- package/popover/src/popover-root.inject.d.ts +0 -3
- package/popover/src/popover-trigger.directive.d.ts +0 -18
- package/popover/src/popover.types.d.ts +0 -14
- package/popover/src/utils/cdk-event.service.d.ts +0 -30
- package/popover/src/utils/constants.d.ts +0 -1
- package/popover/src/utils/types.d.ts +0 -7
- package/presence/src/presence.d.ts +0 -42
- package/presence/src/presence.directive.d.ts +0 -27
- package/presence/src/transitions/transition.collapse.d.ts +0 -15
- package/presence/src/transitions/transition.toast.d.ts +0 -3
- package/presence/src/types.d.ts +0 -15
- package/presence/src/utils.d.ts +0 -42
- package/progress/src/progress-indicator.directive.d.ts +0 -15
- package/progress/src/progress-root.directive.d.ts +0 -54
- package/radio/src/radio-indicator.directive.d.ts +0 -9
- package/radio/src/radio-item-input.directive.d.ts +0 -12
- package/radio/src/radio-item.directive.d.ts +0 -30
- package/radio/src/radio-root.directive.d.ts +0 -57
- package/radio/src/radio-tokens.d.ts +0 -14
- package/roving-focus/src/roving-focus-group.directive.d.ts +0 -50
- package/roving-focus/src/roving-focus-item.directive.d.ts +0 -50
- package/roving-focus/src/utils.d.ts +0 -19
- package/select/src/select-content.directive.d.ts +0 -20
- package/select/src/select-group.directive.d.ts +0 -5
- package/select/src/select-icon.directive.d.ts +0 -5
- package/select/src/select-item-indicator.directive.d.ts +0 -7
- package/select/src/select-item.directive.d.ts +0 -53
- package/select/src/select-label.directive.d.ts +0 -5
- package/select/src/select-separator.directive.d.ts +0 -5
- package/select/src/select-trigger.directive.d.ts +0 -17
- package/select/src/select-value.directive.d.ts +0 -8
- package/select/src/select.component.d.ts +0 -98
- package/separator/src/separator.directive.d.ts +0 -60
- package/slider/src/slider-horizontal.component.d.ts +0 -28
- package/slider/src/slider-impl.directive.d.ts +0 -17
- package/slider/src/slider-orientation-context.service.d.ts +0 -14
- package/slider/src/slider-range.component.d.ts +0 -13
- package/slider/src/slider-root.component.d.ts +0 -123
- package/slider/src/slider-thumb-impl.directive.d.ts +0 -27
- package/slider/src/slider-thumb.component.d.ts +0 -6
- package/slider/src/slider-track.component.d.ts +0 -7
- package/slider/src/slider-vertical.component.d.ts +0 -28
- package/slider/src/utils.d.ts +0 -52
- package/stepper/src/stepper-description.directive.d.ts +0 -6
- package/stepper/src/stepper-indicator.directive.d.ts +0 -6
- package/stepper/src/stepper-item-context.token.d.ts +0 -13
- package/stepper/src/stepper-item.directive.d.ts +0 -21
- package/stepper/src/stepper-root-context.token.d.ts +0 -12
- package/stepper/src/stepper-root.directive.d.ts +0 -33
- package/stepper/src/stepper-separator.directive.d.ts +0 -10
- package/stepper/src/stepper-title.directive.d.ts +0 -6
- package/stepper/src/stepper-trigger.directive.d.ts +0 -14
- package/stepper/src/types.d.ts +0 -1
- package/switch/src/switch-input.directive.d.ts +0 -11
- package/switch/src/switch-root.directive.d.ts +0 -74
- package/switch/src/switch-thumb.directive.d.ts +0 -9
- package/tabs/src/tabs-content.directive.d.ts +0 -13
- package/tabs/src/tabs-list.directive.d.ts +0 -10
- package/tabs/src/tabs-root.directive.d.ts +0 -53
- package/tabs/src/tabs-trigger.directive.d.ts +0 -29
- package/tabs/src/utils.d.ts +0 -2
- package/time-field/src/time-field-context.token.d.ts +0 -20
- package/time-field/src/time-field-input.directive.d.ts +0 -53
- package/time-field/src/time-field-root.directive.d.ts +0 -130
- package/toggle/src/toggle-visually-hidden-input.directive.d.ts +0 -6
- package/toggle/src/toggle.directive.d.ts +0 -65
- package/toggle-group/src/toggle-group-item.directive.d.ts +0 -37
- package/toggle-group/src/toggle-group-item.token.d.ts +0 -4
- package/toggle-group/src/toggle-group-without-focus.directive.d.ts +0 -69
- package/toggle-group/src/toggle-group.directive.d.ts +0 -74
- package/toggle-group/src/toggle-group.token.d.ts +0 -10
- package/toolbar/src/toolbar-button.directive.d.ts +0 -11
- package/toolbar/src/toolbar-link.directive.d.ts +0 -7
- package/toolbar/src/toolbar-root.directive.d.ts +0 -8
- package/toolbar/src/toolbar-root.token.d.ts +0 -5
- package/toolbar/src/toolbar-separator.directive.d.ts +0 -6
- package/toolbar/src/toolbar-toggle-group.directive.d.ts +0 -6
- package/toolbar/src/toolbar-toggle-item.directive.d.ts +0 -6
- package/tooltip/src/tooltip-anchor.directive.d.ts +0 -28
- package/tooltip/src/tooltip-anchor.token.d.ts +0 -3
- package/tooltip/src/tooltip-arrow.directive.d.ts +0 -40
- package/tooltip/src/tooltip-arrow.token.d.ts +0 -3
- package/tooltip/src/tooltip-close.directive.d.ts +0 -18
- package/tooltip/src/tooltip-close.token.d.ts +0 -3
- package/tooltip/src/tooltip-content-attributes.component.d.ts +0 -25
- package/tooltip/src/tooltip-content-attributes.token.d.ts +0 -3
- package/tooltip/src/tooltip-content.directive.d.ts +0 -104
- package/tooltip/src/tooltip-root.directive.d.ts +0 -168
- package/tooltip/src/tooltip-root.inject.d.ts +0 -3
- package/tooltip/src/tooltip-trigger.directive.d.ts +0 -26
- package/tooltip/src/tooltip.types.d.ts +0 -18
- package/tooltip/src/utils/cdk-event.service.d.ts +0 -30
- package/tooltip/src/utils/constants.d.ts +0 -1
- package/tooltip/src/utils/types.d.ts +0 -7
- package/visually-hidden/src/visually-hidden-input-bubble.directive.d.ts +0 -23
- package/visually-hidden/src/visually-hidden-input.directive.d.ts +0 -19
- package/visually-hidden/src/visually-hidden.directive.d.ts +0 -17
|
@@ -1,28 +1,405 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import * as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy, WritableSignal, ElementRef, Signal, AfterContentInit, AfterViewInit, InjectionToken, Type, Provider, OnInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { FocusableOption, FocusKeyManager } from '@angular/cdk/a11y';
|
|
5
|
+
import * as i1 from '@radix-ng/primitives/roving-focus';
|
|
6
|
+
|
|
7
|
+
declare enum RdxNavigationMenuAnimationStatus {
|
|
8
|
+
OPEN_STARTED = "open_started",
|
|
9
|
+
OPEN_ENDED = "open_ended",
|
|
10
|
+
CLOSED_STARTED = "closed_started",
|
|
11
|
+
CLOSED_ENDED = "closed_ended"
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A stub class solely used to query a single type of focusable element in the navigation menu.
|
|
15
|
+
*/
|
|
16
|
+
declare abstract class RdxNavigationMenuFocusableOption implements FocusableOption {
|
|
17
|
+
focus(): void;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare enum RdxNavigationMenuAction {
|
|
21
|
+
OPEN = "open",
|
|
22
|
+
CLOSE = "close"
|
|
23
|
+
}
|
|
24
|
+
declare class RdxNavigationMenuDirective implements OnDestroy {
|
|
25
|
+
#private;
|
|
26
|
+
private readonly elementRef;
|
|
27
|
+
private readonly document;
|
|
28
|
+
private readonly window;
|
|
29
|
+
readonly baseId: string;
|
|
30
|
+
userDismissedByClick: () => boolean;
|
|
31
|
+
resetUserDismissed: () => void;
|
|
32
|
+
private openTimerRef;
|
|
33
|
+
private closeTimerRef;
|
|
34
|
+
private skipDelayTimerRef;
|
|
35
|
+
private recentlyActivatedTimerRef;
|
|
36
|
+
private readonly recentlyActivatedItem;
|
|
37
|
+
private documentMouseLeaveHandler;
|
|
38
|
+
readonly actionSubject$: Subject<{
|
|
39
|
+
action: RdxNavigationMenuAction;
|
|
40
|
+
itemValue?: string;
|
|
41
|
+
}>;
|
|
42
|
+
orientation: 'horizontal' | 'vertical';
|
|
43
|
+
dir: 'ltr' | 'rtl';
|
|
44
|
+
clickIgnoreDuration: number;
|
|
45
|
+
delayDuration: number;
|
|
46
|
+
skipDelayDuration: number;
|
|
47
|
+
loop: boolean;
|
|
48
|
+
cssAnimation: boolean;
|
|
49
|
+
cssOpeningAnimation: boolean;
|
|
50
|
+
cssClosingAnimation: boolean;
|
|
51
|
+
readonly isRootMenu = true;
|
|
52
|
+
readonly cssAnimationStatus: WritableSignal<RdxNavigationMenuAnimationStatus | null>;
|
|
53
|
+
value: () => string;
|
|
54
|
+
previousValue: () => string;
|
|
55
|
+
rootNavigationMenu: () => HTMLElement | null;
|
|
56
|
+
indicatorTrack: () => HTMLElement | null;
|
|
57
|
+
viewport: () => HTMLElement | null;
|
|
58
|
+
viewportContent: () => Map<string, any>;
|
|
59
|
+
setTriggerPointerState: (isOver: boolean) => void;
|
|
60
|
+
setContentPointerState: (isOver: boolean) => void;
|
|
61
|
+
isPointerInSystem: () => boolean;
|
|
62
|
+
getCssAnimation: () => boolean;
|
|
63
|
+
getCssOpeningAnimation: () => boolean;
|
|
64
|
+
getCssClosingAnimation: () => boolean;
|
|
65
|
+
constructor();
|
|
66
|
+
ngOnDestroy(): void;
|
|
67
|
+
onIndicatorTrackChange(track: HTMLElement | null): void;
|
|
68
|
+
onViewportChange(viewport: HTMLElement | null): void;
|
|
69
|
+
onTriggerEnter(itemValue: string): void;
|
|
70
|
+
onTriggerLeave(): void;
|
|
71
|
+
onContentEnter(): void;
|
|
72
|
+
onContentLeave(): void;
|
|
73
|
+
handleClose(): void;
|
|
74
|
+
onItemSelect(itemValue: string): void;
|
|
75
|
+
onItemDismiss(): void;
|
|
76
|
+
onViewportContentChange(contentValue: string, contentData: any): void;
|
|
77
|
+
onViewportContentRemove(contentValue: string): void;
|
|
78
|
+
private setValue;
|
|
79
|
+
private startCloseTimer;
|
|
80
|
+
private handleOpen;
|
|
81
|
+
private handleDelayedOpen;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuDirective, never>;
|
|
83
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxNavigationMenuDirective, "[rdxNavigationMenu]", ["rdxNavigationMenu"], { "orientation": { "alias": "orientation"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "clickIgnoreDuration": { "alias": "clickIgnoreDuration"; "required": false; }; "delayDuration": { "alias": "delayDuration"; "required": false; }; "skipDelayDuration": { "alias": "skipDelayDuration"; "required": false; }; "loop": { "alias": "loop"; "required": false; }; "cssAnimation": { "alias": "cssAnimation"; "required": false; }; "cssOpeningAnimation": { "alias": "cssOpeningAnimation"; "required": false; }; "cssClosingAnimation": { "alias": "cssClosingAnimation"; "required": false; }; }, {}, never, never, true, never>;
|
|
84
|
+
static ngAcceptInputType_clickIgnoreDuration: unknown;
|
|
85
|
+
static ngAcceptInputType_delayDuration: unknown;
|
|
86
|
+
static ngAcceptInputType_skipDelayDuration: unknown;
|
|
87
|
+
static ngAcceptInputType_loop: unknown;
|
|
88
|
+
static ngAcceptInputType_cssAnimation: unknown;
|
|
89
|
+
static ngAcceptInputType_cssOpeningAnimation: unknown;
|
|
90
|
+
static ngAcceptInputType_cssClosingAnimation: unknown;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
declare class RdxNavigationMenuSubDirective {
|
|
94
|
+
readonly orientation: i0.InputSignal<"horizontal" | "vertical">;
|
|
95
|
+
set defaultValue(val: string);
|
|
96
|
+
readonly valueChange: i0.OutputEmitterRef<string>;
|
|
97
|
+
readonly value: i0.WritableSignal<string>;
|
|
98
|
+
readonly previousValue: i0.WritableSignal<string>;
|
|
99
|
+
readonly baseId: string;
|
|
100
|
+
readonly isRootMenu = false;
|
|
101
|
+
private readonly parent;
|
|
102
|
+
get dir(): 'ltr' | 'rtl';
|
|
103
|
+
get rootNavigationMenu(): HTMLElement | null;
|
|
104
|
+
onTriggerEnter(itemValue: string): void;
|
|
105
|
+
onItemSelect(itemValue: string): void;
|
|
106
|
+
onItemDismiss(): void;
|
|
107
|
+
private setValue;
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuSubDirective, never>;
|
|
109
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxNavigationMenuSubDirective, "[rdxNavigationMenuSub]", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
declare class RdxNavigationMenuItemDirective implements FocusableOption {
|
|
113
|
+
readonly elementRef: ElementRef<any>;
|
|
114
|
+
private readonly context;
|
|
115
|
+
readonly value: i0.InputSignal<string>;
|
|
116
|
+
/**
|
|
117
|
+
* @ignore
|
|
118
|
+
*/
|
|
119
|
+
readonly triggerOrLink: Signal<RdxNavigationMenuFocusableOption | undefined>;
|
|
120
|
+
readonly triggerRef: i0.WritableSignal<HTMLElement | null>;
|
|
121
|
+
readonly contentRef: i0.WritableSignal<HTMLElement | null>;
|
|
122
|
+
readonly focusProxyRef: i0.WritableSignal<HTMLElement | null>;
|
|
123
|
+
readonly wasEscapeCloseRef: i0.WritableSignal<boolean>;
|
|
124
|
+
private readonly _restoreContentTabOrderRef;
|
|
125
|
+
get restoreContentTabOrderRef(): Signal<(() => void) | null>;
|
|
126
|
+
/**
|
|
127
|
+
* Handle keyboard entry into content from trigger
|
|
128
|
+
*/
|
|
129
|
+
onEntryKeyDown(): void;
|
|
130
|
+
focus(): void;
|
|
131
|
+
/**
|
|
132
|
+
* Ensure elements are in the tab order by restoring any previously removed tabindex values
|
|
133
|
+
*/
|
|
134
|
+
private ensureTabOrder;
|
|
135
|
+
/**
|
|
136
|
+
* Handle focus coming from the focus proxy element
|
|
137
|
+
* @param side Which side the focus is coming from (start = from trigger, end = from after content)
|
|
138
|
+
*/
|
|
139
|
+
onFocusProxyEnter(side?: 'start' | 'end'): void;
|
|
140
|
+
/**
|
|
141
|
+
* Handle focus moving outside of the content
|
|
142
|
+
* Remove elements from tab order when not focused
|
|
143
|
+
*/
|
|
144
|
+
onContentFocusOutside(): void;
|
|
145
|
+
/**
|
|
146
|
+
* Handle content being closed from root menu
|
|
147
|
+
*/
|
|
148
|
+
onRootContentClose(): void;
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuItemDirective, never>;
|
|
150
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxNavigationMenuItemDirective, "[rdxNavigationMenuItem]", ["rdxNavigationMenuItem"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, ["triggerOrLink"], never, true, never>;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
declare class RdxNavigationMenuListDirective implements AfterContentInit, AfterViewInit {
|
|
154
|
+
private readonly context;
|
|
155
|
+
private readonly elementRef;
|
|
156
|
+
private readonly renderer;
|
|
157
|
+
private readonly rovingFocusGroup;
|
|
158
|
+
/**
|
|
159
|
+
* @private
|
|
160
|
+
* @ignore
|
|
161
|
+
*/
|
|
162
|
+
readonly items: i0.Signal<readonly any[]>;
|
|
163
|
+
/**
|
|
164
|
+
* @ignore
|
|
165
|
+
*/
|
|
166
|
+
protected keyManager: FocusKeyManager<RdxNavigationMenuItemDirective>;
|
|
167
|
+
/**
|
|
168
|
+
* @ignore
|
|
169
|
+
*/
|
|
170
|
+
ngAfterContentInit(): void;
|
|
171
|
+
/**
|
|
172
|
+
* @ignore
|
|
173
|
+
*/
|
|
174
|
+
ngAfterViewInit(): void;
|
|
175
|
+
/**
|
|
176
|
+
* @ignore
|
|
177
|
+
*/
|
|
178
|
+
onKeydown(event: KeyboardEvent): void;
|
|
179
|
+
/**
|
|
180
|
+
* @ignore
|
|
181
|
+
*/
|
|
182
|
+
setActiveItem(item: RdxNavigationMenuItemDirective): void;
|
|
183
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuListDirective, never>;
|
|
184
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxNavigationMenuListDirective, "[rdxNavigationMenuList]", never, {}, {}, ["items"], never, true, [{ directive: typeof i1.RdxRovingFocusGroupDirective; inputs: {}; outputs: {}; }]>;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
interface NavigationMenuContext {
|
|
188
|
+
isRootMenu: boolean;
|
|
189
|
+
value: () => string;
|
|
190
|
+
previousValue: () => string;
|
|
191
|
+
baseId: string;
|
|
192
|
+
dir: 'ltr' | 'rtl';
|
|
193
|
+
orientation: 'horizontal' | 'vertical';
|
|
194
|
+
loop: boolean;
|
|
195
|
+
rootNavigationMenu: () => HTMLElement | null;
|
|
196
|
+
indicatorTrack?: () => HTMLElement | null;
|
|
197
|
+
onIndicatorTrackChange?: (track: HTMLElement | null) => void;
|
|
198
|
+
userDismissedByClick?: () => boolean;
|
|
199
|
+
resetUserDismissed?: () => void;
|
|
200
|
+
viewport?: () => HTMLElement | null;
|
|
201
|
+
onViewportChange?: (viewport: HTMLElement | null) => void;
|
|
202
|
+
viewportContent?: () => Map<string, any>;
|
|
203
|
+
onViewportContentChange?: (contentValue: string, contentData: any) => void;
|
|
204
|
+
onViewportContentRemove?: (contentValue: string) => void;
|
|
205
|
+
onTriggerEnter?: (itemValue: string) => void;
|
|
206
|
+
onTriggerLeave?: () => void;
|
|
207
|
+
onContentEnter?: () => void;
|
|
208
|
+
onContentLeave?: () => void;
|
|
209
|
+
onItemSelect?: (itemValue: string) => void;
|
|
210
|
+
onItemDismiss?: () => void;
|
|
211
|
+
handleClose?: (force?: boolean) => void;
|
|
212
|
+
setTriggerPointerState?: (isOver: boolean) => void;
|
|
213
|
+
setContentPointerState?: (isOver: boolean) => void;
|
|
214
|
+
isPointerInSystem?: () => boolean;
|
|
215
|
+
}
|
|
216
|
+
declare const RDX_NAVIGATION_MENU_TOKEN: InjectionToken<NavigationMenuContext>;
|
|
217
|
+
declare function injectNavigationMenu(): NavigationMenuContext;
|
|
218
|
+
declare function isRootNavigationMenu(context: NavigationMenuContext): boolean;
|
|
219
|
+
declare function provideNavigationMenuContext(provider: Type<RdxNavigationMenuDirective | RdxNavigationMenuSubDirective>): Provider;
|
|
220
|
+
|
|
221
|
+
declare class RdxNavigationMenuTriggerDirective extends RdxNavigationMenuFocusableOption implements OnInit, OnDestroy {
|
|
222
|
+
protected readonly context: NavigationMenuContext;
|
|
223
|
+
private readonly item;
|
|
224
|
+
private readonly list;
|
|
225
|
+
private readonly rovingFocusItem;
|
|
226
|
+
private readonly elementRef;
|
|
227
|
+
private readonly viewContainerRef;
|
|
228
|
+
readonly disabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
229
|
+
readonly openOnHover: i0.InputSignalWithTransform<boolean, unknown>;
|
|
230
|
+
readonly triggerId: string;
|
|
231
|
+
readonly contentId: string;
|
|
232
|
+
readonly open: i0.Signal<boolean>;
|
|
233
|
+
private focusProxyRef;
|
|
234
|
+
private ariaOwnsRef;
|
|
235
|
+
private hasPointerMoveOpened;
|
|
236
|
+
private wasClickClose;
|
|
237
|
+
constructor();
|
|
238
|
+
ngOnInit(): void;
|
|
239
|
+
ngOnDestroy(): void;
|
|
240
|
+
focus(): void;
|
|
241
|
+
private createAccessibilityComponents;
|
|
242
|
+
private removeAccessibilityComponents;
|
|
243
|
+
onPointerEnter(): void;
|
|
244
|
+
onPointerMove(event: PointerEvent): void;
|
|
245
|
+
onPointerLeave(event: PointerEvent): void;
|
|
246
|
+
onClick(): void;
|
|
247
|
+
onKeydown(event: KeyboardEvent): void;
|
|
248
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuTriggerDirective, never>;
|
|
249
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxNavigationMenuTriggerDirective, "[rdxNavigationMenuTrigger]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "openOnHover": { "alias": "openOnHover"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.RdxRovingFocusItemDirective; inputs: {}; outputs: {}; }]>;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
declare class RdxNavigationMenuLinkDirective extends RdxNavigationMenuFocusableOption implements OnInit {
|
|
253
|
+
private readonly rovingFocusItem;
|
|
254
|
+
private readonly uniqueId;
|
|
255
|
+
readonly active: i0.InputSignalWithTransform<boolean, unknown>;
|
|
256
|
+
readonly onSelect: i0.InputSignal<((event: Event) => void) | undefined>;
|
|
257
|
+
readonly elementRef: ElementRef<any>;
|
|
258
|
+
ngOnInit(): void;
|
|
259
|
+
focus(): void;
|
|
260
|
+
onClick(event: MouseEvent): void;
|
|
261
|
+
onKeydown(event: KeyboardEvent): void;
|
|
262
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuLinkDirective, never>;
|
|
263
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxNavigationMenuLinkDirective, "[rdxNavigationMenuLink]", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "onSelect": { "alias": "onSelect"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.RdxRovingFocusItemDirective; inputs: { "focusable": "focusable"; }; outputs: {}; }]>;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
declare class RdxNavigationMenuIndicatorDirective implements OnDestroy {
|
|
267
|
+
private readonly context;
|
|
268
|
+
private readonly elementRef;
|
|
269
|
+
private readonly renderer;
|
|
270
|
+
/**
|
|
271
|
+
* Used to keep the indicator rendered and available in the DOM, even when hidden.
|
|
272
|
+
* Useful for animations.
|
|
273
|
+
* @default false
|
|
274
|
+
*/
|
|
275
|
+
readonly forceMount: i0.InputSignalWithTransform<boolean, unknown>;
|
|
276
|
+
/** @ignore */
|
|
277
|
+
private readonly _position;
|
|
278
|
+
/** @ignore */
|
|
279
|
+
private readonly _activeTrigger;
|
|
280
|
+
/** @ignore */
|
|
281
|
+
private readonly _resizeObserver;
|
|
282
|
+
readonly isVisible: i0.Signal<boolean>;
|
|
283
|
+
constructor();
|
|
284
|
+
/** @ignore */
|
|
285
|
+
ngOnDestroy(): void;
|
|
286
|
+
/** @ignore */
|
|
287
|
+
private findAndSetActiveTrigger;
|
|
288
|
+
/** @ignore */
|
|
289
|
+
private updatePosition;
|
|
290
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuIndicatorDirective, never>;
|
|
291
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxNavigationMenuIndicatorDirective, "[rdxNavigationMenuIndicator]", never, { "forceMount": { "alias": "forceMount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
declare class RdxNavigationMenuContentDirective implements OnInit, OnDestroy {
|
|
295
|
+
private readonly elementRef;
|
|
296
|
+
private readonly ngZone;
|
|
297
|
+
private readonly template;
|
|
298
|
+
private readonly document;
|
|
299
|
+
private readonly item;
|
|
300
|
+
private readonly context;
|
|
301
|
+
set rdxNavigationMenuContent(value: boolean);
|
|
302
|
+
/**
|
|
303
|
+
* Used to keep the content rendered and available in the DOM, even when closed.
|
|
304
|
+
* Useful for animations or SEO.
|
|
305
|
+
* @default false
|
|
306
|
+
*/
|
|
307
|
+
readonly forceMount: i0.InputSignalWithTransform<boolean, unknown>;
|
|
308
|
+
/** @ignore */
|
|
309
|
+
readonly contentId: string;
|
|
310
|
+
/** @ignore */
|
|
311
|
+
readonly triggerId: string;
|
|
312
|
+
private escapeHandler;
|
|
313
|
+
/** @ignore */
|
|
314
|
+
ngOnInit(): void;
|
|
315
|
+
/** @ignore */
|
|
316
|
+
ngOnDestroy(): void;
|
|
317
|
+
/** @ignore - Compute motion attribute for animations */
|
|
318
|
+
getMotionAttribute(): string | null;
|
|
319
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuContentDirective, never>;
|
|
320
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxNavigationMenuContentDirective, "[rdxNavigationMenuContent]", never, { "rdxNavigationMenuContent": { "alias": "rdxNavigationMenuContent"; "required": false; }; "forceMount": { "alias": "forceMount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
321
|
+
static ngAcceptInputType_rdxNavigationMenuContent: unknown;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
declare class RdxNavigationMenuViewportDirective implements OnInit, OnDestroy {
|
|
325
|
+
private readonly context;
|
|
326
|
+
private readonly document;
|
|
327
|
+
private readonly window;
|
|
328
|
+
private readonly elementRef;
|
|
329
|
+
private readonly viewContainerRef;
|
|
330
|
+
private readonly renderer;
|
|
331
|
+
private readonly zone;
|
|
332
|
+
private readonly destroyRef;
|
|
333
|
+
/**
|
|
334
|
+
* Used to keep the viewport rendered and available in the DOM, even when closed.
|
|
335
|
+
* Useful for animations.
|
|
336
|
+
* @default false
|
|
337
|
+
*/
|
|
338
|
+
readonly forceMount: i0.InputSignalWithTransform<boolean, unknown>;
|
|
339
|
+
private readonly _contentNodes;
|
|
340
|
+
private readonly _activeContentNode;
|
|
341
|
+
private readonly _leavingContentNode;
|
|
342
|
+
private readonly _viewportSize;
|
|
343
|
+
readonly activeContentValue: i0.Signal<string | null>;
|
|
344
|
+
readonly isOpen: i0.Signal<boolean>;
|
|
345
|
+
readonly dataState: i0.Signal<"open" | "closed">;
|
|
346
|
+
readonly viewportSize: i0.Signal<{
|
|
347
|
+
width: number;
|
|
348
|
+
height: number;
|
|
349
|
+
} | null>;
|
|
350
|
+
private readonly _resizeObserver;
|
|
351
|
+
constructor();
|
|
352
|
+
ngOnInit(): void;
|
|
353
|
+
ngOnDestroy(): void;
|
|
354
|
+
onKeydown(event: KeyboardEvent): void;
|
|
355
|
+
onPointerEnter(): void;
|
|
356
|
+
onPointerLeave(): void;
|
|
357
|
+
private setupViewportEffect;
|
|
358
|
+
private getOrCreateContentNode;
|
|
359
|
+
private addNodeToDOM;
|
|
360
|
+
private removeNodeFromDOM;
|
|
361
|
+
private setNodeState;
|
|
362
|
+
private applyA11yAttributes;
|
|
363
|
+
private startLeaveTransition;
|
|
364
|
+
/**
|
|
365
|
+
* Cleanup function called after leave animation finishes
|
|
366
|
+
* @param node The node that is leaving
|
|
367
|
+
*/
|
|
368
|
+
private cleanupAfterLeave;
|
|
369
|
+
/**
|
|
370
|
+
* Cancels an ongoing leave transition (e.g., if user hovers back)
|
|
371
|
+
* @param node The node that is leaving
|
|
372
|
+
*/
|
|
373
|
+
private cancelLeaveTransition;
|
|
374
|
+
/**
|
|
375
|
+
* Force completes a leave transition (e.g., if another leave starts)
|
|
376
|
+
* @param node The node that is leaving
|
|
377
|
+
*/
|
|
378
|
+
private forceCompleteLeaveTransition;
|
|
379
|
+
private updateSize;
|
|
380
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuViewportDirective, never>;
|
|
381
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxNavigationMenuViewportDirective, "[rdxNavigationMenuViewport]", never, { "forceMount": { "alias": "forceMount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
declare class RdxNavigationMenuFocusProxyComponent {
|
|
385
|
+
triggerElement: HTMLElement | null;
|
|
386
|
+
contentElement: HTMLElement | null;
|
|
387
|
+
proxyFocus: EventEmitter<"start" | "end">;
|
|
388
|
+
onFocus(event: FocusEvent): void;
|
|
389
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuFocusProxyComponent, never>;
|
|
390
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RdxNavigationMenuFocusProxyComponent, "rdx-navigation-menu-focus-proxy", never, { "triggerElement": { "alias": "triggerElement"; "required": false; }; "contentElement": { "alias": "contentElement"; "required": false; }; }, { "proxyFocus": "proxyFocus"; }, never, never, true, never>;
|
|
391
|
+
}
|
|
392
|
+
declare class RdxNavigationMenuAriaOwnsComponent {
|
|
393
|
+
contentId: string;
|
|
394
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuAriaOwnsComponent, never>;
|
|
395
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RdxNavigationMenuAriaOwnsComponent, "rdx-navigation-menu-aria-owns", never, { "contentId": { "alias": "contentId"; "required": false; }; }, {}, never, never, true, never>;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
declare class RdxNavigationMenuModule {
|
|
25
399
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxNavigationMenuModule, never>;
|
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxNavigationMenuModule, never, [typeof
|
|
400
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxNavigationMenuModule, never, [typeof RdxNavigationMenuDirective, typeof RdxNavigationMenuSubDirective, typeof RdxNavigationMenuListDirective, typeof RdxNavigationMenuItemDirective, typeof RdxNavigationMenuTriggerDirective, typeof RdxNavigationMenuLinkDirective, typeof RdxNavigationMenuIndicatorDirective, typeof RdxNavigationMenuContentDirective, typeof RdxNavigationMenuViewportDirective, typeof RdxNavigationMenuFocusProxyComponent, typeof RdxNavigationMenuAriaOwnsComponent], [typeof RdxNavigationMenuDirective, typeof RdxNavigationMenuSubDirective, typeof RdxNavigationMenuListDirective, typeof RdxNavigationMenuItemDirective, typeof RdxNavigationMenuTriggerDirective, typeof RdxNavigationMenuLinkDirective, typeof RdxNavigationMenuIndicatorDirective, typeof RdxNavigationMenuContentDirective, typeof RdxNavigationMenuViewportDirective, typeof RdxNavigationMenuFocusProxyComponent, typeof RdxNavigationMenuAriaOwnsComponent]>;
|
|
27
401
|
static ɵinj: i0.ɵɵInjectorDeclaration<RdxNavigationMenuModule>;
|
|
28
402
|
}
|
|
403
|
+
|
|
404
|
+
export { RDX_NAVIGATION_MENU_TOKEN, RdxNavigationMenuAction, RdxNavigationMenuAnimationStatus, RdxNavigationMenuAriaOwnsComponent, RdxNavigationMenuContentDirective, RdxNavigationMenuDirective, RdxNavigationMenuFocusProxyComponent, RdxNavigationMenuFocusableOption, RdxNavigationMenuIndicatorDirective, RdxNavigationMenuItemDirective, RdxNavigationMenuLinkDirective, RdxNavigationMenuListDirective, RdxNavigationMenuModule, RdxNavigationMenuSubDirective, RdxNavigationMenuTriggerDirective, RdxNavigationMenuViewportDirective, injectNavigationMenu, isRootNavigationMenu, provideNavigationMenuContext };
|
|
405
|
+
export type { NavigationMenuContext };
|
package/number-field/index.d.ts
CHANGED
|
@@ -1,17 +1,203 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ModelSignal, InputSignal, Signal, InputSignalWithTransform, InjectionToken, OnInit } from '@angular/core';
|
|
3
|
+
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
4
|
+
import { NumberFormatter, NumberParser } from '@internationalized/number';
|
|
5
|
+
|
|
6
|
+
type InputMode = 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
7
|
+
|
|
8
|
+
interface NumberFieldContextToken {
|
|
9
|
+
value: ModelSignal<number | undefined>;
|
|
10
|
+
locale: InputSignal<string>;
|
|
11
|
+
inputMode: Signal<InputMode>;
|
|
12
|
+
textValue: Signal<any>;
|
|
13
|
+
readonly: InputSignalWithTransform<boolean, BooleanInput>;
|
|
14
|
+
max: InputSignalWithTransform<number | undefined, NumberInput>;
|
|
15
|
+
min: InputSignalWithTransform<number | undefined, NumberInput>;
|
|
16
|
+
onInputElement: (el: HTMLInputElement) => void;
|
|
17
|
+
disabled: InputSignalWithTransform<boolean, BooleanInput>;
|
|
18
|
+
disableWheelChange: InputSignalWithTransform<boolean, BooleanInput>;
|
|
19
|
+
handleIncrease: (multiplier?: number) => void;
|
|
20
|
+
handleDecrease: (multiplier?: number) => void;
|
|
21
|
+
applyInputValue: (val: string) => void;
|
|
22
|
+
validate: (val: string) => boolean;
|
|
23
|
+
setInputValue: (val: string) => void;
|
|
24
|
+
isIncreaseDisabled: Signal<boolean>;
|
|
25
|
+
isDecreaseDisabled: Signal<boolean>;
|
|
26
|
+
handleMinMaxValue: (type: 'min' | 'max') => void;
|
|
17
27
|
}
|
|
28
|
+
declare const NUMBER_FIELD_ROOT_CONTEXT: InjectionToken<NumberFieldContextToken>;
|
|
29
|
+
declare function injectNumberFieldRootContext(): NumberFieldContextToken;
|
|
30
|
+
|
|
31
|
+
declare class RdxNumberFieldRootDirective implements OnInit, NumberFieldContextToken {
|
|
32
|
+
readonly value: _angular_core.ModelSignal<number | undefined>;
|
|
33
|
+
readonly min: _angular_core.InputSignalWithTransform<number | undefined, NumberInput>;
|
|
34
|
+
readonly max: _angular_core.InputSignalWithTransform<number | undefined, NumberInput>;
|
|
35
|
+
readonly step: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
36
|
+
readonly stepSnapping: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
37
|
+
readonly disableWheelChange: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
38
|
+
readonly locale: _angular_core.InputSignal<string>;
|
|
39
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
40
|
+
readonly formatOptions: _angular_core.InputSignal<Intl.NumberFormatOptions | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* When <code>true</code>, the Number Field is read-only.
|
|
43
|
+
*/
|
|
44
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
45
|
+
/**
|
|
46
|
+
* @ignore
|
|
47
|
+
*/
|
|
48
|
+
readonly inputEl: _angular_core.WritableSignal<HTMLInputElement | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* @ignore
|
|
51
|
+
*/
|
|
52
|
+
readonly isDecreaseDisabled: _angular_core.Signal<boolean>;
|
|
53
|
+
/**
|
|
54
|
+
* @ignore
|
|
55
|
+
*/
|
|
56
|
+
readonly isIncreaseDisabled: _angular_core.Signal<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* @ignore
|
|
59
|
+
*/
|
|
60
|
+
readonly inputMode: _angular_core.Signal<InputMode>;
|
|
61
|
+
/**
|
|
62
|
+
* Replace negative textValue formatted using currencySign: 'accounting'
|
|
63
|
+
* with a textValue that can be announced using a minus sign.
|
|
64
|
+
* @ignore
|
|
65
|
+
*/
|
|
66
|
+
readonly textValue: _angular_core.Signal<any>;
|
|
67
|
+
/**
|
|
68
|
+
* @ignore
|
|
69
|
+
*/
|
|
70
|
+
readonly onInputElement: (el: HTMLInputElement) => void;
|
|
71
|
+
/**
|
|
72
|
+
* @ignore
|
|
73
|
+
*/
|
|
74
|
+
numberParser: any;
|
|
75
|
+
/**
|
|
76
|
+
* @ignore
|
|
77
|
+
*/
|
|
78
|
+
numberFormatter: any;
|
|
79
|
+
/**
|
|
80
|
+
* @ignore
|
|
81
|
+
*/
|
|
82
|
+
textValueFormatter: any;
|
|
83
|
+
/**
|
|
84
|
+
* @ignore
|
|
85
|
+
*/
|
|
86
|
+
clampInputValue(val: number): number;
|
|
87
|
+
ngOnInit(): void;
|
|
88
|
+
/**
|
|
89
|
+
* @ignore
|
|
90
|
+
*/
|
|
91
|
+
handleMinMaxValue(type: 'min' | 'max'): void;
|
|
92
|
+
/**
|
|
93
|
+
* @ignore
|
|
94
|
+
*/
|
|
95
|
+
handleDecrease(multiplier?: number): void;
|
|
96
|
+
/**
|
|
97
|
+
* @ignore
|
|
98
|
+
*/
|
|
99
|
+
handleIncrease(multiplier?: number): void;
|
|
100
|
+
/**
|
|
101
|
+
* @ignore
|
|
102
|
+
*/
|
|
103
|
+
applyInputValue(val: string): void;
|
|
104
|
+
/**
|
|
105
|
+
* @ignore
|
|
106
|
+
*/
|
|
107
|
+
setInputValue(val: string): void;
|
|
108
|
+
/**
|
|
109
|
+
* @ignore
|
|
110
|
+
*/
|
|
111
|
+
validate(val: string): any;
|
|
112
|
+
private handleChangingValue;
|
|
113
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxNumberFieldRootDirective, never>;
|
|
114
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxNumberFieldRootDirective, "[rdxNumberFieldRoot]", ["rdxNumberFieldRoot"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "stepSnapping": { "alias": "stepSnapping"; "required": false; "isSignal": true; }; "disableWheelChange": { "alias": "disableWheelChange"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "formatOptions": { "alias": "formatOptions"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare class RdxNumberFieldInputDirective implements OnInit {
|
|
118
|
+
private readonly elementRef;
|
|
119
|
+
protected readonly rootContext: NumberFieldContextToken;
|
|
120
|
+
readonly inputValue: _angular_core.WritableSignal<any>;
|
|
121
|
+
constructor();
|
|
122
|
+
ngOnInit(): void;
|
|
123
|
+
onBeforeInput(event: InputEvent): void;
|
|
124
|
+
onWheelEvent(event: WheelEvent): void;
|
|
125
|
+
onKeydownPageUp(event: KeyboardEvent): void;
|
|
126
|
+
onKeydownPageDown(event: KeyboardEvent): void;
|
|
127
|
+
onKeydownHome(event: KeyboardEvent): void;
|
|
128
|
+
onKeydownEnd(event: KeyboardEvent): void;
|
|
129
|
+
onInput(event: InputEvent): void;
|
|
130
|
+
onChange(): void;
|
|
131
|
+
onKeydownEnter(event: KeyboardEvent): void;
|
|
132
|
+
onKeydownUp(event: KeyboardEvent): void;
|
|
133
|
+
onKeydownDown(event: KeyboardEvent): void;
|
|
134
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxNumberFieldInputDirective, never>;
|
|
135
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxNumberFieldInputDirective, "input[rdxNumberFieldInput]", never, {}, {}, never, never, true, never>;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
declare class RdxNumberFieldIncrementDirective implements OnInit {
|
|
139
|
+
private readonly elementRef;
|
|
140
|
+
private readonly pressedHold;
|
|
141
|
+
protected readonly rootContext: NumberFieldContextToken;
|
|
142
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
143
|
+
/**
|
|
144
|
+
* @ignore
|
|
145
|
+
*/
|
|
146
|
+
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
147
|
+
/**
|
|
148
|
+
* @ignore
|
|
149
|
+
*/
|
|
150
|
+
readonly useHold: {
|
|
151
|
+
isPressed: _angular_core.Signal<boolean>;
|
|
152
|
+
onTrigger: (fn: () => void) => void;
|
|
153
|
+
};
|
|
154
|
+
ngOnInit(): void;
|
|
155
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxNumberFieldIncrementDirective, never>;
|
|
156
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxNumberFieldIncrementDirective, "button[rdxNumberFieldIncrement]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
declare class RdxNumberFieldDecrementDirective implements OnInit {
|
|
160
|
+
private readonly elementRef;
|
|
161
|
+
private readonly pressedHold;
|
|
162
|
+
protected readonly rootContext: NumberFieldContextToken;
|
|
163
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
164
|
+
/**
|
|
165
|
+
* @ignore
|
|
166
|
+
*/
|
|
167
|
+
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
168
|
+
/**
|
|
169
|
+
* @ignore
|
|
170
|
+
*/
|
|
171
|
+
readonly useHold: {
|
|
172
|
+
isPressed: _angular_core.Signal<boolean>;
|
|
173
|
+
onTrigger: (fn: () => void) => void;
|
|
174
|
+
};
|
|
175
|
+
ngOnInit(): void;
|
|
176
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxNumberFieldDecrementDirective, never>;
|
|
177
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxNumberFieldDecrementDirective, "button[rdxNumberFieldDecrement]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
declare class PressedHoldService {
|
|
181
|
+
private readonly destroyRef;
|
|
182
|
+
create(options: {
|
|
183
|
+
target?: Signal<HTMLElement | undefined>;
|
|
184
|
+
disabled: Signal<boolean>;
|
|
185
|
+
}): {
|
|
186
|
+
isPressed: Signal<boolean>;
|
|
187
|
+
onTrigger: (fn: () => void) => void;
|
|
188
|
+
};
|
|
189
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PressedHoldService, never>;
|
|
190
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PressedHoldService>;
|
|
191
|
+
}
|
|
192
|
+
declare function useNumberFormatter(locale: Signal<string>, options?: Signal<Intl.NumberFormatOptions | undefined>): Signal<NumberFormatter>;
|
|
193
|
+
declare function useNumberParser(locale: Signal<string>, options?: Signal<Intl.NumberFormatOptions | undefined>): Signal<NumberParser>;
|
|
194
|
+
declare function handleDecimalOperation(operator: '-' | '+', value1: number, value2: number): number;
|
|
195
|
+
|
|
196
|
+
declare class RdxNumberFieldModule {
|
|
197
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxNumberFieldModule, never>;
|
|
198
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<RdxNumberFieldModule, never, [typeof RdxNumberFieldRootDirective, typeof RdxNumberFieldInputDirective, typeof RdxNumberFieldIncrementDirective, typeof RdxNumberFieldDecrementDirective], [typeof RdxNumberFieldRootDirective, typeof RdxNumberFieldInputDirective, typeof RdxNumberFieldIncrementDirective, typeof RdxNumberFieldDecrementDirective]>;
|
|
199
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<RdxNumberFieldModule>;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export { NUMBER_FIELD_ROOT_CONTEXT, PressedHoldService, RdxNumberFieldDecrementDirective, RdxNumberFieldIncrementDirective, RdxNumberFieldInputDirective, RdxNumberFieldModule, RdxNumberFieldRootDirective, handleDecimalOperation, injectNumberFieldRootContext, useNumberFormatter, useNumberParser };
|
|
203
|
+
export type { InputMode, NumberFieldContextToken };
|