@sebgroup/green-angular 10.0.2 → 10.0.3-rc.20260616114541449
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/fesm2022/sebgroup-green-angular-src-lib-accordion.mjs +10 -10
- package/fesm2022/sebgroup-green-angular-src-lib-accordion.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-badge.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-badge.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-button.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-button.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-cell-table.mjs +23 -23
- package/fesm2022/sebgroup-green-angular-src-lib-cell-table.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-context-menu.mjs +11 -11
- package/fesm2022/sebgroup-green-angular-src-lib-context-menu.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-datepicker.mjs +11 -11
- package/fesm2022/sebgroup-green-angular-src-lib-datepicker.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-dropdown.mjs +24 -27
- package/fesm2022/sebgroup-green-angular-src-lib-dropdown.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-in-page-wizard.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-in-page-wizard.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-modal.mjs +45 -46
- package/fesm2022/sebgroup-green-angular-src-lib-modal.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-pagination.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-pagination.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-progress-circle.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-progress-circle.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-segmented-control.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-segmented-control.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs +41 -41
- package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-slider.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-slider.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-sortable-list.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-sortable-list.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-account-number.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-account-number.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-alert.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-alert.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs +3 -3
- package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs +37 -37
- package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-drag-drop.mjs +13 -13
- package/fesm2022/sebgroup-green-angular-src-v-angular-drag-drop.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs +29 -29
- package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs +14 -14
- package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs +10 -10
- package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs +19 -19
- package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-pagination.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-pagination.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs +14 -14
- package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs +23 -23
- package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-tabs.mjs +11 -11
- package/fesm2022/sebgroup-green-angular-src-v-angular-tabs.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-toast.mjs +10 -10
- package/fesm2022/sebgroup-green-angular-src-v-angular-toast.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-v-angular.mjs +300 -300
- package/fesm2022/sebgroup-green-angular-v-angular.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular.mjs +222 -226
- package/fesm2022/sebgroup-green-angular.mjs.map +1 -1
- package/index.d.ts +1021 -17
- package/package.json +12 -12
- package/src/lib/accordion/index.d.ts +51 -3
- package/src/lib/badge/index.d.ts +46 -2
- package/src/lib/button/index.d.ts +20 -2
- package/src/lib/cell-table/index.d.ts +105 -3
- package/src/lib/context-menu/index.d.ts +63 -2
- package/src/lib/datepicker/index.d.ts +80 -2
- package/src/lib/dropdown/index.d.ts +114 -4
- package/src/lib/in-page-wizard/index.d.ts +30 -2
- package/src/lib/modal/index.d.ts +96 -4
- package/src/lib/pagination/index.d.ts +66 -2
- package/src/lib/progress-circle/index.d.ts +24 -2
- package/src/lib/segmented-control/index.d.ts +29 -2
- package/src/lib/shared/index.d.ts +223 -7
- package/src/lib/slider/index.d.ts +48 -2
- package/src/lib/sortable-list/index.d.ts +105 -2
- package/src/v-angular/account-number/index.d.ts +43 -2
- package/src/v-angular/alert/index.d.ts +44 -3
- package/src/v-angular/base-control-value-accessor/index.d.ts +143 -2
- package/src/v-angular/breadcrumbs/index.d.ts +29 -2
- package/src/v-angular/button/index.d.ts +75 -2
- package/src/v-angular/card/index.d.ts +15 -2
- package/src/v-angular/character-countdown/index.d.ts +27 -2
- package/src/v-angular/checkbox/index.d.ts +47 -2
- package/src/v-angular/core/index.d.ts +40 -2
- package/src/v-angular/datepicker/index.d.ts +577 -13
- package/src/v-angular/drag-drop/index.d.ts +233 -4
- package/src/v-angular/dropdown/index.d.ts +474 -5
- package/src/v-angular/external-link/index.d.ts +27 -2
- package/src/v-angular/i18n/index.d.ts +44 -2
- package/src/v-angular/info-circle/index.d.ts +27 -2
- package/src/v-angular/input/index.d.ts +127 -2
- package/src/v-angular/input-mask/index.d.ts +81 -5
- package/src/v-angular/modal/index.d.ts +243 -5
- package/src/v-angular/pagination/index.d.ts +75 -2
- package/src/v-angular/radio/index.d.ts +111 -3
- package/src/v-angular/slug/index.d.ts +22 -2
- package/src/v-angular/table/index.d.ts +379 -5
- package/src/v-angular/tabs/index.d.ts +138 -4
- package/src/v-angular/textarea/index.d.ts +69 -2
- package/src/v-angular/toast/index.d.ts +65 -4
- package/src/v-angular/tooltip/index.d.ts +118 -2
- package/v-angular/index.d.ts +3088 -28
- package/lib/accordion/accordion-list-item.component.d.ts +0 -16
- package/lib/accordion/accordion.component.d.ts +0 -21
- package/lib/accordion/accordion.module.d.ts +0 -14
- package/lib/accordion/index.d.ts +0 -3
- package/lib/badge/badge.component.d.ts +0 -30
- package/lib/badge/badge.module.d.ts +0 -13
- package/lib/badge/index.d.ts +0 -2
- package/lib/button/button.component.d.ts +0 -11
- package/lib/button/button.module.d.ts +0 -8
- package/lib/button/index.d.ts +0 -2
- package/lib/cell-table/cell-table-item.component.d.ts +0 -14
- package/lib/cell-table/cell-table.component.d.ts +0 -44
- package/lib/cell-table/cell-table.module.d.ts +0 -10
- package/lib/cell-table/cell-table.types.d.ts +0 -34
- package/lib/cell-table/cell-underline.directive.d.ts +0 -14
- package/lib/cell-table/index.d.ts +0 -3
- package/lib/context-menu/context-menu.component.d.ts +0 -48
- package/lib/context-menu/context-menu.module.d.ts +0 -14
- package/lib/context-menu/index.d.ts +0 -2
- package/lib/datepicker/datepicker.component.d.ts +0 -63
- package/lib/datepicker/datepicker.module.d.ts +0 -14
- package/lib/datepicker/index.d.ts +0 -2
- package/lib/dropdown/dropdown-button.directive.d.ts +0 -8
- package/lib/dropdown/dropdown-option.directive.d.ts +0 -8
- package/lib/dropdown/dropdown.component.d.ts +0 -87
- package/lib/dropdown/dropdown.module.d.ts +0 -16
- package/lib/dropdown/index.d.ts +0 -4
- package/lib/green-angular.module.d.ts +0 -21
- package/lib/in-page-wizard/in-page-wizard-step-card.component.d.ts +0 -19
- package/lib/in-page-wizard/in-page-wizard.module.d.ts +0 -9
- package/lib/in-page-wizard/index.d.ts +0 -2
- package/lib/modal/index.d.ts +0 -4
- package/lib/modal/modal-footer.directive.d.ts +0 -8
- package/lib/modal/modal-header.directive.d.ts +0 -8
- package/lib/modal/modal.component.d.ts +0 -74
- package/lib/modal/modal.module.d.ts +0 -14
- package/lib/pagination/index.d.ts +0 -2
- package/lib/pagination/pagination.component.d.ts +0 -56
- package/lib/pagination/pagination.module.d.ts +0 -8
- package/lib/progress-circle/index.d.ts +0 -2
- package/lib/progress-circle/progress-circle.component.d.ts +0 -15
- package/lib/progress-circle/progress-circle.module.d.ts +0 -8
- package/lib/segmented-control/index.d.ts +0 -2
- package/lib/segmented-control/segmented-control.component.d.ts +0 -14
- package/lib/segmented-control/segmented-control.module.d.ts +0 -12
- package/lib/shared/core-control/core-checkbox.directive.d.ts +0 -10
- package/lib/shared/core-control/core-control.directive.d.ts +0 -19
- package/lib/shared/core-control/core-control.module.d.ts +0 -10
- package/lib/shared/core-control/index.d.ts +0 -3
- package/lib/shared/core-element/core-element.directive.d.ts +0 -17
- package/lib/shared/core-element/core-element.module.d.ts +0 -11
- package/lib/shared/core-element/index.d.ts +0 -2
- package/lib/shared/core-renderer/core-renderer.d.ts +0 -111
- package/lib/shared/core-renderer/index.d.ts +0 -1
- package/lib/shared/core-router-link/core-router-link.directive.d.ts +0 -19
- package/lib/shared/core-router-link/core-router-link.module.d.ts +0 -10
- package/lib/shared/core-router-link/index.d.ts +0 -2
- package/lib/shared/id.d.ts +0 -1
- package/lib/shared/index.d.ts +0 -7
- package/lib/shared/on-scroll.directive.d.ts +0 -14
- package/lib/shared/scope-resolver.d.ts +0 -5
- package/lib/shared/shared.module.d.ts +0 -9
- package/lib/slider/index.d.ts +0 -2
- package/lib/slider/slider.component.d.ts +0 -38
- package/lib/slider/slider.module.d.ts +0 -9
- package/lib/sortable-list/index.d.ts +0 -2
- package/lib/sortable-list/sortable-list.component.d.ts +0 -92
- package/lib/sortable-list/sortable-list.module.d.ts +0 -11
- package/src/lib/accordion/accordion-list-item.component.d.ts +0 -16
- package/src/lib/accordion/accordion.component.d.ts +0 -21
- package/src/lib/accordion/accordion.module.d.ts +0 -14
- package/src/lib/badge/badge.component.d.ts +0 -30
- package/src/lib/badge/badge.module.d.ts +0 -13
- package/src/lib/button/button.component.d.ts +0 -11
- package/src/lib/button/button.module.d.ts +0 -8
- package/src/lib/cell-table/cell-table-item.component.d.ts +0 -14
- package/src/lib/cell-table/cell-table.component.d.ts +0 -44
- package/src/lib/cell-table/cell-table.module.d.ts +0 -10
- package/src/lib/cell-table/cell-table.types.d.ts +0 -34
- package/src/lib/cell-table/cell-underline.directive.d.ts +0 -14
- package/src/lib/context-menu/context-menu.component.d.ts +0 -48
- package/src/lib/context-menu/context-menu.module.d.ts +0 -14
- package/src/lib/datepicker/datepicker.component.d.ts +0 -63
- package/src/lib/datepicker/datepicker.module.d.ts +0 -14
- package/src/lib/dropdown/dropdown-button.directive.d.ts +0 -8
- package/src/lib/dropdown/dropdown-option.directive.d.ts +0 -8
- package/src/lib/dropdown/dropdown.component.d.ts +0 -87
- package/src/lib/dropdown/dropdown.module.d.ts +0 -16
- package/src/lib/in-page-wizard/in-page-wizard-step-card.component.d.ts +0 -19
- package/src/lib/in-page-wizard/in-page-wizard.module.d.ts +0 -9
- package/src/lib/modal/modal-footer.directive.d.ts +0 -8
- package/src/lib/modal/modal-header.directive.d.ts +0 -8
- package/src/lib/modal/modal.component.d.ts +0 -74
- package/src/lib/modal/modal.module.d.ts +0 -14
- package/src/lib/pagination/pagination.component.d.ts +0 -56
- package/src/lib/pagination/pagination.module.d.ts +0 -8
- package/src/lib/progress-circle/progress-circle.component.d.ts +0 -15
- package/src/lib/progress-circle/progress-circle.module.d.ts +0 -8
- package/src/lib/segmented-control/segmented-control.component.d.ts +0 -14
- package/src/lib/segmented-control/segmented-control.module.d.ts +0 -12
- package/src/lib/shared/core-control/core-checkbox.directive.d.ts +0 -10
- package/src/lib/shared/core-control/core-control.directive.d.ts +0 -19
- package/src/lib/shared/core-control/core-control.module.d.ts +0 -10
- package/src/lib/shared/core-control/index.d.ts +0 -3
- package/src/lib/shared/core-element/core-element.directive.d.ts +0 -17
- package/src/lib/shared/core-element/core-element.module.d.ts +0 -11
- package/src/lib/shared/core-element/index.d.ts +0 -2
- package/src/lib/shared/core-renderer/core-renderer.d.ts +0 -111
- package/src/lib/shared/core-renderer/index.d.ts +0 -1
- package/src/lib/shared/core-router-link/core-router-link.directive.d.ts +0 -19
- package/src/lib/shared/core-router-link/core-router-link.module.d.ts +0 -10
- package/src/lib/shared/core-router-link/index.d.ts +0 -2
- package/src/lib/shared/id.d.ts +0 -1
- package/src/lib/shared/on-scroll.directive.d.ts +0 -14
- package/src/lib/shared/scope-resolver.d.ts +0 -5
- package/src/lib/shared/shared.module.d.ts +0 -9
- package/src/lib/slider/slider.component.d.ts +0 -38
- package/src/lib/slider/slider.module.d.ts +0 -9
- package/src/lib/sortable-list/sortable-list.component.d.ts +0 -92
- package/src/lib/sortable-list/sortable-list.module.d.ts +0 -11
- package/src/v-angular/account-number/account-number.module.d.ts +0 -8
- package/src/v-angular/account-number/account-number.pipe.d.ts +0 -32
- package/src/v-angular/alert/alert.component.d.ts +0 -20
- package/src/v-angular/alert/alert.models.d.ts +0 -13
- package/src/v-angular/alert/alert.module.d.ts +0 -8
- package/src/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +0 -134
- package/src/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +0 -7
- package/src/v-angular/breadcrumbs/breadcrumbs.component.d.ts +0 -18
- package/src/v-angular/breadcrumbs/breadcrumbs.module.d.ts +0 -10
- package/src/v-angular/button/button.component.d.ts +0 -62
- package/src/v-angular/button/button.module.d.ts +0 -10
- package/src/v-angular/card/card.component.d.ts +0 -5
- package/src/v-angular/card/card.module.d.ts +0 -8
- package/src/v-angular/character-countdown/character-countdown.directive.d.ts +0 -17
- package/src/v-angular/character-countdown/character-countdown.module.d.ts +0 -8
- package/src/v-angular/checkbox/checkbox.component.d.ts +0 -36
- package/src/v-angular/checkbox/checkbox.module.d.ts +0 -10
- package/src/v-angular/core/core.globals.d.ts +0 -13
- package/src/v-angular/core/core.utils.d.ts +0 -23
- package/src/v-angular/datepicker/components/calendar/calendar.component.d.ts +0 -36
- package/src/v-angular/datepicker/components/calendar-control/calendar-control.component.d.ts +0 -30
- package/src/v-angular/datepicker/components/date-input/date-input.component.d.ts +0 -113
- package/src/v-angular/datepicker/components/datepicker/datepicker.component.d.ts +0 -76
- package/src/v-angular/datepicker/date-control-value-accessor/date-control-value-accessor.component.d.ts +0 -169
- package/src/v-angular/datepicker/datepicker.globals.d.ts +0 -13
- package/src/v-angular/datepicker/datepicker.models.d.ts +0 -50
- package/src/v-angular/datepicker/datepicker.module.d.ts +0 -19
- package/src/v-angular/datepicker/datepicker.utils.d.ts +0 -46
- package/src/v-angular/datepicker/directives/calendar-date.directive.d.ts +0 -21
- package/src/v-angular/datepicker/models/dates.d.ts +0 -15
- package/src/v-angular/datepicker/pipes/date-thook.pipe.d.ts +0 -8
- package/src/v-angular/datepicker/pipes/is-disabled.pipe.d.ts +0 -8
- package/src/v-angular/datepicker/pipes/matches.pipe.d.ts +0 -7
- package/src/v-angular/drag-drop/drag-drop.component.d.ts +0 -131
- package/src/v-angular/drag-drop/drag-drop.models.d.ts +0 -49
- package/src/v-angular/drag-drop/drag-drop.module.d.ts +0 -13
- package/src/v-angular/drag-drop/drag-drop.pipes.d.ts +0 -40
- package/src/v-angular/drag-drop/drag-drop.utils.d.ts +0 -33
- package/src/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +0 -135
- package/src/v-angular/dropdown/dropdown-list/index.d.ts +0 -1
- package/src/v-angular/dropdown/dropdown.component.d.ts +0 -129
- package/src/v-angular/dropdown/dropdown.module.d.ts +0 -13
- package/src/v-angular/dropdown/typeahead/index.d.ts +0 -5
- package/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +0 -40
- package/src/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +0 -34
- package/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +0 -61
- package/src/v-angular/dropdown/typeahead/typeahead.directive.d.ts +0 -78
- package/src/v-angular/dropdown/typeahead/typeahead.module.d.ts +0 -11
- package/src/v-angular/external-link/external-link.directive.d.ts +0 -17
- package/src/v-angular/external-link/external-link.module.d.ts +0 -8
- package/src/v-angular/i18n/i18n.module.d.ts +0 -15
- package/src/v-angular/i18n/i18n.test.module.d.ts +0 -27
- package/src/v-angular/info-circle/info-circle.component.d.ts +0 -16
- package/src/v-angular/info-circle/info-circle.module.d.ts +0 -10
- package/src/v-angular/input/input.component.d.ts +0 -112
- package/src/v-angular/input/input.module.d.ts +0 -13
- package/src/v-angular/input-mask/config.d.ts +0 -6
- package/src/v-angular/input-mask/constants.d.ts +0 -2
- package/src/v-angular/input-mask/input-mask-format.pipe.d.ts +0 -8
- package/src/v-angular/input-mask/input-mask.directive.d.ts +0 -39
- package/src/v-angular/input-mask/input-mask.module.d.ts +0 -11
- package/src/v-angular/input-mask/input-mask.types.d.ts +0 -20
- package/src/v-angular/modal/dialog/dialog.component.d.ts +0 -72
- package/src/v-angular/modal/fold-out/fold-out.component.d.ts +0 -51
- package/src/v-angular/modal/fold-out/fold-out.directive.d.ts +0 -6
- package/src/v-angular/modal/fold-out/keyboard-key.enum.d.ts +0 -8
- package/src/v-angular/modal/modal.globals.d.ts +0 -13
- package/src/v-angular/modal/modal.module.d.ts +0 -15
- package/src/v-angular/modal/modal.types.d.ts +0 -6
- package/src/v-angular/modal/slide-out/slide-out.component.d.ts +0 -85
- package/src/v-angular/pagination/pagination.component.d.ts +0 -64
- package/src/v-angular/pagination/pagination.module.d.ts +0 -12
- package/src/v-angular/radio/radio-group/radio-group.component.d.ts +0 -42
- package/src/v-angular/radio/radio.component.d.ts +0 -63
- package/src/v-angular/radio/radio.module.d.ts +0 -11
- package/src/v-angular/slug/slug.module.d.ts +0 -8
- package/src/v-angular/slug/slug.pipe.d.ts +0 -12
- package/src/v-angular/table/table.component.d.ts +0 -248
- package/src/v-angular/table/table.directive.d.ts +0 -36
- package/src/v-angular/table/table.models.d.ts +0 -78
- package/src/v-angular/table/table.module.d.ts +0 -12
- package/src/v-angular/table/table.tools.d.ts +0 -5
- package/src/v-angular/table/tr-thook.pipe.d.ts +0 -7
- package/src/v-angular/tabs/tab.directive.d.ts +0 -37
- package/src/v-angular/tabs/tabs.component.d.ts +0 -65
- package/src/v-angular/tabs/tabs.models.d.ts +0 -25
- package/src/v-angular/tabs/tabs.module.d.ts +0 -11
- package/src/v-angular/textarea/textarea.component.d.ts +0 -57
- package/src/v-angular/textarea/textarea.module.d.ts +0 -12
- package/src/v-angular/toast/toast-message.service.d.ts +0 -19
- package/src/v-angular/toast/toast.component.d.ts +0 -20
- package/src/v-angular/toast/toast.models.d.ts +0 -18
- package/src/v-angular/toast/toast.module.d.ts +0 -10
- package/src/v-angular/tooltip/tooltip.directive.d.ts +0 -108
- package/src/v-angular/tooltip/tooltip.module.d.ts +0 -8
- package/src/v-angular/tooltip/tooltip.styles.d.ts +0 -11
- package/v-angular/account-number/account-number.module.d.ts +0 -8
- package/v-angular/account-number/account-number.pipe.d.ts +0 -32
- package/v-angular/account-number/index.d.ts +0 -2
- package/v-angular/alert/alert.component.d.ts +0 -20
- package/v-angular/alert/alert.models.d.ts +0 -13
- package/v-angular/alert/alert.module.d.ts +0 -8
- package/v-angular/alert/index.d.ts +0 -3
- package/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +0 -134
- package/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +0 -7
- package/v-angular/base-control-value-accessor/index.d.ts +0 -2
- package/v-angular/breadcrumbs/breadcrumbs.component.d.ts +0 -18
- package/v-angular/breadcrumbs/breadcrumbs.module.d.ts +0 -10
- package/v-angular/breadcrumbs/index.d.ts +0 -2
- package/v-angular/button/button.component.d.ts +0 -62
- package/v-angular/button/button.module.d.ts +0 -10
- package/v-angular/button/index.d.ts +0 -2
- package/v-angular/card/card.component.d.ts +0 -5
- package/v-angular/card/card.module.d.ts +0 -8
- package/v-angular/card/index.d.ts +0 -2
- package/v-angular/character-countdown/character-countdown.directive.d.ts +0 -17
- package/v-angular/character-countdown/character-countdown.module.d.ts +0 -8
- package/v-angular/character-countdown/index.d.ts +0 -2
- package/v-angular/checkbox/checkbox.component.d.ts +0 -36
- package/v-angular/checkbox/checkbox.module.d.ts +0 -10
- package/v-angular/checkbox/index.d.ts +0 -2
- package/v-angular/core/core.globals.d.ts +0 -13
- package/v-angular/core/core.utils.d.ts +0 -23
- package/v-angular/core/index.d.ts +0 -2
- package/v-angular/datepicker/components/calendar/calendar.component.d.ts +0 -36
- package/v-angular/datepicker/components/calendar-control/calendar-control.component.d.ts +0 -30
- package/v-angular/datepicker/components/date-input/date-input.component.d.ts +0 -113
- package/v-angular/datepicker/components/datepicker/datepicker.component.d.ts +0 -76
- package/v-angular/datepicker/date-control-value-accessor/date-control-value-accessor.component.d.ts +0 -169
- package/v-angular/datepicker/datepicker.globals.d.ts +0 -13
- package/v-angular/datepicker/datepicker.models.d.ts +0 -50
- package/v-angular/datepicker/datepicker.module.d.ts +0 -19
- package/v-angular/datepicker/datepicker.utils.d.ts +0 -46
- package/v-angular/datepicker/directives/calendar-date.directive.d.ts +0 -21
- package/v-angular/datepicker/index.d.ts +0 -13
- package/v-angular/datepicker/models/dates.d.ts +0 -15
- package/v-angular/datepicker/pipes/date-thook.pipe.d.ts +0 -8
- package/v-angular/datepicker/pipes/is-disabled.pipe.d.ts +0 -8
- package/v-angular/datepicker/pipes/matches.pipe.d.ts +0 -7
- package/v-angular/drag-drop/drag-drop.component.d.ts +0 -131
- package/v-angular/drag-drop/drag-drop.models.d.ts +0 -49
- package/v-angular/drag-drop/drag-drop.module.d.ts +0 -13
- package/v-angular/drag-drop/drag-drop.pipes.d.ts +0 -40
- package/v-angular/drag-drop/drag-drop.utils.d.ts +0 -33
- package/v-angular/drag-drop/index.d.ts +0 -4
- package/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +0 -135
- package/v-angular/dropdown/dropdown-list/index.d.ts +0 -1
- package/v-angular/dropdown/dropdown.component.d.ts +0 -129
- package/v-angular/dropdown/dropdown.module.d.ts +0 -13
- package/v-angular/dropdown/index.d.ts +0 -5
- package/v-angular/dropdown/typeahead/index.d.ts +0 -5
- package/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +0 -40
- package/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +0 -34
- package/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +0 -61
- package/v-angular/dropdown/typeahead/typeahead.directive.d.ts +0 -78
- package/v-angular/dropdown/typeahead/typeahead.module.d.ts +0 -11
- package/v-angular/external-link/external-link.directive.d.ts +0 -17
- package/v-angular/external-link/external-link.module.d.ts +0 -8
- package/v-angular/external-link/index.d.ts +0 -2
- package/v-angular/i18n/i18n.module.d.ts +0 -15
- package/v-angular/i18n/i18n.test.module.d.ts +0 -27
- package/v-angular/i18n/index.d.ts +0 -2
- package/v-angular/info-circle/index.d.ts +0 -2
- package/v-angular/info-circle/info-circle.component.d.ts +0 -16
- package/v-angular/info-circle/info-circle.module.d.ts +0 -10
- package/v-angular/input/index.d.ts +0 -2
- package/v-angular/input/input.component.d.ts +0 -112
- package/v-angular/input/input.module.d.ts +0 -13
- package/v-angular/input-mask/config.d.ts +0 -6
- package/v-angular/input-mask/constants.d.ts +0 -2
- package/v-angular/input-mask/index.d.ts +0 -5
- package/v-angular/input-mask/input-mask-format.pipe.d.ts +0 -8
- package/v-angular/input-mask/input-mask.directive.d.ts +0 -39
- package/v-angular/input-mask/input-mask.module.d.ts +0 -11
- package/v-angular/input-mask/input-mask.types.d.ts +0 -20
- package/v-angular/modal/dialog/dialog.component.d.ts +0 -72
- package/v-angular/modal/fold-out/fold-out.component.d.ts +0 -51
- package/v-angular/modal/fold-out/fold-out.directive.d.ts +0 -6
- package/v-angular/modal/fold-out/keyboard-key.enum.d.ts +0 -8
- package/v-angular/modal/index.d.ts +0 -5
- package/v-angular/modal/modal.globals.d.ts +0 -13
- package/v-angular/modal/modal.module.d.ts +0 -15
- package/v-angular/modal/modal.types.d.ts +0 -6
- package/v-angular/modal/slide-out/slide-out.component.d.ts +0 -85
- package/v-angular/pagination/index.d.ts +0 -2
- package/v-angular/pagination/pagination.component.d.ts +0 -64
- package/v-angular/pagination/pagination.module.d.ts +0 -12
- package/v-angular/radio/index.d.ts +0 -3
- package/v-angular/radio/radio-group/radio-group.component.d.ts +0 -42
- package/v-angular/radio/radio.component.d.ts +0 -63
- package/v-angular/radio/radio.module.d.ts +0 -11
- package/v-angular/slug/index.d.ts +0 -2
- package/v-angular/slug/slug.module.d.ts +0 -8
- package/v-angular/slug/slug.pipe.d.ts +0 -12
- package/v-angular/table/index.d.ts +0 -5
- package/v-angular/table/table.component.d.ts +0 -248
- package/v-angular/table/table.directive.d.ts +0 -36
- package/v-angular/table/table.models.d.ts +0 -78
- package/v-angular/table/table.module.d.ts +0 -12
- package/v-angular/table/table.tools.d.ts +0 -5
- package/v-angular/table/tr-thook.pipe.d.ts +0 -7
- package/v-angular/tabs/index.d.ts +0 -4
- package/v-angular/tabs/tab.directive.d.ts +0 -37
- package/v-angular/tabs/tabs.component.d.ts +0 -65
- package/v-angular/tabs/tabs.models.d.ts +0 -25
- package/v-angular/tabs/tabs.module.d.ts +0 -11
- package/v-angular/textarea/index.d.ts +0 -2
- package/v-angular/textarea/textarea.component.d.ts +0 -57
- package/v-angular/textarea/textarea.module.d.ts +0 -12
- package/v-angular/toast/index.d.ts +0 -4
- package/v-angular/toast/toast-message.service.d.ts +0 -19
- package/v-angular/toast/toast.component.d.ts +0 -20
- package/v-angular/toast/toast.models.d.ts +0 -18
- package/v-angular/toast/toast.module.d.ts +0 -10
- package/v-angular/tooltip/index.d.ts +0 -2
- package/v-angular/tooltip/tooltip.directive.d.ts +0 -108
- package/v-angular/tooltip/tooltip.module.d.ts +0 -8
- package/v-angular/tooltip/tooltip.styles.d.ts +0 -11
- package/v-angular/v-angular.module.d.ts +0 -33
|
@@ -1,5 +1,474 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnChanges, ChangeDetectorRef, TemplateRef, EventEmitter, SimpleChanges, OnInit, QueryList, ElementRef, Renderer2, ComponentRef, ViewContainerRef } from '@angular/core';
|
|
3
|
+
import { NgControl } from '@angular/forms';
|
|
4
|
+
import { TranslocoScope } from '@jsverse/transloco';
|
|
5
|
+
import { NggvBaseControlValueAccessorComponent } from '@sebgroup/green-angular/src/v-angular/base-control-value-accessor';
|
|
6
|
+
import { Option, DropdownUtils, OptionBase, OptionGroup } from '@sebgroup/green-angular/src/v-angular/core';
|
|
7
|
+
import { Subscription, OperatorFunction } from 'rxjs';
|
|
8
|
+
import * as i4 from '@angular/common';
|
|
9
|
+
import * as i4$1 from '@sebgroup/green-angular/src/lib/shared';
|
|
10
|
+
import { NggvInputComponent } from '@sebgroup/green-angular/src/v-angular/input';
|
|
11
|
+
import * as i5 from '@sebgroup/green-angular/src/v-angular/tooltip';
|
|
12
|
+
import * as i7 from '@sebgroup/green-angular/src/v-angular/i18n';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A dropdown allows the user to select an option from a list.
|
|
16
|
+
* Dropdowns enables users to make a quick selection of the available options for a specific entry.
|
|
17
|
+
* https://designlibrary.sebgroup.com/components/component-dropdown
|
|
18
|
+
*/
|
|
19
|
+
declare class NggvDropdownComponent<K = string | null | undefined, V = string | null | undefined, T extends Option<K, V> = Option<K, V>> extends NggvBaseControlValueAccessorComponent implements OnDestroy, OnChanges {
|
|
20
|
+
ngControl: NgControl;
|
|
21
|
+
protected translocoScope: TranslocoScope;
|
|
22
|
+
protected cdr: ChangeDetectorRef;
|
|
23
|
+
protected dropdownUtils: DropdownUtils<K, V, T>;
|
|
24
|
+
/** Custom template for displaying options and groups. */
|
|
25
|
+
selectedContentTpl: TemplateRef<OptionBase<T>> | undefined;
|
|
26
|
+
optionContentTpl: TemplateRef<OptionBase<any>> | undefined;
|
|
27
|
+
groupLabelTpl: TemplateRef<OptionBase<any>> | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Special property used for selecting DOM elements during automated UI testing.
|
|
30
|
+
*/
|
|
31
|
+
thook: string | null | undefined;
|
|
32
|
+
get isSmall(): boolean;
|
|
33
|
+
get isLarge(): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the displayed size of the dropdown.
|
|
36
|
+
*/
|
|
37
|
+
size: 'small' | 'large';
|
|
38
|
+
/** Text shown before an option is selected. */
|
|
39
|
+
placeholder?: string;
|
|
40
|
+
/** Specific value for aria-label. If not provided, label/labelTpl will be used. */
|
|
41
|
+
ariaLabel?: string;
|
|
42
|
+
/** If the dropdown should close when scrolling the viewport. Default: false */
|
|
43
|
+
closeOnScroll: boolean;
|
|
44
|
+
/** List of {@link Option} and {@link OptionGroup} listed when dropdown is expanded. */
|
|
45
|
+
set options(value: OptionBase<T>[]);
|
|
46
|
+
get options(): OptionBase<T>[];
|
|
47
|
+
/** The additional amount to show when option is scrolled into view. */
|
|
48
|
+
scrollOffset: number;
|
|
49
|
+
/**
|
|
50
|
+
* Allow this component to add/ remove nullish options based on wether the control is required or not
|
|
51
|
+
* Defaults to true.
|
|
52
|
+
*/
|
|
53
|
+
allowControlNullishOption: boolean;
|
|
54
|
+
/** Text to highlight in option */
|
|
55
|
+
textToHighlight?: string;
|
|
56
|
+
/**
|
|
57
|
+
* If only one option exists in options[], default is to select it.
|
|
58
|
+
* This input can be used to alter that behaviour so it doesn't automatically
|
|
59
|
+
* select a value if it's the only one.
|
|
60
|
+
* Defaults to true.
|
|
61
|
+
*/
|
|
62
|
+
selectOnSingleOption: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Used to control if the dropdown list should select the current active element, when Space is pressed on the keyboard.
|
|
65
|
+
* Primary usage is for typeahead, where the should be able to write a filter query containing spaces,
|
|
66
|
+
* but not select the current active element with Space.
|
|
67
|
+
*/
|
|
68
|
+
selectWithSpace: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Used to determine which changes should be handled by the dropdown.
|
|
71
|
+
* If set to false, all changes will be handled by the dropdown.
|
|
72
|
+
* If set to true, only changes that are distinct from the current value will be handled.
|
|
73
|
+
* Defaults to true.
|
|
74
|
+
*/
|
|
75
|
+
onlyHandleDistinctChanges: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Emits changes of the expanded state of the dropdown
|
|
78
|
+
*/
|
|
79
|
+
expandedChange: EventEmitter<boolean>;
|
|
80
|
+
/** @internal nullish option. */
|
|
81
|
+
get defaultNullishOption(): OptionBase<any>;
|
|
82
|
+
/** The current expanded state of the dropdown options. */
|
|
83
|
+
expanded: boolean;
|
|
84
|
+
/** The current option selected based on numeric index. */
|
|
85
|
+
activeIndex: number;
|
|
86
|
+
/** Subscribe if dropdown expanded to listen to click outside to close dropdown. */
|
|
87
|
+
private onClickSubscription;
|
|
88
|
+
/** Subscribe if dropdown expanded to listen to scroll outside to close dropdown. */
|
|
89
|
+
private onScrollSubscription;
|
|
90
|
+
keyEvent: KeyboardEvent;
|
|
91
|
+
private _options;
|
|
92
|
+
constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef, dropdownUtils: DropdownUtils<K, V, T>);
|
|
93
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
94
|
+
ngOnDestroy(): void;
|
|
95
|
+
/** @internal override to correctly set state from form value */
|
|
96
|
+
writeValue(value: any): void;
|
|
97
|
+
/** @internal */
|
|
98
|
+
onSelectChange(option: T): void;
|
|
99
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
100
|
+
/**
|
|
101
|
+
* Closes the dropdown on click outside.
|
|
102
|
+
*/
|
|
103
|
+
subscribeToOutsideClickEvent(): void;
|
|
104
|
+
subscribeToOutsideScrollEvent(): void;
|
|
105
|
+
/**
|
|
106
|
+
* Set the dropdown value to given option.
|
|
107
|
+
* @param value the dropdown option to select.
|
|
108
|
+
*/
|
|
109
|
+
private updateModel;
|
|
110
|
+
/** Toggle the expanded state of the dropdown options. */
|
|
111
|
+
toggleDropdown(): void;
|
|
112
|
+
/**
|
|
113
|
+
* Set the expanded state of the dropdown options. If true the options are shown below the field.
|
|
114
|
+
* Activate on click event to be able to close dropdown on click outside.
|
|
115
|
+
* @param state the expanded state which to set.
|
|
116
|
+
*/
|
|
117
|
+
setExpanded(state?: boolean): void;
|
|
118
|
+
/**
|
|
119
|
+
* Typecast anything to an {@link Option}.
|
|
120
|
+
* @param option the object to typecast.
|
|
121
|
+
*/
|
|
122
|
+
castOption(option: any): T;
|
|
123
|
+
/**
|
|
124
|
+
* Typecast anything to an {@link OptionGroup}.
|
|
125
|
+
* @param group the object to typecast.
|
|
126
|
+
*/
|
|
127
|
+
castGroup(group: any): OptionGroup<T>;
|
|
128
|
+
/**
|
|
129
|
+
* Returns true if argument is an {@link Option}.
|
|
130
|
+
* @param option the object to check.
|
|
131
|
+
*/
|
|
132
|
+
isOption(option: OptionBase<T>): option is OptionGroup<T>;
|
|
133
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownComponent<any, any, any>, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
|
|
134
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownComponent<any, any, any>, "nggv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "options": { "alias": "options"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "allowControlNullishOption": { "alias": "allowControlNullishOption"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "selectOnSingleOption": { "alias": "selectOnSingleOption"; "required": false; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; "onlyHandleDistinctChanges": { "alias": "onlyHandleDistinctChanges"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl", "groupLabelTpl"], ["*"], false, never>;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
declare class NggvDropdownListComponent implements OnInit, OnChanges {
|
|
138
|
+
protected translocoScope: TranslocoScope;
|
|
139
|
+
private renderer;
|
|
140
|
+
private elRef;
|
|
141
|
+
set expanded(state: boolean);
|
|
142
|
+
get expanded(): boolean;
|
|
143
|
+
state: any;
|
|
144
|
+
/** The additional amount to show when option is scrolled into view. */
|
|
145
|
+
scrollOffset: number;
|
|
146
|
+
optionContentTpl: TemplateRef<OptionBase<any>> | undefined;
|
|
147
|
+
groupLabelTpl: TemplateRef<OptionBase<any>> | undefined;
|
|
148
|
+
/** @internal List of references to the option elements. */
|
|
149
|
+
optionRefs: QueryList<ElementRef<HTMLLIElement>> | undefined;
|
|
150
|
+
/** Id of the host element and is accessible by the children, automatically generated if not provided. */
|
|
151
|
+
id: any;
|
|
152
|
+
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
153
|
+
thook: string | null | undefined;
|
|
154
|
+
get positionAttr(): "bottom" | "top";
|
|
155
|
+
options: any[];
|
|
156
|
+
textToHighlight?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Used to control if "selectedValueChanged" only should emit distinct changes, or each time a value is selected
|
|
159
|
+
* When true, value is not emitted if there's no distinct change
|
|
160
|
+
* When false, value is emitted every time an option is selected
|
|
161
|
+
* */
|
|
162
|
+
onlyEmitDistinctChanges: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Used to control if the dropdown list should select the current active element, when Space is pressed on the keyboard.
|
|
165
|
+
* Primary usage is for typeahead, where the should be able to write a filter query containing spaces,
|
|
166
|
+
* but not select the current active element with Space.
|
|
167
|
+
*/
|
|
168
|
+
selectWithSpace: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* When true, the dropdown will automatically choose to open above or below the input
|
|
171
|
+
* based on available space in the viewport, and will scale its height to fit if needed.
|
|
172
|
+
*/
|
|
173
|
+
dynamicPosition: boolean;
|
|
174
|
+
selectedValueChanged: EventEmitter<any>;
|
|
175
|
+
/**
|
|
176
|
+
* Emitted when the dropdown is closed by user interactions (e.g. Escape or Tab) or other immediate close triggers.
|
|
177
|
+
* This notifies external consumers that the dropdown was closed as a result of a user action.
|
|
178
|
+
*/
|
|
179
|
+
closed: EventEmitter<void>;
|
|
180
|
+
/**
|
|
181
|
+
* Emitted after the dropdown has fully closed and internal cleanup has been performed.
|
|
182
|
+
* Use this for post-close tasks that must run after subscriptions are torn down and resources released.
|
|
183
|
+
*/
|
|
184
|
+
afterClose: EventEmitter<void>;
|
|
185
|
+
/** The current active option based on numeric index. */
|
|
186
|
+
activeIndex: number;
|
|
187
|
+
scope: string | undefined;
|
|
188
|
+
dropdownPosition: 'bottom' | 'top';
|
|
189
|
+
private dropdownUtils;
|
|
190
|
+
private _expanded;
|
|
191
|
+
private closed$;
|
|
192
|
+
selectedValue?: Option<string, any>;
|
|
193
|
+
/** Subscribe if dropdown expanded to listen to click outside to close dropdown. */
|
|
194
|
+
protected onClickSubscription: Subscription | undefined;
|
|
195
|
+
/** Subscribe to to keyboard events only when list is open. */
|
|
196
|
+
private onKeyDownSubscription;
|
|
197
|
+
private onKeyUpSubscription;
|
|
198
|
+
private _flattenedOptions;
|
|
199
|
+
constructor(translocoScope: TranslocoScope, renderer: Renderer2, elRef: ElementRef);
|
|
200
|
+
ngOnInit(): void;
|
|
201
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
202
|
+
/**
|
|
203
|
+
* Returns true if argument is an {@link OptionGroup}.
|
|
204
|
+
* @param option the object to check.
|
|
205
|
+
*/
|
|
206
|
+
isGroup(option: any): boolean;
|
|
207
|
+
/** @internal */
|
|
208
|
+
updateState(option: any, event: Event): void;
|
|
209
|
+
/**
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
setExpanded(expanded?: boolean): void;
|
|
213
|
+
/**
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
refreshSelectedOption(): void;
|
|
217
|
+
/**
|
|
218
|
+
* @internal
|
|
219
|
+
* @returns The active index (number) if option is found, -1 otherwise.
|
|
220
|
+
* - If a selectedValue exists that's not nullish and that options is found, return that index
|
|
221
|
+
* - Else, return first non nullish index
|
|
222
|
+
* - If none of the above criterias are met, -1 are returned
|
|
223
|
+
*/
|
|
224
|
+
getActiveIndex(): number;
|
|
225
|
+
/**
|
|
226
|
+
* @internal
|
|
227
|
+
* evaluates wether the HTML element overflows
|
|
228
|
+
* @param elem The HTMLElement to evaluate
|
|
229
|
+
* */
|
|
230
|
+
isOverflow(elem: HTMLElement): boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Typecast anything to an {@link OptionGroup}.
|
|
233
|
+
* @param group the object to typecast.
|
|
234
|
+
*/
|
|
235
|
+
castGroup(group: any): any;
|
|
236
|
+
/**
|
|
237
|
+
* @internal
|
|
238
|
+
* Disables default events.
|
|
239
|
+
* @param event fired containing which key was pressed.
|
|
240
|
+
*/
|
|
241
|
+
onKeyDown(event: KeyboardEvent): boolean;
|
|
242
|
+
/**
|
|
243
|
+
* @internal
|
|
244
|
+
* Enter toggles the dropdown, home, end, and, arrows change the index.
|
|
245
|
+
* Space selects the currently active option if `selectWithSpace` is true.
|
|
246
|
+
* @param event fired containing which key was released.
|
|
247
|
+
*/
|
|
248
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
249
|
+
/** @internal */
|
|
250
|
+
subscribeToKeyUpEvents(): void;
|
|
251
|
+
/** @internal */
|
|
252
|
+
subscribeToKeyDownEvents(): void;
|
|
253
|
+
/**
|
|
254
|
+
* Scrolls focused result into view with a specified offset.
|
|
255
|
+
* @param key the result index which to scroll to.
|
|
256
|
+
*/
|
|
257
|
+
scrollToResult(option: any, focusElement?: boolean): void;
|
|
258
|
+
/**
|
|
259
|
+
* Calculates available space above and below the dropdown input,
|
|
260
|
+
* sets dropdownPosition ('top' or 'bottom') accordingly,
|
|
261
|
+
* and dynamically sets the max-height of the dropdown list to fit the viewport.
|
|
262
|
+
*/
|
|
263
|
+
setDropdownPosition(): void;
|
|
264
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownListComponent, [{ optional: true; }, null, null]>;
|
|
265
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownListComponent, "nggv-dropdown-list", never, { "expanded": { "alias": "expanded"; "required": false; }; "state": { "alias": "state"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "optionContentTpl": { "alias": "optionContentTpl"; "required": false; }; "groupLabelTpl": { "alias": "groupLabelTpl"; "required": false; }; "id": { "alias": "id"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "onlyEmitDistinctChanges": { "alias": "onlyEmitDistinctChanges"; "required": false; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; "dynamicPosition": { "alias": "dynamicPosition"; "required": false; }; }, { "selectedValueChanged": "selectedValueChanged"; "closed": "closed"; "afterClose": "afterClose"; }, never, never, false, never>;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
declare class NggvTypeaheadHighlightComponent implements OnChanges {
|
|
269
|
+
/** The text that is displayed in the dropdown list */
|
|
270
|
+
textContent?: string;
|
|
271
|
+
/** The substring that should be highlighted within textContent */
|
|
272
|
+
textToHighlight?: string;
|
|
273
|
+
prefix?: string;
|
|
274
|
+
match?: string;
|
|
275
|
+
suffix?: string;
|
|
276
|
+
text: string;
|
|
277
|
+
input: string;
|
|
278
|
+
/**
|
|
279
|
+
* Regexp of characters that are allowed in textContent without being found in textToHighlight
|
|
280
|
+
* Allow whitespaces.
|
|
281
|
+
* */
|
|
282
|
+
allowedNonMatchingChars: RegExp;
|
|
283
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
284
|
+
private updateValues;
|
|
285
|
+
/**
|
|
286
|
+
* Function that finds the start and end index of where the input is located within the text to display.
|
|
287
|
+
* First occurence is returned. Allows for spaces to occur despite input not matching space.
|
|
288
|
+
* Loops through each character in splittedText and when a char in splittedText equlas the first character of
|
|
289
|
+
* splittedInput, evaluate wether it's match on the entire input.
|
|
290
|
+
* - If it's => return indexes.
|
|
291
|
+
* - If it's not => break out and check next char in outer loop.
|
|
292
|
+
* @param splittedText the text content splitted in an array
|
|
293
|
+
* @param splittedInput the input splitted in an array
|
|
294
|
+
* @returns { start: number, end: number } Indexes of where the match starts and ends in the text displatyed
|
|
295
|
+
*/
|
|
296
|
+
private getHighlightedPart;
|
|
297
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadHighlightComponent, never>;
|
|
298
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvTypeaheadHighlightComponent, "nggv-typeahead-highlight", never, { "textContent": { "alias": "textContent"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; }, {}, never, never, false, never>;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
declare class NggvTypeaheadInputComponent extends NggvInputComponent implements OnInit, OnDestroy {
|
|
302
|
+
element: ElementRef;
|
|
303
|
+
private renderer2;
|
|
304
|
+
ngControl: NgControl;
|
|
305
|
+
protected translocoScope: TranslocoScope;
|
|
306
|
+
protected cdr: ChangeDetectorRef;
|
|
307
|
+
/** Reference to the host dropdown */
|
|
308
|
+
hostComponent: NggvDropdownComponent;
|
|
309
|
+
/** Formats each item that is displayed as an option. Only applies format if the option if it implement Option interface. */
|
|
310
|
+
resultFormatter?: (option: OptionBase<any>) => string;
|
|
311
|
+
/** Formats the selected item in the input when dropdown is opened. If no function is provided, it will display the value of the selected objects label property */
|
|
312
|
+
selectedFormatter?: (selected: OptionBase<any>) => string;
|
|
313
|
+
get dropdownButton(): HTMLElement;
|
|
314
|
+
/** Boolean to indicate wether the dropdown is expanded or not, to apply appropriate styling */
|
|
315
|
+
expanded: boolean;
|
|
316
|
+
/** Used to determine the height of the inputin html */
|
|
317
|
+
buttonHeight?: number;
|
|
318
|
+
/** @internal Used to determine wether the input has been moved or not */
|
|
319
|
+
inputMoved: boolean;
|
|
320
|
+
constructor(element: ElementRef, renderer2: Renderer2, ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
|
|
321
|
+
ngOnInit(): void;
|
|
322
|
+
/**
|
|
323
|
+
* @internal
|
|
324
|
+
* Allow space to be inputted as text
|
|
325
|
+
* @param event fired containing which key was released.
|
|
326
|
+
*/
|
|
327
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
328
|
+
/**
|
|
329
|
+
* @internal
|
|
330
|
+
* First time the dropdown is expanded, move the input sp it becomes a child of the dropdown button
|
|
331
|
+
* to better reflect semantics and styling.
|
|
332
|
+
*/
|
|
333
|
+
private moveInput;
|
|
334
|
+
/**
|
|
335
|
+
* @internal
|
|
336
|
+
* When dropdown is expanded, focus on the input. If a value is selected, set it in the input.
|
|
337
|
+
* When the dropdown is collapsed, empty the input from text.
|
|
338
|
+
*/
|
|
339
|
+
private handleExpandedChange;
|
|
340
|
+
/**
|
|
341
|
+
* @internal Formats the selected option to display in the input. Interpolate the returned value
|
|
342
|
+
* since we don't know the return type or label type.
|
|
343
|
+
* @param value The selected value
|
|
344
|
+
* @returns The formatted value
|
|
345
|
+
*/
|
|
346
|
+
private formatSelected;
|
|
347
|
+
/**
|
|
348
|
+
* Sets the input programmatically instead of native HTML input event.
|
|
349
|
+
* @param input
|
|
350
|
+
*/
|
|
351
|
+
private setInput;
|
|
352
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadInputComponent, [null, null, { optional: true; self: true; }, { optional: true; }, null]>;
|
|
353
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvTypeaheadInputComponent, "nggv-typeahead-input", never, { "hostComponent": { "alias": "hostComponent"; "required": false; }; "resultFormatter": { "alias": "resultFormatter"; "required": false; }; "selectedFormatter": { "alias": "selectedFormatter"; "required": false; }; }, {}, never, never, false, never>;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
declare class NggvTypeaheadDropdownListComponent extends NggvDropdownListComponent implements OnInit, OnDestroy {
|
|
357
|
+
protected translocoScope: TranslocoScope;
|
|
358
|
+
private renderer2;
|
|
359
|
+
private element;
|
|
360
|
+
hostComponent: NggvInputComponent;
|
|
361
|
+
/** Formats each item that is displayed as an option. Only applies format if the option if it implement Option interface. */
|
|
362
|
+
resultFormatter?: (option: OptionBase<any>) => string;
|
|
363
|
+
/** Formats the selected item in the input when dropdown is opened. If no function is provided, it will display the value of the selected objects label property */
|
|
364
|
+
selectedFormatter?: (selected: OptionBase<any>) => string;
|
|
365
|
+
private _destroy$;
|
|
366
|
+
constructor(translocoScope: TranslocoScope, renderer2: Renderer2, element: ElementRef);
|
|
367
|
+
ngOnInit(): void;
|
|
368
|
+
ngOnDestroy(): void;
|
|
369
|
+
/** @Internal Subscribe to click outside dropdownList and input to close dropdownList */
|
|
370
|
+
private subscribeToOutsideClickEvent;
|
|
371
|
+
/** @Internal Update state of the host-input to reflect the selected value */
|
|
372
|
+
private handleSelectedValueChanges;
|
|
373
|
+
/** @Internal Expand the dropdown when input receives focus. If no state, set empty string in input */
|
|
374
|
+
private handleFocusChanges;
|
|
375
|
+
/**
|
|
376
|
+
* @internal Formats the selected option to display in the input. Interpolate the returned value
|
|
377
|
+
* since we don't know the return type or label type.
|
|
378
|
+
* @param value The selected value
|
|
379
|
+
* @returns The formatted value
|
|
380
|
+
*/
|
|
381
|
+
private formatSelected;
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @param expanded boolean to set if dropdown is expanded
|
|
385
|
+
*/
|
|
386
|
+
setExpanded(expanded?: boolean): void;
|
|
387
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadDropdownListComponent, [{ optional: true; skipSelf: true; }, null, null]>;
|
|
388
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvTypeaheadDropdownListComponent, "nggv-typeahead-dropdown-list", never, { "hostComponent": { "alias": "hostComponent"; "required": false; }; "resultFormatter": { "alias": "resultFormatter"; "required": false; }; "selectedFormatter": { "alias": "selectedFormatter"; "required": false; }; }, {}, never, never, false, never>;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
declare class NggvTypeaheadModule {
|
|
392
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadModule, never>;
|
|
393
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvTypeaheadModule, [typeof NggvTypeaheadHighlightComponent, typeof NggvTypeaheadInputComponent, typeof NggvTypeaheadDropdownListComponent], [typeof i4.CommonModule, typeof i5.NggvTooltipModule], [typeof NggvTypeaheadHighlightComponent, typeof NggvTypeaheadInputComponent, typeof NggvTypeaheadDropdownListComponent]>;
|
|
394
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvTypeaheadModule>;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
declare class NggvDropdownModule {
|
|
398
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownModule, never>;
|
|
399
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvDropdownModule, [typeof NggvDropdownComponent, typeof NggvDropdownListComponent], [typeof i4.CommonModule, typeof i4$1.NggCoreWrapperModule, typeof NggvTypeaheadModule, typeof i5.NggvTooltipModule, typeof i7.NggvI18nModule], [typeof NggvDropdownComponent, typeof NggvDropdownListComponent]>;
|
|
400
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvDropdownModule>;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
declare class NggvTypeaheadDirective<K = string | null | undefined, V = string | null | undefined, T extends Option<K, V> = Option<K, V>> implements OnInit, OnDestroy {
|
|
404
|
+
private viewContainerRef;
|
|
405
|
+
private element;
|
|
406
|
+
private hostDropdown;
|
|
407
|
+
private hostInput;
|
|
408
|
+
/** Function that filter the inputvalue */
|
|
409
|
+
set nggvTypeahead(value: OperatorFunction<string, T[]> | undefined);
|
|
410
|
+
/** Formats each item that is displayed as an option. Only applies format if the option if it implement Option interface. */
|
|
411
|
+
resultFormatter?: (option: OptionBase<any>) => string;
|
|
412
|
+
/** Formats the selected item in the input when dropdown is opened. If no function is provided, it will display the value of the selected objects label property */
|
|
413
|
+
selectedFormatter?: (selected: OptionBase<any>) => string;
|
|
414
|
+
/** Allow option to be unselected in the dropdown even if it is required. Defaults to true */
|
|
415
|
+
allowUnselect: boolean;
|
|
416
|
+
/** Custom label for the unselect option */
|
|
417
|
+
unselectLabel?: string;
|
|
418
|
+
/** Custom label for the empty option */
|
|
419
|
+
emptyOptionLabel?: string;
|
|
420
|
+
/** Emits the entered string the user has written in the input */
|
|
421
|
+
filterPhraseChange: EventEmitter<string>;
|
|
422
|
+
/** Forward text inputs to apply the filter function*/
|
|
423
|
+
onNggvInput(event: any): void;
|
|
424
|
+
/** Helper to the determine if the host is nggv-drodpown or nggv-input*/
|
|
425
|
+
get hostIsDropdown(): boolean;
|
|
426
|
+
/** Predefined options */
|
|
427
|
+
get defaultNullishOption(): OptionBase<any>;
|
|
428
|
+
get emptyOption(): OptionBase<any>;
|
|
429
|
+
/** Name of the component. nggv-dropdown if NggvDropdownComponent or nggv-input if NggvInputComponent */
|
|
430
|
+
get localName(): any;
|
|
431
|
+
dropdownListComponent: ComponentRef<NggvTypeaheadDropdownListComponent>;
|
|
432
|
+
inputComponent: ComponentRef<NggvTypeaheadInputComponent>;
|
|
433
|
+
private typeaheadFunction?;
|
|
434
|
+
private inputValue$;
|
|
435
|
+
private inputSubscription$?;
|
|
436
|
+
private onDestroy$;
|
|
437
|
+
constructor(viewContainerRef: ViewContainerRef, element: ElementRef, hostDropdown: NggvDropdownComponent, hostInput: NggvInputComponent);
|
|
438
|
+
ngOnInit(): void;
|
|
439
|
+
ngOnDestroy(): void;
|
|
440
|
+
/**
|
|
441
|
+
* @internal
|
|
442
|
+
* Core functionality of typeahead. Emits input, then filters the result based on the supplied function
|
|
443
|
+
* If directive is applied on nggv-input, manually show or hide options in the list.
|
|
444
|
+
* If directive is applied on nggv-dropdown, let the dropdown itself choose when to open or close
|
|
445
|
+
*/
|
|
446
|
+
private handleInputChanges;
|
|
447
|
+
/**
|
|
448
|
+
* @internal
|
|
449
|
+
* Creates a nggv-input if the host itself is not a text-input
|
|
450
|
+
* Set styles to not display the input when closed
|
|
451
|
+
* Trigger filtering when changes occur in the field
|
|
452
|
+
* */
|
|
453
|
+
private createInput;
|
|
454
|
+
/** @internal Creates a nggv-dropdown-list if the host itself is a nggv-input */
|
|
455
|
+
private createDropdownList;
|
|
456
|
+
/**
|
|
457
|
+
* @internal Sets the options the user can select.
|
|
458
|
+
* If the host is a nggv-dropdown, utilize the dropdown itself to display the options
|
|
459
|
+
* If the host is a nggv-input, use the created nggv-dropdown-list to displaye the options
|
|
460
|
+
* @param filteredValues The options to display in the dropdown
|
|
461
|
+
* @param emptyInput If the input is empty
|
|
462
|
+
*/
|
|
463
|
+
private setOptions;
|
|
464
|
+
/**
|
|
465
|
+
* @internal Formats the available options to display in the dropdown list
|
|
466
|
+
* @param options The selected value
|
|
467
|
+
* @returns The formatted value
|
|
468
|
+
*/
|
|
469
|
+
private formatOptions;
|
|
470
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadDirective<any, any, any>, [null, null, { optional: true; host: true; }, { optional: true; host: true; }]>;
|
|
471
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NggvTypeaheadDirective<any, any, any>, "nggv-input[nggvTypeahead], nggv-dropdown[nggvTypeahead]", never, { "nggvTypeahead": { "alias": "nggvTypeahead"; "required": false; }; "resultFormatter": { "alias": "resultFormatter"; "required": false; }; "selectedFormatter": { "alias": "selectedFormatter"; "required": false; }; "allowUnselect": { "alias": "allowUnselect"; "required": false; }; "unselectLabel": { "alias": "unselectLabel"; "required": false; }; "emptyOptionLabel": { "alias": "emptyOptionLabel"; "required": false; }; }, { "filterPhraseChange": "filterPhraseChange"; }, never, never, true, never>;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export { NggvDropdownComponent, NggvDropdownListComponent, NggvDropdownModule, NggvTypeaheadDirective, NggvTypeaheadDropdownListComponent, NggvTypeaheadHighlightComponent, NggvTypeaheadInputComponent, NggvTypeaheadModule };
|
|
@@ -1,2 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { RouterLink } from '@angular/router';
|
|
4
|
+
import * as i2 from '@angular/common';
|
|
5
|
+
|
|
6
|
+
/** Directive overrides routerLink attribute to allow external links. */
|
|
7
|
+
declare class NggvExternalLinkDirective implements OnInit {
|
|
8
|
+
protected link: RouterLink;
|
|
9
|
+
/** If set to true, links will trigger a location change rather than an internal history push. */
|
|
10
|
+
external: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Creates a new ExternalLinkDirective
|
|
13
|
+
* @param link extracted routerLink metadata
|
|
14
|
+
*/
|
|
15
|
+
constructor(link: RouterLink);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvExternalLinkDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NggvExternalLinkDirective, "a[routerLink]", never, { "external": { "alias": "external"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare class NggvExternalLinkDirectiveModule {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvExternalLinkDirectiveModule, never>;
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvExternalLinkDirectiveModule, [typeof NggvExternalLinkDirective], [typeof i2.CommonModule], [typeof NggvExternalLinkDirective]>;
|
|
24
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvExternalLinkDirectiveModule>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { NggvExternalLinkDirective, NggvExternalLinkDirectiveModule };
|
|
@@ -1,2 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i1 from '@jsverse/transloco';
|
|
2
|
+
import { TranslocoMissingHandler, TranslocoTranspiler, TranslocoMissingHandlerData, HashMap, TranslocoInterceptor, Translation, TranslocoConfig, TranslocoFallbackStrategy, TranslocoTranspilerFunction } from '@jsverse/transloco';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { PipeTransform } from '@angular/core';
|
|
5
|
+
import * as i1$1 from '@angular/common';
|
|
6
|
+
|
|
7
|
+
declare class NggvMissingHandler implements TranslocoMissingHandler {
|
|
8
|
+
private transpiler;
|
|
9
|
+
constructor(transpiler: TranslocoTranspiler);
|
|
10
|
+
handle(key: string, _: TranslocoMissingHandlerData, params: HashMap): any;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvMissingHandler, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NggvMissingHandler>;
|
|
13
|
+
}
|
|
14
|
+
declare class NggvI18nModule {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvI18nModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvI18nModule, never, never, [typeof i1.TranslocoModule]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvI18nModule>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare class TranslocoMockPipe implements PipeTransform {
|
|
21
|
+
transform: (value: number) => number;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslocoMockPipe, never>;
|
|
23
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TranslocoMockPipe, "transloco", false>;
|
|
24
|
+
}
|
|
25
|
+
declare class TranslocoMockTranspiler implements TranslocoTranspilerFunction {
|
|
26
|
+
transpile: (..._args: string[]) => string;
|
|
27
|
+
}
|
|
28
|
+
declare class TranslocoMockMissingHandler implements TranslocoMissingHandler {
|
|
29
|
+
handle: (key: string, _: TranslocoConfig, _params: HashMap) => string;
|
|
30
|
+
}
|
|
31
|
+
declare class TranslocoMockStrategy implements TranslocoFallbackStrategy {
|
|
32
|
+
getNextLangs: (_failedLang: string) => any;
|
|
33
|
+
}
|
|
34
|
+
declare class TranslocoMockInterceptor implements TranslocoInterceptor {
|
|
35
|
+
preSaveTranslation(translation: Translation, _lang: string): Translation;
|
|
36
|
+
preSaveTranslationKey(_key: string, value: string, _lang: string): string;
|
|
37
|
+
}
|
|
38
|
+
declare class NggvI18nTestModule {
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvI18nTestModule, never>;
|
|
40
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvI18nTestModule, [typeof TranslocoMockPipe], [typeof i1$1.CommonModule], [typeof TranslocoMockPipe]>;
|
|
41
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvI18nTestModule>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { NggvI18nModule, NggvI18nTestModule, NggvMissingHandler, TranslocoMockInterceptor, TranslocoMockMissingHandler, TranslocoMockPipe, TranslocoMockStrategy, TranslocoMockTranspiler };
|
|
@@ -1,2 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i2 from '@angular/common';
|
|
3
|
+
import * as i3 from '@sebgroup/green-angular/src/lib/shared';
|
|
4
|
+
import * as i4 from '@sebgroup/green-angular/src/v-angular/tooltip';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* A button that will present an explanation to a problem/question.
|
|
8
|
+
* https://designlibrary.sebgroup.com/components/component-contextual-help-button
|
|
9
|
+
*/
|
|
10
|
+
declare class NggvInfoCircleComponent {
|
|
11
|
+
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
12
|
+
thook: string | null | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Text to display in tooltip when mouse hovers over icon.
|
|
15
|
+
*/
|
|
16
|
+
info: string;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvInfoCircleComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvInfoCircleComponent, "nggv-info-circle", never, { "thook": { "alias": "thook"; "required": false; }; "info": { "alias": "info"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare class NggvInfoCircleModule {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvInfoCircleModule, never>;
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvInfoCircleModule, [typeof NggvInfoCircleComponent], [typeof i2.CommonModule, typeof i3.NggCoreWrapperModule, typeof i4.NggvTooltipModule], [typeof NggvInfoCircleComponent]>;
|
|
24
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvInfoCircleModule>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { NggvInfoCircleComponent, NggvInfoCircleModule };
|