@sebgroup/green-angular 10.0.3 → 10.0.4
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 +10 -10
- 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,2 +1,127 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i5 from '@angular/forms';
|
|
4
|
+
import { NgControl, UntypedFormControl } from '@angular/forms';
|
|
5
|
+
import { TranslocoScope } from '@jsverse/transloco';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
|
+
import * as i4 from '@sebgroup/green-angular/src/v-angular/input-mask';
|
|
8
|
+
import { InputmaskOptions } from '@sebgroup/green-angular/src/v-angular/input-mask';
|
|
9
|
+
import { NggvBaseControlValueAccessorComponent } from '@sebgroup/green-angular/src/v-angular/base-control-value-accessor';
|
|
10
|
+
import * as i2 from '@angular/common';
|
|
11
|
+
import * as i3 from '@sebgroup/green-angular/src/v-angular/i18n';
|
|
12
|
+
import * as i6 from '@sebgroup/green-angular/src/v-angular/character-countdown';
|
|
13
|
+
import * as i7 from '@sebgroup/green-angular/src/lib/shared';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Input fields allow users to add and edit text.
|
|
17
|
+
* https://designlibrary.sebgroup.com/components/component-input
|
|
18
|
+
*/
|
|
19
|
+
declare class NggvInputComponent extends NggvBaseControlValueAccessorComponent implements OnInit, OnDestroy {
|
|
20
|
+
ngControl: NgControl;
|
|
21
|
+
protected translocoScope: TranslocoScope;
|
|
22
|
+
protected cdr: ChangeDetectorRef;
|
|
23
|
+
element: ElementRef;
|
|
24
|
+
/**
|
|
25
|
+
* Adding .gds-form-item as a class to host element
|
|
26
|
+
*/
|
|
27
|
+
class: string;
|
|
28
|
+
/**
|
|
29
|
+
* Adding .gds-form-item--small class based on size input for styling
|
|
30
|
+
*/
|
|
31
|
+
size: 'small' | 'large';
|
|
32
|
+
/**
|
|
33
|
+
* Special property used for selecting DOM elements during automated UI testing.
|
|
34
|
+
*/
|
|
35
|
+
thook: string | null | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Type of input field. Should avoid types that modify field too much such as range.
|
|
38
|
+
*/
|
|
39
|
+
type: string;
|
|
40
|
+
/**
|
|
41
|
+
* Text shown before input has a written value.
|
|
42
|
+
*/
|
|
43
|
+
placeholder?: string;
|
|
44
|
+
/**
|
|
45
|
+
* If set to "on", hint for form autofill feature.
|
|
46
|
+
*/
|
|
47
|
+
autocomplete: string;
|
|
48
|
+
/**
|
|
49
|
+
* If set to true, the value will not be editable.
|
|
50
|
+
*/
|
|
51
|
+
readonly: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* If set to true, enables the Angular template-driven email validator.
|
|
54
|
+
*/
|
|
55
|
+
email: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Minimum value required for numeric input types.
|
|
58
|
+
*/
|
|
59
|
+
min: number;
|
|
60
|
+
/**
|
|
61
|
+
* Maximum value required for numeric input types.
|
|
62
|
+
*/
|
|
63
|
+
max: number;
|
|
64
|
+
/**
|
|
65
|
+
* Incremental values that are valid for numeric input types.
|
|
66
|
+
*/
|
|
67
|
+
step: number;
|
|
68
|
+
/**
|
|
69
|
+
* Minimum length (number of characters) of value.
|
|
70
|
+
*/
|
|
71
|
+
set minLength(length: number);
|
|
72
|
+
/**
|
|
73
|
+
* Minimum length (number of characters) of value.
|
|
74
|
+
* @deprecated minlength triggers angular-template-validation. Use @Input() minLength instead.
|
|
75
|
+
*/
|
|
76
|
+
set minlength(length: number);
|
|
77
|
+
get minlength(): number;
|
|
78
|
+
/** Maximum length (number of characters) of value. */
|
|
79
|
+
set maxLength(length: number);
|
|
80
|
+
get maxlength(): number;
|
|
81
|
+
/**
|
|
82
|
+
* Maximum length (number of characters) of value.
|
|
83
|
+
* @deprecated maxlength triggers angular-template-validation. Use @Input() maxLength instead.
|
|
84
|
+
*/
|
|
85
|
+
set maxlength(length: number);
|
|
86
|
+
private _maxlength;
|
|
87
|
+
private _minlength;
|
|
88
|
+
/** Wether to show label that tells how many characters are still left to be entered. Will only be set if maxLength is also set */
|
|
89
|
+
private _showCharacterCountDown;
|
|
90
|
+
set showCharacterCountdown(option: boolean);
|
|
91
|
+
get showCharacterCountdown(): boolean;
|
|
92
|
+
/** Pattern the value must match to be valid. */
|
|
93
|
+
pattern: string;
|
|
94
|
+
/** Amount of time to wait until emitting (nggvINput) event */
|
|
95
|
+
debounceTime: number;
|
|
96
|
+
/** Settings for input mask if requested */
|
|
97
|
+
private _inputMask;
|
|
98
|
+
set inputMask(newInputMask: InputmaskOptions<any>);
|
|
99
|
+
get inputMask(): InputmaskOptions<any>;
|
|
100
|
+
/** Emits every time the value of the inner input field changes, independantly of updates on the formcontroller */
|
|
101
|
+
nggvInput: EventEmitter<any>;
|
|
102
|
+
private _formControl;
|
|
103
|
+
get control(): UntypedFormControl;
|
|
104
|
+
/** Returns if maxlength is used */
|
|
105
|
+
get hasMaxLength(): boolean;
|
|
106
|
+
/** Toggler for showing or hiding the input field */
|
|
107
|
+
hideInput$: Subject<boolean>;
|
|
108
|
+
protected inputChange$: Subject<any>;
|
|
109
|
+
protected _destroy$: Subject<boolean>;
|
|
110
|
+
constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef, element: ElementRef);
|
|
111
|
+
ngOnInit(): void;
|
|
112
|
+
ngOnDestroy(): void;
|
|
113
|
+
writeValue(value: any): void;
|
|
114
|
+
cutTextAfterMaxLength(value: any): any;
|
|
115
|
+
/** @internal */
|
|
116
|
+
onInput(event: Event): void;
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvInputComponent, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvInputComponent, "nggv-input", never, { "size": { "alias": "size"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "email": { "alias": "email"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "showCharacterCountdown": { "alias": "showCharacterCountdown"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "inputMask": { "alias": "inputMask"; "required": false; }; }, { "nggvInput": "nggvInput"; }, never, ["[slot='prefix']", "[slot='suffix']", "*"], false, never>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare class NggvInputModule {
|
|
122
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvInputModule, never>;
|
|
123
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvInputModule, [typeof NggvInputComponent], [typeof i2.CommonModule, typeof i3.NggvI18nModule, typeof i4.NggvInputMaskModule, typeof i5.ReactiveFormsModule, typeof i6.NggvCharacterCountdownDirectiveModule, typeof i7.NggCoreWrapperModule], [typeof NggvInputComponent]>;
|
|
124
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvInputModule>;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export { NggvInputComponent, NggvInputModule };
|
|
@@ -1,5 +1,81 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { PipeTransform, OnInit, AfterViewInit, OnDestroy, ElementRef, Renderer2, NgZone, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
import Inputmask from 'inputmask';
|
|
4
|
+
import { ControlValueAccessor, Validator, NgControl, AbstractControl } from '@angular/forms';
|
|
5
|
+
|
|
6
|
+
type InputmaskOptions<T> = Inputmask.Options & {
|
|
7
|
+
parser?: (value: any) => T;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Useful when you want to add input-mask on input which is child of your component
|
|
11
|
+
*
|
|
12
|
+
* @since 2.1.0
|
|
13
|
+
*/
|
|
14
|
+
type InputMaskConfig$1 = {
|
|
15
|
+
/**
|
|
16
|
+
* If set true, MutationObserver will be used to look for changes until it finds input with inputSelector
|
|
17
|
+
*/
|
|
18
|
+
isAsync: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* CSS like selector, which will be used with `querySelector` to get the native input.
|
|
21
|
+
* If your input is loaded lazily, please use `isAsync` option with this
|
|
22
|
+
*/
|
|
23
|
+
inputSelector: string;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
declare class InputMaskFormatPipe implements PipeTransform {
|
|
27
|
+
transform<T = any>(value: any, options: InputmaskOptions<T>): any;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputMaskFormatPipe, never>;
|
|
29
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<InputMaskFormatPipe, "nggvInputMaskFormat", false>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare class InputMaskConfig {
|
|
33
|
+
isAsync: boolean;
|
|
34
|
+
inputSelector: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class NggvInputMaskDirective<T = any> implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, Validator {
|
|
38
|
+
ngControl: NgControl;
|
|
39
|
+
private platformId;
|
|
40
|
+
private elementRef;
|
|
41
|
+
private renderer;
|
|
42
|
+
private ngZone;
|
|
43
|
+
/** Input settings of directive */
|
|
44
|
+
nggvInputMask: InputmaskOptions<T>;
|
|
45
|
+
inputMaskPlugin: Inputmask.Instance | undefined;
|
|
46
|
+
nativeInputElement: HTMLInputElement | undefined;
|
|
47
|
+
defaultInputMaskConfig: InputMaskConfig;
|
|
48
|
+
private mutationObserver;
|
|
49
|
+
constructor(ngControl: NgControl, config: InputMaskConfig, platformId: string, elementRef: ElementRef<HTMLInputElement | any>, renderer: Renderer2, ngZone: NgZone);
|
|
50
|
+
onInput: (_: any) => void;
|
|
51
|
+
onTouched: (_: any) => void;
|
|
52
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
53
|
+
ngOnInit(): void;
|
|
54
|
+
ngOnDestroy(): void;
|
|
55
|
+
initInputMask(): void;
|
|
56
|
+
ngAfterViewInit(): void;
|
|
57
|
+
get inputMaskOptions(): Inputmask.Options;
|
|
58
|
+
writeValue(value: string): void;
|
|
59
|
+
registerOnChange(fn: (_: T | null) => void): void;
|
|
60
|
+
registerOnTouched(fn: any): void;
|
|
61
|
+
validate: (control: AbstractControl) => {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
} | null;
|
|
64
|
+
setDisabledState(disabled: boolean): void;
|
|
65
|
+
private get control();
|
|
66
|
+
private setNativeInputElement;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvInputMaskDirective<any>, [{ optional: true; self: true; }, null, null, null, null, null]>;
|
|
68
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NggvInputMaskDirective<any>, "[nggvInputMask]", never, { "nggvInputMask": { "alias": "nggvInputMask"; "required": false; }; }, {}, never, never, false, never>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare class NggvInputMaskModule {
|
|
72
|
+
static forRoot(config?: Partial<InputMaskConfig>): ModuleWithProviders<NggvInputMaskModule>;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvInputMaskModule, never>;
|
|
74
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvInputMaskModule, [typeof NggvInputMaskDirective, typeof InputMaskFormatPipe], never, [typeof NggvInputMaskDirective, typeof InputMaskFormatPipe]>;
|
|
75
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvInputMaskModule>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
declare const createMask: <T>(options: string | InputmaskOptions<T>) => InputmaskOptions<T>;
|
|
79
|
+
|
|
80
|
+
export { InputMaskFormatPipe, NggvInputMaskDirective, NggvInputMaskModule, createMask };
|
|
81
|
+
export type { InputMaskConfig$1 as InputMaskConfig, InputmaskOptions };
|
|
@@ -1,5 +1,243 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, ElementRef, EventEmitter, Renderer2, AfterViewInit } from '@angular/core';
|
|
3
|
+
import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
|
|
4
|
+
import * as i5 from '@angular/common';
|
|
5
|
+
import * as i6 from '@sebgroup/green-angular/src/v-angular/button';
|
|
6
|
+
import * as i7 from '@sebgroup/green-angular/src/v-angular/i18n';
|
|
7
|
+
import * as i8 from '@sebgroup/green-angular/src/lib/shared';
|
|
8
|
+
|
|
9
|
+
declare global {
|
|
10
|
+
interface Window {
|
|
11
|
+
/** Counter for unique identifiers */
|
|
12
|
+
nggv: {
|
|
13
|
+
ids: {
|
|
14
|
+
[namespace: string]: number;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
nextId: (namespace?: string) => string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface DialogButtons {
|
|
23
|
+
positive?: string | null;
|
|
24
|
+
neutral?: string | null;
|
|
25
|
+
negative?: string | null;
|
|
26
|
+
danger?: string | null;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
interface DialogEvent<T = any> {
|
|
30
|
+
original: Event | undefined;
|
|
31
|
+
payload: T | undefined;
|
|
32
|
+
}
|
|
33
|
+
declare class NggvDialogComponent implements OnInit, OnDestroy {
|
|
34
|
+
private renderer;
|
|
35
|
+
private ref;
|
|
36
|
+
private configurableFocusTrapFactory;
|
|
37
|
+
private configurableFocusTrap;
|
|
38
|
+
dialogRef: ElementRef | undefined;
|
|
39
|
+
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
40
|
+
thook: string | null | undefined;
|
|
41
|
+
/** @internal */
|
|
42
|
+
baseClass: boolean;
|
|
43
|
+
/** @internal Defines the default visibility state of the dialog. */
|
|
44
|
+
private _shown;
|
|
45
|
+
set shown(value: boolean);
|
|
46
|
+
get shown(): boolean;
|
|
47
|
+
/** @internal */
|
|
48
|
+
get ariaHidden(): boolean;
|
|
49
|
+
/** Defines the default visibility state of the dialog. */
|
|
50
|
+
initiallyShown: boolean;
|
|
51
|
+
/** Sets modal heading. Will be translated (using transloco) if the string matches a cms key. */
|
|
52
|
+
heading: string;
|
|
53
|
+
/**
|
|
54
|
+
* Sets modal title. Will be translated (using transloco) if the string matches a cms key.
|
|
55
|
+
* @deprecated - use heading instead.
|
|
56
|
+
*/
|
|
57
|
+
title: string;
|
|
58
|
+
/** Sets content body and can contain html code. The content body can also be set by nesting children to the dialog tag. */
|
|
59
|
+
content?: string;
|
|
60
|
+
/** Defines if dialog should close on action. */
|
|
61
|
+
autoClose: boolean;
|
|
62
|
+
/** An array of event payloads that will be added to every click context menu item click. */
|
|
63
|
+
payload: any;
|
|
64
|
+
dialogTitleId: string;
|
|
65
|
+
/** Pass the null if you don't want dialog body to be announced by the screen reader */
|
|
66
|
+
dialogBodyId: string | null;
|
|
67
|
+
/** It gives an ability for parent component to control if modal should be closed on esc button click. */
|
|
68
|
+
closeModalOnEscape: boolean;
|
|
69
|
+
/** Aria label for the Close button with "X" icon, in the header */
|
|
70
|
+
closeButtonAriaLabel?: string;
|
|
71
|
+
_buttons: DialogButtons | undefined;
|
|
72
|
+
/** Buttons are defined as a key-value pair where key is one of "positive|neutral|negative" and value is the button label. */
|
|
73
|
+
set buttons(buttons: DialogButtons);
|
|
74
|
+
nggvCloseEvent: EventEmitter<DialogEvent<any>>;
|
|
75
|
+
nggvPositiveEvent: EventEmitter<DialogEvent<any>>;
|
|
76
|
+
nggvNeutralEvent: EventEmitter<DialogEvent<any>>;
|
|
77
|
+
nggvNegativeEvent: EventEmitter<DialogEvent<any>>;
|
|
78
|
+
nggvDangerEvent: EventEmitter<DialogEvent<any>>;
|
|
79
|
+
protected _previous: HTMLElement | undefined;
|
|
80
|
+
protected _firstFocusable: HTMLElement | undefined;
|
|
81
|
+
protected _lastFocusable: HTMLElement | undefined;
|
|
82
|
+
constructor(renderer: Renderer2, ref: ElementRef<HTMLElement>, configurableFocusTrapFactory: ConfigurableFocusTrapFactory);
|
|
83
|
+
ngOnInit(): void;
|
|
84
|
+
onAction(event: Event, action: string): void;
|
|
85
|
+
open(opener?: HTMLElement): boolean;
|
|
86
|
+
protected _limitFocusable(): void;
|
|
87
|
+
close(event?: Event, initiator?: string): void;
|
|
88
|
+
focusTrap(event: KeyboardEvent): void;
|
|
89
|
+
private hideOverflow;
|
|
90
|
+
private resetOverflow;
|
|
91
|
+
private enableFocusTrap;
|
|
92
|
+
private disableFocusTrap;
|
|
93
|
+
ngOnDestroy(): void;
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvDialogComponent, never>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvDialogComponent, "nggv-dialog", ["dialog"], { "thook": { "alias": "thook"; "required": false; }; "shown": { "alias": "shown"; "required": false; }; "initiallyShown": { "alias": "initiallyShown"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "payload": { "alias": "payload"; "required": false; }; "dialogTitleId": { "alias": "dialogTitleId"; "required": false; }; "dialogBodyId": { "alias": "dialogBodyId"; "required": false; }; "closeModalOnEscape": { "alias": "closeModalOnEscape"; "required": false; }; "closeButtonAriaLabel": { "alias": "closeButtonAriaLabel"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, { "nggvCloseEvent": "nggvCloseEvent"; "nggvPositiveEvent": "nggvPositiveEvent"; "nggvNeutralEvent": "nggvNeutralEvent"; "nggvNegativeEvent": "nggvNegativeEvent"; "nggvDangerEvent": "nggvDangerEvent"; }, never, ["*"], false, never>;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** Modal slide-out component based on vanilla pattern library design.
|
|
99
|
+
* The modal title can be set using the @Input heading, and will automatically be translated if
|
|
100
|
+
* the string matches a cms key.
|
|
101
|
+
* Content can be injected into the body of the slide-out by either setting the @Input content to any type of
|
|
102
|
+
* markdown, or using content projection (adding content between the `nggv-slideout-modal`-start and end tag).
|
|
103
|
+
* If the content needs to stretch outside the normal padded area, add the attribute `slot="outside-content"` to the
|
|
104
|
+
* projected content main element.
|
|
105
|
+
* Test hooks:
|
|
106
|
+
* The modal hook defaults to 'slideout' but is customizeable.
|
|
107
|
+
* The closing button can be selected using 'slideout-close'.
|
|
108
|
+
* The backdrop is selectable using 'slideout-backdrop'.
|
|
109
|
+
*/
|
|
110
|
+
declare class NggvSlideOutComponent implements OnInit {
|
|
111
|
+
private host;
|
|
112
|
+
private renderer;
|
|
113
|
+
/** @internal */
|
|
114
|
+
slideOutRef: ElementRef | undefined;
|
|
115
|
+
/** Sets from which side the modal should open. */
|
|
116
|
+
side: 'left' | 'right';
|
|
117
|
+
/** Defines the default visibility state of the slide-out. */
|
|
118
|
+
private _shown;
|
|
119
|
+
set shown(value: boolean);
|
|
120
|
+
get shown(): boolean;
|
|
121
|
+
/** Defines the default visibility state of the modal. */
|
|
122
|
+
initiallyShown: boolean;
|
|
123
|
+
/** Sets modal heading. Will be translated (using transloco) if the string matches a cms key. */
|
|
124
|
+
heading: string;
|
|
125
|
+
/**
|
|
126
|
+
* Sets modal title. Will be translated (using transloco) if the string matches a cms key.
|
|
127
|
+
* @deprecated - use @Input() heading instead.
|
|
128
|
+
*/
|
|
129
|
+
title: string;
|
|
130
|
+
/** Sets content body of the modal and can contain html code. The content body can also be set by nesting children to the modal tag. */
|
|
131
|
+
content?: string;
|
|
132
|
+
/** Sets whether it is possible to close the modal from the top right corner. */
|
|
133
|
+
closable: boolean;
|
|
134
|
+
/** Sets whether it is possible to close the modal by clicking outside the modal area (on the backdrop). */
|
|
135
|
+
closableOutside: boolean;
|
|
136
|
+
/** Allows the modal content to decide the width of the modal. */
|
|
137
|
+
autoWidth: boolean;
|
|
138
|
+
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
139
|
+
thook: string;
|
|
140
|
+
/** Aria label for the Close button with "X" icon, in the header */
|
|
141
|
+
closeButtonAriaLabel?: string;
|
|
142
|
+
/** @internal */
|
|
143
|
+
get fromLeft(): boolean;
|
|
144
|
+
_buttons: DialogButtons | undefined;
|
|
145
|
+
/** Buttons are defined as a key-value pair where key is one of "positive|neutral|negative" and value is the button label. */
|
|
146
|
+
set buttons(buttons: DialogButtons);
|
|
147
|
+
/** Will emit true on closing event. */
|
|
148
|
+
nggvCloseEvent: EventEmitter<boolean>;
|
|
149
|
+
nggvPositiveEvent: EventEmitter<void>;
|
|
150
|
+
nggvNeutralEvent: EventEmitter<void>;
|
|
151
|
+
nggvNegativeEvent: EventEmitter<void>;
|
|
152
|
+
private previous;
|
|
153
|
+
private firstFocusable;
|
|
154
|
+
private lastFocusable;
|
|
155
|
+
constructor(host: ElementRef, renderer: Renderer2);
|
|
156
|
+
ngOnInit(): void;
|
|
157
|
+
onAction(event: Event, action: string): void;
|
|
158
|
+
/**
|
|
159
|
+
* Called on a modal element. Opens the modal and sets focus to the last focusable element in the modal.
|
|
160
|
+
*
|
|
161
|
+
* @param opener - reference to last focused element before opening modal
|
|
162
|
+
* @returns - true
|
|
163
|
+
*/
|
|
164
|
+
open(opener?: HTMLElement): boolean;
|
|
165
|
+
/**
|
|
166
|
+
* Called on a modal element. Closes the modal and emits a `nggvCloseEvent`. Sets focus to the lats focused element if an element was sent in to open function.
|
|
167
|
+
*
|
|
168
|
+
* @param event
|
|
169
|
+
* @param initiator
|
|
170
|
+
*/
|
|
171
|
+
close(event?: Event, initiator?: string): void;
|
|
172
|
+
/** @internal */
|
|
173
|
+
focusTrap(event: KeyboardEvent): void;
|
|
174
|
+
private limitFocusable;
|
|
175
|
+
private hideOverflow;
|
|
176
|
+
private resetOverflow;
|
|
177
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvSlideOutComponent, never>;
|
|
178
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvSlideOutComponent, "nggv-slideout-modal", never, { "side": { "alias": "side"; "required": false; }; "shown": { "alias": "shown"; "required": false; }; "initiallyShown": { "alias": "initiallyShown"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "closableOutside": { "alias": "closableOutside"; "required": false; }; "autoWidth": { "alias": "autoWidth"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "closeButtonAriaLabel": { "alias": "closeButtonAriaLabel"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, { "nggvCloseEvent": "nggvCloseEvent"; "nggvPositiveEvent": "nggvPositiveEvent"; "nggvNeutralEvent": "nggvNeutralEvent"; "nggvNegativeEvent": "nggvNegativeEvent"; }, never, ["*", "[slot='outside-content']"], false, never>;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
declare class NggvFoldOutComponent implements OnDestroy, AfterViewInit {
|
|
182
|
+
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
183
|
+
thook: string | null | undefined;
|
|
184
|
+
inputRef?: ElementRef;
|
|
185
|
+
container?: ElementRef;
|
|
186
|
+
/** Aligns the dropdown list with the buttons right or left side */
|
|
187
|
+
alignOptions: 'left' | 'right';
|
|
188
|
+
/** Option to show text with action button */
|
|
189
|
+
text?: string;
|
|
190
|
+
/** Aria label for the fold-out button */
|
|
191
|
+
ariaLabel?: string;
|
|
192
|
+
/** Sets the width property of the list. Default = fit-content */
|
|
193
|
+
listWidth: 'fit-content' | 'max-content' | 'min-content' | 'auto';
|
|
194
|
+
/** Emits when the children container collapses, for components with change detection strategy "OnPush" */
|
|
195
|
+
actionEmitter: EventEmitter<void>;
|
|
196
|
+
/** @internal */
|
|
197
|
+
protected shown: boolean;
|
|
198
|
+
private activeIndex;
|
|
199
|
+
private firstArrowClick;
|
|
200
|
+
private ariaFocusAttributeName;
|
|
201
|
+
private blurAllElements;
|
|
202
|
+
private blurElement;
|
|
203
|
+
private focusElement;
|
|
204
|
+
private getChildIndex;
|
|
205
|
+
private onClickSubscription;
|
|
206
|
+
private onKeyUpSubscription;
|
|
207
|
+
private get children();
|
|
208
|
+
private get lastChild();
|
|
209
|
+
private get focusedElement();
|
|
210
|
+
ngAfterViewInit(): void;
|
|
211
|
+
ngOnDestroy(): void;
|
|
212
|
+
/** Toggle display of the option list */
|
|
213
|
+
toggleVisibility(): void;
|
|
214
|
+
setVisibility(setVisibility?: boolean): void;
|
|
215
|
+
/**
|
|
216
|
+
* Closes the fold-out on click outside.
|
|
217
|
+
*/
|
|
218
|
+
private subscribeToOutsideClickEvent;
|
|
219
|
+
private subscribeToKeyDownEvent;
|
|
220
|
+
private onKeyDown;
|
|
221
|
+
private handleArrowUpClick;
|
|
222
|
+
private handleArrowDownClick;
|
|
223
|
+
private handleFocus;
|
|
224
|
+
private takeAction;
|
|
225
|
+
private resetChildren;
|
|
226
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvFoldOutComponent, never>;
|
|
227
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvFoldOutComponent, "nggv-fold-out", never, { "thook": { "alias": "thook"; "required": false; }; "alignOptions": { "alias": "alignOptions"; "required": false; }; "text": { "alias": "text"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "listWidth": { "alias": "listWidth"; "required": false; }; }, { "actionEmitter": "actionEmitter"; }, never, ["*"], false, never>;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
declare class NggvFoldOutOptionDirective {
|
|
231
|
+
baseClass: boolean;
|
|
232
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvFoldOutOptionDirective, never>;
|
|
233
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NggvFoldOutOptionDirective, "[nggvOption]", never, {}, {}, never, never, false, never>;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
declare class NggvModalModule {
|
|
237
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvModalModule, never>;
|
|
238
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvModalModule, [typeof NggvDialogComponent, typeof NggvSlideOutComponent, typeof NggvFoldOutComponent, typeof NggvFoldOutOptionDirective], [typeof i5.CommonModule, typeof i6.NggvButtonModule, typeof i7.NggvI18nModule, typeof i8.NggCoreWrapperModule], [typeof NggvDialogComponent, typeof NggvSlideOutComponent, typeof NggvFoldOutComponent, typeof NggvFoldOutOptionDirective]>;
|
|
239
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvModalModule>;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export { NggvDialogComponent, NggvFoldOutComponent, NggvFoldOutOptionDirective, NggvModalModule, NggvSlideOutComponent };
|
|
243
|
+
export type { DialogEvent };
|
|
@@ -1,2 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/common';
|
|
4
|
+
import * as i3 from '@angular/forms';
|
|
5
|
+
import * as i4 from '@sebgroup/green-angular/src/v-angular/i18n';
|
|
6
|
+
import * as i5 from '@jsverse/transloco';
|
|
7
|
+
import * as i6 from '@sebgroup/green-angular/src/lib/shared';
|
|
8
|
+
|
|
9
|
+
/** The Pagination component is used to separate long sets of data so that it is easier for a user to consume information. To change the current page simply click on the page number. */
|
|
10
|
+
declare class PaginationComponent implements OnChanges {
|
|
11
|
+
/** Total size of pagination */
|
|
12
|
+
size: number;
|
|
13
|
+
/** Selected page */
|
|
14
|
+
value: number;
|
|
15
|
+
/** First page text */
|
|
16
|
+
firstText?: string;
|
|
17
|
+
/** Last page text */
|
|
18
|
+
lastText?: string;
|
|
19
|
+
/** Next page text */
|
|
20
|
+
nextText?: string;
|
|
21
|
+
/** Offset per page */
|
|
22
|
+
offset?: number;
|
|
23
|
+
/** Number of pages to display*/
|
|
24
|
+
pagingLength?: number;
|
|
25
|
+
/** Previous page text */
|
|
26
|
+
previousText?: string;
|
|
27
|
+
/** Use first and last navigation buttons*/
|
|
28
|
+
useFirstAndLast?: boolean;
|
|
29
|
+
/** Use text-based navigation buttons*/
|
|
30
|
+
useTextNav?: boolean;
|
|
31
|
+
/** Use dot-navigation */
|
|
32
|
+
useDotNav?: boolean;
|
|
33
|
+
/** Use 'Go to page' input field */
|
|
34
|
+
showGoToPage: boolean;
|
|
35
|
+
/** Element class name */
|
|
36
|
+
className: string;
|
|
37
|
+
/** Element ID */
|
|
38
|
+
id?: string;
|
|
39
|
+
/** Callback on page change */
|
|
40
|
+
pageNumberChange: EventEmitter<number>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
pageNumber: number;
|
|
43
|
+
/** @internal */
|
|
44
|
+
list: Array<number>;
|
|
45
|
+
/** @internal */
|
|
46
|
+
dotnavList: Array<number>;
|
|
47
|
+
/** @internal */
|
|
48
|
+
pagingSize: number;
|
|
49
|
+
/** @internal */
|
|
50
|
+
showEllipsisStart: boolean;
|
|
51
|
+
/** @internal */
|
|
52
|
+
showEllipsisEnd: boolean;
|
|
53
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
54
|
+
/** @internal */
|
|
55
|
+
setPagingSize(): void;
|
|
56
|
+
/** @internal */
|
|
57
|
+
handleOnChange(value: number): void;
|
|
58
|
+
/** @internal */
|
|
59
|
+
handlePageInput(pageInput: string): void;
|
|
60
|
+
/**
|
|
61
|
+
* Generates an array of the pages that needs to be displayed
|
|
62
|
+
* It depends on the size, offset, and the current value
|
|
63
|
+
*/
|
|
64
|
+
private generateList;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "nggv-pagination", never, { "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "firstText": { "alias": "firstText"; "required": false; }; "lastText": { "alias": "lastText"; "required": false; }; "nextText": { "alias": "nextText"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "pagingLength": { "alias": "pagingLength"; "required": false; }; "previousText": { "alias": "previousText"; "required": false; }; "useFirstAndLast": { "alias": "useFirstAndLast"; "required": false; }; "useTextNav": { "alias": "useTextNav"; "required": false; }; "useDotNav": { "alias": "useDotNav"; "required": false; }; "showGoToPage": { "alias": "showGoToPage"; "required": false; }; "className": { "alias": "className"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "pageNumberChange": "pageNumberChange"; }, never, never, false, never>;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
declare class NggvPaginationModule {
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvPaginationModule, never>;
|
|
71
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvPaginationModule, [typeof PaginationComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.NggvI18nModule, typeof i5.TranslocoModule, typeof i6.NggCoreWrapperModule], [typeof PaginationComponent]>;
|
|
72
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvPaginationModule>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export { NggvPaginationModule, PaginationComponent };
|
|
@@ -1,3 +1,111 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, ChangeDetectorRef } 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 * as i3 from '@angular/common';
|
|
7
|
+
import * as i4 from '@sebgroup/green-angular/src/v-angular/i18n';
|
|
8
|
+
import * as i5 from '@sebgroup/green-angular/src/lib/shared';
|
|
9
|
+
|
|
10
|
+
/** @internal Internal class used to uncheck radio buttons with the matching name. */
|
|
11
|
+
declare class NggvRadioControlRegistry {
|
|
12
|
+
private _radios;
|
|
13
|
+
add(control: NgControl, radio: NggvRadioComponent): void;
|
|
14
|
+
remove(radio: NggvRadioComponent): void;
|
|
15
|
+
select(radio: NggvRadioComponent): void;
|
|
16
|
+
private _isSameGroup;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvRadioControlRegistry, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NggvRadioControlRegistry>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Use radio buttons when users must select one option in a list with exclusive options out of a set of two or more options.
|
|
22
|
+
* https://designlibrary.sebgroup.com/components/component-radiobutton
|
|
23
|
+
*/
|
|
24
|
+
declare class NggvRadioComponent extends NggvBaseControlValueAccessorComponent implements OnInit, OnDestroy {
|
|
25
|
+
ngControl: NgControl;
|
|
26
|
+
protected translocoScope: TranslocoScope;
|
|
27
|
+
protected registry: NggvRadioControlRegistry;
|
|
28
|
+
protected cdr: ChangeDetectorRef;
|
|
29
|
+
/**
|
|
30
|
+
* Special property used for selecting DOM elements during automated UI testing.
|
|
31
|
+
*/
|
|
32
|
+
thook: string | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Sets class on host element based on size input for styling
|
|
35
|
+
*/
|
|
36
|
+
size: 'small' | 'large';
|
|
37
|
+
/**
|
|
38
|
+
* Syncs a FormControl in an existing FormGroup to a form control element by name.
|
|
39
|
+
*/
|
|
40
|
+
formControlName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Decides if error should be connected to each individual radio button.
|
|
43
|
+
* If true, errors will be shown in nggv-radio-group component.
|
|
44
|
+
* If false, errors will be show below each radio button
|
|
45
|
+
*/
|
|
46
|
+
isGroup: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Creates a new RadioComponent
|
|
49
|
+
* @param ngControl optional FormControl provided when component is used in a form, through dependency injection.
|
|
50
|
+
* @param registry internal registry used to uncheck radio buttons with the matching name, through dependency injection.
|
|
51
|
+
* @param cdr change detection reference for rendering purposes.
|
|
52
|
+
*/
|
|
53
|
+
constructor(ngControl: NgControl, translocoScope: TranslocoScope, registry: NggvRadioControlRegistry, cdr: ChangeDetectorRef);
|
|
54
|
+
ngOnInit(): void;
|
|
55
|
+
ngOnDestroy(): void;
|
|
56
|
+
/** @internal */
|
|
57
|
+
onInputChange(event: Event): void;
|
|
58
|
+
/** Writes a new value of true or false based on if argument matches this components value property. */
|
|
59
|
+
writeValue(value: any): void;
|
|
60
|
+
/** Registers a callback function that is called when the child input element's value changes. */
|
|
61
|
+
registerOnChange(fn: (value: any) => any): void;
|
|
62
|
+
/** Checks that the name properties match and updates name property if only formControlName is given. */
|
|
63
|
+
private _checkName;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvRadioComponent, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvRadioComponent, "nggv-radio", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Creates a wrapper around a group of radio buttons.
|
|
70
|
+
* If there is an error to the form control connected to the radio buttons, it will be shown once below instead of below every individual radio button
|
|
71
|
+
*/
|
|
72
|
+
declare class NggvRadioGroupComponent extends NggvBaseControlValueAccessorComponent implements OnInit {
|
|
73
|
+
ngControl: NgControl;
|
|
74
|
+
protected translocoScope: TranslocoScope;
|
|
75
|
+
protected cdr: ChangeDetectorRef;
|
|
76
|
+
/**
|
|
77
|
+
* Special property used for selecting DOM elements during automated UI testing.
|
|
78
|
+
*/
|
|
79
|
+
thook: string | null | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Sets class on host element based on size input for styling
|
|
82
|
+
*/
|
|
83
|
+
size: 'small' | 'large';
|
|
84
|
+
/**
|
|
85
|
+
* Syncs a FormControl in an existing FormGroup to a form control element by name.
|
|
86
|
+
*/
|
|
87
|
+
formControlName?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Sets "flex-direction" of parent of radio buttons.
|
|
90
|
+
*/
|
|
91
|
+
direction?: 'row' | 'column';
|
|
92
|
+
/**
|
|
93
|
+
* Creates a new RadioComponent
|
|
94
|
+
* @param ngControl optional FormControl provided when component is used in a form, through dependency injection.
|
|
95
|
+
* @param cdr change detection reference for rendering purposes.
|
|
96
|
+
*/
|
|
97
|
+
constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
|
|
98
|
+
ngOnInit(): void;
|
|
99
|
+
/** Checks that the name properties match and updates name property if only formControlName is given. */
|
|
100
|
+
private _checkName;
|
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvRadioGroupComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvRadioGroupComponent, "nggv-radio-group", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
declare class NggvRadioModule {
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvRadioModule, never>;
|
|
107
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvRadioModule, [typeof NggvRadioComponent, typeof NggvRadioGroupComponent], [typeof i3.CommonModule, typeof i4.NggvI18nModule, typeof i5.NggCoreWrapperModule], [typeof NggvRadioComponent, typeof NggvRadioGroupComponent]>;
|
|
108
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvRadioModule>;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export { NggvRadioComponent, NggvRadioControlRegistry, NggvRadioGroupComponent, NggvRadioModule };
|