@ngbase/adk 0.1.10 → 0.1.12
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 +151 -5
- package/accordion/index.d.ts +44 -5
- package/autocomplete/index.d.ts +54 -5
- package/avatar/index.d.ts +25 -5
- package/bidi/index.d.ts +17 -5
- package/breadcrumb/index.d.ts +36 -5
- package/cache/index.d.ts +46 -5
- package/carousel/index.d.ts +79 -5
- package/checkbox/index.d.ts +33 -5
- package/chip/index.d.ts +28 -5
- package/clipboard/index.d.ts +11 -5
- package/collections/index.d.ts +23 -5
- package/color-picker/index.d.ts +119 -5
- package/cookies/index.d.ts +35 -5
- package/datepicker/index.d.ts +317 -5
- package/dialog/index.d.ts +63 -5
- package/drag/index.d.ts +107 -5
- package/fesm2022/ngbase-adk-a11y.mjs +100 -74
- package/fesm2022/ngbase-adk-a11y.mjs.map +1 -1
- package/fesm2022/ngbase-adk-accordion.mjs +31 -19
- package/fesm2022/ngbase-adk-accordion.mjs.map +1 -1
- package/fesm2022/ngbase-adk-autocomplete.mjs +17 -17
- package/fesm2022/ngbase-adk-autocomplete.mjs.map +1 -1
- package/fesm2022/ngbase-adk-avatar.mjs +16 -16
- package/fesm2022/ngbase-adk-avatar.mjs.map +1 -1
- package/fesm2022/ngbase-adk-bidi.mjs +6 -7
- package/fesm2022/ngbase-adk-bidi.mjs.map +1 -1
- package/fesm2022/ngbase-adk-breadcrumb.mjs +15 -15
- package/fesm2022/ngbase-adk-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngbase-adk-cache.mjs +3 -3
- package/fesm2022/ngbase-adk-carousel.mjs +24 -24
- package/fesm2022/ngbase-adk-carousel.mjs.map +1 -1
- package/fesm2022/ngbase-adk-checkbox.mjs +10 -10
- package/fesm2022/ngbase-adk-checkbox.mjs.map +1 -1
- package/fesm2022/ngbase-adk-chip.mjs +13 -13
- package/fesm2022/ngbase-adk-chip.mjs.map +1 -1
- package/fesm2022/ngbase-adk-clipboard.mjs +27 -12
- package/fesm2022/ngbase-adk-clipboard.mjs.map +1 -1
- package/fesm2022/ngbase-adk-collections.mjs +5 -5
- package/fesm2022/ngbase-adk-collections.mjs.map +1 -1
- package/fesm2022/ngbase-adk-color-picker.mjs +39 -39
- package/fesm2022/ngbase-adk-color-picker.mjs.map +1 -1
- package/fesm2022/ngbase-adk-cookies.mjs +3 -3
- package/fesm2022/ngbase-adk-datepicker.mjs +107 -107
- package/fesm2022/ngbase-adk-datepicker.mjs.map +1 -1
- package/fesm2022/ngbase-adk-dialog.mjs +39 -109
- package/fesm2022/ngbase-adk-dialog.mjs.map +1 -1
- package/fesm2022/ngbase-adk-drag.mjs +21 -22
- package/fesm2022/ngbase-adk-drag.mjs.map +1 -1
- package/fesm2022/ngbase-adk-form-field.mjs +206 -31
- package/fesm2022/ngbase-adk-form-field.mjs.map +1 -1
- package/fesm2022/ngbase-adk-hover-card.mjs +6 -6
- package/fesm2022/ngbase-adk-hover-card.mjs.map +1 -1
- package/fesm2022/ngbase-adk-icon.mjs +10 -10
- package/fesm2022/ngbase-adk-icon.mjs.map +1 -1
- package/fesm2022/ngbase-adk-inline-edit.mjs +29 -27
- package/fesm2022/ngbase-adk-inline-edit.mjs.map +1 -1
- package/fesm2022/ngbase-adk-jwt.mjs +6 -6
- package/fesm2022/ngbase-adk-keys.mjs +7 -8
- package/fesm2022/ngbase-adk-keys.mjs.map +1 -1
- package/fesm2022/ngbase-adk-layout.mjs +1 -1
- package/fesm2022/ngbase-adk-layout.mjs.map +1 -1
- package/fesm2022/ngbase-adk-list.mjs +10 -10
- package/fesm2022/ngbase-adk-list.mjs.map +1 -1
- package/fesm2022/ngbase-adk-mask.mjs +8 -8
- package/fesm2022/ngbase-adk-mask.mjs.map +1 -1
- package/fesm2022/ngbase-adk-menu.mjs +41 -41
- package/fesm2022/ngbase-adk-menu.mjs.map +1 -1
- package/fesm2022/ngbase-adk-network.mjs +4 -4
- package/fesm2022/ngbase-adk-network.mjs.map +1 -1
- package/fesm2022/ngbase-adk-otp.mjs +19 -19
- package/fesm2022/ngbase-adk-otp.mjs.map +1 -1
- package/fesm2022/ngbase-adk-pagination.mjs +20 -20
- package/fesm2022/ngbase-adk-pagination.mjs.map +1 -1
- package/fesm2022/ngbase-adk-popover.mjs +28 -28
- package/fesm2022/ngbase-adk-popover.mjs.map +1 -1
- package/fesm2022/ngbase-adk-portal.mjs +14 -15
- package/fesm2022/ngbase-adk-portal.mjs.map +1 -1
- package/fesm2022/ngbase-adk-progress.mjs +8 -8
- package/fesm2022/ngbase-adk-progress.mjs.map +1 -1
- package/fesm2022/ngbase-adk-radio.mjs +15 -15
- package/fesm2022/ngbase-adk-radio.mjs.map +1 -1
- package/fesm2022/ngbase-adk-resizable.mjs +19 -20
- package/fesm2022/ngbase-adk-resizable.mjs.map +1 -1
- package/fesm2022/ngbase-adk-scroll-area.mjs +31 -31
- package/fesm2022/ngbase-adk-scroll-area.mjs.map +1 -1
- package/fesm2022/ngbase-adk-select.mjs +73 -75
- package/fesm2022/ngbase-adk-select.mjs.map +1 -1
- package/fesm2022/ngbase-adk-selectable.mjs +9 -9
- package/fesm2022/ngbase-adk-selectable.mjs.map +1 -1
- package/fesm2022/ngbase-adk-sheet.mjs +9 -7
- package/fesm2022/ngbase-adk-sheet.mjs.map +1 -1
- package/fesm2022/ngbase-adk-sidenav.mjs +37 -37
- package/fesm2022/ngbase-adk-sidenav.mjs.map +1 -1
- package/fesm2022/ngbase-adk-slider.mjs +26 -26
- package/fesm2022/ngbase-adk-slider.mjs.map +1 -1
- package/fesm2022/ngbase-adk-sonner.mjs +11 -11
- package/fesm2022/ngbase-adk-sonner.mjs.map +1 -1
- package/fesm2022/ngbase-adk-stepper.mjs +28 -28
- package/fesm2022/ngbase-adk-stepper.mjs.map +1 -1
- package/fesm2022/ngbase-adk-switch.mjs +16 -16
- package/fesm2022/ngbase-adk-switch.mjs.map +1 -1
- package/fesm2022/ngbase-adk-table.mjs +98 -78
- package/fesm2022/ngbase-adk-table.mjs.map +1 -1
- package/fesm2022/ngbase-adk-tabs.mjs +44 -44
- package/fesm2022/ngbase-adk-tabs.mjs.map +1 -1
- package/fesm2022/ngbase-adk-toggle-group.mjs +15 -15
- package/fesm2022/ngbase-adk-toggle-group.mjs.map +1 -1
- package/fesm2022/ngbase-adk-toggle.mjs +4 -4
- package/fesm2022/ngbase-adk-toggle.mjs.map +1 -1
- package/fesm2022/ngbase-adk-tooltip.mjs +15 -15
- package/fesm2022/ngbase-adk-tooltip.mjs.map +1 -1
- package/fesm2022/ngbase-adk-tour.mjs +28 -28
- package/fesm2022/ngbase-adk-tour.mjs.map +1 -1
- package/fesm2022/ngbase-adk-translate.mjs +13 -13
- package/fesm2022/ngbase-adk-translate.mjs.map +1 -1
- package/fesm2022/ngbase-adk-tree.mjs +27 -27
- package/fesm2022/ngbase-adk-tree.mjs.map +1 -1
- package/fesm2022/ngbase-adk-utils.mjs +43 -20
- package/fesm2022/ngbase-adk-utils.mjs.map +1 -1
- package/fesm2022/ngbase-adk-virtualizer.mjs +20 -20
- package/fesm2022/ngbase-adk-virtualizer.mjs.map +1 -1
- package/form-field/index.d.ts +95 -5
- package/hover-card/index.d.ts +21 -5
- package/icon/index.d.ts +28 -5
- package/index.d.ts +2 -5
- package/inline-edit/index.d.ts +53 -5
- package/jwt/index.d.ts +20 -5
- package/keys/index.d.ts +54 -5
- package/layout/index.d.ts +20 -5
- package/list/index.d.ts +34 -5
- package/mask/index.d.ts +33 -5
- package/menu/index.d.ts +145 -5
- package/network/index.d.ts +29 -5
- package/otp/index.d.ts +51 -5
- package/package.json +44 -44
- package/pagination/index.d.ts +35 -5
- package/popover/index.d.ts +212 -5
- package/portal/index.d.ts +113 -5
- package/progress/index.d.ts +17 -5
- package/radio/index.d.ts +45 -5
- package/resizable/index.d.ts +73 -5
- package/schematics/components/files/accordion/accordion.ts.template +2 -2
- package/schematics/components/files/autocomplete/autocomplete.ts.template +1 -0
- package/schematics/components/files/avatar/avatar.ts.template +12 -4
- package/schematics/components/files/button/button.ts.template +32 -13
- package/schematics/components/files/command/command.ts.template +10 -9
- package/schematics/components/files/datepicker/datepicker-llm.md.template +15 -2
- package/schematics/components/files/dialog/dialog.ts.template +9 -2
- package/schematics/components/files/drawer/drawer.ts.template +1 -1
- package/schematics/components/files/form-field/form-field.ts.template +10 -1
- package/schematics/components/files/form-field/input-style.directive.ts.template +1 -1
- package/schematics/components/files/icon/icon-llm.md.template +0 -1
- package/schematics/components/files/inline-edit/inline-edit.ts.template +2 -2
- package/schematics/components/files/otp/otp.ts.template +1 -1
- package/schematics/components/files/picasa/picasa-base.component.ts.template +1 -2
- package/schematics/components/files/picasa/picasa.component.ts.template +4 -4
- package/schematics/components/files/select/select.ts.template +5 -18
- package/schematics/components/files/sheet/sheet.ts.template +1 -1
- package/schematics/components/files/sidenav/sidenav-llm.md.template +0 -1
- package/schematics/components/files/spinner/spinner.ts.template +1 -29
- package/schematics/components/files/table/table-llm.md.template +41 -1
- package/schematics/components/files/table/table.ts.template +40 -5
- package/scroll-area/index.d.ts +60 -5
- package/select/index.d.ts +177 -5
- package/selectable/index.d.ts +32 -5
- package/sheet/index.d.ts +44 -5
- package/sidenav/index.d.ts +74 -5
- package/slider/index.d.ts +79 -5
- package/sonner/index.d.ts +50 -5
- package/stepper/index.d.ts +54 -5
- package/switch/index.d.ts +47 -5
- package/table/index.d.ts +143 -5
- package/tabs/index.d.ts +85 -5
- package/test/index.d.ts +81 -5
- package/toggle/index.d.ts +16 -5
- package/toggle-group/index.d.ts +39 -5
- package/tooltip/index.d.ts +60 -5
- package/tour/index.d.ts +70 -5
- package/translate/index.d.ts +58 -5
- package/tree/index.d.ts +95 -5
- package/utils/index.d.ts +82 -5
- package/virtualizer/index.d.ts +45 -5
- package/a11y/accessibility-group.d.ts +0 -46
- package/a11y/accessibility-item.d.ts +0 -49
- package/a11y/accessibility.service.d.ts +0 -17
- package/a11y/autofocus.d.ts +0 -18
- package/a11y/focus-trap.d.ts +0 -15
- package/a11y/public-api.d.ts +0 -4
- package/accordion/accordion-content.d.ts +0 -8
- package/accordion/accordion-group.d.ts +0 -10
- package/accordion/accordion-header.d.ts +0 -7
- package/accordion/accordion-item.d.ts +0 -16
- package/accordion/public-api.d.ts +0 -4
- package/autocomplete/autocomplete-input.d.ts +0 -19
- package/autocomplete/autocomplete.d.ts +0 -34
- package/autocomplete/public-api.d.ts +0 -2
- package/avatar/avatar.d.ts +0 -22
- package/avatar/public-api.d.ts +0 -1
- package/bidi/direction.service.d.ts +0 -14
- package/bidi/public-api.d.ts +0 -1
- package/breadcrumb/breadcrumb-link.d.ts +0 -7
- package/breadcrumb/breadcrumb-separator.d.ts +0 -6
- package/breadcrumb/breadcrumb.d.ts +0 -12
- package/breadcrumb/breadcrumbs.d.ts +0 -9
- package/breadcrumb/public-api.d.ts +0 -4
- package/cache/cache-config.d.ts +0 -22
- package/cache/cache.d.ts +0 -17
- package/cache/cache.interecptor.d.ts +0 -2
- package/cache/public-api.d.ts +0 -3
- package/carousel/carousel-item.d.ts +0 -7
- package/carousel/carousel-next.d.ts +0 -8
- package/carousel/carousel.d.ts +0 -61
- package/carousel/public-api.d.ts +0 -3
- package/checkbox/checkbox.d.ts +0 -30
- package/checkbox/public-api.d.ts +0 -1
- package/chip/chip-group.d.ts +0 -7
- package/chip/chip.d.ts +0 -19
- package/chip/public-api.d.ts +0 -2
- package/clipboard/clipboard.d.ts +0 -7
- package/clipboard/public-api.d.ts +0 -1
- package/collections/SelectionModel.d.ts +0 -19
- package/collections/public-api.d.ts +0 -1
- package/color-picker/color-input.d.ts +0 -16
- package/color-picker/color-picker-trigger.d.ts +0 -30
- package/color-picker/color-picker.d.ts +0 -72
- package/color-picker/public-api.d.ts +0 -3
- package/color-picker/utils.d.ts +0 -21
- package/cookies/cookie.service.d.ts +0 -32
- package/cookies/public-api.d.ts +0 -1
- package/datepicker/calendar.d.ts +0 -121
- package/datepicker/datepicker-trigger.d.ts +0 -66
- package/datepicker/datepicker.d.ts +0 -55
- package/datepicker/native-date-adapter.d.ts +0 -33
- package/datepicker/public-api.d.ts +0 -5
- package/datepicker/time.d.ts +0 -42
- package/dialog/dialog.animation.d.ts +0 -3
- package/dialog/dialog.d.ts +0 -49
- package/dialog/dialog.service.d.ts +0 -7
- package/dialog/public-api.d.ts +0 -3
- package/drag/drag-drop.d.ts +0 -37
- package/drag/drag-move.d.ts +0 -17
- package/drag/drag.d.ts +0 -52
- package/drag/public-api.d.ts +0 -3
- package/form-field/auto-height.d.ts +0 -9
- package/form-field/error.d.ts +0 -18
- package/form-field/form-field.d.ts +0 -14
- package/form-field/input.d.ts +0 -16
- package/form-field/label.d.ts +0 -7
- package/form-field/public-api.d.ts +0 -5
- package/hover-card/hover-card.d.ts +0 -18
- package/hover-card/public-api.d.ts +0 -1
- package/icon/icon.d.ts +0 -12
- package/icon/icon.service.d.ts +0 -12
- package/icon/public-api.d.ts +0 -2
- package/inline-edit/inline-edit.d.ts +0 -47
- package/inline-edit/public-api.d.ts +0 -1
- package/jwt/jwt.service.d.ts +0 -27
- package/jwt/public-api.d.ts +0 -1
- package/keys/keys.service.d.ts +0 -13
- package/keys/public-api.d.ts +0 -2
- package/keys/shortcuts.service.d.ts +0 -38
- package/layout/layout.d.ts +0 -16
- package/layout/public-api.d.ts +0 -1
- package/list/list.d.ts +0 -20
- package/list/list.directive.d.ts +0 -12
- package/list/public-api.d.ts +0 -2
- package/mask/mask-pipe.d.ts +0 -7
- package/mask/mask.d.ts +0 -24
- package/mask/public-api.d.ts +0 -2
- package/menu/context-menu.d.ts +0 -21
- package/menu/mention.d.ts +0 -18
- package/menu/menu-trigger.d.ts +0 -34
- package/menu/menu.d.ts +0 -58
- package/menu/navigation-menu.d.ts +0 -19
- package/menu/public-api.d.ts +0 -5
- package/network/network.interceptor.d.ts +0 -6
- package/network/network.service.d.ts +0 -18
- package/network/public-api.d.ts +0 -2
- package/otp/otp.d.ts +0 -48
- package/otp/public-api.d.ts +0 -1
- package/pagination/pagination.d.ts +0 -32
- package/pagination/public-api.d.ts +0 -1
- package/popover/base-popover.service.d.ts +0 -16
- package/popover/popover-arrow.ng.d.ts +0 -34
- package/popover/popover-trigger.d.ts +0 -21
- package/popover/popover.d.ts +0 -60
- package/popover/popover.service.d.ts +0 -43
- package/popover/public-api.d.ts +0 -6
- package/popover/utils.d.ts +0 -69
- package/portal/dialog-ref.d.ts +0 -70
- package/portal/portal-base.service.d.ts +0 -19
- package/portal/portal-close.directive.d.ts +0 -9
- package/portal/portal.component.d.ts +0 -7
- package/portal/portal.service.d.ts +0 -16
- package/portal/public-api.d.ts +0 -5
- package/progress/progress.d.ts +0 -13
- package/progress/public-api.d.ts +0 -1
- package/public-api.d.ts +0 -2
- package/radio/public-api.d.ts +0 -2
- package/radio/radio-group.d.ts +0 -19
- package/radio/radio.d.ts +0 -26
- package/resizable/public-api.d.ts +0 -2
- package/resizable/resizable-group.d.ts +0 -22
- package/resizable/resizable.d.ts +0 -50
- package/scroll-area/public-api.d.ts +0 -1
- package/scroll-area/scroll-area.d.ts +0 -56
- package/select/list-selection.d.ts +0 -7
- package/select/option-group.d.ts +0 -7
- package/select/option.d.ts +0 -25
- package/select/public-api.d.ts +0 -6
- package/select/select-base.d.ts +0 -66
- package/select/select-input.d.ts +0 -23
- package/select/select.d.ts +0 -53
- package/selectable/public-api.d.ts +0 -2
- package/selectable/selectable-item.d.ts +0 -12
- package/selectable/selectable.d.ts +0 -19
- package/sheet/public-api.d.ts +0 -2
- package/sheet/sheet.d.ts +0 -26
- package/sheet/sheet.service.d.ts +0 -13
- package/sidenav/public-api.d.ts +0 -3
- package/sidenav/sidenav-header.d.ts +0 -31
- package/sidenav/sidenav.d.ts +0 -23
- package/sidenav/sidenav.service.d.ts +0 -18
- package/slider/public-api.d.ts +0 -1
- package/slider/slider.d.ts +0 -76
- package/sonner/public-api.d.ts +0 -2
- package/sonner/sonner.d.ts +0 -25
- package/sonner/sonner.service.d.ts +0 -21
- package/stepper/animation.d.ts +0 -1
- package/stepper/public-api.d.ts +0 -3
- package/stepper/step.d.ts +0 -24
- package/stepper/stepper.d.ts +0 -26
- package/switch/public-api.d.ts +0 -1
- package/switch/switch.d.ts +0 -44
- package/table/body-cell.d.ts +0 -11
- package/table/body-row.d.ts +0 -25
- package/table/column.d.ts +0 -10
- package/table/head-cell.d.ts +0 -12
- package/table/head-row.d.ts +0 -24
- package/table/public-api.d.ts +0 -8
- package/table/sort.d.ts +0 -40
- package/table/table.d.ts +0 -38
- package/tabs/public-api.d.ts +0 -2
- package/tabs/tab-group.d.ts +0 -52
- package/tabs/tab.d.ts +0 -31
- package/test/public-api.d.ts +0 -1
- package/test/utils.d.ts +0 -78
- package/toggle/public-api.d.ts +0 -1
- package/toggle/toggle.d.ts +0 -13
- package/toggle-group/public-api.d.ts +0 -2
- package/toggle-group/toggle-group.d.ts +0 -25
- package/toggle-group/toggle-item.d.ts +0 -14
- package/tooltip/public-api.d.ts +0 -2
- package/tooltip/tooltip.d.ts +0 -24
- package/tooltip/tooltip.directive.d.ts +0 -34
- package/tooltip/tooltip.service.d.ts +0 -28
- package/tour/animation.d.ts +0 -2
- package/tour/public-api.d.ts +0 -5
- package/tour/tour-base.d.ts +0 -21
- package/tour/tour-step.d.ts +0 -11
- package/tour/tour.d.ts +0 -9
- package/tour/tour.service.d.ts +0 -29
- package/translate/config.d.ts +0 -16
- package/translate/public-api.d.ts +0 -3
- package/translate/translate.d.ts +0 -11
- package/translate/translate.service.d.ts +0 -31
- package/tree/public-api.d.ts +0 -3
- package/tree/tree-node.d.ts +0 -28
- package/tree/tree-toggle.d.ts +0 -16
- package/tree/tree.d.ts +0 -55
- package/utils/animation.d.ts +0 -3
- package/utils/disposals.d.ts +0 -7
- package/utils/number-only.d.ts +0 -22
- package/utils/public-api.d.ts +0 -6
- package/utils/range.pipe.d.ts +0 -7
- package/utils/ssr.d.ts +0 -2
- package/utils/utils.d.ts +0 -28
- package/virtualizer/public-api.d.ts +0 -1
- package/virtualizer/virtualizer.d.ts +0 -42
package/tour/index.d.ts
CHANGED
|
@@ -1,5 +1,70 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ElementRef, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import { DialogInput, BaseDialog, DialogOptions } from '@ngbase/adk/portal';
|
|
4
|
+
import { PopoverOptions } from '@ngbase/adk/popover';
|
|
5
|
+
import * as _angular_animations from '@angular/animations';
|
|
6
|
+
|
|
7
|
+
declare class NgbTourService {
|
|
8
|
+
private readonly popover;
|
|
9
|
+
readonly steps: _angular_core.WritableSignal<NgbTourStep[]>;
|
|
10
|
+
readonly step: _angular_core.WritableSignal<number>;
|
|
11
|
+
private readonly ids;
|
|
12
|
+
readonly currentStep: _angular_core.Signal<NgbTourStep | undefined>;
|
|
13
|
+
private diaRef?;
|
|
14
|
+
private id;
|
|
15
|
+
private template;
|
|
16
|
+
readonly showPrev: _angular_core.Signal<boolean>;
|
|
17
|
+
readonly showNext: _angular_core.Signal<boolean>;
|
|
18
|
+
readonly isLast: _angular_core.Signal<boolean>;
|
|
19
|
+
readonly totalSteps: _angular_core.Signal<number>;
|
|
20
|
+
scrolled: _angular_core.WritableSignal<number>;
|
|
21
|
+
private readonly clipPath;
|
|
22
|
+
addStep(step: NgbTourStep): void;
|
|
23
|
+
start<T>(comp: DialogInput<T>, ids: string[]): void;
|
|
24
|
+
prev(): void;
|
|
25
|
+
next(): void;
|
|
26
|
+
go(id: number): void;
|
|
27
|
+
stop(): void;
|
|
28
|
+
private showOverlay;
|
|
29
|
+
private hideOverlay;
|
|
30
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgbTourService, never>;
|
|
31
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<NgbTourService>;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
declare class NgbTourStep {
|
|
35
|
+
readonly el: ElementRef<any>;
|
|
36
|
+
readonly tourService: NgbTourService;
|
|
37
|
+
readonly ngbTourStep: _angular_core.InputSignal<string>;
|
|
38
|
+
constructor();
|
|
39
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgbTourStep, never>;
|
|
40
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgbTourStep, "[ngbTourStep]", never, { "ngbTourStep": { "alias": "ngbTourStep"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare class NgbTour {
|
|
44
|
+
readonly tourService: NgbTourService;
|
|
45
|
+
readonly steps: _angular_core.Signal<readonly NgbTourStep[]>;
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgbTour, never>;
|
|
47
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgbTour, "[ngbTour]", never, {}, {}, ["steps"], never, true, never>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare class NgbBaseTour extends BaseDialog implements OnDestroy {
|
|
51
|
+
readonly tourService: NgbTourService;
|
|
52
|
+
readonly myDialog: _angular_core.Signal<ViewContainerRef | undefined>;
|
|
53
|
+
readonly container: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
54
|
+
options: DialogOptions;
|
|
55
|
+
tooltipOptions: PopoverOptions;
|
|
56
|
+
private lastPosition;
|
|
57
|
+
readonly scrolled: _angular_core.WritableSignal<number>;
|
|
58
|
+
readonly clipPath: _angular_core.Signal<string>;
|
|
59
|
+
constructor();
|
|
60
|
+
private updateDimension;
|
|
61
|
+
setOptions(options: DialogOptions): void;
|
|
62
|
+
ngOnDestroy(): void;
|
|
63
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgbBaseTour, never>;
|
|
64
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgbBaseTour, "[ngbTour]", never, {}, {}, never, never, true, never>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
declare const slideInOutAnimation: _angular_animations.AnimationTriggerMetadata;
|
|
68
|
+
declare const tourAnimation: _angular_animations.AnimationTriggerMetadata[];
|
|
69
|
+
|
|
70
|
+
export { NgbBaseTour, NgbTour, NgbTourService, NgbTourStep, slideInOutAnimation, tourAnimation };
|
package/translate/index.d.ts
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { PipeTransform, EnvironmentInjector, InjectionToken } from '@angular/core';
|
|
3
|
+
import * as rxjs from 'rxjs';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
|
|
6
|
+
declare class Translate implements PipeTransform {
|
|
7
|
+
private translate;
|
|
8
|
+
private value;
|
|
9
|
+
private linkedValue;
|
|
10
|
+
transform(value: string, ...args: any[]): _angular_core.WritableSignal<string>;
|
|
11
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Translate, never>;
|
|
12
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<Translate, "t", true>;
|
|
13
|
+
}
|
|
14
|
+
declare function translate(): (value: string, ...args: any[]) => string;
|
|
15
|
+
|
|
16
|
+
declare class TranslateService {
|
|
17
|
+
private config;
|
|
18
|
+
private readonly _defaultLang;
|
|
19
|
+
private readonly _currentLang;
|
|
20
|
+
readonly defaultLang: _angular_core.Signal<string>;
|
|
21
|
+
readonly currentLang: _angular_core.Signal<string>;
|
|
22
|
+
private lastLang;
|
|
23
|
+
private readonly cachedTranslations;
|
|
24
|
+
private readonly _translationData;
|
|
25
|
+
readonly translations: _angular_core.Signal<Translation>;
|
|
26
|
+
readonly envInjector: EnvironmentInjector;
|
|
27
|
+
readonly status: _angular_core.WritableSignal<"error" | "loading" | "done">;
|
|
28
|
+
init(): rxjs.Observable<Translation<any>>;
|
|
29
|
+
setDefaultLang(lang: string): void;
|
|
30
|
+
use(lang: string): void;
|
|
31
|
+
private loadTranslations;
|
|
32
|
+
/**
|
|
33
|
+
* @key - The key to translate.
|
|
34
|
+
* @data - The data to pass to the translation.
|
|
35
|
+
* @returns The translated value.
|
|
36
|
+
* The key can be a string or a nested key.
|
|
37
|
+
* The data is used to interpolate the translation.
|
|
38
|
+
*/
|
|
39
|
+
translate: (key: string, params?: Record<string, any>, translationData?: Translation) => string;
|
|
40
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TranslateService, never>;
|
|
41
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<TranslateService>;
|
|
42
|
+
}
|
|
43
|
+
declare const injectTranslate: () => TranslateService;
|
|
44
|
+
|
|
45
|
+
type Translation<T = any> = Record<string, T>;
|
|
46
|
+
interface TranslateConfig {
|
|
47
|
+
defaultLang: string;
|
|
48
|
+
preloadedLanguages?: Record<string, Translation>;
|
|
49
|
+
path?: string;
|
|
50
|
+
loader?: (lang: string, fallbackLang: string, config: TranslateConfig) => Observable<Translation>;
|
|
51
|
+
}
|
|
52
|
+
declare function provideTranslate(config: TranslateConfig): (typeof TranslateService | _angular_core.EnvironmentProviders | {
|
|
53
|
+
provide: InjectionToken<TranslateConfig>;
|
|
54
|
+
useValue: TranslateConfig;
|
|
55
|
+
})[];
|
|
56
|
+
|
|
57
|
+
export { Translate, injectTranslate, provideTranslate, translate };
|
|
58
|
+
export type { TranslateConfig };
|
package/tree/index.d.ts
CHANGED
|
@@ -1,5 +1,95 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef, ViewContainerRef, EmbeddedViewRef, Type } from '@angular/core';
|
|
3
|
+
import * as i1 from '@ngbase/adk/a11y';
|
|
4
|
+
import * as _ngbase_adk_bidi from '@ngbase/adk/bidi';
|
|
5
|
+
|
|
6
|
+
interface FlatNode {
|
|
7
|
+
expandable: boolean;
|
|
8
|
+
id: string;
|
|
9
|
+
level: number;
|
|
10
|
+
isExpanded?: boolean;
|
|
11
|
+
parentId?: string;
|
|
12
|
+
index: number;
|
|
13
|
+
childrenCount: number;
|
|
14
|
+
}
|
|
15
|
+
interface TreeNodeData<T> {
|
|
16
|
+
level: number;
|
|
17
|
+
details: FlatNode;
|
|
18
|
+
data: T;
|
|
19
|
+
}
|
|
20
|
+
interface TreeNodeImplicit<T> {
|
|
21
|
+
$implicit: T;
|
|
22
|
+
level: number;
|
|
23
|
+
}
|
|
24
|
+
declare class NgbTree<T> {
|
|
25
|
+
private readonly injector;
|
|
26
|
+
private readonly differs;
|
|
27
|
+
readonly ayId: string;
|
|
28
|
+
readonly treeNodeDef: _angular_core.Signal<TemplateRef<any>>;
|
|
29
|
+
readonly container: _angular_core.Signal<ViewContainerRef>;
|
|
30
|
+
readonly dataSource: _angular_core.InputSignal<T[]>;
|
|
31
|
+
readonly trackBy: _angular_core.InputSignal<(index: number, item: T) => any>;
|
|
32
|
+
readonly children: _angular_core.InputSignal<(node: T) => T[]>;
|
|
33
|
+
readonly opened: _angular_core.WritableSignal<Set<string>>;
|
|
34
|
+
readonly trace: Map<string, {
|
|
35
|
+
ref: EmbeddedViewRef<TreeNodeImplicit<T>>;
|
|
36
|
+
parent: FlatNode;
|
|
37
|
+
}>;
|
|
38
|
+
private readonly _dataDiffers;
|
|
39
|
+
private readonly flattener;
|
|
40
|
+
private expanded;
|
|
41
|
+
constructor();
|
|
42
|
+
private removeNode;
|
|
43
|
+
getNode(id: string): T | undefined;
|
|
44
|
+
private renderNode;
|
|
45
|
+
toggle(data: FlatNode): void;
|
|
46
|
+
foldAll(): void;
|
|
47
|
+
expandAll(): void;
|
|
48
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgbTree<any>, never>;
|
|
49
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgbTree<any>, "[ngbTree]", ["ngbTree"], { "dataSource": { "alias": "dataSource"; "required": true; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": true; "isSignal": true; }; "children": { "alias": "children"; "required": true; "isSignal": true; }; }, {}, ["treeNodeDef"], never, true, [{ directive: typeof i1.AccessibleGroup; inputs: {}; outputs: {}; }]>;
|
|
50
|
+
}
|
|
51
|
+
declare function aliasTree<T>(tree: Type<NgbTree<T>>): {
|
|
52
|
+
provide: typeof NgbTree;
|
|
53
|
+
useExisting: Type<NgbTree<T>>;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
declare class NgbTreeNodeToggle {
|
|
57
|
+
treeNode: NgbTreeNode<any>;
|
|
58
|
+
toggle(): void;
|
|
59
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgbTreeNodeToggle, never>;
|
|
60
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgbTreeNodeToggle, "[ngbTreeNodeToggle]", never, {}, {}, never, never, true, never>;
|
|
61
|
+
}
|
|
62
|
+
declare class NgbTreeNodeDef<T> {
|
|
63
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgbTreeNodeDef<any>, never>;
|
|
64
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgbTreeNodeDef<any>, "[ngbTreeNodeDef]", never, {}, {}, never, never, true, never>;
|
|
65
|
+
}
|
|
66
|
+
declare class NgbTreeNodeContent {
|
|
67
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgbTreeNodeContent, never>;
|
|
68
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgbTreeNodeContent, "[ngbTreeNodeContent]", never, {}, {}, never, never, true, never>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare class NgbTreeNode<T> {
|
|
72
|
+
readonly treeNodeDef: NgbTreeNodeDef<any>;
|
|
73
|
+
readonly tree: NgbTree<T>;
|
|
74
|
+
readonly data: TreeNodeData<T>;
|
|
75
|
+
readonly container: _angular_core.Signal<ViewContainerRef | undefined>;
|
|
76
|
+
readonly isOpen: _angular_core.Signal<boolean>;
|
|
77
|
+
readonly parent: _angular_core.Signal<T | undefined>;
|
|
78
|
+
private readonly children;
|
|
79
|
+
readonly hasChildren: _angular_core.Signal<boolean>;
|
|
80
|
+
readonly dir: _ngbase_adk_bidi.Directionality;
|
|
81
|
+
readonly size: _angular_core.WritableSignal<number>;
|
|
82
|
+
readonly padding: _angular_core.Signal<{
|
|
83
|
+
[x: string]: string;
|
|
84
|
+
}>;
|
|
85
|
+
constructor();
|
|
86
|
+
toggle(): void;
|
|
87
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgbTreeNode<any>, never>;
|
|
88
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgbTreeNode<any>, "[ngbTreeNode]", ["ngbTreeNode"], {}, {}, never, never, true, [{ directive: typeof i1.AccessibleItem; inputs: {}; outputs: {}; }]>;
|
|
89
|
+
}
|
|
90
|
+
declare function aliasTreeNode<T>(treeNode: Type<NgbTreeNode<T>>): {
|
|
91
|
+
provide: typeof NgbTreeNode;
|
|
92
|
+
useExisting: Type<NgbTreeNode<T>>;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export { NgbTree, NgbTreeNode, NgbTreeNodeContent, NgbTreeNodeDef, NgbTreeNodeToggle, aliasTree, aliasTreeNode };
|
package/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,82 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { PipeTransform, Type, Injector, Signal, ElementRef } from '@angular/core';
|
|
3
|
+
import * as _angular_forms from '@angular/forms';
|
|
4
|
+
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
5
|
+
|
|
6
|
+
declare class RangePipe implements PipeTransform {
|
|
7
|
+
transform(value: number): number[];
|
|
8
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RangePipe, never>;
|
|
9
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<RangePipe, "range", true>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare function uniqueId(length?: number): string;
|
|
13
|
+
declare function provideValueAccessor<T>(valueAccessor: Type<T>): {
|
|
14
|
+
provide: _angular_core.InjectionToken<readonly _angular_forms.ControlValueAccessor[]>;
|
|
15
|
+
useExisting: Type<any>;
|
|
16
|
+
multi: boolean;
|
|
17
|
+
};
|
|
18
|
+
interface ListenerOut {
|
|
19
|
+
on: () => void;
|
|
20
|
+
off: () => void;
|
|
21
|
+
}
|
|
22
|
+
declare function documentListener<T extends Event>(ev: string, fn: (e: T) => void, data?: Partial<AddEventListenerOptions & {
|
|
23
|
+
injector?: Injector;
|
|
24
|
+
lazy?: boolean;
|
|
25
|
+
skip?: number;
|
|
26
|
+
element?: HTMLElement | Document | Window;
|
|
27
|
+
}>): ListenerOut;
|
|
28
|
+
type FilterOptions<T, V = any> = {
|
|
29
|
+
filter: (v: V) => string;
|
|
30
|
+
query?: (v: V, search: string) => boolean;
|
|
31
|
+
key?: keyof T;
|
|
32
|
+
childrenFilter?: (v: T) => V[];
|
|
33
|
+
};
|
|
34
|
+
declare function filterFunction<T, V = T>(data: Signal<T[]> | T[], ops: Signal<FilterOptions<T, V>>): {
|
|
35
|
+
search: _angular_core.WritableSignal<string>;
|
|
36
|
+
list: _angular_core.WritableSignal<T[]>;
|
|
37
|
+
filteredList: Signal<T[]>;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
type Cleanup = () => void;
|
|
41
|
+
type CleanupRegisterFn = (fn: Cleanup) => void;
|
|
42
|
+
declare function disposals(): {
|
|
43
|
+
afterNextRender: (fn: (cleanup: CleanupRegisterFn) => void) => () => void;
|
|
44
|
+
};
|
|
45
|
+
declare function cleanup(fn: () => void): void;
|
|
46
|
+
|
|
47
|
+
declare function isServer(): boolean;
|
|
48
|
+
declare function isClient(): boolean;
|
|
49
|
+
|
|
50
|
+
declare const createHostAnimation: (animationNames: string[]) => AnimationTriggerMetadata;
|
|
51
|
+
declare function fadeAnimation(time: string): AnimationTriggerMetadata;
|
|
52
|
+
declare class DisableAnimation {
|
|
53
|
+
readonly animationDisabled: _angular_core.WritableSignal<boolean>;
|
|
54
|
+
constructor();
|
|
55
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DisableAnimation, never>;
|
|
56
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DisableAnimation, "[disableAnimation]", never, {}, {}, never, never, true, never>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare class NumberOnly {
|
|
60
|
+
readonly el: ElementRef<HTMLInputElement>;
|
|
61
|
+
readonly min: _angular_core.InputSignal<number | undefined>;
|
|
62
|
+
readonly max: _angular_core.InputSignal<number | undefined>;
|
|
63
|
+
readonly len: _angular_core.InputSignal<number | undefined>;
|
|
64
|
+
readonly value: _angular_core.ModelSignal<string>;
|
|
65
|
+
readonly _min: _angular_core.WritableSignal<number | undefined>;
|
|
66
|
+
readonly _max: _angular_core.WritableSignal<number | undefined>;
|
|
67
|
+
readonly _len: _angular_core.WritableSignal<number | undefined>;
|
|
68
|
+
constructor();
|
|
69
|
+
setValue(ev: Event): void;
|
|
70
|
+
private readonly allowedKeys;
|
|
71
|
+
onKeyDown: (e: KeyboardEvent) => void;
|
|
72
|
+
private isCtrlKey;
|
|
73
|
+
private handleArrowUpDown;
|
|
74
|
+
private getNewValue;
|
|
75
|
+
private validateValue;
|
|
76
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberOnly, never>;
|
|
77
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NumberOnly, "input[ngbNumberOnly]", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "len": { "alias": "len"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
78
|
+
}
|
|
79
|
+
declare function padString(num: number | string): string;
|
|
80
|
+
|
|
81
|
+
export { DisableAnimation, NumberOnly, RangePipe, cleanup, createHostAnimation, disposals, documentListener, fadeAnimation, filterFunction, isClient, isServer, padString, provideValueAccessor, uniqueId };
|
|
82
|
+
export type { FilterOptions, ListenerOut };
|
package/virtualizer/index.d.ts
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
type Orientation = 'vertical' | 'horizontal';
|
|
5
|
+
interface VirtualForContext<T> {
|
|
6
|
+
$implicit: T;
|
|
7
|
+
index: number;
|
|
8
|
+
}
|
|
9
|
+
declare class VirtualFor<T> {
|
|
10
|
+
template: TemplateRef<VirtualForContext<T>>;
|
|
11
|
+
readonly virtualForOf: _angular_core.InputSignal<T[]>;
|
|
12
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<VirtualFor<any>, never>;
|
|
13
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<VirtualFor<any>, "[virtualFor][virtualForOf]", never, { "virtualForOf": { "alias": "virtualForOf"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
interface VirtualItem {
|
|
16
|
+
index: number;
|
|
17
|
+
position: number;
|
|
18
|
+
}
|
|
19
|
+
declare class Virtualizer<T> {
|
|
20
|
+
private readonly containerRef;
|
|
21
|
+
readonly virtualFor: _angular_core.Signal<VirtualFor<T>>;
|
|
22
|
+
readonly itemSize: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
23
|
+
readonly buffer: _angular_core.InputSignal<number>;
|
|
24
|
+
readonly orientation: _angular_core.InputSignal<Orientation>;
|
|
25
|
+
private readonly scrollPosition;
|
|
26
|
+
private readonly containerSize;
|
|
27
|
+
readonly items: _angular_core.Signal<T[]>;
|
|
28
|
+
private readonly totalItems;
|
|
29
|
+
readonly totalContentSize: _angular_core.Signal<number>;
|
|
30
|
+
readonly isVertical: _angular_core.Signal<boolean>;
|
|
31
|
+
private readonly visibleIndexes;
|
|
32
|
+
readonly visibleItems: _angular_core.Signal<VirtualItem[]>;
|
|
33
|
+
private readonly client;
|
|
34
|
+
constructor();
|
|
35
|
+
getTransform(item: VirtualItem): string;
|
|
36
|
+
onScroll(event: Event): void;
|
|
37
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
38
|
+
scrollToIndex(index: number, behavior?: ScrollBehavior): void;
|
|
39
|
+
private updateContainerSize;
|
|
40
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Virtualizer<any>, never>;
|
|
41
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Virtualizer<any>, "ngb-virtualizer, [ngbVirtualizer]", never, { "itemSize": { "alias": "itemSize"; "required": true; "isSignal": true; }; "buffer": { "alias": "buffer"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, {}, ["virtualFor"], never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { VirtualFor, Virtualizer };
|
|
45
|
+
export type { Orientation, VirtualForContext };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { AccessibleItem } from './accessibility-item';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AccessibleGroup {
|
|
4
|
-
private readonly allyService;
|
|
5
|
-
private readonly el;
|
|
6
|
-
private readonly document;
|
|
7
|
-
private readonly dir;
|
|
8
|
-
readonly ayId: import("@angular/core").ModelSignal<string | undefined>;
|
|
9
|
-
readonly columns: import("@angular/core").InputSignal<number | undefined>;
|
|
10
|
-
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
11
|
-
readonly ariaLabelledby: import("@angular/core").InputSignal<string>;
|
|
12
|
-
readonly isPopup: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
readonly loop: import("@angular/core").InputSignal<boolean>;
|
|
14
|
-
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
|
-
readonly clickable: import("@angular/core").ModelSignal<boolean>;
|
|
16
|
-
readonly initialFocus: import("@angular/core").InputSignal<boolean>;
|
|
17
|
-
_ayId: import("@angular/core").WritableSignal<string | undefined>;
|
|
18
|
-
_disabled: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
-
_ariaLabel: import("@angular/core").WritableSignal<string>;
|
|
20
|
-
_ariaLabelledby: import("@angular/core").WritableSignal<string>;
|
|
21
|
-
_isPopup: import("@angular/core").WritableSignal<boolean>;
|
|
22
|
-
_loop: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
-
_columns: import("@angular/core").WritableSignal<number | undefined>;
|
|
24
|
-
_initialFocus: import("@angular/core").WritableSignal<boolean>;
|
|
25
|
-
private focusedItem?;
|
|
26
|
-
private isOn;
|
|
27
|
-
readonly elements: import("@angular/core").WritableSignal<AccessibleItem<any>[]>;
|
|
28
|
-
readonly items: import("@angular/core").Signal<AccessibleItem<any>[]>;
|
|
29
|
-
constructor();
|
|
30
|
-
private itemChanged;
|
|
31
|
-
handleFocusIn: (_: FocusEvent) => void;
|
|
32
|
-
handleFocusOut: (event: FocusEvent) => void;
|
|
33
|
-
on: () => void;
|
|
34
|
-
off: () => void;
|
|
35
|
-
onKeyDown: (event: KeyboardEvent) => void;
|
|
36
|
-
private findNextOrPreviousLevelItem;
|
|
37
|
-
focusItem(item?: AccessibleItem): void;
|
|
38
|
-
private focusIndex;
|
|
39
|
-
private getNextItem;
|
|
40
|
-
private findNextEnabledItem;
|
|
41
|
-
log(...args: any[]): void;
|
|
42
|
-
register(item: AccessibleItem): void;
|
|
43
|
-
unregister(item: AccessibleItem): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccessibleGroup, never>;
|
|
45
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AccessibleGroup, "[ngbAccessibleGroup]", never, { "ayId": { "alias": "ayId"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "isPopup": { "alias": "isPopup"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "initialFocus": { "alias": "initialFocus"; "required": false; "isSignal": true; }; }, { "ayId": "ayIdChange"; "clickable": "clickableChange"; }, never, never, true, never>;
|
|
46
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, Signal } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { AccessibilityService } from './accessibility.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AccessibleItem<T = any> implements OnDestroy {
|
|
6
|
-
readonly allyService: AccessibilityService;
|
|
7
|
-
readonly host: ElementRef<HTMLElement>;
|
|
8
|
-
readonly id: import("@angular/core").InputSignal<string>;
|
|
9
|
-
readonly ayId: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly role: import("@angular/core").InputSignal<string>;
|
|
11
|
-
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
-
readonly selected: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
|
-
readonly data: import("@angular/core").InputSignal<T | undefined>;
|
|
14
|
-
readonly skip: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
|
-
readonly level: import("@angular/core").ModelSignal<number>;
|
|
16
|
-
readonly expandable: import("@angular/core").ModelSignal<boolean>;
|
|
17
|
-
readonly expanded: import("@angular/core").ModelSignal<boolean>;
|
|
18
|
-
readonly selectedChange: import("@angular/core").OutputEmitterRef<number>;
|
|
19
|
-
_disabled: Signal<boolean>;
|
|
20
|
-
_selected: Signal<boolean>;
|
|
21
|
-
_ayId: import("@angular/core").WritableSignal<string>;
|
|
22
|
-
_data: import("@angular/core").WritableSignal<T | undefined>;
|
|
23
|
-
_id: import("@angular/core").WritableSignal<string>;
|
|
24
|
-
_skip: import("@angular/core").WritableSignal<boolean>;
|
|
25
|
-
_expandable: import("@angular/core").WritableSignal<boolean>;
|
|
26
|
-
_expanded: import("@angular/core").WritableSignal<boolean>;
|
|
27
|
-
readonly group: Signal<import("@ngbase/adk/a11y").AccessibleGroup | undefined>;
|
|
28
|
-
readonly pressed: import("@angular/core").WritableSignal<boolean>;
|
|
29
|
-
readonly hasPopup: Signal<boolean>;
|
|
30
|
-
readonly events: Subject<{
|
|
31
|
-
event: KeyboardEvent;
|
|
32
|
-
type: "enter" | "leave" | "click" | "keyRight" | "keyLeft";
|
|
33
|
-
item: AccessibleItem;
|
|
34
|
-
}>;
|
|
35
|
-
private count;
|
|
36
|
-
/**
|
|
37
|
-
* @internal when component is destroyed, we don't want to emit events
|
|
38
|
-
*/
|
|
39
|
-
private isDestroyed;
|
|
40
|
-
constructor();
|
|
41
|
-
get el(): HTMLElement;
|
|
42
|
-
private onFocus;
|
|
43
|
-
focus(focus: boolean, isKeyboard: boolean): void;
|
|
44
|
-
blur: () => void;
|
|
45
|
-
click(): void;
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccessibleItem<any>, never>;
|
|
48
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AccessibleItem<any>, "[ngbAccessibleItem]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "ayId": { "alias": "ayId"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "skip": { "alias": "skip"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "level": "levelChange"; "expandable": "expandableChange"; "expanded": "expandedChange"; "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
49
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AccessibleGroup } from './accessibility-group';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AccessibilityService {
|
|
4
|
-
readonly groups: import("@angular/core").WritableSignal<Map<string, AccessibleGroup>>;
|
|
5
|
-
private activeGroupOrder;
|
|
6
|
-
usingMouse: boolean;
|
|
7
|
-
constructor();
|
|
8
|
-
setActiveGroup(id: string): void;
|
|
9
|
-
removeActiveGroup(id: string): void;
|
|
10
|
-
isActive(key: string): boolean;
|
|
11
|
-
getPreviousGroup(): AccessibleGroup | undefined;
|
|
12
|
-
getGroup(key: string): AccessibleGroup | undefined;
|
|
13
|
-
addGroup(key: string, group: AccessibleGroup): void;
|
|
14
|
-
removeGroup(key: string): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccessibilityService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AccessibilityService>;
|
|
17
|
-
}
|
package/a11y/autofocus.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class Autofocus implements OnDestroy {
|
|
4
|
-
private el;
|
|
5
|
-
private applicationRef;
|
|
6
|
-
private intersectionObserver?;
|
|
7
|
-
private document;
|
|
8
|
-
readonly focusDelay: import("@angular/core").InputSignal<number>;
|
|
9
|
-
private subscription?;
|
|
10
|
-
private isFocused;
|
|
11
|
-
private client;
|
|
12
|
-
constructor();
|
|
13
|
-
private elWatcher;
|
|
14
|
-
private focusElement;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Autofocus, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Autofocus, "[ngbAutofocus]", never, { "focusDelay": { "alias": "focusDelay"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
package/a11y/focus-trap.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FocusTrap {
|
|
3
|
-
private el;
|
|
4
|
-
readonly ngbFocusTrap: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
5
|
-
readonly focusInitial: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
6
|
-
_focusTrap: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
-
_focusInitial: import("@angular/core").WritableSignal<boolean>;
|
|
8
|
-
private firstFocusableElement;
|
|
9
|
-
private lastFocusableElement;
|
|
10
|
-
constructor();
|
|
11
|
-
private setFocusableElements;
|
|
12
|
-
onKeydown: (event: KeyboardEvent) => void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrap, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusTrap, "[ngbFocusTrap]", never, { "ngbFocusTrap": { "alias": "ngbFocusTrap"; "required": false; "isSignal": true; }; "focusInitial": { "alias": "focusInitial"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
package/a11y/public-api.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NgbAccordion } from './accordion-item';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NgbAccordionContent {
|
|
4
|
-
readonly accordion: NgbAccordion;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgbAccordionContent, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgbAccordionContent, "[ngbAccordionContent]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
8
|
-
export declare const slideAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NgbAccordion } from './accordion-item';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NgbAccordionGroup {
|
|
4
|
-
readonly items: import("@angular/core").Signal<readonly NgbAccordion[]>;
|
|
5
|
-
readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
6
|
-
readonly activeId: import("@angular/core").WritableSignal<string>;
|
|
7
|
-
constructor();
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgbAccordionGroup, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgbAccordionGroup, "[ngbAccordionGroup]", ["ngbAccordionGroup"], { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; }, {}, ["items"], never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { NgbAccordion } from './accordion-item';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NgbAccordionHeader {
|
|
4
|
-
accordion: NgbAccordion;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgbAccordionHeader, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgbAccordionHeader, "[ngbAccordionHeader]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class NgbAccordion {
|
|
3
|
-
private accordionService;
|
|
4
|
-
readonly expanded: import("@angular/core").ModelSignal<boolean>;
|
|
5
|
-
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
6
|
-
readonly opened: import("@angular/core").OutputEmitterRef<boolean>;
|
|
7
|
-
readonly closed: import("@angular/core").OutputEmitterRef<boolean>;
|
|
8
|
-
readonly id: string;
|
|
9
|
-
toggle(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgbAccordion, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgbAccordion, "[ngbAccordion]", ["ngbAccordion"], { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
|
|
12
|
-
}
|
|
13
|
-
export declare function aliasAccordion(accordion: typeof NgbAccordion): {
|
|
14
|
-
provide: typeof NgbAccordion;
|
|
15
|
-
useExisting: typeof NgbAccordion;
|
|
16
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { InputBase } from '@ngbase/adk/form-field';
|
|
3
|
-
import { NgbAutocomplete } from './autocomplete';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@ngbase/adk/form-field";
|
|
6
|
-
export declare class NgbAutocompleteInput<T> {
|
|
7
|
-
readonly autoComplete: NgbAutocomplete<any>;
|
|
8
|
-
readonly input: InputBase<any>;
|
|
9
|
-
readonly el: ElementRef<HTMLInputElement>;
|
|
10
|
-
readonly isChip: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
-
readonly ngbAutocompleteInput: import("@angular/core").OutputEmitterRef<string>;
|
|
12
|
-
constructor();
|
|
13
|
-
onFocus(): void;
|
|
14
|
-
close(): void;
|
|
15
|
-
updateValue(value: string): void;
|
|
16
|
-
updateSearch(value: string): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgbAutocompleteInput<any>, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgbAutocompleteInput<any>, "[ngbAutocompleteInput]", ["ngbAutocompleteInput"], { "isChip": { "alias": "isChip"; "required": false; "isSignal": true; }; }, { "ngbAutocompleteInput": "ngbAutocompleteInput"; }, never, never, true, [{ directive: typeof i1.InputBase; inputs: { "value": "value"; }; outputs: { "valueChange": "valueChange"; }; }]>;
|
|
19
|
-
}
|