@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
|
@@ -110,10 +110,10 @@ class PaginationComponent {
|
|
|
110
110
|
this.showEllipsisEnd = pagingEnd < this.pagingSize - 1;
|
|
111
111
|
this.list = genList.slice(start, end);
|
|
112
112
|
}
|
|
113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
114
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", type: PaginationComponent, isStandalone: false, selector: "nggv-pagination", inputs: { size: "size", value: "value", firstText: "firstText", lastText: "lastText", nextText: "nextText", offset: "offset", pagingLength: "pagingLength", previousText: "previousText", useFirstAndLast: "useFirstAndLast", useTextNav: "useTextNav", useDotNav: "useDotNav", showGoToPage: "showGoToPage", className: "className", id: "id" }, outputs: { pageNumberChange: "pageNumberChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"pagination-wrapper\" [ngClass]=\"className\" [attr.id]=\"id\">\n <nav class=\"custom-pagination\">\n <ng-container *ngIf=\"useDotNav; else numNav\">\n <ul class=\"pagination dotnav\">\n <ng-container *ngFor=\"let num of dotnavList\">\n <li class=\"page-item\" (click)=\"handleOnChange(num)\" [value]=\"num\">\n <span\n class=\"page-dot-link\"\n [ngClass]=\"{ active: value === num }\"\n ></span>\n </li>\n </ng-container>\n </ul>\n </ng-container>\n\n <ng-template #numNav>\n <ul class=\"pagination\">\n <ng-container>\n <li class=\"page-item\" (click)=\"handleOnChange(value - 1)\">\n <button\n class=\"page-link\"\n [attr.title]=\"previousText\"\n [attr.disabled]=\"value === 1 ? 'disabled' : null\"\n >\n <span class=\"nav-action\">\n <ng-container *ngIf=\"useTextNav; else angleLeftIcon\">\n {{ previousText ? previousText : 'Previous' }}\n </ng-container>\n <ng-template #angleLeftIcon>\n <gds-icon-chevron-left\n *nggCoreElement\n ></gds-icon-chevron-left>\n </ng-template>\n </span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"useFirstAndLast\">\n <li class=\"page-item\" (click)=\"handleOnChange(1)\">\n <button\n class=\"page-link\"\n [ngClass]=\"{ active: value === 1 }\"\n [attr.title]=\"firstText\"\n >\n <span class=\"nav-num\">{{ 1 }}</span>\n </button>\n </li>\n\n <li class=\"page-item\" *ngIf=\"showEllipsisStart\">\n <span class=\"page-link\" [attr.title]=\"'...'\">\n <span class=\"nav-num\">...</span>\n </span>\n </li>\n </ng-container>\n\n <ng-container *ngFor=\"let num of list\">\n <li\n class=\"page-item\"\n [ngClass]=\"{ active: value === num }\"\n (click)=\"handleOnChange(num)\"\n value=\"num\"\n >\n <button class=\"page-link\" [ngClass]=\"{ active: value === num }\">\n <span class=\"nav-num\">{{ num }}</span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"useFirstAndLast\">\n <li class=\"page-item\" *ngIf=\"showEllipsisEnd\">\n <span class=\"page-link\" [attr.title]=\"'...'\">\n <span class=\"nav-num\">...</span>\n </span>\n </li>\n\n <li\n class=\"page-item\"\n (click)=\"handleOnChange(pagingSize)\"\n *ngIf=\"pagingSize > 1\"\n >\n <button\n class=\"page-link\"\n [ngClass]=\"{ active: value === pagingSize }\"\n [attr.title]=\"lastText\"\n >\n <span class=\"nav-num\">{{ pagingSize }}</span>\n </button>\n </li>\n </ng-container>\n\n <ng-container>\n <li class=\"page-item\" (click)=\"handleOnChange(value + 1)\">\n <button class=\"page-link\" [attr.title]=\"nextText\">\n <span class=\"nav-action\">\n <ng-container *ngIf=\"useTextNav; else angleRightIcon\">\n {{ nextText ? nextText : 'Next' }}\n </ng-container>\n <ng-template #angleRightIcon>\n <gds-icon-chevron-right\n *nggCoreElement\n ></gds-icon-chevron-right>\n </ng-template>\n </span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"showGoToPage\">\n <li>\n <div class=\"paging-input-wrapper\">\n <div class=\"label-wrapper\">\n <label for=\"pageInput\" *transloco=\"let t\">\n {{ t('label.gotopage') }}\n </label>\n </div>\n <div class=\"input-wrapper\">\n <input\n #pageInput\n data-thook=\"pagination-go-to-input\"\n min=\"1\"\n [max]=\"pagingSize\"\n id=\"pageInput\"\n class=\"gds-field\"\n type=\"number\"\n (keydown.enter)=\"handlePageInput(pageInput.value)\"\n [ngModel]=\"value\"\n />\n <button\n type=\"button\"\n data-thook=\"pagination-go-to-button\"\n (click)=\"handlePageInput(pageInput.value)\"\n >\n <gds-icon-chevron-right\n *nggCoreElement\n ></gds-icon-chevron-right>\n </button>\n </div>\n </div>\n </li>\n </ng-container>\n </ul>\n </ng-template>\n </nav>\n</div>\n", styles: [":host .pagination-wrapper .paging-input-wrapper{display:flex}:host .pagination-wrapper .paging-input-wrapper .label-wrapper{margin:auto;padding:0 1em}:host .pagination-wrapper .paging-input-wrapper .input-wrapper{display:flex;border:.0625em solid #868686;border-radius:4px;height:100%}:host .pagination-wrapper .paging-input-wrapper .input-wrapper input{border:0;padding:.5em;min-height:2.5rem;width:60px;box-sizing:border-box;border-radius:3px;font-size:1rem;font-family:inherit}:host .pagination-wrapper .paging-input-wrapper .input-wrapper input:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper .paging-input-wrapper .input-wrapper>button{border:0;color:#1a1a1a;background-color:transparent;font-size:1rem;font-family:inherit}:host .pagination-wrapper .paging-input-wrapper .input-wrapper>button:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper>.custom-pagination>.pagination{display:flex;list-style:none;margin-top:10px;margin-bottom:10px}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link{position:relative;text-align:center;padding-top:0;padding-bottom:0;min-width:38px;height:40px;display:inline-flex;align-items:center;background-color:transparent;color:#1a1a1a;border:none;border-radius:4px;font-size:1rem;font-family:inherit}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link.active{background-color:#1a1a1a;color:#eee}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link>.nav-num{margin:0 auto}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link>.nav-action{margin:0 auto;display:inline-flex}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link:hover{box-shadow:0 2px 6px #eee}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item{width:20px;height:25px}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link{position:relative;display:inline-block;width:10px;height:10px;border-radius:50%;cursor:pointer;background-color:#a2ddfe;transition:all var(--gds-sys-transition);margin:0 auto;will-change:transform}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link.active{background-color:#007ac7;cursor:default;transform:scale(1.3)}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link:hover:not(.active){background-color:#41b0ee}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i2.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "directive", type: i4.NggCoreElementDirective, selector: "[nggCoreElement]" }] }); }
|
|
113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: PaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
114
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.9", type: PaginationComponent, isStandalone: false, selector: "nggv-pagination", inputs: { size: "size", value: "value", firstText: "firstText", lastText: "lastText", nextText: "nextText", offset: "offset", pagingLength: "pagingLength", previousText: "previousText", useFirstAndLast: "useFirstAndLast", useTextNav: "useTextNav", useDotNav: "useDotNav", showGoToPage: "showGoToPage", className: "className", id: "id" }, outputs: { pageNumberChange: "pageNumberChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"pagination-wrapper\" [ngClass]=\"className\" [attr.id]=\"id\">\n <nav class=\"custom-pagination\">\n <ng-container *ngIf=\"useDotNav; else numNav\">\n <ul class=\"pagination dotnav\">\n <ng-container *ngFor=\"let num of dotnavList\">\n <li class=\"page-item\" (click)=\"handleOnChange(num)\" [value]=\"num\">\n <span\n class=\"page-dot-link\"\n [ngClass]=\"{ active: value === num }\"\n ></span>\n </li>\n </ng-container>\n </ul>\n </ng-container>\n\n <ng-template #numNav>\n <ul class=\"pagination\">\n <ng-container>\n <li class=\"page-item\" (click)=\"handleOnChange(value - 1)\">\n <button\n class=\"page-link\"\n [attr.title]=\"previousText\"\n [attr.disabled]=\"value === 1 ? 'disabled' : null\"\n >\n <span class=\"nav-action\">\n <ng-container *ngIf=\"useTextNav; else angleLeftIcon\">\n {{ previousText ? previousText : 'Previous' }}\n </ng-container>\n <ng-template #angleLeftIcon>\n <gds-icon-chevron-left\n *nggCoreElement\n ></gds-icon-chevron-left>\n </ng-template>\n </span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"useFirstAndLast\">\n <li class=\"page-item\" (click)=\"handleOnChange(1)\">\n <button\n class=\"page-link\"\n [ngClass]=\"{ active: value === 1 }\"\n [attr.title]=\"firstText\"\n >\n <span class=\"nav-num\">{{ 1 }}</span>\n </button>\n </li>\n\n <li class=\"page-item\" *ngIf=\"showEllipsisStart\">\n <span class=\"page-link\" [attr.title]=\"'...'\">\n <span class=\"nav-num\">...</span>\n </span>\n </li>\n </ng-container>\n\n <ng-container *ngFor=\"let num of list\">\n <li\n class=\"page-item\"\n [ngClass]=\"{ active: value === num }\"\n (click)=\"handleOnChange(num)\"\n value=\"num\"\n >\n <button class=\"page-link\" [ngClass]=\"{ active: value === num }\">\n <span class=\"nav-num\">{{ num }}</span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"useFirstAndLast\">\n <li class=\"page-item\" *ngIf=\"showEllipsisEnd\">\n <span class=\"page-link\" [attr.title]=\"'...'\">\n <span class=\"nav-num\">...</span>\n </span>\n </li>\n\n <li\n class=\"page-item\"\n (click)=\"handleOnChange(pagingSize)\"\n *ngIf=\"pagingSize > 1\"\n >\n <button\n class=\"page-link\"\n [ngClass]=\"{ active: value === pagingSize }\"\n [attr.title]=\"lastText\"\n >\n <span class=\"nav-num\">{{ pagingSize }}</span>\n </button>\n </li>\n </ng-container>\n\n <ng-container>\n <li class=\"page-item\" (click)=\"handleOnChange(value + 1)\">\n <button class=\"page-link\" [attr.title]=\"nextText\">\n <span class=\"nav-action\">\n <ng-container *ngIf=\"useTextNav; else angleRightIcon\">\n {{ nextText ? nextText : 'Next' }}\n </ng-container>\n <ng-template #angleRightIcon>\n <gds-icon-chevron-right\n *nggCoreElement\n ></gds-icon-chevron-right>\n </ng-template>\n </span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"showGoToPage\">\n <li>\n <div class=\"paging-input-wrapper\">\n <div class=\"label-wrapper\">\n <label for=\"pageInput\" *transloco=\"let t\">\n {{ t('label.gotopage') }}\n </label>\n </div>\n <div class=\"input-wrapper\">\n <input\n #pageInput\n data-thook=\"pagination-go-to-input\"\n min=\"1\"\n [max]=\"pagingSize\"\n id=\"pageInput\"\n class=\"gds-field\"\n type=\"number\"\n (keydown.enter)=\"handlePageInput(pageInput.value)\"\n [ngModel]=\"value\"\n />\n <button\n type=\"button\"\n data-thook=\"pagination-go-to-button\"\n (click)=\"handlePageInput(pageInput.value)\"\n >\n <gds-icon-chevron-right\n *nggCoreElement\n ></gds-icon-chevron-right>\n </button>\n </div>\n </div>\n </li>\n </ng-container>\n </ul>\n </ng-template>\n </nav>\n</div>\n", styles: [":host .pagination-wrapper .paging-input-wrapper{display:flex}:host .pagination-wrapper .paging-input-wrapper .label-wrapper{margin:auto;padding:0 1em}:host .pagination-wrapper .paging-input-wrapper .input-wrapper{display:flex;border:.0625em solid #868686;border-radius:4px;height:100%}:host .pagination-wrapper .paging-input-wrapper .input-wrapper input{border:0;padding:.5em;min-height:2.5rem;width:60px;box-sizing:border-box;border-radius:3px;font-size:1rem;font-family:inherit}:host .pagination-wrapper .paging-input-wrapper .input-wrapper input:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper .paging-input-wrapper .input-wrapper>button{border:0;color:#1a1a1a;background-color:transparent;font-size:1rem;font-family:inherit}:host .pagination-wrapper .paging-input-wrapper .input-wrapper>button:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper>.custom-pagination>.pagination{display:flex;list-style:none;margin-top:10px;margin-bottom:10px}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link{position:relative;text-align:center;padding-top:0;padding-bottom:0;min-width:38px;height:40px;display:inline-flex;align-items:center;background-color:transparent;color:#1a1a1a;border:none;border-radius:4px;font-size:1rem;font-family:inherit}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link.active{background-color:#1a1a1a;color:#eee}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link>.nav-num{margin:0 auto}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link>.nav-action{margin:0 auto;display:inline-flex}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link:hover{box-shadow:0 2px 6px #eee}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item{width:20px;height:25px}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link{position:relative;display:inline-block;width:10px;height:10px;border-radius:50%;cursor:pointer;background-color:#a2ddfe;transition:all var(--gds-sys-transition);margin:0 auto;will-change:transform}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link.active{background-color:#007ac7;cursor:default;transform:scale(1.3)}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link:hover:not(.active){background-color:#41b0ee}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i2.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "directive", type: i4.NggCoreElementDirective, selector: "[nggCoreElement]" }] }); }
|
|
115
115
|
}
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: PaginationComponent, decorators: [{
|
|
117
117
|
type: Component,
|
|
118
118
|
args: [{ selector: 'nggv-pagination', standalone: false, template: "<div class=\"pagination-wrapper\" [ngClass]=\"className\" [attr.id]=\"id\">\n <nav class=\"custom-pagination\">\n <ng-container *ngIf=\"useDotNav; else numNav\">\n <ul class=\"pagination dotnav\">\n <ng-container *ngFor=\"let num of dotnavList\">\n <li class=\"page-item\" (click)=\"handleOnChange(num)\" [value]=\"num\">\n <span\n class=\"page-dot-link\"\n [ngClass]=\"{ active: value === num }\"\n ></span>\n </li>\n </ng-container>\n </ul>\n </ng-container>\n\n <ng-template #numNav>\n <ul class=\"pagination\">\n <ng-container>\n <li class=\"page-item\" (click)=\"handleOnChange(value - 1)\">\n <button\n class=\"page-link\"\n [attr.title]=\"previousText\"\n [attr.disabled]=\"value === 1 ? 'disabled' : null\"\n >\n <span class=\"nav-action\">\n <ng-container *ngIf=\"useTextNav; else angleLeftIcon\">\n {{ previousText ? previousText : 'Previous' }}\n </ng-container>\n <ng-template #angleLeftIcon>\n <gds-icon-chevron-left\n *nggCoreElement\n ></gds-icon-chevron-left>\n </ng-template>\n </span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"useFirstAndLast\">\n <li class=\"page-item\" (click)=\"handleOnChange(1)\">\n <button\n class=\"page-link\"\n [ngClass]=\"{ active: value === 1 }\"\n [attr.title]=\"firstText\"\n >\n <span class=\"nav-num\">{{ 1 }}</span>\n </button>\n </li>\n\n <li class=\"page-item\" *ngIf=\"showEllipsisStart\">\n <span class=\"page-link\" [attr.title]=\"'...'\">\n <span class=\"nav-num\">...</span>\n </span>\n </li>\n </ng-container>\n\n <ng-container *ngFor=\"let num of list\">\n <li\n class=\"page-item\"\n [ngClass]=\"{ active: value === num }\"\n (click)=\"handleOnChange(num)\"\n value=\"num\"\n >\n <button class=\"page-link\" [ngClass]=\"{ active: value === num }\">\n <span class=\"nav-num\">{{ num }}</span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"useFirstAndLast\">\n <li class=\"page-item\" *ngIf=\"showEllipsisEnd\">\n <span class=\"page-link\" [attr.title]=\"'...'\">\n <span class=\"nav-num\">...</span>\n </span>\n </li>\n\n <li\n class=\"page-item\"\n (click)=\"handleOnChange(pagingSize)\"\n *ngIf=\"pagingSize > 1\"\n >\n <button\n class=\"page-link\"\n [ngClass]=\"{ active: value === pagingSize }\"\n [attr.title]=\"lastText\"\n >\n <span class=\"nav-num\">{{ pagingSize }}</span>\n </button>\n </li>\n </ng-container>\n\n <ng-container>\n <li class=\"page-item\" (click)=\"handleOnChange(value + 1)\">\n <button class=\"page-link\" [attr.title]=\"nextText\">\n <span class=\"nav-action\">\n <ng-container *ngIf=\"useTextNav; else angleRightIcon\">\n {{ nextText ? nextText : 'Next' }}\n </ng-container>\n <ng-template #angleRightIcon>\n <gds-icon-chevron-right\n *nggCoreElement\n ></gds-icon-chevron-right>\n </ng-template>\n </span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"showGoToPage\">\n <li>\n <div class=\"paging-input-wrapper\">\n <div class=\"label-wrapper\">\n <label for=\"pageInput\" *transloco=\"let t\">\n {{ t('label.gotopage') }}\n </label>\n </div>\n <div class=\"input-wrapper\">\n <input\n #pageInput\n data-thook=\"pagination-go-to-input\"\n min=\"1\"\n [max]=\"pagingSize\"\n id=\"pageInput\"\n class=\"gds-field\"\n type=\"number\"\n (keydown.enter)=\"handlePageInput(pageInput.value)\"\n [ngModel]=\"value\"\n />\n <button\n type=\"button\"\n data-thook=\"pagination-go-to-button\"\n (click)=\"handlePageInput(pageInput.value)\"\n >\n <gds-icon-chevron-right\n *nggCoreElement\n ></gds-icon-chevron-right>\n </button>\n </div>\n </div>\n </li>\n </ng-container>\n </ul>\n </ng-template>\n </nav>\n</div>\n", styles: [":host .pagination-wrapper .paging-input-wrapper{display:flex}:host .pagination-wrapper .paging-input-wrapper .label-wrapper{margin:auto;padding:0 1em}:host .pagination-wrapper .paging-input-wrapper .input-wrapper{display:flex;border:.0625em solid #868686;border-radius:4px;height:100%}:host .pagination-wrapper .paging-input-wrapper .input-wrapper input{border:0;padding:.5em;min-height:2.5rem;width:60px;box-sizing:border-box;border-radius:3px;font-size:1rem;font-family:inherit}:host .pagination-wrapper .paging-input-wrapper .input-wrapper input:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper .paging-input-wrapper .input-wrapper>button{border:0;color:#1a1a1a;background-color:transparent;font-size:1rem;font-family:inherit}:host .pagination-wrapper .paging-input-wrapper .input-wrapper>button:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper>.custom-pagination>.pagination{display:flex;list-style:none;margin-top:10px;margin-bottom:10px}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link{position:relative;text-align:center;padding-top:0;padding-bottom:0;min-width:38px;height:40px;display:inline-flex;align-items:center;background-color:transparent;color:#1a1a1a;border:none;border-radius:4px;font-size:1rem;font-family:inherit}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link.active{background-color:#1a1a1a;color:#eee}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link>.nav-num{margin:0 auto}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link>.nav-action{margin:0 auto;display:inline-flex}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link:hover{box-shadow:0 2px 6px #eee}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item{width:20px;height:25px}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link{position:relative;display:inline-block;width:10px;height:10px;border-radius:50%;cursor:pointer;background-color:#a2ddfe;transition:all var(--gds-sys-transition);margin:0 auto;will-change:transform}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link.active{background-color:#007ac7;cursor:default;transform:scale(1.3)}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link:hover:not(.active){background-color:#41b0ee}\n"] }]
|
|
119
119
|
}], propDecorators: { size: [{
|
|
@@ -149,19 +149,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
149
149
|
}] } });
|
|
150
150
|
|
|
151
151
|
class NggvPaginationModule {
|
|
152
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
153
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
153
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.9", ngImport: i0, type: NggvPaginationModule, declarations: [PaginationComponent], imports: [CommonModule,
|
|
154
154
|
FormsModule,
|
|
155
155
|
NggvI18nModule,
|
|
156
156
|
TranslocoModule,
|
|
157
157
|
NggCoreWrapperModule], exports: [PaginationComponent] }); }
|
|
158
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
158
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvPaginationModule, imports: [CommonModule,
|
|
159
159
|
FormsModule,
|
|
160
160
|
NggvI18nModule,
|
|
161
161
|
TranslocoModule,
|
|
162
162
|
NggCoreWrapperModule] }); }
|
|
163
163
|
}
|
|
164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvPaginationModule, decorators: [{
|
|
165
165
|
type: NgModule,
|
|
166
166
|
args: [{
|
|
167
167
|
declarations: [PaginationComponent],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sebgroup-green-angular-src-v-angular-pagination.mjs","sources":["../../../../libs/angular/src/v-angular/pagination/pagination.component.ts","../../../../libs/angular/src/v-angular/pagination/pagination.component.html","../../../../libs/angular/src/v-angular/pagination/pagination.module.ts","../../../../libs/angular/src/v-angular/pagination/sebgroup-green-angular-src-v-angular-pagination.ts"],"sourcesContent":["import {\n Component,\n EventEmitter,\n Input,\n OnChanges,\n Output,\n SimpleChanges,\n} from '@angular/core'\n\nimport '@sebgroup/green-core/components/icon/icons/chevron-left.js'\nimport '@sebgroup/green-core/components/icon/icons/chevron-right.js'\nimport '@sebgroup/green-core/components/icon/icons/arrow-left.js'\n\n/** 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. */\n@Component({\n selector: 'nggv-pagination',\n templateUrl: './pagination.component.html',\n styleUrls: ['./pagination.component.scss'],\n standalone: false\n})\nexport class PaginationComponent implements OnChanges {\n /** Total size of pagination */\n @Input() size = 0\n /** Selected page */\n @Input() value = 1\n /** First page text */\n @Input() firstText?: string\n /** Last page text */\n @Input() lastText?: string\n /** Next page text */\n @Input() nextText?: string\n /** Offset per page */\n @Input() offset?: number\n /** Number of pages to display*/\n @Input() pagingLength?: number\n /** Previous page text */\n @Input() previousText?: string\n /** Use first and last navigation buttons*/\n @Input() useFirstAndLast?: boolean = true\n /** Use text-based navigation buttons*/\n @Input() useTextNav?: boolean\n /** Use dot-navigation */\n @Input() useDotNav?: boolean\n /** Use 'Go to page' input field */\n @Input() showGoToPage = true\n /** Element class name */\n @Input() className = ''\n /** Element ID */\n @Input() id?: string\n /** Callback on page change */\n @Output() pageNumberChange: EventEmitter<number> = new EventEmitter<number>()\n\n /** @internal */\n pageNumber = 0\n /** @internal */\n list: Array<number> = []\n /** @internal */\n dotnavList: Array<number> = []\n /** @internal */\n pagingSize = 0\n /** @internal */\n showEllipsisStart = false\n /** @internal */\n showEllipsisEnd = false\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes?.offset || changes?.size) {\n this.setPagingSize()\n }\n\n if (changes?.pagingLength || changes?.value) {\n this.generateList()\n }\n }\n\n /** @internal */\n setPagingSize() {\n const initialOffset: number = this.offset ? this.offset : 10\n this.pagingSize = Math.ceil(Number(this.size) / initialOffset)\n this.generateList()\n }\n\n /** @internal */\n handleOnChange(value: number): void {\n if (value <= 0) {\n this.pageNumberChange.emit(1)\n } else if (value > this.pagingSize) {\n this.pageNumberChange.emit(this.pagingSize)\n } else {\n this.pageNumberChange.emit(value)\n }\n }\n\n /** @internal */\n handlePageInput(pageInput: string) {\n this.handleOnChange(Number(pageInput))\n }\n\n /**\n * Generates an array of the pages that needs to be displayed\n * It depends on the size, offset, and the current value\n */\n private generateList(): void {\n const genList: Array<number> = []\n const length: number = this.pagingLength ? this.pagingLength : 5\n\n for (let i = 1; i <= this.pagingSize; i++) {\n genList.push(i)\n }\n\n const medianValue: number = Math.ceil(length / 2)\n let start = 0\n let end = this.pagingSize\n\n if (length < this.pagingSize) {\n if (this.pagingSize - this.value < medianValue) {\n start = this.pagingSize - length\n } else if (this.value - medianValue > -1) {\n start = this.value - medianValue\n }\n end = start + length\n }\n if (this.useFirstAndLast) {\n if (start == 0) {\n start = 1\n end = start + length\n }\n\n if (end > this.pagingSize - 1) {\n end = this.pagingSize - 1\n start = Math.max(1, end - length)\n }\n }\n\n this.dotnavList = genList\n const pagingStart = genList[start]\n const pagingEnd = genList[end - 1]\n this.showEllipsisStart = pagingStart > 2\n this.showEllipsisEnd = pagingEnd < this.pagingSize - 1\n this.list = genList.slice(start, end)\n }\n}\n","<div class=\"pagination-wrapper\" [ngClass]=\"className\" [attr.id]=\"id\">\n <nav class=\"custom-pagination\">\n <ng-container *ngIf=\"useDotNav; else numNav\">\n <ul class=\"pagination dotnav\">\n <ng-container *ngFor=\"let num of dotnavList\">\n <li class=\"page-item\" (click)=\"handleOnChange(num)\" [value]=\"num\">\n <span\n class=\"page-dot-link\"\n [ngClass]=\"{ active: value === num }\"\n ></span>\n </li>\n </ng-container>\n </ul>\n </ng-container>\n\n <ng-template #numNav>\n <ul class=\"pagination\">\n <ng-container>\n <li class=\"page-item\" (click)=\"handleOnChange(value - 1)\">\n <button\n class=\"page-link\"\n [attr.title]=\"previousText\"\n [attr.disabled]=\"value === 1 ? 'disabled' : null\"\n >\n <span class=\"nav-action\">\n <ng-container *ngIf=\"useTextNav; else angleLeftIcon\">\n {{ previousText ? previousText : 'Previous' }}\n </ng-container>\n <ng-template #angleLeftIcon>\n <gds-icon-chevron-left\n *nggCoreElement\n ></gds-icon-chevron-left>\n </ng-template>\n </span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"useFirstAndLast\">\n <li class=\"page-item\" (click)=\"handleOnChange(1)\">\n <button\n class=\"page-link\"\n [ngClass]=\"{ active: value === 1 }\"\n [attr.title]=\"firstText\"\n >\n <span class=\"nav-num\">{{ 1 }}</span>\n </button>\n </li>\n\n <li class=\"page-item\" *ngIf=\"showEllipsisStart\">\n <span class=\"page-link\" [attr.title]=\"'...'\">\n <span class=\"nav-num\">...</span>\n </span>\n </li>\n </ng-container>\n\n <ng-container *ngFor=\"let num of list\">\n <li\n class=\"page-item\"\n [ngClass]=\"{ active: value === num }\"\n (click)=\"handleOnChange(num)\"\n value=\"num\"\n >\n <button class=\"page-link\" [ngClass]=\"{ active: value === num }\">\n <span class=\"nav-num\">{{ num }}</span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"useFirstAndLast\">\n <li class=\"page-item\" *ngIf=\"showEllipsisEnd\">\n <span class=\"page-link\" [attr.title]=\"'...'\">\n <span class=\"nav-num\">...</span>\n </span>\n </li>\n\n <li\n class=\"page-item\"\n (click)=\"handleOnChange(pagingSize)\"\n *ngIf=\"pagingSize > 1\"\n >\n <button\n class=\"page-link\"\n [ngClass]=\"{ active: value === pagingSize }\"\n [attr.title]=\"lastText\"\n >\n <span class=\"nav-num\">{{ pagingSize }}</span>\n </button>\n </li>\n </ng-container>\n\n <ng-container>\n <li class=\"page-item\" (click)=\"handleOnChange(value + 1)\">\n <button class=\"page-link\" [attr.title]=\"nextText\">\n <span class=\"nav-action\">\n <ng-container *ngIf=\"useTextNav; else angleRightIcon\">\n {{ nextText ? nextText : 'Next' }}\n </ng-container>\n <ng-template #angleRightIcon>\n <gds-icon-chevron-right\n *nggCoreElement\n ></gds-icon-chevron-right>\n </ng-template>\n </span>\n </button>\n </li>\n </ng-container>\n\n <ng-container *ngIf=\"showGoToPage\">\n <li>\n <div class=\"paging-input-wrapper\">\n <div class=\"label-wrapper\">\n <label for=\"pageInput\" *transloco=\"let t\">\n {{ t('label.gotopage') }}\n </label>\n </div>\n <div class=\"input-wrapper\">\n <input\n #pageInput\n data-thook=\"pagination-go-to-input\"\n min=\"1\"\n [max]=\"pagingSize\"\n id=\"pageInput\"\n class=\"gds-field\"\n type=\"number\"\n (keydown.enter)=\"handlePageInput(pageInput.value)\"\n [ngModel]=\"value\"\n />\n <button\n type=\"button\"\n data-thook=\"pagination-go-to-button\"\n (click)=\"handlePageInput(pageInput.value)\"\n >\n <gds-icon-chevron-right\n *nggCoreElement\n ></gds-icon-chevron-right>\n </button>\n </div>\n </div>\n </li>\n </ng-container>\n </ul>\n </ng-template>\n </nav>\n</div>\n","import { CommonModule } from '@angular/common'\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'\nimport { FormsModule } from '@angular/forms'\nimport { TranslocoModule } from '@jsverse/transloco'\n\nimport { NggCoreWrapperModule } from '@sebgroup/green-angular/src/lib/shared'\nimport { NggvI18nModule } from '@sebgroup/green-angular/src/v-angular/i18n'\nimport { PaginationComponent } from './pagination.component'\n\n@NgModule({\n declarations: [PaginationComponent],\n imports: [\n CommonModule,\n FormsModule,\n NggvI18nModule,\n TranslocoModule,\n NggCoreWrapperModule,\n ],\n exports: [PaginationComponent],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class NggvPaginationModule {}\n","/**\n * Generated bundle index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EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAT7B,YAAY;YACZ,WAAW;YACX,cAAc;YACd,eAAe;YACf,oBAAoB,CAAA,EAAA,CAAA,CAAA;;4FAKX,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAZhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,cAAc;wBACd,eAAe;wBACf,oBAAoB;AACrB,qBAAA;oBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;ACpBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"sebgroup-green-angular-src-v-angular-pagination.mjs","sources":["../tmp-esm2022/src/v-angular/pagination/pagination.component.js","../tmp-esm2022/src/v-angular/pagination/pagination.module.js","../tmp-esm2022/src/v-angular/pagination/sebgroup-green-angular-src-v-angular-pagination.js"],"sourcesContent":["import { Component, EventEmitter, Input, Output, } from '@angular/core';\nimport '@sebgroup/green-core/components/icon/icons/chevron-left.js';\nimport '@sebgroup/green-core/components/icon/icons/chevron-right.js';\nimport '@sebgroup/green-core/components/icon/icons/arrow-left.js';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"@jsverse/transloco\";\nimport * as i4 from \"@sebgroup/green-angular/src/lib/shared\";\n/** 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. */\nexport class PaginationComponent {\n constructor() {\n /** Total size of pagination */\n this.size = 0;\n /** Selected page */\n this.value = 1;\n /** Use first and last navigation buttons*/\n this.useFirstAndLast = true;\n /** Use 'Go to page' input field */\n this.showGoToPage = true;\n /** Element class name */\n this.className = '';\n /** Callback on page change */\n this.pageNumberChange = new EventEmitter();\n /** @internal */\n this.pageNumber = 0;\n /** @internal */\n this.list = [];\n /** @internal */\n this.dotnavList = [];\n /** @internal */\n this.pagingSize = 0;\n /** @internal */\n this.showEllipsisStart = false;\n /** @internal */\n this.showEllipsisEnd = false;\n }\n ngOnChanges(changes) {\n if (changes?.offset || changes?.size) {\n this.setPagingSize();\n }\n if (changes?.pagingLength || changes?.value) {\n this.generateList();\n }\n }\n /** @internal */\n setPagingSize() {\n const initialOffset = this.offset ? this.offset : 10;\n this.pagingSize = Math.ceil(Number(this.size) / initialOffset);\n this.generateList();\n }\n /** @internal */\n handleOnChange(value) {\n if (value <= 0) {\n this.pageNumberChange.emit(1);\n }\n else if (value > this.pagingSize) {\n this.pageNumberChange.emit(this.pagingSize);\n }\n else {\n this.pageNumberChange.emit(value);\n }\n }\n /** @internal */\n handlePageInput(pageInput) {\n this.handleOnChange(Number(pageInput));\n }\n /**\n * Generates an array of the pages that needs to be displayed\n * It depends on the size, offset, and the current value\n */\n generateList() {\n const genList = [];\n const length = this.pagingLength ? this.pagingLength : 5;\n for (let i = 1; i <= this.pagingSize; i++) {\n genList.push(i);\n }\n const medianValue = Math.ceil(length / 2);\n let start = 0;\n let end = this.pagingSize;\n if (length < this.pagingSize) {\n if (this.pagingSize - this.value < medianValue) {\n start = this.pagingSize - length;\n }\n else if (this.value - medianValue > -1) {\n start = this.value - medianValue;\n }\n end = start + length;\n }\n if (this.useFirstAndLast) {\n if (start == 0) {\n start = 1;\n end = start + length;\n }\n if (end > this.pagingSize - 1) {\n end = this.pagingSize - 1;\n start = Math.max(1, end - length);\n }\n }\n this.dotnavList = genList;\n const pagingStart = genList[start];\n const pagingEnd = genList[end - 1];\n this.showEllipsisStart = pagingStart > 2;\n this.showEllipsisEnd = pagingEnd < this.pagingSize - 1;\n this.list = genList.slice(start, end);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: PaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.3.9\", type: PaginationComponent, isStandalone: false, selector: \"nggv-pagination\", inputs: { size: \"size\", value: \"value\", firstText: \"firstText\", lastText: \"lastText\", nextText: \"nextText\", offset: \"offset\", pagingLength: \"pagingLength\", previousText: \"previousText\", useFirstAndLast: \"useFirstAndLast\", useTextNav: \"useTextNav\", useDotNav: \"useDotNav\", showGoToPage: \"showGoToPage\", className: \"className\", id: \"id\" }, outputs: { pageNumberChange: \"pageNumberChange\" }, usesOnChanges: true, ngImport: i0, template: \"<div class=\\\"pagination-wrapper\\\" [ngClass]=\\\"className\\\" [attr.id]=\\\"id\\\">\\n <nav class=\\\"custom-pagination\\\">\\n <ng-container *ngIf=\\\"useDotNav; else numNav\\\">\\n <ul class=\\\"pagination dotnav\\\">\\n <ng-container *ngFor=\\\"let num of dotnavList\\\">\\n <li class=\\\"page-item\\\" (click)=\\\"handleOnChange(num)\\\" [value]=\\\"num\\\">\\n <span\\n class=\\\"page-dot-link\\\"\\n [ngClass]=\\\"{ active: value === num }\\\"\\n ></span>\\n </li>\\n </ng-container>\\n </ul>\\n </ng-container>\\n\\n <ng-template #numNav>\\n <ul class=\\\"pagination\\\">\\n <ng-container>\\n <li class=\\\"page-item\\\" (click)=\\\"handleOnChange(value - 1)\\\">\\n <button\\n class=\\\"page-link\\\"\\n [attr.title]=\\\"previousText\\\"\\n [attr.disabled]=\\\"value === 1 ? 'disabled' : null\\\"\\n >\\n <span class=\\\"nav-action\\\">\\n <ng-container *ngIf=\\\"useTextNav; else angleLeftIcon\\\">\\n {{ previousText ? previousText : 'Previous' }}\\n </ng-container>\\n <ng-template #angleLeftIcon>\\n <gds-icon-chevron-left\\n *nggCoreElement\\n ></gds-icon-chevron-left>\\n </ng-template>\\n </span>\\n </button>\\n </li>\\n </ng-container>\\n\\n <ng-container *ngIf=\\\"useFirstAndLast\\\">\\n <li class=\\\"page-item\\\" (click)=\\\"handleOnChange(1)\\\">\\n <button\\n class=\\\"page-link\\\"\\n [ngClass]=\\\"{ active: value === 1 }\\\"\\n [attr.title]=\\\"firstText\\\"\\n >\\n <span class=\\\"nav-num\\\">{{ 1 }}</span>\\n </button>\\n </li>\\n\\n <li class=\\\"page-item\\\" *ngIf=\\\"showEllipsisStart\\\">\\n <span class=\\\"page-link\\\" [attr.title]=\\\"'...'\\\">\\n <span class=\\\"nav-num\\\">...</span>\\n </span>\\n </li>\\n </ng-container>\\n\\n <ng-container *ngFor=\\\"let num of list\\\">\\n <li\\n class=\\\"page-item\\\"\\n [ngClass]=\\\"{ active: value === num }\\\"\\n (click)=\\\"handleOnChange(num)\\\"\\n value=\\\"num\\\"\\n >\\n <button class=\\\"page-link\\\" [ngClass]=\\\"{ active: value === num }\\\">\\n <span class=\\\"nav-num\\\">{{ num }}</span>\\n </button>\\n </li>\\n </ng-container>\\n\\n <ng-container *ngIf=\\\"useFirstAndLast\\\">\\n <li class=\\\"page-item\\\" *ngIf=\\\"showEllipsisEnd\\\">\\n <span class=\\\"page-link\\\" [attr.title]=\\\"'...'\\\">\\n <span class=\\\"nav-num\\\">...</span>\\n </span>\\n </li>\\n\\n <li\\n class=\\\"page-item\\\"\\n (click)=\\\"handleOnChange(pagingSize)\\\"\\n *ngIf=\\\"pagingSize > 1\\\"\\n >\\n <button\\n class=\\\"page-link\\\"\\n [ngClass]=\\\"{ active: value === pagingSize }\\\"\\n [attr.title]=\\\"lastText\\\"\\n >\\n <span class=\\\"nav-num\\\">{{ pagingSize }}</span>\\n </button>\\n </li>\\n </ng-container>\\n\\n <ng-container>\\n <li class=\\\"page-item\\\" (click)=\\\"handleOnChange(value + 1)\\\">\\n <button class=\\\"page-link\\\" [attr.title]=\\\"nextText\\\">\\n <span class=\\\"nav-action\\\">\\n <ng-container *ngIf=\\\"useTextNav; else angleRightIcon\\\">\\n {{ nextText ? nextText : 'Next' }}\\n </ng-container>\\n <ng-template #angleRightIcon>\\n <gds-icon-chevron-right\\n *nggCoreElement\\n ></gds-icon-chevron-right>\\n </ng-template>\\n </span>\\n </button>\\n </li>\\n </ng-container>\\n\\n <ng-container *ngIf=\\\"showGoToPage\\\">\\n <li>\\n <div class=\\\"paging-input-wrapper\\\">\\n <div class=\\\"label-wrapper\\\">\\n <label for=\\\"pageInput\\\" *transloco=\\\"let t\\\">\\n {{ t('label.gotopage') }}\\n </label>\\n </div>\\n <div class=\\\"input-wrapper\\\">\\n <input\\n #pageInput\\n data-thook=\\\"pagination-go-to-input\\\"\\n min=\\\"1\\\"\\n [max]=\\\"pagingSize\\\"\\n id=\\\"pageInput\\\"\\n class=\\\"gds-field\\\"\\n type=\\\"number\\\"\\n (keydown.enter)=\\\"handlePageInput(pageInput.value)\\\"\\n [ngModel]=\\\"value\\\"\\n />\\n <button\\n type=\\\"button\\\"\\n data-thook=\\\"pagination-go-to-button\\\"\\n (click)=\\\"handlePageInput(pageInput.value)\\\"\\n >\\n <gds-icon-chevron-right\\n *nggCoreElement\\n ></gds-icon-chevron-right>\\n </button>\\n </div>\\n </div>\\n </li>\\n </ng-container>\\n </ul>\\n </ng-template>\\n </nav>\\n</div>\\n\", styles: [\":host .pagination-wrapper .paging-input-wrapper{display:flex}:host .pagination-wrapper .paging-input-wrapper .label-wrapper{margin:auto;padding:0 1em}:host .pagination-wrapper .paging-input-wrapper .input-wrapper{display:flex;border:.0625em solid #868686;border-radius:4px;height:100%}:host .pagination-wrapper .paging-input-wrapper .input-wrapper input{border:0;padding:.5em;min-height:2.5rem;width:60px;box-sizing:border-box;border-radius:3px;font-size:1rem;font-family:inherit}:host .pagination-wrapper .paging-input-wrapper .input-wrapper input:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper .paging-input-wrapper .input-wrapper>button{border:0;color:#1a1a1a;background-color:transparent;font-size:1rem;font-family:inherit}:host .pagination-wrapper .paging-input-wrapper .input-wrapper>button:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper>.custom-pagination>.pagination{display:flex;list-style:none;margin-top:10px;margin-bottom:10px}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link{position:relative;text-align:center;padding-top:0;padding-bottom:0;min-width:38px;height:40px;display:inline-flex;align-items:center;background-color:transparent;color:#1a1a1a;border:none;border-radius:4px;font-size:1rem;font-family:inherit}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link.active{background-color:#1a1a1a;color:#eee}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link>.nav-num{margin:0 auto}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link>.nav-action{margin:0 auto;display:inline-flex}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link:hover{box-shadow:0 2px 6px #eee}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item{width:20px;height:25px}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link{position:relative;display:inline-block;width:10px;height:10px;border-radius:50%;cursor:pointer;background-color:#a2ddfe;transition:all var(--gds-sys-transition);margin:0 auto;will-change:transform}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link.active{background-color:#007ac7;cursor:default;transform:scale(1.3)}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link:hover:not(.active){background-color:#41b0ee}\\n\"], dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { kind: \"directive\", type: i2.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { kind: \"directive\", type: i2.NumberValueAccessor, selector: \"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]\" }, { kind: \"directive\", type: i2.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { kind: \"directive\", type: i2.MinValidator, selector: \"input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]\", inputs: [\"min\"] }, { kind: \"directive\", type: i2.MaxValidator, selector: \"input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]\", inputs: [\"max\"] }, { kind: \"directive\", type: i2.NgModel, selector: \"[ngModel]:not([formControlName]):not([formControl])\", inputs: [\"name\", \"disabled\", \"ngModel\", \"ngModelOptions\"], outputs: [\"ngModelChange\"], exportAs: [\"ngModel\"] }, { kind: \"directive\", type: i3.TranslocoDirective, selector: \"[transloco]\", inputs: [\"transloco\", \"translocoParams\", \"translocoScope\", \"translocoRead\", \"translocoPrefix\", \"translocoLang\", \"translocoLoadingTpl\"] }, { kind: \"directive\", type: i4.NggCoreElementDirective, selector: \"[nggCoreElement]\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: PaginationComponent, decorators: [{\n type: Component,\n args: [{ selector: 'nggv-pagination', standalone: false, template: \"<div class=\\\"pagination-wrapper\\\" [ngClass]=\\\"className\\\" [attr.id]=\\\"id\\\">\\n <nav class=\\\"custom-pagination\\\">\\n <ng-container *ngIf=\\\"useDotNav; else numNav\\\">\\n <ul class=\\\"pagination dotnav\\\">\\n <ng-container *ngFor=\\\"let num of dotnavList\\\">\\n <li class=\\\"page-item\\\" (click)=\\\"handleOnChange(num)\\\" [value]=\\\"num\\\">\\n <span\\n class=\\\"page-dot-link\\\"\\n [ngClass]=\\\"{ active: value === num }\\\"\\n ></span>\\n </li>\\n </ng-container>\\n </ul>\\n </ng-container>\\n\\n <ng-template #numNav>\\n <ul class=\\\"pagination\\\">\\n <ng-container>\\n <li class=\\\"page-item\\\" (click)=\\\"handleOnChange(value - 1)\\\">\\n <button\\n class=\\\"page-link\\\"\\n [attr.title]=\\\"previousText\\\"\\n [attr.disabled]=\\\"value === 1 ? 'disabled' : null\\\"\\n >\\n <span class=\\\"nav-action\\\">\\n <ng-container *ngIf=\\\"useTextNav; else angleLeftIcon\\\">\\n {{ previousText ? previousText : 'Previous' }}\\n </ng-container>\\n <ng-template #angleLeftIcon>\\n <gds-icon-chevron-left\\n *nggCoreElement\\n ></gds-icon-chevron-left>\\n </ng-template>\\n </span>\\n </button>\\n </li>\\n </ng-container>\\n\\n <ng-container *ngIf=\\\"useFirstAndLast\\\">\\n <li class=\\\"page-item\\\" (click)=\\\"handleOnChange(1)\\\">\\n <button\\n class=\\\"page-link\\\"\\n [ngClass]=\\\"{ active: value === 1 }\\\"\\n [attr.title]=\\\"firstText\\\"\\n >\\n <span class=\\\"nav-num\\\">{{ 1 }}</span>\\n </button>\\n </li>\\n\\n <li class=\\\"page-item\\\" *ngIf=\\\"showEllipsisStart\\\">\\n <span class=\\\"page-link\\\" [attr.title]=\\\"'...'\\\">\\n <span class=\\\"nav-num\\\">...</span>\\n </span>\\n </li>\\n </ng-container>\\n\\n <ng-container *ngFor=\\\"let num of list\\\">\\n <li\\n class=\\\"page-item\\\"\\n [ngClass]=\\\"{ active: value === num }\\\"\\n (click)=\\\"handleOnChange(num)\\\"\\n value=\\\"num\\\"\\n >\\n <button class=\\\"page-link\\\" [ngClass]=\\\"{ active: value === num }\\\">\\n <span class=\\\"nav-num\\\">{{ num }}</span>\\n </button>\\n </li>\\n </ng-container>\\n\\n <ng-container *ngIf=\\\"useFirstAndLast\\\">\\n <li class=\\\"page-item\\\" *ngIf=\\\"showEllipsisEnd\\\">\\n <span class=\\\"page-link\\\" [attr.title]=\\\"'...'\\\">\\n <span class=\\\"nav-num\\\">...</span>\\n </span>\\n </li>\\n\\n <li\\n class=\\\"page-item\\\"\\n (click)=\\\"handleOnChange(pagingSize)\\\"\\n *ngIf=\\\"pagingSize > 1\\\"\\n >\\n <button\\n class=\\\"page-link\\\"\\n [ngClass]=\\\"{ active: value === pagingSize }\\\"\\n [attr.title]=\\\"lastText\\\"\\n >\\n <span class=\\\"nav-num\\\">{{ pagingSize }}</span>\\n </button>\\n </li>\\n </ng-container>\\n\\n <ng-container>\\n <li class=\\\"page-item\\\" (click)=\\\"handleOnChange(value + 1)\\\">\\n <button class=\\\"page-link\\\" [attr.title]=\\\"nextText\\\">\\n <span class=\\\"nav-action\\\">\\n <ng-container *ngIf=\\\"useTextNav; else angleRightIcon\\\">\\n {{ nextText ? nextText : 'Next' }}\\n </ng-container>\\n <ng-template #angleRightIcon>\\n <gds-icon-chevron-right\\n *nggCoreElement\\n ></gds-icon-chevron-right>\\n </ng-template>\\n </span>\\n </button>\\n </li>\\n </ng-container>\\n\\n <ng-container *ngIf=\\\"showGoToPage\\\">\\n <li>\\n <div class=\\\"paging-input-wrapper\\\">\\n <div class=\\\"label-wrapper\\\">\\n <label for=\\\"pageInput\\\" *transloco=\\\"let t\\\">\\n {{ t('label.gotopage') }}\\n </label>\\n </div>\\n <div class=\\\"input-wrapper\\\">\\n <input\\n #pageInput\\n data-thook=\\\"pagination-go-to-input\\\"\\n min=\\\"1\\\"\\n [max]=\\\"pagingSize\\\"\\n id=\\\"pageInput\\\"\\n class=\\\"gds-field\\\"\\n type=\\\"number\\\"\\n (keydown.enter)=\\\"handlePageInput(pageInput.value)\\\"\\n [ngModel]=\\\"value\\\"\\n />\\n <button\\n type=\\\"button\\\"\\n data-thook=\\\"pagination-go-to-button\\\"\\n (click)=\\\"handlePageInput(pageInput.value)\\\"\\n >\\n <gds-icon-chevron-right\\n *nggCoreElement\\n ></gds-icon-chevron-right>\\n </button>\\n </div>\\n </div>\\n </li>\\n </ng-container>\\n </ul>\\n </ng-template>\\n </nav>\\n</div>\\n\", styles: [\":host .pagination-wrapper .paging-input-wrapper{display:flex}:host .pagination-wrapper .paging-input-wrapper .label-wrapper{margin:auto;padding:0 1em}:host .pagination-wrapper .paging-input-wrapper .input-wrapper{display:flex;border:.0625em solid #868686;border-radius:4px;height:100%}:host .pagination-wrapper .paging-input-wrapper .input-wrapper input{border:0;padding:.5em;min-height:2.5rem;width:60px;box-sizing:border-box;border-radius:3px;font-size:1rem;font-family:inherit}:host .pagination-wrapper .paging-input-wrapper .input-wrapper input:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper .paging-input-wrapper .input-wrapper>button{border:0;color:#1a1a1a;background-color:transparent;font-size:1rem;font-family:inherit}:host .pagination-wrapper .paging-input-wrapper .input-wrapper>button:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper>.custom-pagination>.pagination{display:flex;list-style:none;margin-top:10px;margin-bottom:10px}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link{position:relative;text-align:center;padding-top:0;padding-bottom:0;min-width:38px;height:40px;display:inline-flex;align-items:center;background-color:transparent;color:#1a1a1a;border:none;border-radius:4px;font-size:1rem;font-family:inherit}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link.active{background-color:#1a1a1a;color:#eee}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link>.nav-num{margin:0 auto}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link>.nav-action{margin:0 auto;display:inline-flex}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link:focus{outline-color:#1a1a1a;outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .pagination-wrapper>.custom-pagination>.pagination>.page-item>.page-link:hover{box-shadow:0 2px 6px #eee}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item{width:20px;height:25px}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link{position:relative;display:inline-block;width:10px;height:10px;border-radius:50%;cursor:pointer;background-color:#a2ddfe;transition:all var(--gds-sys-transition);margin:0 auto;will-change:transform}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link.active{background-color:#007ac7;cursor:default;transform:scale(1.3)}:host .pagination-wrapper>.custom-pagination>.pagination.dotnav .page-item .page-dot-link:hover:not(.active){background-color:#41b0ee}\\n\"] }]\n }], propDecorators: { size: [{\n type: Input\n }], value: [{\n type: Input\n }], firstText: [{\n type: Input\n }], lastText: [{\n type: Input\n }], nextText: [{\n type: Input\n }], offset: [{\n type: Input\n }], pagingLength: [{\n type: Input\n }], previousText: [{\n type: Input\n }], useFirstAndLast: [{\n type: Input\n }], useTextNav: [{\n type: Input\n }], useDotNav: [{\n type: Input\n }], showGoToPage: [{\n type: Input\n }], className: [{\n type: Input\n }], id: [{\n type: Input\n }], pageNumberChange: [{\n type: Output\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc3JjL3YtYW5ndWxhci9wYWdpbmF0aW9uL3BhZ2luYXRpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL3NyYy92LWFuZ3VsYXIvcGFnaW5hdGlvbi9wYWdpbmF0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFFTCxNQUFNLEdBRVAsTUFBTSxlQUFlLENBQUE7QUFFdEIsT0FBTyw0REFBNEQsQ0FBQTtBQUNuRSxPQUFPLDZEQUE2RCxDQUFBO0FBQ3BF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DxidXR0b25cbiAgICAgICAgICAgICAgY2xhc3M9XCJwYWdlLWxpbmtcIlxuICAgICAgICAgICAgICBbYXR0ci50aXRsZV09XCJwcmV2aW91c1RleHRcIlxuICAgICAgICAgICAgICBbYXR0ci5kaXNhYmxlZF09XCJ2YWx1ZSA9PT0gMSA/ICdkaXNhYmxlZCcgOiBudWxsXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJuYXYtYWN0aW9uXCI+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cInVzZVRleHROYXY7IGVsc2UgYW5nbGVMZWZ0SWNvblwiPlxuICAgICAgICAgICAgICAgICAge3sgcHJldmlvdXNUZXh0ID8gcHJldmlvdXNUZXh0IDogJ1ByZXZpb3VzJyB9fVxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSAjYW5nbGVMZWZ0SWNvbj5cbiAgICAgICAgICAgICAgICAgIDxnZHMtaWNvbi1jaGV2cm9uLWxlZnRcbiAgICAgICAgICAgICAgICAgICAgKm5nZ0NvcmVFbGVtZW50XG4gICAgICAgICAgICAgICAgICA+PC9nZHMtaWNvbi1jaGV2cm9uLWxlZnQ+XG4gICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgPC9saT5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG5cbiAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cInVzZUZpcnN0QW5kTGFzdFwiPlxuICAgICAgICAgIDxsaSBjbGFzcz1cInBhZ2UtaXRlbVwiIChjbGljayk9XCJoYW5kbGVPbkNoYW5nZSgxKVwiPlxuICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICBjbGFzcz1cInBhZ2UtbGlua1wiXG4gICAgICA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XG4gICAgICAgICAgPC9saT5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG5cbiAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cInVzZUZpcnN0QW5kTGFzdFwiPlxuICAgICAgICAgIDxsaSBjbGFzcz1cInBhZ2UtaXRlbVwiICpuZ0lmPVwic2hvd0VsbGlwc2lzRW5kXCI+XG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cInBhZ2UtbGlua1wiIFthdHRyLnRpdGxlXT1cIicuLi4nXCI+XG4gICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwibmF2LW51bVwiPi4uLjwvc3Bhbj5cbiAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICA8L2xpPlxuXG4gICAgICAgICAgPGxpXG4gICAgICAgICAgICBjbGFzcz1cInBhZ2UtaXRlbVwiXG4gICAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlT25DaGFuZ2UocGFnaW5nU2l6ZSlcIlxuICAgICAgICAgICAgKm5nSWY9XCJwYWdpbmdTaXplID4gMVwiXG4gICAgICAgICAgPlxuICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICBjbGFzcz1cInBhZ2UtbGlua1wiXG4gICAgICAgICAgICAgIFtuZ0NsYXNzXT1cInsgYWN0aXZlOiB2YWx1ZSA9PT0gcGFnaW5nU2l6ZSB9XCJcbiAgICAgICAgICAgICAgW2F0dHIudGl0bGVdPVwibGFzdFRleHRcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cIm5hdi1udW1cIj57eyBwYWdpbmdTaXplIH19PC9zcGFuPlxuICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgPC9saT5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG5cbiAgICAgICAgPG5nLWNvbnRhaW5lcj5cbiAgICAgICAgICA8bGkgY2xhc3M9XCJwYWdlLWl0ZW1cIiAoY2xpY2spPVwiaGFuZGxlT25DaGFuZ2UodmFsdWUgKyAxKVwiPlxuICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cInBhZ2UtbGlua1wiIFthdHRyLnRpdGxlXT1cIm5leHRUZXh0XCI+XG4gICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwibmF2LWFjdGlvblwiPlxuICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJ1c2VUZXh0TmF2OyBlbHNlIGFuZ2xlUmlnaHRJY29uXCI+XG4gICAgICAgICAgICAgICAgICB7eyBuZXh0VGV4dCA/IG5leHRUZXh0IDogJ05leHQnIH19XG4gICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlICNhbmdsZVJpZ2h0SWNvbj5cbiAgICAgICAgICAgICAgICAgIDxnZHMtaWNvbi1jaGV2cm9uLXJpZ2h0XG4gICAgICAgICAgICAgICAgICAgICpuZ2dDb3JlRWxlbWVudFxuICAgICAgICAgICAgICAgICAgPjwvZ2RzLWljb24tY2hldnJvbi1yaWdodD5cbiAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICA8L2xpPlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cblxuICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwic2hvd0dvVG9QYWdlXCI+XG4gICAgICAgICAgPGxpPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInBhZ2luZy1pbnB1dC13cmFwcGVyXCI+XG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJsYWJlbC13cmFwcGVyXCI+XG4gICAgICAgICAgICAgICAgPGxhYmVsIGZvcj1cInBhZ2VJbnB1dFwiICp0cmFuc2xvY289XCJsZXQgdFwiPlxuICAgICAgICAgICAgICAgICAge3sgdCgnbGFiZWwuZ290b3BhZ2UnKSB9fVxuICAgICAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW5wdXQtd3JhcHBlclwiPlxuICAgICAgICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgICAgICAgI3BhZ2VJbnB1dFxuICAgICAgICAgICAgICAgICAgZGF0YS10aG9vaz1cInBhZ2luYXRpb24tZ28tdG8taW5wdXRcIlxuICAgICAgICAgICAgICAgICAgbWluPVwiMVwiXG4gICAgICAgICAgICAgICAgICBbbWF4XT1cInBhZ2luZ1NpemVcIlxuICAgICAgICAgICAgICAgICAgaWQ9XCJwYWdlSW5wdXRcIlxuICAgICAgICAgICAgICAgICAgY2xhc3M9XCJnZHMtZmllbGRcIlxuICAgICAgICAgICAgICAgICAgdHlwZT1cIm51bWJlclwiXG4gICAgICAgICAgICAgICAgICAoa2V5ZG93bi5lbnRlcik9XCJoYW5kbGVQYWdlSW5wdXQocGFnZUlucHV0LnZhbHVlKVwiXG4gICAgICAgICAgICAgICAgICBbbmdNb2RlbF09XCJ2YWx1ZVwiXG4gICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgICAgICAgIGRhdGEtdGhvb2s9XCJwYWdpbmF0aW9uLWdvLXRvLWJ1dHRvblwiXG4gICAgICAgICAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlUGFnZUlucHV0KHBhZ2VJbnB1dC52YWx1ZSlcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgIDxnZHMtaWNvbi1jaGV2cm9uLXJpZ2h0XG4gICAgICAgICAgICAgICAgICAgICpuZ2dDb3JlRWxlbWVudFxuICAgICAgICAgICAgICAgICAgPjwvZ2RzLWljb24tY2hldnJvbi1yaWdodD5cbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2xpPlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgIDwvdWw+XG4gICAgPC9uZy10ZW1wbGF0ZT5cbiAgPC9uYXY+XG48L2Rpdj5cbiJdfQ==","import { CommonModule } from '@angular/common';\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { TranslocoModule } from '@jsverse/transloco';\nimport { NggCoreWrapperModule } from '@sebgroup/green-angular/src/lib/shared';\nimport { NggvI18nModule } from '@sebgroup/green-angular/src/v-angular/i18n';\nimport { PaginationComponent } from './pagination.component';\nimport * as i0 from \"@angular/core\";\nexport class NggvPaginationModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: NggvPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.3.9\", ngImport: i0, type: NggvPaginationModule, declarations: [PaginationComponent], imports: [CommonModule,\n FormsModule,\n NggvI18nModule,\n TranslocoModule,\n NggCoreWrapperModule], exports: [PaginationComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: NggvPaginationModule, imports: [CommonModule,\n FormsModule,\n NggvI18nModule,\n TranslocoModule,\n NggCoreWrapperModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: NggvPaginationModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [PaginationComponent],\n imports: [\n CommonModule,\n FormsModule,\n NggvI18nModule,\n TranslocoModule,\n NggCoreWrapperModule,\n ],\n exports: [PaginationComponent],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ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cbiAgc2NoZW1hczogW0NVU1RPTV9FTEVNRU5UU19TQ0hFTUFdLFxufSlcbmV4cG9ydCBjbGFzcyBOZ2d2UGFnaW5hdGlvbk1vZHVsZSB7fVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ViZ3JvdXAtZ3JlZW4tYW5ndWxhci1zcmMtdi1hbmd1bGFyLXBhZ2luYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc3JjL3YtYW5ndWxhci9wYWdpbmF0aW9uL3NlYmdyb3VwLWdyZWVuLWFuZ3VsYXItc3JjLXYtYW5ndWxhci1wYWdpbmF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19"],"names":[],"mappings":";;;;;;;;;;;;;;;AASA;AACO,MAAM,mBAAmB,CAAC;AACjC,IAAI,WAAW,GAAG;AAClB;AACA,QAAQ,IAAI,CAAC,IAAI,GAAG,CAAC;AACrB;AACA,QAAQ,IAAI,CAAC,KAAK,GAAG,CAAC;AACtB;AACA,QAAQ,IAAI,CAAC,eAAe,GAAG,IAAI;AACnC;AACA,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI;AAChC;AACA,QAAQ,IAAI,CAAC,SAAS,GAAG,EAAE;AAC3B;AACA,QAAQ,IAAI,CAAC,gBAAgB,GAAG,IAAI,YAAY,EAAE;AAClD;AACA,QAAQ,IAAI,CAAC,UAAU,GAAG,CAAC;AAC3B;AACA,QAAQ,IAAI,CAA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C;AACrD,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACnCb;AACA;AACA;;;;"}
|
|
@@ -42,10 +42,10 @@ class NggvRadioControlRegistry {
|
|
|
42
42
|
controlPair[0]._parent === radio.ngControl._parent &&
|
|
43
43
|
controlPair[1].name === radio.name);
|
|
44
44
|
}
|
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
46
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvRadioControlRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
46
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvRadioControlRegistry }); }
|
|
47
47
|
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvRadioControlRegistry, decorators: [{
|
|
49
49
|
type: Injectable
|
|
50
50
|
}] });
|
|
51
51
|
/**
|
|
@@ -125,12 +125,12 @@ class NggvRadioComponent extends NggvBaseControlValueAccessorComponent {
|
|
|
125
125
|
if (!this.name && this.formControlName)
|
|
126
126
|
this.name = this.formControlName;
|
|
127
127
|
}
|
|
128
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
129
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvRadioComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: TRANSLOCO_SCOPE, optional: true }, { token: NggvRadioControlRegistry }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
129
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.9", type: NggvRadioComponent, isStandalone: false, selector: "nggv-radio", inputs: { thook: "thook", size: "size", formControlName: "formControlName" }, host: { properties: { "attr.data-thook": "this.thook", "class": "this.size" } }, providers: [NggvRadioControlRegistry], usesInheritance: true, ngImport: i0, template: "<!-- LOCKED INPUT -->\n<div *ngIf=\"locked && state\">\n <div\n [id]=\"id + '-radio'\"\n class=\"nggv-field--locked\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n >\n {{ label }}\n <ng-template\n *ngTemplateOutlet=\"labelContentTpl ?? null; context: { $implicit: value }\"\n ></ng-template>\n </div>\n</div>\n\n<!-- INPUT WRAPPER -->\n<ng-container *ngIf=\"!locked\">\n <div>\n <!-- RADIO BUTTON FIELD -->\n <label [attr.for]=\"id + '-radio'\" class=\"gds-form-control\">\n <input\n #input\n type=\"radio\"\n [attr.id]=\"id + '-radio'\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n [attr.required]=\"required || null\"\n [disabled]=\"disabled\"\n [autofocus]=\"autofocus\"\n [attr.aria-label]=\"description\"\n [checked]=\"state\"\n (click)=\"$event.stopPropagation()\"\n (change)=\"onInputChange($event)\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur($event)\"\n />\n\n <!-- LABEL -->\n {{ label }}\n <ng-template\n *ngTemplateOutlet=\"\n labelContentTpl ?? null;\n context: { $implicit: value }\n \"\n ></ng-template>\n <i></i>\n </label>\n </div>\n\n <!-- ERRORS -->\n <!-- if no nggv-radio-group is present -->\n @if (!isGroup) {\n <ng-container *transloco=\"let t; read: scope\">\n <div\n class=\"form-info form-info--error\"\n [attr.for]=\"id + '-radio'\"\n *ngIf=\"invalid && (error || ngControl?.invalid)\"\n >\n <span class=\"error-icon\">\n <gds-icon-triangle-exclamation\n width=\"16\"\n height=\"16\"\n [solid]=\"true\"\n *nggCoreElement\n ></gds-icon-triangle-exclamation>\n </span>\n <span\n *ngIf=\"error; else errorsRef\"\n [attr.data-thook]=\"thook + '-errorlabel'\"\n >\n {{ error }}\n </span>\n <ng-template #errorsRef>\n <span\n *ngIf=\"firstError as error\"\n [attr.data-thook]=\"thook + '-errorlabel'\"\n >\n {{ t('error.field' + error?.code, error?.params) }}\n </span>\n </ng-template>\n </div>\n </ng-container>\n }\n\n <!-- CHILDREN -->\n <ng-content></ng-content>\n</ng-container>\n", styles: [":host{--gds-sys-color-blue: #41b0ee;--gds-sys-color-dark-blue-1: #0092e1;--gds-sys-color-dark-blue-2: #007ac7;--gds-sys-color-green: #60cd18;--gds-sys-color-dark-green-1: #45b400;--gds-sys-color-dark-green-2: #308800;--gds-sys-color-yellow: #ffc500;--gds-sys-color-dark-yellow-1: #ffb400;--gds-sys-color-dark-yellow-2: #f8a000;--gds-sys-color-text-primary: #333333;--gds-sys-color-text-secondary: #ababab;--gds-sys-color-text-white: #ffffff;--gds-sys-color-text-black: #333333;--gds-sys-color-text-inverted: #ffffff;--gds-sys-color-text-link: #0062bc;--gds-sys-color-text-error: #9f000a;--gds-sys-color-text-disabled: #adadad;--gds-sys-color-red: #f03529;--gds-sys-color-dark-red-1: #d81a1a;--gds-sys-color-dark-red-2: #bb000c;--gds-sys-color-purple: #673ab6;--gds-sys-color-dark-purple-1: #4f2C99;--gds-sys-color-dark-purple-2: #3f2587;--gds-sys-color-white: #ffffff;--gds-sys-color-black: #000000;--gds-sys-color-background-primary: #ffffff;--gds-sys-color-background-secondary: #eeeeee;--gds-sys-color-base-100: #f8f8f8;--gds-sys-color-base-200: #e9e9e9;--gds-sys-color-base-300: #dedede;--gds-sys-color-base-400: #cecece;--gds-sys-color-base-500: #adadad;--gds-sys-color-base-600: #868686;--gds-sys-color-base-700: #494949;--gds-sys-color-base-800: #333333;--gds-sys-color-base-900: #1a1a1a;--gds-sys-color-hover-10: rgba(255, 255, 255, .1);--gds-sys-color-hover-20: rgba(255, 255, 255, .2);--gds-sys-shape-corner-none: 0;--gds-sys-shape-corner-small: .125rem;--gds-sys-shape-corner-medium: .25rem;--gds-sys-shape-corner-round: 50%;--gds-z-index-deep: -9999;--gds-z-index-dropdown-backdrop: 990;--gds-z-index-datepicker: 995;--gds-z-index-dropdown: 995;--gds-z-index-sticky: 1020;--gds-z-index-fixed: 1030;--gds-z-index-modal-backdrop: 1040;--gds-z-index-modal: 1050;--gds-z-index-popover: 1060;--gds-z-index-tooltip: 1070;--gds-z-index-top: 9999}:host .nggv-field--locked{display:inline-block;border-radius:.25em;position:relative;min-height:2em;padding:.5em .75em .5em 0}:host .gds-form-control{padding-bottom:.75rem \"\";padding-top:.75rem \"\";padding-left:1rem \"\";padding-right:1rem \"\";border:1px solid transparent;border-radius:var(--gds-sys-shape-corner-medium);align-items:center;cursor:pointer;display:flex;flex-direction:row-reverse;font:inherit;justify-content:flex-end;position:relative;user-select:none;-webkit-user-select:none}:host .gds-form-control:has(input:disabled){cursor:not-allowed}:host label.gds-form-control input[type=radio]{cursor:pointer;height:0;opacity:0;position:absolute;width:0;z-index:-1}:host label.gds-form-control:has(input[type=radio]:focus-visible):focus:not(:focus-visible){box-shadow:none;outline:0}:host label.gds-form-control:has(input[type=radio]:focus-visible):focus,:host label.gds-form-control:has(input[type=radio]:focus-visible):focus-within{outline-color:var(--gds-sys-color-focus-outline);outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host label.gds-form-control input[type=radio]~i{margin-right:.75rem \"\";margin-top:.0625rem;flex-shrink:0;position:relative;border-radius:var(--gds-sys-shape-corner-round);display:flex;height:1rem;width:1rem;box-shadow:inset 0 0 0 .05rem var(--gds-sys-color-text-primary)}:host label.gds-form-control input[type=radio]~i:after{content:\"\";width:100%;height:100%;border-radius:var(--gds-sys-shape-corner-round);background-color:transparent;transform:scale(.5)}:host label.gds-form-control:hover input[type=radio]:not(.disabled,:disabled)~i{background-color:var(--gds-sys-color-base-200)}:host label.gds-form-control input[type=radio]:checked:not(.disabled,:disabled)~i{box-shadow:inset 0 0 0 .05rem var(--gds-sys-color-text-primary)}:host label.gds-form-control input[type=radio]:checked:not(.disabled,:disabled)~i:after{background-color:var(--gds-sys-color-text-primary)}:host label.gds-form-control:hover input[type=radio]:checked:not(.disabled,:disabled)~i:after{background-color:var(--gds-sys-color-base-700)}:host .was-validated label.gds-form-control input[type=radio]:not(.is-invalid):valid~i,:host label.gds-form-control input[type=radio].is-valid~i{--border-color: var(--gds-sys-color-dark-green-2)}:host .was-validated label.gds-form-control input[type=radio]:not(.is-valid):invalid~i,:host label.gds-form-control input[type=radio].is-invalid~i{--border-color: var(--gds-sys-color-text-error)}:host label.gds-form-control input[type=radio]:disabled~i,:host label.gds-form-control input[type=radio].disabled~i{background-color:var(--gds-comp-radio-container-background-disabled);box-shadow:inset 0 0 0 .05rem var(--gds-sys-color-base-500)}:host label.gds-form-control input[type=radio]:disabled~span,:host label.gds-form-control input[type=radio].disabled~span{color:var(--gds-sys-color-text-disabled)!important;cursor:not-allowed}:host label.gds-form-control input[type=radio]:disabled~span::placeholder,:host label.gds-form-control input[type=radio].disabled~span::placeholder{color:var(--gds-sys-color-text-disabled)}:host label.gds-form-control input[type=radio]:disabled:checked~i:after,:host label.gds-form-control input[type=radio]:checked.disabled~i:after{background-color:var(--gds-sys-color-base-600)}:host.small .form-control{padding:.25rem}:host.small .form-control input[type=radio]~i{margin-right:.5rem}:host .form-info{font-size:.875rem;line-height:1.25rem;width:100%}:host .form-info{font-weight:500;padding-left:1rem;margin-top:-.25rem}:host .form-info--error{display:flex;align-items:flex-start;gap:.5em;color:#9f000a}:host .form-info--error .error-icon{margin-top:.128rem;align-items:center}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "directive", type: i4.NggCoreElementDirective, selector: "[nggCoreElement]" }] }); }
|
|
130
130
|
}
|
|
131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvRadioComponent, decorators: [{
|
|
132
132
|
type: Component,
|
|
133
|
-
args: [{ selector: 'nggv-radio', providers: [NggvRadioControlRegistry], standalone: false, template: "<!-- LOCKED INPUT -->\n<div *ngIf=\"locked && state\">\n <div\n [id]=\"id + '-radio'\"\n class=\"nggv-field--locked\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n >\n {{ label }}\n <ng-template\n *ngTemplateOutlet=\"labelContentTpl ?? null; context: { $implicit: value }\"\n ></ng-template>\n </div>\n</div>\n\n<!-- INPUT WRAPPER -->\n<ng-container *ngIf=\"!locked\">\n <div>\n <!-- RADIO BUTTON FIELD -->\n <label [attr.for]=\"id + '-radio'\" class=\"gds-form-control\">\n <input\n #input\n type=\"radio\"\n [attr.id]=\"id + '-radio'\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n [attr.required]=\"required || null\"\n [disabled]=\"disabled\"\n [autofocus]=\"autofocus\"\n [attr.aria-label]=\"description\"\n [checked]=\"state\"\n (click)=\"$event.stopPropagation()\"\n (change)=\"onInputChange($event)\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur($event)\"\n />\n\n <!-- LABEL -->\n {{ label }}\n <ng-template\n *ngTemplateOutlet=\"\n labelContentTpl ?? null;\n context: { $implicit: value }\n \"\n ></ng-template>\n <i></i>\n </label>\n </div>\n\n <!-- ERRORS -->\n <!-- if no nggv-radio-group is present -->\n @if (!isGroup) {\n <ng-container *transloco=\"let t; read: scope\">\n <div\n class=\"form-info form-info--error\"\n [attr.for]=\"id + '-radio'\"\n *ngIf=\"invalid && (error || ngControl?.invalid)\"\n >\n <span class=\"error-icon\">\n <gds-icon-triangle-exclamation\n width=\"16\"\n height=\"16\"\n [solid]=\"true\"\n *nggCoreElement\n ></gds-icon-triangle-exclamation>\n </span>\n <span\n *ngIf=\"error; else errorsRef\"\n [attr.data-thook]=\"thook + '-errorlabel'\"\n >\n {{ error }}\n </span>\n <ng-template #errorsRef>\n <span\n *ngIf=\"firstError as error\"\n [attr.data-thook]=\"thook + '-errorlabel'\"\n >\n {{ t('error.field' + error?.code, error?.params) }}\n </span>\n </ng-template>\n </div>\n </ng-container>\n }\n\n <!-- CHILDREN -->\n <ng-content></ng-content>\n</ng-container>\n", styles: [":host{--gds-sys-color-blue: #41b0ee;--gds-sys-color-dark-blue-1: #0092e1;--gds-sys-color-dark-blue-2: #007ac7;--gds-sys-color-green: #60cd18;--gds-sys-color-dark-green-1: #45b400;--gds-sys-color-dark-green-2: #308800;--gds-sys-color-yellow: #ffc500;--gds-sys-color-dark-yellow-1: #ffb400;--gds-sys-color-dark-yellow-2: #f8a000;--gds-sys-color-text-primary: #333333;--gds-sys-color-text-secondary: #ababab;--gds-sys-color-text-white: #ffffff;--gds-sys-color-text-black: #333333;--gds-sys-color-text-inverted: #ffffff;--gds-sys-color-text-link: #0062bc;--gds-sys-color-text-error: #9f000a;--gds-sys-color-text-disabled: #adadad;--gds-sys-color-red: #f03529;--gds-sys-color-dark-red-1: #d81a1a;--gds-sys-color-dark-red-2: #bb000c;--gds-sys-color-purple: #673ab6;--gds-sys-color-dark-purple-1: #4f2C99;--gds-sys-color-dark-purple-2: #3f2587;--gds-sys-color-white: #ffffff;--gds-sys-color-black: #000000;--gds-sys-color-background-primary: #ffffff;--gds-sys-color-background-secondary: #eeeeee;--gds-sys-color-base-100: #f8f8f8;--gds-sys-color-base-200: #e9e9e9;--gds-sys-color-base-300: #dedede;--gds-sys-color-base-400: #cecece;--gds-sys-color-base-500: #adadad;--gds-sys-color-base-600: #868686;--gds-sys-color-base-700: #494949;--gds-sys-color-base-800: #333333;--gds-sys-color-base-900: #1a1a1a;--gds-sys-color-hover-10: rgba(255, 255, 255, .1);--gds-sys-color-hover-20: rgba(255, 255, 255, .2);--gds-sys-shape-corner-none: 0;--gds-sys-shape-corner-small: .125rem;--gds-sys-shape-corner-medium: .25rem;--gds-sys-shape-corner-round: 50%;--gds-z-index-deep: -9999;--gds-z-index-dropdown-backdrop: 990;--gds-z-index-datepicker: 995;--gds-z-index-dropdown: 995;--gds-z-index-sticky: 1020;--gds-z-index-fixed: 1030;--gds-z-index-modal-backdrop: 1040;--gds-z-index-modal: 1050;--gds-z-index-popover: 1060;--gds-z-index-tooltip: 1070;--gds-z-index-top: 9999}:host .nggv-field--locked{display:inline-block;border-radius:.25em;position:relative;min-height:2em;padding:.5em .75em .5em 0}:host .gds-form-control{padding:.75rem 1rem;border:1px solid transparent;border-radius:var(--gds-sys-shape-corner-medium);align-items:center;cursor:pointer;display:flex;flex-direction:row-reverse;font:inherit;justify-content:flex-end;position:relative;user-select:none;-webkit-user-select:none}:host .gds-form-control:has(input:disabled){cursor:not-allowed}:host label.gds-form-control input[type=radio]{cursor:pointer;height:0;opacity:0;position:absolute;width:0;z-index:-1}:host label.gds-form-control:has(input[type=radio]:focus-visible):focus:not(:focus-visible){box-shadow:none;outline:0}:host label.gds-form-control:has(input[type=radio]:focus-visible):focus,:host label.gds-form-control:has(input[type=radio]:focus-visible):focus-within{outline-color:var(--gds-sys-color-focus-outline);outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host label.gds-form-control input[type=radio]~i{margin-right:.75rem;margin-top:.0625rem;flex-shrink:0;position:relative;border-radius:var(--gds-sys-shape-corner-round);display:flex;height:1rem;width:1rem;box-shadow:inset 0 0 0 .05rem var(--gds-sys-color-text-primary)}:host label.gds-form-control input[type=radio]~i:after{content:\"\";width:100%;height:100%;border-radius:var(--gds-sys-shape-corner-round);background-color:transparent;transform:scale(.5)}:host label.gds-form-control:hover input[type=radio]:not(.disabled,:disabled)~i{background-color:var(--gds-sys-color-base-200)}:host label.gds-form-control input[type=radio]:checked:not(.disabled,:disabled)~i{box-shadow:inset 0 0 0 .05rem var(--gds-sys-color-text-primary)}:host label.gds-form-control input[type=radio]:checked:not(.disabled,:disabled)~i:after{background-color:var(--gds-sys-color-text-primary)}:host label.gds-form-control:hover input[type=radio]:checked:not(.disabled,:disabled)~i:after{background-color:var(--gds-sys-color-base-700)}:host .was-validated label.gds-form-control input[type=radio]:not(.is-invalid):valid~i,:host label.gds-form-control input[type=radio].is-valid~i{--border-color: var(--gds-sys-color-dark-green-2)}:host .was-validated label.gds-form-control input[type=radio]:not(.is-valid):invalid~i,:host label.gds-form-control input[type=radio].is-invalid~i{--border-color: var(--gds-sys-color-text-error)}:host label.gds-form-control input[type=radio]:disabled~i,:host label.gds-form-control input[type=radio].disabled~i{background-color:var(--gds-comp-radio-container-background-disabled);box-shadow:inset 0 0 0 .05rem var(--gds-sys-color-base-500)}:host label.gds-form-control input[type=radio]:disabled~span,:host label.gds-form-control input[type=radio].disabled~span{color:var(--gds-sys-color-text-disabled)!important;cursor:not-allowed}:host label.gds-form-control input[type=radio]:disabled~span::placeholder,:host label.gds-form-control input[type=radio].disabled~span::placeholder{color:var(--gds-sys-color-text-disabled)}:host label.gds-form-control input[type=radio]:disabled:checked~i:after,:host label.gds-form-control input[type=radio]:checked.disabled~i:after{background-color:var(--gds-sys-color-base-600)}:host.small .form-control{padding:.25rem}:host.small .form-control input[type=radio]~i{margin-right:.5rem}:host .form-info{font-size:.875rem;line-height:1.25rem;width:100%}:host .form-info{font-weight:500;padding-left:1rem;margin-top:-.25rem}:host .form-info--error{display:flex;align-items:flex-start;gap:.5em;color:#9f000a}:host .form-info--error .error-icon{margin-top:.128rem;align-items:center}\n"] }]
|
|
133
|
+
args: [{ selector: 'nggv-radio', providers: [NggvRadioControlRegistry], standalone: false, template: "<!-- LOCKED INPUT -->\n<div *ngIf=\"locked && state\">\n <div\n [id]=\"id + '-radio'\"\n class=\"nggv-field--locked\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n >\n {{ label }}\n <ng-template\n *ngTemplateOutlet=\"labelContentTpl ?? null; context: { $implicit: value }\"\n ></ng-template>\n </div>\n</div>\n\n<!-- INPUT WRAPPER -->\n<ng-container *ngIf=\"!locked\">\n <div>\n <!-- RADIO BUTTON FIELD -->\n <label [attr.for]=\"id + '-radio'\" class=\"gds-form-control\">\n <input\n #input\n type=\"radio\"\n [attr.id]=\"id + '-radio'\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n [attr.required]=\"required || null\"\n [disabled]=\"disabled\"\n [autofocus]=\"autofocus\"\n [attr.aria-label]=\"description\"\n [checked]=\"state\"\n (click)=\"$event.stopPropagation()\"\n (change)=\"onInputChange($event)\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur($event)\"\n />\n\n <!-- LABEL -->\n {{ label }}\n <ng-template\n *ngTemplateOutlet=\"\n labelContentTpl ?? null;\n context: { $implicit: value }\n \"\n ></ng-template>\n <i></i>\n </label>\n </div>\n\n <!-- ERRORS -->\n <!-- if no nggv-radio-group is present -->\n @if (!isGroup) {\n <ng-container *transloco=\"let t; read: scope\">\n <div\n class=\"form-info form-info--error\"\n [attr.for]=\"id + '-radio'\"\n *ngIf=\"invalid && (error || ngControl?.invalid)\"\n >\n <span class=\"error-icon\">\n <gds-icon-triangle-exclamation\n width=\"16\"\n height=\"16\"\n [solid]=\"true\"\n *nggCoreElement\n ></gds-icon-triangle-exclamation>\n </span>\n <span\n *ngIf=\"error; else errorsRef\"\n [attr.data-thook]=\"thook + '-errorlabel'\"\n >\n {{ error }}\n </span>\n <ng-template #errorsRef>\n <span\n *ngIf=\"firstError as error\"\n [attr.data-thook]=\"thook + '-errorlabel'\"\n >\n {{ t('error.field' + error?.code, error?.params) }}\n </span>\n </ng-template>\n </div>\n </ng-container>\n }\n\n <!-- CHILDREN -->\n <ng-content></ng-content>\n</ng-container>\n", styles: [":host{--gds-sys-color-blue: #41b0ee;--gds-sys-color-dark-blue-1: #0092e1;--gds-sys-color-dark-blue-2: #007ac7;--gds-sys-color-green: #60cd18;--gds-sys-color-dark-green-1: #45b400;--gds-sys-color-dark-green-2: #308800;--gds-sys-color-yellow: #ffc500;--gds-sys-color-dark-yellow-1: #ffb400;--gds-sys-color-dark-yellow-2: #f8a000;--gds-sys-color-text-primary: #333333;--gds-sys-color-text-secondary: #ababab;--gds-sys-color-text-white: #ffffff;--gds-sys-color-text-black: #333333;--gds-sys-color-text-inverted: #ffffff;--gds-sys-color-text-link: #0062bc;--gds-sys-color-text-error: #9f000a;--gds-sys-color-text-disabled: #adadad;--gds-sys-color-red: #f03529;--gds-sys-color-dark-red-1: #d81a1a;--gds-sys-color-dark-red-2: #bb000c;--gds-sys-color-purple: #673ab6;--gds-sys-color-dark-purple-1: #4f2C99;--gds-sys-color-dark-purple-2: #3f2587;--gds-sys-color-white: #ffffff;--gds-sys-color-black: #000000;--gds-sys-color-background-primary: #ffffff;--gds-sys-color-background-secondary: #eeeeee;--gds-sys-color-base-100: #f8f8f8;--gds-sys-color-base-200: #e9e9e9;--gds-sys-color-base-300: #dedede;--gds-sys-color-base-400: #cecece;--gds-sys-color-base-500: #adadad;--gds-sys-color-base-600: #868686;--gds-sys-color-base-700: #494949;--gds-sys-color-base-800: #333333;--gds-sys-color-base-900: #1a1a1a;--gds-sys-color-hover-10: rgba(255, 255, 255, .1);--gds-sys-color-hover-20: rgba(255, 255, 255, .2);--gds-sys-shape-corner-none: 0;--gds-sys-shape-corner-small: .125rem;--gds-sys-shape-corner-medium: .25rem;--gds-sys-shape-corner-round: 50%;--gds-z-index-deep: -9999;--gds-z-index-dropdown-backdrop: 990;--gds-z-index-datepicker: 995;--gds-z-index-dropdown: 995;--gds-z-index-sticky: 1020;--gds-z-index-fixed: 1030;--gds-z-index-modal-backdrop: 1040;--gds-z-index-modal: 1050;--gds-z-index-popover: 1060;--gds-z-index-tooltip: 1070;--gds-z-index-top: 9999}:host .nggv-field--locked{display:inline-block;border-radius:.25em;position:relative;min-height:2em;padding:.5em .75em .5em 0}:host .gds-form-control{padding-bottom:.75rem \"\";padding-top:.75rem \"\";padding-left:1rem \"\";padding-right:1rem \"\";border:1px solid transparent;border-radius:var(--gds-sys-shape-corner-medium);align-items:center;cursor:pointer;display:flex;flex-direction:row-reverse;font:inherit;justify-content:flex-end;position:relative;user-select:none;-webkit-user-select:none}:host .gds-form-control:has(input:disabled){cursor:not-allowed}:host label.gds-form-control input[type=radio]{cursor:pointer;height:0;opacity:0;position:absolute;width:0;z-index:-1}:host label.gds-form-control:has(input[type=radio]:focus-visible):focus:not(:focus-visible){box-shadow:none;outline:0}:host label.gds-form-control:has(input[type=radio]:focus-visible):focus,:host label.gds-form-control:has(input[type=radio]:focus-visible):focus-within{outline-color:var(--gds-sys-color-focus-outline);outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host label.gds-form-control input[type=radio]~i{margin-right:.75rem \"\";margin-top:.0625rem;flex-shrink:0;position:relative;border-radius:var(--gds-sys-shape-corner-round);display:flex;height:1rem;width:1rem;box-shadow:inset 0 0 0 .05rem var(--gds-sys-color-text-primary)}:host label.gds-form-control input[type=radio]~i:after{content:\"\";width:100%;height:100%;border-radius:var(--gds-sys-shape-corner-round);background-color:transparent;transform:scale(.5)}:host label.gds-form-control:hover input[type=radio]:not(.disabled,:disabled)~i{background-color:var(--gds-sys-color-base-200)}:host label.gds-form-control input[type=radio]:checked:not(.disabled,:disabled)~i{box-shadow:inset 0 0 0 .05rem var(--gds-sys-color-text-primary)}:host label.gds-form-control input[type=radio]:checked:not(.disabled,:disabled)~i:after{background-color:var(--gds-sys-color-text-primary)}:host label.gds-form-control:hover input[type=radio]:checked:not(.disabled,:disabled)~i:after{background-color:var(--gds-sys-color-base-700)}:host .was-validated label.gds-form-control input[type=radio]:not(.is-invalid):valid~i,:host label.gds-form-control input[type=radio].is-valid~i{--border-color: var(--gds-sys-color-dark-green-2)}:host .was-validated label.gds-form-control input[type=radio]:not(.is-valid):invalid~i,:host label.gds-form-control input[type=radio].is-invalid~i{--border-color: var(--gds-sys-color-text-error)}:host label.gds-form-control input[type=radio]:disabled~i,:host label.gds-form-control input[type=radio].disabled~i{background-color:var(--gds-comp-radio-container-background-disabled);box-shadow:inset 0 0 0 .05rem var(--gds-sys-color-base-500)}:host label.gds-form-control input[type=radio]:disabled~span,:host label.gds-form-control input[type=radio].disabled~span{color:var(--gds-sys-color-text-disabled)!important;cursor:not-allowed}:host label.gds-form-control input[type=radio]:disabled~span::placeholder,:host label.gds-form-control input[type=radio].disabled~span::placeholder{color:var(--gds-sys-color-text-disabled)}:host label.gds-form-control input[type=radio]:disabled:checked~i:after,:host label.gds-form-control input[type=radio]:checked.disabled~i:after{background-color:var(--gds-sys-color-base-600)}:host.small .form-control{padding:.25rem}:host.small .form-control input[type=radio]~i{margin-right:.5rem}:host .form-info{font-size:.875rem;line-height:1.25rem;width:100%}:host .form-info{font-weight:500;padding-left:1rem;margin-top:-.25rem}:host .form-info--error{display:flex;align-items:flex-start;gap:.5em;color:#9f000a}:host .form-info--error .error-icon{margin-top:.128rem;align-items:center}\n"] }]
|
|
134
134
|
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
135
135
|
type: Self
|
|
136
136
|
}, {
|
|
@@ -199,10 +199,10 @@ class NggvRadioGroupComponent extends NggvBaseControlValueAccessorComponent {
|
|
|
199
199
|
if (!this.name && this.formControlName)
|
|
200
200
|
this.name = this.formControlName;
|
|
201
201
|
}
|
|
202
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
203
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
202
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvRadioGroupComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: TRANSLOCO_SCOPE, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
203
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.9", type: NggvRadioGroupComponent, isStandalone: false, selector: "nggv-radio-group", inputs: { thook: "thook", size: "size", formControlName: "formControlName", direction: "direction" }, host: { properties: { "attr.data-thook": "this.thook", "class": "this.size" } }, usesInheritance: true, ngImport: i0, template: "<!-- RADIO BUTTONS -->\n<div [ngClass]=\"direction === 'column' ? 'direction-column' : 'direction-row'\">\n <ng-content></ng-content>\n</div>\n<!-- ERRORS -->\n<ng-container *transloco=\"let t; read: scope\">\n <div\n class=\"form-info form-info--error\"\n [attr.for]=\"ngControl?.name + '-radio-group'\"\n *ngIf=\"invalid && (error || ngControl?.invalid)\"\n >\n <span class=\"error-icon\">\n <gds-icon-triangle-exclamation\n size=\"16px\"\n [solid]=\"true\"\n *nggCoreElement\n ></gds-icon-triangle-exclamation>\n </span>\n <span\n *ngIf=\"error; else errorsRef\"\n [attr.data-thook]=\"thook + '-errorlabel'\"\n >\n {{ error }}\n </span>\n <ng-template #errorsRef>\n <span\n *ngIf=\"firstError as error\"\n [attr.data-thook]=\"thook + '-errorlabel'\"\n >\n {{ t('error.field' + error?.code, error?.params) }}\n </span>\n </ng-template>\n </div>\n</ng-container>\n", styles: [":host .direction-column{display:flex;flex-direction:column}:host .direction-row{display:flex;flex-direction:row}:host.small .form-control{padding:.25rem}:host.small .form-control input[type=radio]~i{margin-right:.5rem}:host .form-info{font-size:.875rem;line-height:1.25rem;width:100%;font-weight:500}:host .form-info--error{display:flex;align-items:flex-start;gap:.5em;color:#9f000a}:host .form-info--error .error-icon{margin-top:.128rem;align-items:center}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "directive", type: i4.NggCoreElementDirective, selector: "[nggCoreElement]" }] }); }
|
|
204
204
|
}
|
|
205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvRadioGroupComponent, decorators: [{
|
|
206
206
|
type: Component,
|
|
207
207
|
args: [{ selector: 'nggv-radio-group', standalone: false, template: "<!-- RADIO BUTTONS -->\n<div [ngClass]=\"direction === 'column' ? 'direction-column' : 'direction-row'\">\n <ng-content></ng-content>\n</div>\n<!-- ERRORS -->\n<ng-container *transloco=\"let t; read: scope\">\n <div\n class=\"form-info form-info--error\"\n [attr.for]=\"ngControl?.name + '-radio-group'\"\n *ngIf=\"invalid && (error || ngControl?.invalid)\"\n >\n <span class=\"error-icon\">\n <gds-icon-triangle-exclamation\n size=\"16px\"\n [solid]=\"true\"\n *nggCoreElement\n ></gds-icon-triangle-exclamation>\n </span>\n <span\n *ngIf=\"error; else errorsRef\"\n [attr.data-thook]=\"thook + '-errorlabel'\"\n >\n {{ error }}\n </span>\n <ng-template #errorsRef>\n <span\n *ngIf=\"firstError as error\"\n [attr.data-thook]=\"thook + '-errorlabel'\"\n >\n {{ t('error.field' + error?.code, error?.params) }}\n </span>\n </ng-template>\n </div>\n</ng-container>\n", styles: [":host .direction-column{display:flex;flex-direction:column}:host .direction-row{display:flex;flex-direction:row}:host.small .form-control{padding:.25rem}:host.small .form-control input[type=radio]~i{margin-right:.5rem}:host .form-info{font-size:.875rem;line-height:1.25rem;width:100%;font-weight:500}:host .form-info--error{display:flex;align-items:flex-start;gap:.5em;color:#9f000a}:host .form-info--error .error-icon{margin-top:.128rem;align-items:center}\n"] }]
|
|
208
208
|
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
@@ -231,11 +231,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
231
231
|
}] } });
|
|
232
232
|
|
|
233
233
|
class NggvRadioModule {
|
|
234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
235
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
236
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
234
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
235
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.9", ngImport: i0, type: NggvRadioModule, declarations: [NggvRadioComponent, NggvRadioGroupComponent], imports: [CommonModule, NggvI18nModule, NggCoreWrapperModule], exports: [NggvRadioComponent, NggvRadioGroupComponent] }); }
|
|
236
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvRadioModule, imports: [CommonModule, NggvI18nModule, NggCoreWrapperModule] }); }
|
|
237
237
|
}
|
|
238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvRadioModule, decorators: [{
|
|
239
239
|
type: NgModule,
|
|
240
240
|
args: [{
|
|
241
241
|
declarations: [NggvRadioComponent, NggvRadioGroupComponent],
|