@sebgroup/green-angular 10.0.3 → 10.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/sebgroup-green-angular-src-lib-accordion.mjs +10 -10
- package/fesm2022/sebgroup-green-angular-src-lib-accordion.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-badge.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-badge.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-button.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-button.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-cell-table.mjs +23 -23
- package/fesm2022/sebgroup-green-angular-src-lib-cell-table.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-context-menu.mjs +11 -11
- package/fesm2022/sebgroup-green-angular-src-lib-context-menu.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-datepicker.mjs +11 -11
- package/fesm2022/sebgroup-green-angular-src-lib-datepicker.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-dropdown.mjs +24 -27
- package/fesm2022/sebgroup-green-angular-src-lib-dropdown.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-in-page-wizard.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-in-page-wizard.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-modal.mjs +45 -46
- package/fesm2022/sebgroup-green-angular-src-lib-modal.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-pagination.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-pagination.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-progress-circle.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-progress-circle.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-segmented-control.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-segmented-control.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs +41 -41
- package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-slider.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-slider.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-lib-sortable-list.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-lib-sortable-list.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-account-number.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-account-number.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-alert.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-alert.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs +3 -3
- package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs +37 -37
- package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-drag-drop.mjs +13 -13
- package/fesm2022/sebgroup-green-angular-src-v-angular-drag-drop.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs +29 -29
- package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs +14 -14
- package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs +10 -10
- package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs +19 -19
- package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-pagination.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-pagination.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs +14 -14
- package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs +23 -23
- package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-tabs.mjs +11 -11
- package/fesm2022/sebgroup-green-angular-src-v-angular-tabs.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs +8 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-toast.mjs +10 -10
- package/fesm2022/sebgroup-green-angular-src-v-angular-toast.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs +7 -7
- package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-v-angular.mjs +300 -300
- package/fesm2022/sebgroup-green-angular-v-angular.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular.mjs +222 -226
- package/fesm2022/sebgroup-green-angular.mjs.map +1 -1
- package/index.d.ts +1021 -17
- package/package.json +10 -10
- package/src/lib/accordion/index.d.ts +51 -3
- package/src/lib/badge/index.d.ts +46 -2
- package/src/lib/button/index.d.ts +20 -2
- package/src/lib/cell-table/index.d.ts +105 -3
- package/src/lib/context-menu/index.d.ts +63 -2
- package/src/lib/datepicker/index.d.ts +80 -2
- package/src/lib/dropdown/index.d.ts +114 -4
- package/src/lib/in-page-wizard/index.d.ts +30 -2
- package/src/lib/modal/index.d.ts +96 -4
- package/src/lib/pagination/index.d.ts +66 -2
- package/src/lib/progress-circle/index.d.ts +24 -2
- package/src/lib/segmented-control/index.d.ts +29 -2
- package/src/lib/shared/index.d.ts +223 -7
- package/src/lib/slider/index.d.ts +48 -2
- package/src/lib/sortable-list/index.d.ts +105 -2
- package/src/v-angular/account-number/index.d.ts +43 -2
- package/src/v-angular/alert/index.d.ts +44 -3
- package/src/v-angular/base-control-value-accessor/index.d.ts +143 -2
- package/src/v-angular/breadcrumbs/index.d.ts +29 -2
- package/src/v-angular/button/index.d.ts +75 -2
- package/src/v-angular/card/index.d.ts +15 -2
- package/src/v-angular/character-countdown/index.d.ts +27 -2
- package/src/v-angular/checkbox/index.d.ts +47 -2
- package/src/v-angular/core/index.d.ts +40 -2
- package/src/v-angular/datepicker/index.d.ts +577 -13
- package/src/v-angular/drag-drop/index.d.ts +233 -4
- package/src/v-angular/dropdown/index.d.ts +474 -5
- package/src/v-angular/external-link/index.d.ts +27 -2
- package/src/v-angular/i18n/index.d.ts +44 -2
- package/src/v-angular/info-circle/index.d.ts +27 -2
- package/src/v-angular/input/index.d.ts +127 -2
- package/src/v-angular/input-mask/index.d.ts +81 -5
- package/src/v-angular/modal/index.d.ts +243 -5
- package/src/v-angular/pagination/index.d.ts +75 -2
- package/src/v-angular/radio/index.d.ts +111 -3
- package/src/v-angular/slug/index.d.ts +22 -2
- package/src/v-angular/table/index.d.ts +379 -5
- package/src/v-angular/tabs/index.d.ts +138 -4
- package/src/v-angular/textarea/index.d.ts +69 -2
- package/src/v-angular/toast/index.d.ts +65 -4
- package/src/v-angular/tooltip/index.d.ts +118 -2
- package/v-angular/index.d.ts +3088 -28
- package/lib/accordion/accordion-list-item.component.d.ts +0 -16
- package/lib/accordion/accordion.component.d.ts +0 -21
- package/lib/accordion/accordion.module.d.ts +0 -14
- package/lib/accordion/index.d.ts +0 -3
- package/lib/badge/badge.component.d.ts +0 -30
- package/lib/badge/badge.module.d.ts +0 -13
- package/lib/badge/index.d.ts +0 -2
- package/lib/button/button.component.d.ts +0 -11
- package/lib/button/button.module.d.ts +0 -8
- package/lib/button/index.d.ts +0 -2
- package/lib/cell-table/cell-table-item.component.d.ts +0 -14
- package/lib/cell-table/cell-table.component.d.ts +0 -44
- package/lib/cell-table/cell-table.module.d.ts +0 -10
- package/lib/cell-table/cell-table.types.d.ts +0 -34
- package/lib/cell-table/cell-underline.directive.d.ts +0 -14
- package/lib/cell-table/index.d.ts +0 -3
- package/lib/context-menu/context-menu.component.d.ts +0 -48
- package/lib/context-menu/context-menu.module.d.ts +0 -14
- package/lib/context-menu/index.d.ts +0 -2
- package/lib/datepicker/datepicker.component.d.ts +0 -63
- package/lib/datepicker/datepicker.module.d.ts +0 -14
- package/lib/datepicker/index.d.ts +0 -2
- package/lib/dropdown/dropdown-button.directive.d.ts +0 -8
- package/lib/dropdown/dropdown-option.directive.d.ts +0 -8
- package/lib/dropdown/dropdown.component.d.ts +0 -87
- package/lib/dropdown/dropdown.module.d.ts +0 -16
- package/lib/dropdown/index.d.ts +0 -4
- package/lib/green-angular.module.d.ts +0 -21
- package/lib/in-page-wizard/in-page-wizard-step-card.component.d.ts +0 -19
- package/lib/in-page-wizard/in-page-wizard.module.d.ts +0 -9
- package/lib/in-page-wizard/index.d.ts +0 -2
- package/lib/modal/index.d.ts +0 -4
- package/lib/modal/modal-footer.directive.d.ts +0 -8
- package/lib/modal/modal-header.directive.d.ts +0 -8
- package/lib/modal/modal.component.d.ts +0 -74
- package/lib/modal/modal.module.d.ts +0 -14
- package/lib/pagination/index.d.ts +0 -2
- package/lib/pagination/pagination.component.d.ts +0 -56
- package/lib/pagination/pagination.module.d.ts +0 -8
- package/lib/progress-circle/index.d.ts +0 -2
- package/lib/progress-circle/progress-circle.component.d.ts +0 -15
- package/lib/progress-circle/progress-circle.module.d.ts +0 -8
- package/lib/segmented-control/index.d.ts +0 -2
- package/lib/segmented-control/segmented-control.component.d.ts +0 -14
- package/lib/segmented-control/segmented-control.module.d.ts +0 -12
- package/lib/shared/core-control/core-checkbox.directive.d.ts +0 -10
- package/lib/shared/core-control/core-control.directive.d.ts +0 -19
- package/lib/shared/core-control/core-control.module.d.ts +0 -10
- package/lib/shared/core-control/index.d.ts +0 -3
- package/lib/shared/core-element/core-element.directive.d.ts +0 -17
- package/lib/shared/core-element/core-element.module.d.ts +0 -11
- package/lib/shared/core-element/index.d.ts +0 -2
- package/lib/shared/core-renderer/core-renderer.d.ts +0 -111
- package/lib/shared/core-renderer/index.d.ts +0 -1
- package/lib/shared/core-router-link/core-router-link.directive.d.ts +0 -19
- package/lib/shared/core-router-link/core-router-link.module.d.ts +0 -10
- package/lib/shared/core-router-link/index.d.ts +0 -2
- package/lib/shared/id.d.ts +0 -1
- package/lib/shared/index.d.ts +0 -7
- package/lib/shared/on-scroll.directive.d.ts +0 -14
- package/lib/shared/scope-resolver.d.ts +0 -5
- package/lib/shared/shared.module.d.ts +0 -9
- package/lib/slider/index.d.ts +0 -2
- package/lib/slider/slider.component.d.ts +0 -38
- package/lib/slider/slider.module.d.ts +0 -9
- package/lib/sortable-list/index.d.ts +0 -2
- package/lib/sortable-list/sortable-list.component.d.ts +0 -92
- package/lib/sortable-list/sortable-list.module.d.ts +0 -11
- package/src/lib/accordion/accordion-list-item.component.d.ts +0 -16
- package/src/lib/accordion/accordion.component.d.ts +0 -21
- package/src/lib/accordion/accordion.module.d.ts +0 -14
- package/src/lib/badge/badge.component.d.ts +0 -30
- package/src/lib/badge/badge.module.d.ts +0 -13
- package/src/lib/button/button.component.d.ts +0 -11
- package/src/lib/button/button.module.d.ts +0 -8
- package/src/lib/cell-table/cell-table-item.component.d.ts +0 -14
- package/src/lib/cell-table/cell-table.component.d.ts +0 -44
- package/src/lib/cell-table/cell-table.module.d.ts +0 -10
- package/src/lib/cell-table/cell-table.types.d.ts +0 -34
- package/src/lib/cell-table/cell-underline.directive.d.ts +0 -14
- package/src/lib/context-menu/context-menu.component.d.ts +0 -48
- package/src/lib/context-menu/context-menu.module.d.ts +0 -14
- package/src/lib/datepicker/datepicker.component.d.ts +0 -63
- package/src/lib/datepicker/datepicker.module.d.ts +0 -14
- package/src/lib/dropdown/dropdown-button.directive.d.ts +0 -8
- package/src/lib/dropdown/dropdown-option.directive.d.ts +0 -8
- package/src/lib/dropdown/dropdown.component.d.ts +0 -87
- package/src/lib/dropdown/dropdown.module.d.ts +0 -16
- package/src/lib/in-page-wizard/in-page-wizard-step-card.component.d.ts +0 -19
- package/src/lib/in-page-wizard/in-page-wizard.module.d.ts +0 -9
- package/src/lib/modal/modal-footer.directive.d.ts +0 -8
- package/src/lib/modal/modal-header.directive.d.ts +0 -8
- package/src/lib/modal/modal.component.d.ts +0 -74
- package/src/lib/modal/modal.module.d.ts +0 -14
- package/src/lib/pagination/pagination.component.d.ts +0 -56
- package/src/lib/pagination/pagination.module.d.ts +0 -8
- package/src/lib/progress-circle/progress-circle.component.d.ts +0 -15
- package/src/lib/progress-circle/progress-circle.module.d.ts +0 -8
- package/src/lib/segmented-control/segmented-control.component.d.ts +0 -14
- package/src/lib/segmented-control/segmented-control.module.d.ts +0 -12
- package/src/lib/shared/core-control/core-checkbox.directive.d.ts +0 -10
- package/src/lib/shared/core-control/core-control.directive.d.ts +0 -19
- package/src/lib/shared/core-control/core-control.module.d.ts +0 -10
- package/src/lib/shared/core-control/index.d.ts +0 -3
- package/src/lib/shared/core-element/core-element.directive.d.ts +0 -17
- package/src/lib/shared/core-element/core-element.module.d.ts +0 -11
- package/src/lib/shared/core-element/index.d.ts +0 -2
- package/src/lib/shared/core-renderer/core-renderer.d.ts +0 -111
- package/src/lib/shared/core-renderer/index.d.ts +0 -1
- package/src/lib/shared/core-router-link/core-router-link.directive.d.ts +0 -19
- package/src/lib/shared/core-router-link/core-router-link.module.d.ts +0 -10
- package/src/lib/shared/core-router-link/index.d.ts +0 -2
- package/src/lib/shared/id.d.ts +0 -1
- package/src/lib/shared/on-scroll.directive.d.ts +0 -14
- package/src/lib/shared/scope-resolver.d.ts +0 -5
- package/src/lib/shared/shared.module.d.ts +0 -9
- package/src/lib/slider/slider.component.d.ts +0 -38
- package/src/lib/slider/slider.module.d.ts +0 -9
- package/src/lib/sortable-list/sortable-list.component.d.ts +0 -92
- package/src/lib/sortable-list/sortable-list.module.d.ts +0 -11
- package/src/v-angular/account-number/account-number.module.d.ts +0 -8
- package/src/v-angular/account-number/account-number.pipe.d.ts +0 -32
- package/src/v-angular/alert/alert.component.d.ts +0 -20
- package/src/v-angular/alert/alert.models.d.ts +0 -13
- package/src/v-angular/alert/alert.module.d.ts +0 -8
- package/src/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +0 -134
- package/src/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +0 -7
- package/src/v-angular/breadcrumbs/breadcrumbs.component.d.ts +0 -18
- package/src/v-angular/breadcrumbs/breadcrumbs.module.d.ts +0 -10
- package/src/v-angular/button/button.component.d.ts +0 -62
- package/src/v-angular/button/button.module.d.ts +0 -10
- package/src/v-angular/card/card.component.d.ts +0 -5
- package/src/v-angular/card/card.module.d.ts +0 -8
- package/src/v-angular/character-countdown/character-countdown.directive.d.ts +0 -17
- package/src/v-angular/character-countdown/character-countdown.module.d.ts +0 -8
- package/src/v-angular/checkbox/checkbox.component.d.ts +0 -36
- package/src/v-angular/checkbox/checkbox.module.d.ts +0 -10
- package/src/v-angular/core/core.globals.d.ts +0 -13
- package/src/v-angular/core/core.utils.d.ts +0 -23
- package/src/v-angular/datepicker/components/calendar/calendar.component.d.ts +0 -36
- package/src/v-angular/datepicker/components/calendar-control/calendar-control.component.d.ts +0 -30
- package/src/v-angular/datepicker/components/date-input/date-input.component.d.ts +0 -113
- package/src/v-angular/datepicker/components/datepicker/datepicker.component.d.ts +0 -76
- package/src/v-angular/datepicker/date-control-value-accessor/date-control-value-accessor.component.d.ts +0 -169
- package/src/v-angular/datepicker/datepicker.globals.d.ts +0 -13
- package/src/v-angular/datepicker/datepicker.models.d.ts +0 -50
- package/src/v-angular/datepicker/datepicker.module.d.ts +0 -19
- package/src/v-angular/datepicker/datepicker.utils.d.ts +0 -46
- package/src/v-angular/datepicker/directives/calendar-date.directive.d.ts +0 -21
- package/src/v-angular/datepicker/models/dates.d.ts +0 -15
- package/src/v-angular/datepicker/pipes/date-thook.pipe.d.ts +0 -8
- package/src/v-angular/datepicker/pipes/is-disabled.pipe.d.ts +0 -8
- package/src/v-angular/datepicker/pipes/matches.pipe.d.ts +0 -7
- package/src/v-angular/drag-drop/drag-drop.component.d.ts +0 -131
- package/src/v-angular/drag-drop/drag-drop.models.d.ts +0 -49
- package/src/v-angular/drag-drop/drag-drop.module.d.ts +0 -13
- package/src/v-angular/drag-drop/drag-drop.pipes.d.ts +0 -40
- package/src/v-angular/drag-drop/drag-drop.utils.d.ts +0 -33
- package/src/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +0 -135
- package/src/v-angular/dropdown/dropdown-list/index.d.ts +0 -1
- package/src/v-angular/dropdown/dropdown.component.d.ts +0 -129
- package/src/v-angular/dropdown/dropdown.module.d.ts +0 -13
- package/src/v-angular/dropdown/typeahead/index.d.ts +0 -5
- package/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +0 -40
- package/src/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +0 -34
- package/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +0 -61
- package/src/v-angular/dropdown/typeahead/typeahead.directive.d.ts +0 -78
- package/src/v-angular/dropdown/typeahead/typeahead.module.d.ts +0 -11
- package/src/v-angular/external-link/external-link.directive.d.ts +0 -17
- package/src/v-angular/external-link/external-link.module.d.ts +0 -8
- package/src/v-angular/i18n/i18n.module.d.ts +0 -15
- package/src/v-angular/i18n/i18n.test.module.d.ts +0 -27
- package/src/v-angular/info-circle/info-circle.component.d.ts +0 -16
- package/src/v-angular/info-circle/info-circle.module.d.ts +0 -10
- package/src/v-angular/input/input.component.d.ts +0 -112
- package/src/v-angular/input/input.module.d.ts +0 -13
- package/src/v-angular/input-mask/config.d.ts +0 -6
- package/src/v-angular/input-mask/constants.d.ts +0 -2
- package/src/v-angular/input-mask/input-mask-format.pipe.d.ts +0 -8
- package/src/v-angular/input-mask/input-mask.directive.d.ts +0 -39
- package/src/v-angular/input-mask/input-mask.module.d.ts +0 -11
- package/src/v-angular/input-mask/input-mask.types.d.ts +0 -20
- package/src/v-angular/modal/dialog/dialog.component.d.ts +0 -72
- package/src/v-angular/modal/fold-out/fold-out.component.d.ts +0 -51
- package/src/v-angular/modal/fold-out/fold-out.directive.d.ts +0 -6
- package/src/v-angular/modal/fold-out/keyboard-key.enum.d.ts +0 -8
- package/src/v-angular/modal/modal.globals.d.ts +0 -13
- package/src/v-angular/modal/modal.module.d.ts +0 -15
- package/src/v-angular/modal/modal.types.d.ts +0 -6
- package/src/v-angular/modal/slide-out/slide-out.component.d.ts +0 -85
- package/src/v-angular/pagination/pagination.component.d.ts +0 -64
- package/src/v-angular/pagination/pagination.module.d.ts +0 -12
- package/src/v-angular/radio/radio-group/radio-group.component.d.ts +0 -42
- package/src/v-angular/radio/radio.component.d.ts +0 -63
- package/src/v-angular/radio/radio.module.d.ts +0 -11
- package/src/v-angular/slug/slug.module.d.ts +0 -8
- package/src/v-angular/slug/slug.pipe.d.ts +0 -12
- package/src/v-angular/table/table.component.d.ts +0 -248
- package/src/v-angular/table/table.directive.d.ts +0 -36
- package/src/v-angular/table/table.models.d.ts +0 -78
- package/src/v-angular/table/table.module.d.ts +0 -12
- package/src/v-angular/table/table.tools.d.ts +0 -5
- package/src/v-angular/table/tr-thook.pipe.d.ts +0 -7
- package/src/v-angular/tabs/tab.directive.d.ts +0 -37
- package/src/v-angular/tabs/tabs.component.d.ts +0 -65
- package/src/v-angular/tabs/tabs.models.d.ts +0 -25
- package/src/v-angular/tabs/tabs.module.d.ts +0 -11
- package/src/v-angular/textarea/textarea.component.d.ts +0 -57
- package/src/v-angular/textarea/textarea.module.d.ts +0 -12
- package/src/v-angular/toast/toast-message.service.d.ts +0 -19
- package/src/v-angular/toast/toast.component.d.ts +0 -20
- package/src/v-angular/toast/toast.models.d.ts +0 -18
- package/src/v-angular/toast/toast.module.d.ts +0 -10
- package/src/v-angular/tooltip/tooltip.directive.d.ts +0 -108
- package/src/v-angular/tooltip/tooltip.module.d.ts +0 -8
- package/src/v-angular/tooltip/tooltip.styles.d.ts +0 -11
- package/v-angular/account-number/account-number.module.d.ts +0 -8
- package/v-angular/account-number/account-number.pipe.d.ts +0 -32
- package/v-angular/account-number/index.d.ts +0 -2
- package/v-angular/alert/alert.component.d.ts +0 -20
- package/v-angular/alert/alert.models.d.ts +0 -13
- package/v-angular/alert/alert.module.d.ts +0 -8
- package/v-angular/alert/index.d.ts +0 -3
- package/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +0 -134
- package/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +0 -7
- package/v-angular/base-control-value-accessor/index.d.ts +0 -2
- package/v-angular/breadcrumbs/breadcrumbs.component.d.ts +0 -18
- package/v-angular/breadcrumbs/breadcrumbs.module.d.ts +0 -10
- package/v-angular/breadcrumbs/index.d.ts +0 -2
- package/v-angular/button/button.component.d.ts +0 -62
- package/v-angular/button/button.module.d.ts +0 -10
- package/v-angular/button/index.d.ts +0 -2
- package/v-angular/card/card.component.d.ts +0 -5
- package/v-angular/card/card.module.d.ts +0 -8
- package/v-angular/card/index.d.ts +0 -2
- package/v-angular/character-countdown/character-countdown.directive.d.ts +0 -17
- package/v-angular/character-countdown/character-countdown.module.d.ts +0 -8
- package/v-angular/character-countdown/index.d.ts +0 -2
- package/v-angular/checkbox/checkbox.component.d.ts +0 -36
- package/v-angular/checkbox/checkbox.module.d.ts +0 -10
- package/v-angular/checkbox/index.d.ts +0 -2
- package/v-angular/core/core.globals.d.ts +0 -13
- package/v-angular/core/core.utils.d.ts +0 -23
- package/v-angular/core/index.d.ts +0 -2
- package/v-angular/datepicker/components/calendar/calendar.component.d.ts +0 -36
- package/v-angular/datepicker/components/calendar-control/calendar-control.component.d.ts +0 -30
- package/v-angular/datepicker/components/date-input/date-input.component.d.ts +0 -113
- package/v-angular/datepicker/components/datepicker/datepicker.component.d.ts +0 -76
- package/v-angular/datepicker/date-control-value-accessor/date-control-value-accessor.component.d.ts +0 -169
- package/v-angular/datepicker/datepicker.globals.d.ts +0 -13
- package/v-angular/datepicker/datepicker.models.d.ts +0 -50
- package/v-angular/datepicker/datepicker.module.d.ts +0 -19
- package/v-angular/datepicker/datepicker.utils.d.ts +0 -46
- package/v-angular/datepicker/directives/calendar-date.directive.d.ts +0 -21
- package/v-angular/datepicker/index.d.ts +0 -13
- package/v-angular/datepicker/models/dates.d.ts +0 -15
- package/v-angular/datepicker/pipes/date-thook.pipe.d.ts +0 -8
- package/v-angular/datepicker/pipes/is-disabled.pipe.d.ts +0 -8
- package/v-angular/datepicker/pipes/matches.pipe.d.ts +0 -7
- package/v-angular/drag-drop/drag-drop.component.d.ts +0 -131
- package/v-angular/drag-drop/drag-drop.models.d.ts +0 -49
- package/v-angular/drag-drop/drag-drop.module.d.ts +0 -13
- package/v-angular/drag-drop/drag-drop.pipes.d.ts +0 -40
- package/v-angular/drag-drop/drag-drop.utils.d.ts +0 -33
- package/v-angular/drag-drop/index.d.ts +0 -4
- package/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +0 -135
- package/v-angular/dropdown/dropdown-list/index.d.ts +0 -1
- package/v-angular/dropdown/dropdown.component.d.ts +0 -129
- package/v-angular/dropdown/dropdown.module.d.ts +0 -13
- package/v-angular/dropdown/index.d.ts +0 -5
- package/v-angular/dropdown/typeahead/index.d.ts +0 -5
- package/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +0 -40
- package/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +0 -34
- package/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +0 -61
- package/v-angular/dropdown/typeahead/typeahead.directive.d.ts +0 -78
- package/v-angular/dropdown/typeahead/typeahead.module.d.ts +0 -11
- package/v-angular/external-link/external-link.directive.d.ts +0 -17
- package/v-angular/external-link/external-link.module.d.ts +0 -8
- package/v-angular/external-link/index.d.ts +0 -2
- package/v-angular/i18n/i18n.module.d.ts +0 -15
- package/v-angular/i18n/i18n.test.module.d.ts +0 -27
- package/v-angular/i18n/index.d.ts +0 -2
- package/v-angular/info-circle/index.d.ts +0 -2
- package/v-angular/info-circle/info-circle.component.d.ts +0 -16
- package/v-angular/info-circle/info-circle.module.d.ts +0 -10
- package/v-angular/input/index.d.ts +0 -2
- package/v-angular/input/input.component.d.ts +0 -112
- package/v-angular/input/input.module.d.ts +0 -13
- package/v-angular/input-mask/config.d.ts +0 -6
- package/v-angular/input-mask/constants.d.ts +0 -2
- package/v-angular/input-mask/index.d.ts +0 -5
- package/v-angular/input-mask/input-mask-format.pipe.d.ts +0 -8
- package/v-angular/input-mask/input-mask.directive.d.ts +0 -39
- package/v-angular/input-mask/input-mask.module.d.ts +0 -11
- package/v-angular/input-mask/input-mask.types.d.ts +0 -20
- package/v-angular/modal/dialog/dialog.component.d.ts +0 -72
- package/v-angular/modal/fold-out/fold-out.component.d.ts +0 -51
- package/v-angular/modal/fold-out/fold-out.directive.d.ts +0 -6
- package/v-angular/modal/fold-out/keyboard-key.enum.d.ts +0 -8
- package/v-angular/modal/index.d.ts +0 -5
- package/v-angular/modal/modal.globals.d.ts +0 -13
- package/v-angular/modal/modal.module.d.ts +0 -15
- package/v-angular/modal/modal.types.d.ts +0 -6
- package/v-angular/modal/slide-out/slide-out.component.d.ts +0 -85
- package/v-angular/pagination/index.d.ts +0 -2
- package/v-angular/pagination/pagination.component.d.ts +0 -64
- package/v-angular/pagination/pagination.module.d.ts +0 -12
- package/v-angular/radio/index.d.ts +0 -3
- package/v-angular/radio/radio-group/radio-group.component.d.ts +0 -42
- package/v-angular/radio/radio.component.d.ts +0 -63
- package/v-angular/radio/radio.module.d.ts +0 -11
- package/v-angular/slug/index.d.ts +0 -2
- package/v-angular/slug/slug.module.d.ts +0 -8
- package/v-angular/slug/slug.pipe.d.ts +0 -12
- package/v-angular/table/index.d.ts +0 -5
- package/v-angular/table/table.component.d.ts +0 -248
- package/v-angular/table/table.directive.d.ts +0 -36
- package/v-angular/table/table.models.d.ts +0 -78
- package/v-angular/table/table.module.d.ts +0 -12
- package/v-angular/table/table.tools.d.ts +0 -5
- package/v-angular/table/tr-thook.pipe.d.ts +0 -7
- package/v-angular/tabs/index.d.ts +0 -4
- package/v-angular/tabs/tab.directive.d.ts +0 -37
- package/v-angular/tabs/tabs.component.d.ts +0 -65
- package/v-angular/tabs/tabs.models.d.ts +0 -25
- package/v-angular/tabs/tabs.module.d.ts +0 -11
- package/v-angular/textarea/index.d.ts +0 -2
- package/v-angular/textarea/textarea.component.d.ts +0 -57
- package/v-angular/textarea/textarea.module.d.ts +0 -12
- package/v-angular/toast/index.d.ts +0 -4
- package/v-angular/toast/toast-message.service.d.ts +0 -19
- package/v-angular/toast/toast.component.d.ts +0 -20
- package/v-angular/toast/toast.models.d.ts +0 -18
- package/v-angular/toast/toast.module.d.ts +0 -10
- package/v-angular/tooltip/index.d.ts +0 -2
- package/v-angular/tooltip/tooltip.directive.d.ts +0 -108
- package/v-angular/tooltip/tooltip.module.d.ts +0 -8
- package/v-angular/tooltip/tooltip.styles.d.ts +0 -11
- package/v-angular/v-angular.module.d.ts +0 -33
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sebgroup-green-angular-src-lib-sortable-list.mjs","sources":["../../../../libs/angular/src/lib/sortable-list/sortable-list.component.ts","../../../../libs/angular/src/lib/sortable-list/sortable-list.component.html","../../../../libs/angular/src/lib/sortable-list/sortable-list.module.ts","../../../../libs/angular/src/lib/sortable-list/sebgroup-green-angular-src-lib-sortable-list.ts"],"sourcesContent":["import {\n CdkDragDrop,\n moveItemInArray,\n transferArrayItem,\n} from '@angular/cdk/drag-drop'\nimport {\n Component,\n ElementRef,\n EventEmitter,\n Input,\n Output,\n TemplateRef,\n ViewChild,\n} from '@angular/core'\n\nimport '@sebgroup/green-core/components/icon/icons/dot-grid-two.js'\n\nexport interface SortableListItem {\n id: any\n name: string\n description?: string\n selected?: boolean\n hasCustomSuffix?: boolean\n}\n\nexport interface SortableListGroup {\n items: SortableListItem[]\n title: string\n description?: string\n}\n\n@Component({\n selector: 'ngg-sortable-list',\n templateUrl: './sortable-list.component.html',\n styleUrls: ['./sortable-list.component.scss'],\n standalone: false\n})\nexport class NggSortableListComponent {\n @Input() groups: SortableListGroup[] = []\n @Input() shouldDisplayCheckboxes = false\n @Input() isReadOnly = false\n @Input() isDraggable = true\n @Input() description = ''\n @Input() suffixTemplate: TemplateRef<any> | null = null\n\n @Output() itemSelectionChanged = new EventEmitter<{\n changedItem: SortableListItem\n groups: SortableListGroup[]\n }>()\n @Output() itemOrderChanged = new EventEmitter<{\n previousIndex: [number, number]\n currentIndex: [number, number]\n groups: SortableListGroup[]\n }>()\n\n @ViewChild('sortableListGroups') sortableListGroups!: ElementRef\n\n focusedIndex: Record<number, number> = { 0: 0 }\n\n /**\n * Toggles the selection of a checklist item and updates its position in the list.\n *\n * @param item - The checklist item to update.\n */\n toggleSelection(item: SortableListItem) {\n item.selected = !item.selected\n this.emitCheckListItem(item)\n }\n\n /**\n * Handles the onDragDrop event.\n *\n * @param event - The drag and drop event.\n */\n onDragDrop(event: CdkDragDrop<SortableListItem[]>) {\n if (event.previousContainer === event.container) {\n moveItemInArray(\n event.container.data,\n event.previousIndex,\n event.currentIndex,\n )\n } else {\n transferArrayItem(\n event.previousContainer.data,\n event.container.data,\n event.previousIndex,\n event.currentIndex,\n )\n }\n\n this.emitItemOrderChanged(\n [Number(event.previousContainer.id), event.previousIndex],\n [Number(event.container.id), event.currentIndex],\n )\n }\n\n /**\n * Handles moving items up or down using the alt + arrow up or alt + arrow down keys.\n *\n * @param groupIndex - The index of the group.\n * @param currentItemIndex - The current index of the item.\n * @param newItemIndex - The new index of the item.\n */\n onAltArrowKeydown(\n groupIndex: number,\n currentItemIndex: number,\n newItemIndex: number,\n event: any,\n ) {\n event.preventDefault()\n\n let newIndex = newItemIndex\n let newGroupIndex = groupIndex\n let transfer = false\n\n if (newIndex > this.groups[groupIndex].items.length - 1) {\n newIndex = 0\n newGroupIndex = groupIndex + 1\n transfer = true\n this.focusedIndex[groupIndex] = this.groups[groupIndex].items.length - 2\n } else if (newIndex < 0) {\n newGroupIndex = groupIndex - 1\n newIndex = this.groups[newGroupIndex].items.length\n transfer = true\n this.focusedIndex[groupIndex] = 0\n }\n\n if (transfer) {\n transferArrayItem(\n this.groups[groupIndex].items,\n this.groups[newGroupIndex].items,\n currentItemIndex,\n newIndex,\n )\n } else {\n moveItemInArray(this.groups[groupIndex].items, currentItemIndex, newIndex)\n }\n\n this.emitItemOrderChanged(\n [groupIndex, currentItemIndex],\n [newGroupIndex, newIndex],\n )\n\n setTimeout(() => {\n this.focusItem(newGroupIndex, newIndex)\n })\n }\n\n /**\n * Handles focus by arrow keydown event.\n *\n * @param groupIndex - The index of the group.\n * @param itemIndex - The index of the item.\n * @param event - The keyboard event.\n */\n onArrowKeydown(groupIndex: number, itemIndex: number, event: Event) {\n event.preventDefault()\n setTimeout(() => {\n let gi = groupIndex\n\n if (itemIndex > this.groups[groupIndex].items.length - 1) {\n gi = groupIndex + 1\n itemIndex = 0\n }\n\n if (itemIndex < 0) {\n gi = groupIndex - 1\n if (gi < 0) {\n return\n }\n itemIndex = this.groups[gi].items.length - 1\n }\n\n this.focusItem(gi, itemIndex)\n })\n }\n\n /**\n * Emits the item order changed event.\n *\n * @param previousIndex - The previous index of the item.\n * @param currentIndex - The current index of the item.\n */\n private emitItemOrderChanged(\n previousIndex: [number, number],\n currentIndex: [number, number],\n ) {\n this.itemOrderChanged.emit({\n previousIndex,\n currentIndex,\n groups: [...this.groups],\n })\n }\n\n /**\n * Emits the selected checklist item through an event.\n *\n * @param item - The checklist item to emit.\n */\n private emitCheckListItem(item: SortableListItem) {\n this.itemSelectionChanged.emit({ changedItem: item, groups: this.groups })\n }\n\n /**\n * Focuses on a specific item in the sortable list.\n *\n * @param groupIndex - The index of the group.\n * @param itemIndex - The index of the item.\n */\n private focusItem(groupIndex: number, itemIndex: number): void {\n const groupElements =\n this.sortableListGroups.nativeElement.querySelectorAll('.item-list-group')\n\n if (groupElements && groupElements.length > groupIndex) {\n const itemElements = groupElements[groupIndex].querySelectorAll('.item')\n if (itemElements && itemElements.length > itemIndex) {\n if (this.shouldDisplayCheckboxes) {\n itemElements[itemIndex].querySelector('input').focus()\n } else {\n itemElements[itemIndex].focus()\n }\n this.focusedIndex[groupIndex] = itemIndex\n }\n }\n }\n\n /**\n * Checks if an item has focus.\n *\n * @param groupIndex - The index of the group.\n * @param itemIndex - The index of the item.\n */\n itemHasFocus(groupIndex: number, itemIndex: number) {\n if (!this.focusedIndex[groupIndex]) {\n this.focusedIndex[groupIndex] = 0\n }\n return this.focusedIndex[groupIndex] === itemIndex\n }\n}\n","<div class=\"gds-sortable-list\">\n <ng-container>\n <p class=\"gds-sortable-list-header\">\n <span class=\"gds-sortable-list-header-title\">{{ description }}</span>\n </p>\n <div #sortableListGroups cdkDropListGroup>\n <div\n *ngFor=\"let group of groups; let g_i = index\"\n class=\"gds-sortable-list-group\"\n [class.drag-enabled]=\"isDraggable && !isReadOnly\"\n role=\"list\"\n cdkDropList\n [cdkDropListData]=\"group.items\"\n [id]=\"g_i.toString()\"\n (cdkDropListDropped)=\"onDragDrop($event)\"\n >\n <p\n *ngIf=\"group.title && group.title.length > 0\"\n class=\"gds-sortable-list-header\"\n >\n <span class=\"gds-sortable-list-header-title\">{{ group.title }}</span>\n </p>\n <p\n *ngIf=\"group.description && group.description.length > 0\"\n class=\"gds-sortable-list-header-description\"\n >\n {{ group.description }}\n </p>\n <div\n *ngFor=\"let checklistItem of group.items; let i = index\"\n [cdkDragDisabled]=\"!isDraggable || isReadOnly\"\n [cdkDragData]=\"checklistItem\"\n cdkDrag\n cdkDragLockAxis=\"y\"\n class=\"item-box\"\n role=\"listitem\"\n >\n <div *cdkDragPlaceholder class=\"item-custom-placeholder\"></div>\n <label\n (keydown.alt.arrowDown)=\"onAltArrowKeydown(g_i, i, i + 1, $event)\"\n (keydown.alt.arrowUp)=\"onAltArrowKeydown(g_i, i, i - 1, $event)\"\n (keydown.arrowDown)=\"onArrowKeydown(g_i, i + 1, $event)\"\n (keydown.arrowUp)=\"onArrowKeydown(g_i, i - 1, $event)\"\n class=\"gds-form-control item-control align-items-center item\"\n [tabindex]=\"shouldDisplayCheckboxes ? '-1' : '0'\"\n >\n <div class=\"gds-form-control\">\n <input\n (change)=\"toggleSelection(checklistItem)\"\n [checked]=\"checklistItem.selected\"\n [disabled]=\"isReadOnly\"\n [type]=\"shouldDisplayCheckboxes ? 'checkbox' : 'hidden'\"\n />\n <div class=\"item-box-title\">\n <span name=\"agendaItemName\"\n >{{ checklistItem.name }}\n <span\n *ngIf=\"checklistItem.hasCustomSuffix\"\n class=\"gds-sortable-list-suffix\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n suffixTemplate;\n context: { $implicit: checklistItem }\n \"\n class=\"user-icon\"\n >\n </ng-container>\n </span>\n </span>\n <br />\n <span *ngIf=\"!!checklistItem.description\">\n <span\n class=\"gds-sortable-list-suffix\"\n name=\"agendaItemToolTip\"\n >\n {{ checklistItem.description }}\n </span>\n <br />\n </span>\n </div>\n <i></i>\n </div>\n <div *ngIf=\"isDraggable && !isReadOnly\" class=\"item-grip-icon\">\n <gds-icon-dot-grid-two *nggCoreElement></gds-icon-dot-grid-two>\n </div>\n </label>\n </div>\n </div>\n </div>\n </ng-container>\n</div>\n","import { DragDropModule } from '@angular/cdk/drag-drop'\nimport { CommonModule } from '@angular/common'\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'\nimport { FormsModule } from '@angular/forms'\n\nimport { NggCoreWrapperModule } from '@sebgroup/green-angular/src/lib/shared'\nimport { NggSortableListComponent } from './sortable-list.component'\n\n@NgModule({\n imports: [CommonModule, FormsModule, DragDropModule, NggCoreWrapperModule],\n exports: [NggSortableListComponent],\n declarations: [NggSortableListComponent],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class NggSortableListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAqCa,wBAAwB,CAAA;AANrC,IAAA,WAAA,GAAA;QAOW,IAAA,CAAA,MAAM,GAAwB,EAAE;QAChC,IAAA,CAAA,uBAAuB,GAAG,KAAK;QAC/B,IAAA,CAAA,UAAU,GAAG,KAAK;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AA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YALtB,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,oBAAoB,CAAA,EAAA,CAAA,CAAA;;4FAK9D,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,oBAAoB,CAAC;oBAC1E,OAAO,EAAE,CAAC,wBAAwB,CAAC;oBACnC,YAAY,EAAE,CAAC,wBAAwB,CAAC;oBACxC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA;;;ACbD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"sebgroup-green-angular-src-lib-sortable-list.mjs","sources":["../tmp-esm2022/src/lib/sortable-list/sortable-list.component.js","../tmp-esm2022/src/lib/sortable-list/sortable-list.module.js","../tmp-esm2022/src/lib/sortable-list/sebgroup-green-angular-src-lib-sortable-list.js"],"sourcesContent":["import { moveItemInArray, transferArrayItem, } from '@angular/cdk/drag-drop';\nimport { Component, ElementRef, EventEmitter, Input, Output, ViewChild, } from '@angular/core';\nimport '@sebgroup/green-core/components/icon/icons/dot-grid-two.js';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/cdk/drag-drop\";\nimport * as i3 from \"@sebgroup/green-angular/src/lib/shared\";\nexport class NggSortableListComponent {\n constructor() {\n this.groups = [];\n this.shouldDisplayCheckboxes = false;\n this.isReadOnly = false;\n this.isDraggable = true;\n this.description = '';\n this.suffixTemplate = null;\n this.itemSelectionChanged = new EventEmitter();\n this.itemOrderChanged = new EventEmitter();\n this.focusedIndex = { 0: 0 };\n }\n /**\n * Toggles the selection of a checklist item and updates its position in the list.\n *\n * @param item - The checklist item to update.\n */\n toggleSelection(item) {\n item.selected = !item.selected;\n this.emitCheckListItem(item);\n }\n /**\n * Handles the onDragDrop event.\n *\n * @param event - The drag and drop event.\n */\n onDragDrop(event) {\n if (event.previousContainer === event.container) {\n moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);\n }\n else {\n transferArrayItem(event.previousContainer.data, event.container.data, event.previousIndex, event.currentIndex);\n }\n this.emitItemOrderChanged([Number(event.previousContainer.id), event.previousIndex], [Number(event.container.id), event.currentIndex]);\n }\n /**\n * Handles moving items up or down using the alt + arrow up or alt + arrow down keys.\n *\n * @param groupIndex - The index of the group.\n * @param currentItemIndex - The current index of the item.\n * @param newItemIndex - The new index of the item.\n */\n onAltArrowKeydown(groupIndex, currentItemIndex, newItemIndex, event) {\n event.preventDefault();\n let newIndex = newItemIndex;\n let newGroupIndex = groupIndex;\n let transfer = false;\n if (newIndex > this.groups[groupIndex].items.length - 1) {\n newIndex = 0;\n newGroupIndex = groupIndex + 1;\n transfer = true;\n this.focusedIndex[groupIndex] = this.groups[groupIndex].items.length - 2;\n }\n else if (newIndex < 0) {\n newGroupIndex = groupIndex - 1;\n newIndex = this.groups[newGroupIndex].items.length;\n transfer = true;\n this.focusedIndex[groupIndex] = 0;\n }\n if (transfer) {\n transferArrayItem(this.groups[groupIndex].items, this.groups[newGroupIndex].items, currentItemIndex, newIndex);\n }\n else {\n moveItemInArray(this.groups[groupIndex].items, currentItemIndex, newIndex);\n }\n this.emitItemOrderChanged([groupIndex, currentItemIndex], [newGroupIndex, newIndex]);\n setTimeout(() => {\n this.focusItem(newGroupIndex, newIndex);\n });\n }\n /**\n * Handles focus by arrow keydown event.\n *\n * @param groupIndex - The index of the group.\n * @param itemIndex - The index of the item.\n * @param event - The keyboard event.\n */\n onArrowKeydown(groupIndex, itemIndex, event) {\n event.preventDefault();\n setTimeout(() => {\n let gi = groupIndex;\n if (itemIndex > this.groups[groupIndex].items.length - 1) {\n gi = groupIndex + 1;\n itemIndex = 0;\n }\n if (itemIndex < 0) {\n gi = groupIndex - 1;\n if (gi < 0) {\n return;\n }\n itemIndex = this.groups[gi].items.length - 1;\n }\n this.focusItem(gi, itemIndex);\n });\n }\n /**\n * Emits the item order changed event.\n *\n * @param previousIndex - The previous index of the item.\n * @param currentIndex - The current index of the item.\n */\n emitItemOrderChanged(previousIndex, currentIndex) {\n this.itemOrderChanged.emit({\n previousIndex,\n currentIndex,\n groups: [...this.groups],\n });\n }\n /**\n * Emits the selected checklist item through an event.\n *\n * @param item - The checklist item to emit.\n */\n emitCheckListItem(item) {\n this.itemSelectionChanged.emit({ changedItem: item, groups: this.groups });\n }\n /**\n * Focuses on a specific item in the sortable list.\n *\n * @param groupIndex - The index of the group.\n * @param itemIndex - The index of the item.\n */\n focusItem(groupIndex, itemIndex) {\n const groupElements = this.sortableListGroups.nativeElement.querySelectorAll('.item-list-group');\n if (groupElements && groupElements.length > groupIndex) {\n const itemElements = groupElements[groupIndex].querySelectorAll('.item');\n if (itemElements && itemElements.length > itemIndex) {\n if (this.shouldDisplayCheckboxes) {\n itemElements[itemIndex].querySelector('input').focus();\n }\n else {\n itemElements[itemIndex].focus();\n }\n this.focusedIndex[groupIndex] = itemIndex;\n }\n }\n }\n /**\n * Checks if an item has focus.\n *\n * @param groupIndex - The index of the group.\n * @param itemIndex - The index of the item.\n */\n itemHasFocus(groupIndex, itemIndex) {\n if (!this.focusedIndex[groupIndex]) {\n this.focusedIndex[groupIndex] = 0;\n }\n return this.focusedIndex[groupIndex] === itemIndex;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: NggSortableListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.3.9\", type: NggSortableListComponent, isStandalone: false, selector: \"ngg-sortable-list\", inputs: { groups: \"groups\", shouldDisplayCheckboxes: \"shouldDisplayCheckboxes\", isReadOnly: \"isReadOnly\", isDraggable: \"isDraggable\", description: \"description\", suffixTemplate: \"suffixTemplate\" }, outputs: { itemSelectionChanged: \"itemSelectionChanged\", itemOrderChanged: \"itemOrderChanged\" }, viewQueries: [{ propertyName: \"sortableListGroups\", first: true, predicate: [\"sortableListGroups\"], descendants: true }], ngImport: i0, template: \"<div class=\\\"gds-sortable-list\\\">\\n <ng-container>\\n <p class=\\\"gds-sortable-list-header\\\">\\n <span class=\\\"gds-sortable-list-header-title\\\">{{ description }}</span>\\n </p>\\n <div #sortableListGroups cdkDropListGroup>\\n <div\\n *ngFor=\\\"let group of groups; let g_i = index\\\"\\n class=\\\"gds-sortable-list-group\\\"\\n [class.drag-enabled]=\\\"isDraggable && !isReadOnly\\\"\\n role=\\\"list\\\"\\n cdkDropList\\n [cdkDropListData]=\\\"group.items\\\"\\n [id]=\\\"g_i.toString()\\\"\\n (cdkDropListDropped)=\\\"onDragDrop($event)\\\"\\n >\\n <p\\n *ngIf=\\\"group.title && group.title.length > 0\\\"\\n class=\\\"gds-sortable-list-header\\\"\\n >\\n <span class=\\\"gds-sortable-list-header-title\\\">{{ group.title }}</span>\\n </p>\\n <p\\n *ngIf=\\\"group.description && group.description.length > 0\\\"\\n class=\\\"gds-sortable-list-header-description\\\"\\n >\\n {{ group.description }}\\n </p>\\n <div\\n *ngFor=\\\"let checklistItem of group.items; let i = index\\\"\\n [cdkDragDisabled]=\\\"!isDraggable || isReadOnly\\\"\\n [cdkDragData]=\\\"checklistItem\\\"\\n cdkDrag\\n cdkDragLockAxis=\\\"y\\\"\\n class=\\\"item-box\\\"\\n role=\\\"listitem\\\"\\n >\\n <div *cdkDragPlaceholder class=\\\"item-custom-placeholder\\\"></div>\\n <label\\n (keydown.alt.arrowDown)=\\\"onAltArrowKeydown(g_i, i, i + 1, $event)\\\"\\n (keydown.alt.arrowUp)=\\\"onAltArrowKeydown(g_i, i, i - 1, $event)\\\"\\n (keydown.arrowDown)=\\\"onArrowKeydown(g_i, i + 1, $event)\\\"\\n (keydown.arrowUp)=\\\"onArrowKeydown(g_i, i - 1, $event)\\\"\\n class=\\\"gds-form-control item-control align-items-center item\\\"\\n [tabindex]=\\\"shouldDisplayCheckboxes ? '-1' : '0'\\\"\\n >\\n <div class=\\\"gds-form-control\\\">\\n <input\\n (change)=\\\"toggleSelection(checklistItem)\\\"\\n [checked]=\\\"checklistItem.selected\\\"\\n [disabled]=\\\"isReadOnly\\\"\\n [type]=\\\"shouldDisplayCheckboxes ? 'checkbox' : 'hidden'\\\"\\n />\\n <div class=\\\"item-box-title\\\">\\n <span name=\\\"agendaItemName\\\"\\n >{{ checklistItem.name }}\\n <span\\n *ngIf=\\\"checklistItem.hasCustomSuffix\\\"\\n class=\\\"gds-sortable-list-suffix\\\"\\n >\\n <ng-container\\n *ngTemplateOutlet=\\\"\\n suffixTemplate;\\n context: { $implicit: checklistItem }\\n \\\"\\n class=\\\"user-icon\\\"\\n >\\n </ng-container>\\n </span>\\n </span>\\n <br />\\n <span *ngIf=\\\"!!checklistItem.description\\\">\\n <span\\n class=\\\"gds-sortable-list-suffix\\\"\\n name=\\\"agendaItemToolTip\\\"\\n >\\n {{ checklistItem.description }}\\n </span>\\n <br />\\n </span>\\n </div>\\n <i></i>\\n </div>\\n <div *ngIf=\\\"isDraggable && !isReadOnly\\\" class=\\\"item-grip-icon\\\">\\n <gds-icon-dot-grid-two *nggCoreElement></gds-icon-dot-grid-two>\\n </div>\\n </label>\\n </div>\\n </div>\\n </div>\\n </ng-container>\\n</div>\\n\", styles: [\".gds-sortable-list{width:100%;display:block}label.item{padding:0!important}.item-box{background-color:var(--gds-sys-color-background-primary);color:var(--gds-sys-color-text-primary);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;font-size:14px;margin:5px 0;border:1px solid var(--border-color);border-radius:4px}.gds-form-control{line-height:20px;font-size:16px;font-weight:500}.gds-sortable-list-header{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:1rem}.gds-sortable-list-header-title{font-weight:600;font-size:1rem;line-height:1.25rem;font-style:normal}.gds-sortable-list-header-subtitle{font-size:.75rem;color:var(--gds-sys-color-text-primary);display:flex;justify-content:center;align-content:center}.gds-sortable-list-suffix{font-weight:400;font-size:.85rem}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.item-grip-icon{font-weight:400;padding:.75rem 1rem .75rem 0rem}.cdk-drop-list.cdk-drop-list-dragging{cursor:grabbing!important;pointer-events:all!important}.item-custom-placeholder.cdk-drag-placeholder{pointer-events:all!important}.cdk-drop-list.drag-enabled:not(.cdk-drag-placeholder) label{cursor:grab}.cdk-drop-list label:focus-visible{outline-color:#333;outline-offset:4px}.gds-sortable-list.cdk-drop-list-dragging .item-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1);pointer-events:all!important}.item-custom-placeholder{border:dotted 1px #999;min-height:44px;transition:transform .25s cubic-bezier(0,0,.2,1);border-radius:4px;margin:5px 0;padding:12px 12px 12px 16px}.user-icon{margin-right:.5rem}.item-control{width:100%;display:flex;flex-direction:row;justify-content:space-between}.gds-form-control.item-layout{display:flex;justify-content:space-between}\\n\"], dependencies: [{ 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: i1.NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }, { kind: \"directive\", type: i2.CdkDropList, selector: \"[cdkDropList], cdk-drop-list\", inputs: [\"cdkDropListConnectedTo\", \"cdkDropListData\", \"cdkDropListOrientation\", \"id\", \"cdkDropListLockAxis\", \"cdkDropListDisabled\", \"cdkDropListSortingDisabled\", \"cdkDropListEnterPredicate\", \"cdkDropListSortPredicate\", \"cdkDropListAutoScrollDisabled\", \"cdkDropListAutoScrollStep\", \"cdkDropListElementContainer\", \"cdkDropListHasAnchor\"], outputs: [\"cdkDropListDropped\", \"cdkDropListEntered\", \"cdkDropListExited\", \"cdkDropListSorted\"], exportAs: [\"cdkDropList\"] }, { kind: \"directive\", type: i2.CdkDropListGroup, selector: \"[cdkDropListGroup]\", inputs: [\"cdkDropListGroupDisabled\"], exportAs: [\"cdkDropListGroup\"] }, { kind: \"directive\", type: i2.CdkDrag, selector: \"[cdkDrag]\", inputs: [\"cdkDragData\", \"cdkDragLockAxis\", \"cdkDragRootElement\", \"cdkDragBoundary\", \"cdkDragStartDelay\", \"cdkDragFreeDragPosition\", \"cdkDragDisabled\", \"cdkDragConstrainPosition\", \"cdkDragPreviewClass\", \"cdkDragPreviewContainer\", \"cdkDragScale\"], outputs: [\"cdkDragStarted\", \"cdkDragReleased\", \"cdkDragEnded\", \"cdkDragEntered\", \"cdkDragExited\", \"cdkDragDropped\", \"cdkDragMoved\"], exportAs: [\"cdkDrag\"] }, { kind: \"directive\", type: i2.CdkDragPlaceholder, selector: \"ng-template[cdkDragPlaceholder]\", inputs: [\"data\"] }, { kind: \"directive\", type: i3.NggCoreElementDirective, selector: \"[nggCoreElement]\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: NggSortableListComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ngg-sortable-list', standalone: false, template: \"<div class=\\\"gds-sortable-list\\\">\\n <ng-container>\\n <p class=\\\"gds-sortable-list-header\\\">\\n <span class=\\\"gds-sortable-list-header-title\\\">{{ description }}</span>\\n </p>\\n <div #sortableListGroups cdkDropListGroup>\\n <div\\n *ngFor=\\\"let group of groups; let g_i = index\\\"\\n class=\\\"gds-sortable-list-group\\\"\\n [class.drag-enabled]=\\\"isDraggable && !isReadOnly\\\"\\n role=\\\"list\\\"\\n cdkDropList\\n [cdkDropListData]=\\\"group.items\\\"\\n [id]=\\\"g_i.toString()\\\"\\n (cdkDropListDropped)=\\\"onDragDrop($event)\\\"\\n >\\n <p\\n *ngIf=\\\"group.title && group.title.length > 0\\\"\\n class=\\\"gds-sortable-list-header\\\"\\n >\\n <span class=\\\"gds-sortable-list-header-title\\\">{{ group.title }}</span>\\n </p>\\n <p\\n *ngIf=\\\"group.description && group.description.length > 0\\\"\\n class=\\\"gds-sortable-list-header-description\\\"\\n >\\n {{ group.description }}\\n </p>\\n <div\\n *ngFor=\\\"let checklistItem of group.items; let i = index\\\"\\n [cdkDragDisabled]=\\\"!isDraggable || isReadOnly\\\"\\n [cdkDragData]=\\\"checklistItem\\\"\\n cdkDrag\\n cdkDragLockAxis=\\\"y\\\"\\n class=\\\"item-box\\\"\\n role=\\\"listitem\\\"\\n >\\n <div *cdkDragPlaceholder class=\\\"item-custom-placeholder\\\"></div>\\n <label\\n (keydown.alt.arrowDown)=\\\"onAltArrowKeydown(g_i, i, i + 1, $event)\\\"\\n (keydown.alt.arrowUp)=\\\"onAltArrowKeydown(g_i, i, i - 1, $event)\\\"\\n (keydown.arrowDown)=\\\"onArrowKeydown(g_i, i + 1, $event)\\\"\\n (keydown.arrowUp)=\\\"onArrowKeydown(g_i, i - 1, $event)\\\"\\n class=\\\"gds-form-control item-control align-items-center item\\\"\\n [tabindex]=\\\"shouldDisplayCheckboxes ? '-1' : '0'\\\"\\n >\\n <div class=\\\"gds-form-control\\\">\\n <input\\n (change)=\\\"toggleSelection(checklistItem)\\\"\\n [checked]=\\\"checklistItem.selected\\\"\\n [disabled]=\\\"isReadOnly\\\"\\n [type]=\\\"shouldDisplayCheckboxes ? 'checkbox' : 'hidden'\\\"\\n />\\n <div class=\\\"item-box-title\\\">\\n <span name=\\\"agendaItemName\\\"\\n >{{ checklistItem.name }}\\n <span\\n *ngIf=\\\"checklistItem.hasCustomSuffix\\\"\\n class=\\\"gds-sortable-list-suffix\\\"\\n >\\n <ng-container\\n *ngTemplateOutlet=\\\"\\n suffixTemplate;\\n context: { $implicit: checklistItem }\\n \\\"\\n class=\\\"user-icon\\\"\\n >\\n </ng-container>\\n </span>\\n </span>\\n <br />\\n <span *ngIf=\\\"!!checklistItem.description\\\">\\n <span\\n class=\\\"gds-sortable-list-suffix\\\"\\n name=\\\"agendaItemToolTip\\\"\\n >\\n {{ checklistItem.description }}\\n </span>\\n <br />\\n </span>\\n </div>\\n <i></i>\\n </div>\\n <div *ngIf=\\\"isDraggable && !isReadOnly\\\" class=\\\"item-grip-icon\\\">\\n <gds-icon-dot-grid-two *nggCoreElement></gds-icon-dot-grid-two>\\n </div>\\n </label>\\n </div>\\n </div>\\n </div>\\n </ng-container>\\n</div>\\n\", styles: [\".gds-sortable-list{width:100%;display:block}label.item{padding:0!important}.item-box{background-color:var(--gds-sys-color-background-primary);color:var(--gds-sys-color-text-primary);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;font-size:14px;margin:5px 0;border:1px solid var(--border-color);border-radius:4px}.gds-form-control{line-height:20px;font-size:16px;font-weight:500}.gds-sortable-list-header{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:1rem}.gds-sortable-list-header-title{font-weight:600;font-size:1rem;line-height:1.25rem;font-style:normal}.gds-sortable-list-header-subtitle{font-size:.75rem;color:var(--gds-sys-color-text-primary);display:flex;justify-content:center;align-content:center}.gds-sortable-list-suffix{font-weight:400;font-size:.85rem}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.item-grip-icon{font-weight:400;padding:.75rem 1rem .75rem 0rem}.cdk-drop-list.cdk-drop-list-dragging{cursor:grabbing!important;pointer-events:all!important}.item-custom-placeholder.cdk-drag-placeholder{pointer-events:all!important}.cdk-drop-list.drag-enabled:not(.cdk-drag-placeholder) label{cursor:grab}.cdk-drop-list label:focus-visible{outline-color:#333;outline-offset:4px}.gds-sortable-list.cdk-drop-list-dragging .item-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1);pointer-events:all!important}.item-custom-placeholder{border:dotted 1px #999;min-height:44px;transition:transform .25s cubic-bezier(0,0,.2,1);border-radius:4px;margin:5px 0;padding:12px 12px 12px 16px}.user-icon{margin-right:.5rem}.item-control{width:100%;display:flex;flex-direction:row;justify-content:space-between}.gds-form-control.item-layout{display:flex;justify-content:space-between}\\n\"] }]\n }], propDecorators: { groups: [{\n type: Input\n }], shouldDisplayCheckboxes: [{\n type: Input\n }], isReadOnly: [{\n type: Input\n }], isDraggable: [{\n type: Input\n }], description: [{\n type: Input\n }], suffixTemplate: [{\n type: Input\n }], itemSelectionChanged: [{\n type: Output\n }], itemOrderChanged: [{\n type: Output\n }], sortableListGroups: [{\n type: ViewChild,\n args: ['sortableListGroups']\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydGFibGUtbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc3JjL2xpYi9zb3J0YWJsZS1saXN0L3NvcnRhYmxlLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL3NyYy9saWIvc29ydGFibGUtbGlzdC9zb3J0YWJsZS1saXN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCxlQUFlLEVBQ2YsaUJBQWlCLEdBQ2xCLE1BQU0sd0JBQXdCLENBQUE7QUFDL0IsT0FBTyxFQUNMLFNBQVMsRUFDVCxVQUFVLEVBQ1YsWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEVBRU4sU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFBO0FB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gICB0cmFuc2ZlckFycmF5SXRlbShcbiAgICAgICAgZXZlbnQucHJldmlvdXNDb250YWluZXIuZGF0YSxcbiAgICAgICAgZXZlbnQuY29udGFpbmVyLmRhdGEsXG4gICAgICAgIGV2ZW50LnByZXZpb3VzSW5kZXgsXG4gICAgICAgIGV2ZW50LmN1cnJlbnRJbmRleCxcbiAgICAgIClcbiAgICB9XG5cbiAgICB0aGlzLmVtaXRJdGVtT3JkZXJDaGFuZ2VkKFxuICAgICAgW051bWJlcihldmVudC5wcmV2aW91c0NvbnRhaW5lci5pZCksIGV2ZW50LnByZXZpb3VzSW5kZXhdLFxuICAgICAgW051bWJlcihldmVudC5jb250YWluZXIuaWQpLCBldmVudC5jdXJyZW50SW5kZXhdLFxuICAgIClcbiAgfVxuXG4gIC8qKlxuICAgKiBIYW5kbGVzIG1vdmluZyBpdGVtcyB1cCBvciBkb3duIHVzaW5nIHRoZSBhbHQgKyBhcnJvdyB1cCBvciBhbHQgKyBhcnJvdyBkb3duIGtleXMuXG4gICAqXG4gICAqIEBwYXJhbSBncm91cEluZGV4IC0gVGhlIGluZGV4IG9mIHRoZSBncm91cC5cbiAgICogQHBhcmFtIGN1cnJlbnRJdGVtSW5kZXggLSBUaGUgY3VycmVudCBpbmRleCBvZiB0aGUgaXRlbS5cbiAgICogQHBhcmFtIG5ld0l0ZW1JbmRleCAtIFRoZSBuZXcgaW5kZXggb2YgdGhlIGl0ZW0uXG4gICAqL1xuICBvbkFsdEFycm93S2V5ZG93bihcbiAgICBncm91cEluZGV4OiBudW1iZXIsXG4gICAgY3VycmVudEl0ZW1JbmRleDogbnVtYmVyLFxuICAgIG5ld0l0ZW1JbmRleDogbnVtYmVyLFxuICAgIGV2ZW50OiBhbnksXG4gICkge1xuICAgIGV2ZW50LnByZXZlbnREZWZhdWx0KClcblxuICAgIGxldCBuZXdJbmRleCA9IG5ld0l0ZW1JbmRleFxuICAgIGxldCBuZXdHcm91cEluZGV4ID0gZ3JvdXBJbmRleFxuICAg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KVwiXG4gICAgICA+XG4gICAgICAgIDxwXG4gICAgICAgICAgKm5nSWY9XCJncm91cC50aXRsZSAmJiBncm91cC50aXRsZS5sZW5ndGggPiAwXCJcbiAgICAgICAgICBjbGFzcz1cImdkcy1zb3J0YWJsZS1saXN0LWhlYWRlclwiXG4gICAgICAgID5cbiAgICAgICAgICA8c3BhbiBjbGFzcz1cImdkcy1zb3J0YWJsZS1saXN0LWhlYWRlci10aXRsZVwiPnt7IGdyb3VwLnRpdGxlIH19PC9zcGFuPlxuICAgICAgICA8L3A+XG4gICAgICAgIDxwXG4gICAgICAgICAgKm5nSWY9XCJncm91cC5kZXNjcmlwdGlvbiAmJiBncm91cC5kZXNjcmlwdGlvbi5sZW5ndGggPiAwXCJcbiAgICAgICAgICBjbGFzcz1cImdkcy1zb3J0YWJsZS1saXN0LWhlYWRlci1kZXNjcmlwdGlvblwiXG4gICAgICAgID5cbiAgICAgICAgICB7eyBncm91cC5kZXNjcmlwdGlvbiB9fVxuICAgICAgICA8L3A+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICAqbmdGb3I9XCJsZXQgY2hlY2tsaXN0SXRlbSBvZiBncm91cC5pdGVtczsgbGV0IGkgPSBpbmRleFwiXG4gICAgICAgICAgW2Nka0RyYWdEaXNhYmxlZF09XCIhaXNEcmFnZ2FibGUgfHwgaXNSZWFkT25seVwiXG4gICAgICAgICAgW2Nka0RyYWdEYXRhXT1cImNoZWNrbGlzdEl0ZW1cIlxuICAgICAgICAgIGNka0RyYWdcbiAgICAgICAgICBjZGtEcmFnTG9ja0F4aXM9XCJ5XCJcbiAgICAgICAgICBjbGFzcz1cIml0ZW0tYm94XCJcbiAgICAgICAgICByb2xlPVwibGlzdGl0ZW1cIlxuICAgICAgICA+XG4gICAgICAgICAgPGRpdiAqY2RrRHJhZ1BsYWNlaG9sZGVyIGNsYXNzPVwiaXRlbS1jdXN0b20tcGxhY2Vob2xkZXJcIj48L2Rpdj5cbiAgICAgICAgICA8bGFiZWxcbiAgICAgICAgICAgIChrZXlkb3duLmFsdC5hcnJvd0Rvd24pPVwib25BbHRBcnJvd0tleWRvd24oZ19pLCBpLCBpICsgMSwgJGV2ZW50KVwiXG4gICAgICAgICAgICAoa2V5ZG93bi5hbHQuYXJyb3dVcCk9XCJvbkFsdEFycm93S2V5ZG93bihnX2ksIGksIGkgLSAxLCAkZXZlbnQpXCJcbiAgICAgICAgICAgIChrZXlkb3duLmFycm93RG93bik9XCJvbkFycm93S2V5ZG93bihnX2ksIGkgKyAxLCAkZXZlbnQpXCJcbiAgICAgICAgICAgIChrZXlkb3duLmFycm93VXApPVwib25BcnJvd0tleWRvd24oZ19pLCBpIC0gMSwgJGV2ZW50KVwiXG4gICAgICAgICAgICBjbGFzcz1cImdkcy1mb3JtLWNvbnRyb2wgaXRlbS1jb250cm9sIGFsaWduLWl0ZW1zLWNlbnRlciBpdGVtXCJcbiAgICAgICAgICAgIFt0YWJpbmRleF09XCJzaG91bGREaXNwbGF5Q2hlY2tib3hlcyA/ICctMScgOiAnMCdcIlxuICAgICAgICAgID5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJnZHMtZm9ybS1jb250cm9sXCI+XG4gICAgICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgICAgIChjaGFuZ2UpPVwidG9nZ2xlU2VsZWN0aW9uKGNoZWNrbGlzdEl0ZW0pXCJcbiAgICAgICAgICAgICAgICBbY2hlY2tlZF09XCJjaGVja2xpc3RJdGVtLnNlbGVjdGVkXCJcbiAgICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiaXNSZWFkT25seVwiXG4gICAgICAgICAgICAgICAgW3R5cGVdPVwic2hvdWxkRGlzcGxheUNoZWNrYm94ZXMgPyAnY2hlY2tib3gnIDogJ2hpZGRlbidcIlxuICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaXRlbS1ib3gtdGl0bGVcIj5cbiAgICAgICAgICAgICAgICA8c3BhbiBuYW1lPVwiYWdlbmRhSXRlbU5hbWVcIlxuICAgICAgICAgICAgICAgICAgPnt7IGNoZWNrbGlzdEl0ZW0ubmFtZSB9fVxuICAgICAgICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJjaGVja2xpc3RJdGVtLmhhc0N1c3RvbVN1ZmZpeFwiXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZ2RzLXNvcnRhYmxlLWxpc3Qtc3VmZml4XCJcbiAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgICAgICAgICAgICpuZ1RlbXBsYXRlT3V0bGV0PVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBzdWZmaXhUZW1wbGF0ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRleHQ6IHsgJGltcGxpY2l0OiBjaGVja2xpc3RJdGVtIH1cbiAgICAgICAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwidXNlci1pY29uXCJcbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICAgICAgPGJyIC8+XG4gICAgICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCIhIWNoZWNrbGlzdEl0ZW0uZGVzY3JpcHRpb25cIj5cbiAgICAgICAgICAgICAgICAgIDxzcGFuXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZ2RzLXNvcnRhYmxlLWxpc3Qtc3VmZml4XCJcbiAgICAgICAgICAgICAgICAgICAgbmFtZT1cImFnZW5kYUl0ZW1Ub29sVGlwXCJcbiAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAge3sgY2hlY2tsaXN0SXRlbS5kZXNjcmlwdGlvbiB9fVxuICAgICAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgICAgICAgPGJyIC8+XG4gICAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgPGk+PC9pPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8ZGl2ICpuZ0lmPVwiaXNEcmFnZ2FibGUgJiYgIWlzUmVhZE9ubHlcIiBjbGFzcz1cIml0ZW0tZ3JpcC1pY29uXCI+XG4gICAgICAgICAgICAgIDxnZHMtaWNvbi1kb3QtZ3JpZC10d28gKm5nZ0NvcmVFbGVtZW50PjwvZ2RzLWljb24tZG90LWdyaWQtdHdvPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9uZy1jb250YWluZXI+XG48L2Rpdj5cbiJdfQ==","import { DragDropModule } from '@angular/cdk/drag-drop';\nimport { CommonModule } from '@angular/common';\nimport { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { NggCoreWrapperModule } from '@sebgroup/green-angular/src/lib/shared';\nimport { NggSortableListComponent } from './sortable-list.component';\nimport * as i0 from \"@angular/core\";\nexport class NggSortableListModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: NggSortableListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.3.9\", ngImport: i0, type: NggSortableListModule, declarations: [NggSortableListComponent], imports: [CommonModule, FormsModule, DragDropModule, NggCoreWrapperModule], exports: [NggSortableListComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: NggSortableListModule, imports: [CommonModule, FormsModule, DragDropModule, NggCoreWrapperModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: NggSortableListModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, FormsModule, DragDropModule, NggCoreWrapperModule],\n exports: [NggSortableListComponent],\n declarations: [NggSortableListComponent],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydGFibGUtbGlzdC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc3JjL2xpYi9zb3J0YWJsZS1saXN0L3NvcnRhYmxlLWxpc3QubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQTtBQUN2RCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUE7QUFDOUMsT0FBTyxFQUFFLHNCQUFzQixFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQTtBQUNoRSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUE7QUFFNUMsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sd0NBQXdDLENBQUE7QUFDN0UsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sMkJBQTJCLENBQUE7O0FBUXBFLE1BQU0sT0FBTyxxQkFBcUI7OEdBQXJCLHFCQUFxQjsrR0FBckIscUJBQXFCLGlCQUhqQix3QkFBd0IsYUFGN0IsWUFBWSxFQUFFLFdBQVcsRUFBRSxjQUFjLEVBQUUsb0JBQW9CLGFBQy9ELHdCQUF3QjsrR0FJdk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dGlvbnM6IFtOZ2dTb3J0YWJsZUxpc3RDb21wb25lbnRdLFxuICBzY2hlbWFzOiBbQ1VTVE9NX0VMRU1FTlRTX1NDSEVNQV0sXG59KVxuZXhwb3J0IGNsYXNzIE5nZ1NvcnRhYmxlTGlzdE1vZHVsZSB7fVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ViZ3JvdXAtZ3JlZW4tYW5ndWxhci1zcmMtbGliLXNvcnRhYmxlLWxpc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc3JjL2xpYi9zb3J0YWJsZS1saXN0L3NlYmdyb3VwLWdyZWVuLWFuZ3VsYXItc3JjLWxpYi1zb3J0YWJsZS1saXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19"],"names":[],"mappings":";;;;;;;;;;;AAOO,MAAM,wBAAwB,CAAC;AACtC,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,MAAM,GAAG,EAAE;AACxB,QAAQ,IAAI,CAAC,uBAAuB,GAAG,KAAK;AAC5C,QAAQ,IAAI,CAAC,UAAU,GAAG,KAAK;AAC/B,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI;AAC/B,QAAQ,IAAI,CAAC,WAAW,GAAG,EAAE;AAC7B,QAAQ,IAAI,CAAC,cAAc,GAAG,IAAI;AAClC,QAAQ,IAAI,CAAC,oBAAoB,GAAG,IAAI,YAAY,EAAE;AACtD,QAAQ,IAAI,CA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,wBAAwB,CAAC;AAC5D,oBAAoB,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACrD,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACpBb;AACA;AACA;;;;"}
|
|
@@ -44,10 +44,10 @@ class AccountNumberPipe {
|
|
|
44
44
|
constructor() {
|
|
45
45
|
this.transform = (value, schema) => formatAccountNumber(value, schema);
|
|
46
46
|
}
|
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AccountNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
48
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.9", ngImport: i0, type: AccountNumberPipe, isStandalone: true, name: "accountNumber" }); }
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AccountNumberPipe, decorators: [{
|
|
51
51
|
type: Pipe,
|
|
52
52
|
args: [{
|
|
53
53
|
name: 'accountNumber',
|
|
@@ -56,11 +56,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
56
56
|
}] });
|
|
57
57
|
|
|
58
58
|
class NggvAccountNumberPipeModule {
|
|
59
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
60
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
61
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
59
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvAccountNumberPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
60
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.9", ngImport: i0, type: NggvAccountNumberPipeModule, imports: [CommonModule, AccountNumberPipe], exports: [AccountNumberPipe] }); }
|
|
61
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvAccountNumberPipeModule, imports: [CommonModule] }); }
|
|
62
62
|
}
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvAccountNumberPipeModule, decorators: [{
|
|
64
64
|
type: NgModule,
|
|
65
65
|
args: [{
|
|
66
66
|
declarations: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sebgroup-green-angular-src-v-angular-account-number.mjs","sources":["../../../../libs/angular/src/v-angular/account-number/account-number.pipe.ts","../../../../libs/angular/src/v-angular/account-number/account-number.module.ts","../../../../libs/angular/src/v-angular/account-number/sebgroup-green-angular-src-v-angular-account-number.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core'\n\nexport const enum SchemaType {\n IBAN = 'iban',\n BBAN = 'bban',\n}\n\nexport type AccountNumberSchema = 'iban' | 'bban'\n\nconst evaluateValueSchema = (value: string): AccountNumberSchema => {\n const countryCodePattern = /^[a-zA-Z]{2}/\n const hasCountryCode = countryCodePattern.test(value)\n return hasCountryCode ? SchemaType.IBAN : SchemaType.BBAN\n}\n\nexport const bbanPattern = /(\\d{4})(\\d{2})(\\d{3})/\nexport const ibanPattern = /[a-zA-Z0-9]{1,4}/g\n\n/**\n * Formats account number according to bban or iban standard, and adds non-breakable whitespace (\\u00A0) between number groups.\n *\n * Example:\n * BBAN format: 'XXXX XX XXX <XXXX>'\n * IBAN format: 'SEXX XXXX XXXX XXXX <XXXX>'\n *\n * @param value - account number value to format.\n * @param schema - accepts either 'iban' or 'bban'. If undefined, schema will be evaluated to 'iban' if value starts with 2 letters.\n * @returns - formatted value, or original value if schema could not be determined\n */\nexport const formatAccountNumber = (\n value: string,\n schema?: AccountNumberSchema,\n): string => {\n // evalue value schema to 'iban' or 'bban'\n if (!schema) schema = evaluateValueSchema(value)\n\n // if schema 'iban', return formatted value\n if (schema === SchemaType.BBAN)\n return value.replace(bbanPattern, '$1\\u00A0$2\\u00A0$3\\u00A0')\n\n // if schema 'iban', remove all white-spaces and other separators from the value\n const trimmedValue = value.replace(/\\s|-/g, '')\n if (schema === SchemaType.IBAN)\n return trimmedValue.replace(ibanPattern, (match: string, offset: number) =>\n offset ? `\\u00A0${match}` : match,\n )\n\n // return untouched value if unable to determine schema\n return value\n}\n\n/**\n * Pipe for formatting account number according to bban or iban standard, and adds non-breakable whitespace (\\u00A0) between number groups.\n *\n * BBAN format: 'XXXX XX XXX <XXXX>'\n * IBAN format: 'SEXX XXXX XXXX XXXX <XXXX>'\n */\n@Pipe({\n name: 'accountNumber',\n standalone: true,\n})\nexport class AccountNumberPipe implements PipeTransform {\n transform = (value: string, schema?: AccountNumberSchema): string =>\n formatAccountNumber(value, schema)\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { AccountNumberPipe } from './account-number.pipe'\n\n@NgModule({\n declarations: [],\n imports: [CommonModule, AccountNumberPipe],\n exports: [AccountNumberPipe],\n})\nexport class NggvAccountNumberPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AASA,MAAM,mBAAmB,GAAG,CAAC,KAAa,KAAyB;IACjE,MAAM,kBAAkB,GAAG,cAAc;IACzC,MAAM,cAAc,GAAG,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC;AACrD,IA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MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,EAAA,OAAA,EAAA,CAH5B,YAAY,EAAE,iBAAiB,aAC/B,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAEhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,YAH5B,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAGX,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBALvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC;oBAC1C,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC7B,iBAAA;;;ACTD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"sebgroup-green-angular-src-v-angular-account-number.mjs","sources":["../tmp-esm2022/src/v-angular/account-number/account-number.pipe.js","../tmp-esm2022/src/v-angular/account-number/account-number.module.js","../tmp-esm2022/src/v-angular/account-number/sebgroup-green-angular-src-v-angular-account-number.js"],"sourcesContent":["import { Pipe } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nconst evaluateValueSchema = (value) => {\n const countryCodePattern = /^[a-zA-Z]{2}/;\n const hasCountryCode = countryCodePattern.test(value);\n return hasCountryCode ? \"iban\" /* SchemaType.IBAN */ : \"bban\" /* SchemaType.BBAN */;\n};\nexport const bbanPattern = /(\\d{4})(\\d{2})(\\d{3})/;\nexport const ibanPattern = /[a-zA-Z0-9]{1,4}/g;\n/**\n * Formats account number according to bban or iban standard, and adds non-breakable whitespace (\\u00A0) between number groups.\n *\n * Example:\n * BBAN format: 'XXXX XX XXX <XXXX>'\n * IBAN format: 'SEXX XXXX XXXX XXXX <XXXX>'\n *\n * @param value - account number value to format.\n * @param schema - accepts either 'iban' or 'bban'. If undefined, schema will be evaluated to 'iban' if value starts with 2 letters.\n * @returns - formatted value, or original value if schema could not be determined\n */\nexport const formatAccountNumber = (value, schema) => {\n // evalue value schema to 'iban' or 'bban'\n if (!schema)\n schema = evaluateValueSchema(value);\n // if schema 'iban', return formatted value\n if (schema === \"bban\" /* SchemaType.BBAN */)\n return value.replace(bbanPattern, '$1\\u00A0$2\\u00A0$3\\u00A0');\n // if schema 'iban', remove all white-spaces and other separators from the value\n const trimmedValue = value.replace(/\\s|-/g, '');\n if (schema === \"iban\" /* SchemaType.IBAN */)\n return trimmedValue.replace(ibanPattern, (match, offset) => offset ? `\\u00A0${match}` : match);\n // return untouched value if unable to determine schema\n return value;\n};\n/**\n * Pipe for formatting account number according to bban or iban standard, and adds non-breakable whitespace (\\u00A0) between number groups.\n *\n * BBAN format: 'XXXX XX XXX <XXXX>'\n * IBAN format: 'SEXX XXXX XXXX XXXX <XXXX>'\n */\nexport class AccountNumberPipe {\n constructor() {\n this.transform = (value, schema) => formatAccountNumber(value, schema);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: AccountNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"20.3.9\", ngImport: i0, type: AccountNumberPipe, isStandalone: true, name: \"accountNumber\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: AccountNumberPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'accountNumber',\n standalone: true,\n }]\n }] });\n//# source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0byBiYmFuIG9yIGliYW4gc3RhbmRhcmQsIGFuZCBhZGRzIG5vbi1icmVha2FibGUgd2hpdGVzcGFjZSAoXFx1MDBBMCkgYmV0d2VlbiBudW1iZXIgZ3JvdXBzLlxuICpcbiAqIEJCQU4gZm9ybWF0OiAnWFhYWCBYWCBYWFggPFhYWFg+J1xuICogSUJBTiBmb3JtYXQ6ICdTRVhYIFhYWFggWFhYWCBYWFhYIDxYWFhYPidcbiAqL1xuQFBpcGUoe1xuICBuYW1lOiAnYWNjb3VudE51bWJlcicsXG4gIHN0YW5kYWxvbmU6IHRydWUsXG59KVxuZXhwb3J0IGNsYXNzIEFjY291bnROdW1iZXJQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHRyYW5zZm9ybSA9ICh2YWx1ZTogc3RyaW5nLCBzY2hlbWE/OiBBY2NvdW50TnVtYmVyU2NoZW1hKTogc3RyaW5nID0+XG4gICAgZm9ybWF0QWNjb3VudE51bWJlcih2YWx1ZSwgc2NoZW1hKVxufVxuIl19","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AccountNumberPipe } from './account-number.pipe';\nimport * as i0 from \"@angular/core\";\nexport class NggvAccountNumberPipeModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: NggvAccountNumberPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.3.9\", ngImport: i0, type: NggvAccountNumberPipeModule, imports: [CommonModule, AccountNumberPipe], exports: [AccountNumberPipe] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: NggvAccountNumberPipeModule, imports: [CommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: NggvAccountNumberPipeModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [CommonModule, AccountNumberPipe],\n exports: [AccountNumberPipe],\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1udW1iZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL3NyYy92LWFuZ3VsYXIvYWNjb3VudC1udW1iZXIvYWNjb3VudC1udW1iZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQTtBQUM5QyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBRXhDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFBOztBQU96RCxNQUFNLE9BQU8sMkJBQTJCOzhHQUEzQiwyQkFBMkI7K0dBQTNCLDJCQUEyQixZQUg1QixZQUFZLEVBQUUsaUJBQWlCLGFBQy9CLGlCQUFpQjsrR0FFaEIsMkJBQTJCLFlBSDVCLFlBQVk7OzJGQUdYLDJCQUEyQjtrQkFMdkMsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsRUFBRTtvQkFDaEIsT0FBTyxFQUFFLENBQUMsWUFBWSxFQUFFLGlCQUFpQixDQUFDO29CQUMxQyxPQUFPLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQztpQkFDN0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nXG5pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnXG5cbmltcG9ydCB7IEFjY291bnROdW1iZXJQaXBlIH0gZnJvbSAnLi9hY2NvdW50LW51bWJlci5waXBlJ1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBBY2NvdW50TnVtYmVyUGlwZV0sXG4gIGV4cG9ydHM6IFtBY2NvdW50TnVtYmVyUGlwZV0sXG59KVxuZXhwb3J0IGNsYXNzIE5nZ3ZBY2NvdW50TnVtYmVyUGlwZU1vZHVsZSB7fVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2ViZ3JvdXAtZ3JlZW4tYW5ndWxhci1zcmMtdi1hbmd1bGFyLWFjY291bnQtbnVtYmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL3NyYy92LWFuZ3VsYXIvYWNjb3VudC1udW1iZXIvc2ViZ3JvdXAtZ3JlZW4tYW5ndWxhci1zcmMtdi1hbmd1bGFyLWFjY291bnQtbnVtYmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19"],"names":[],"mappings":";;;;AAEA,MAAM,mBAAmB,GAAG,CAAC,KAAK,KAAK;AACvC,IAAI,MAAM,kBAAkB,GAAG,cAAc;AAC7C,IAAI,MAAM,cAAc,GAAG,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC;AACzD,IAAI,OAAO,cAAc,GAAG,MAAM,yBAAyB,MAAM;AACjE,CAAC;AACW,MAAC,WAAW,GAAG;AACf,MAAC,WAAW,GAAG;A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AAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,2BAA2B,EAAE,UAAU,EAAE,CAAC;AACrI,YAAY,IAAI,EAAE,QAAQ;AAC1B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,YAAY,EAAE,EAAE;AACpC,oBAAoB,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC;AAC9D,oBAAoB,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAChD,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AChBb;AACA;AACA;;;;"}
|
|
@@ -28,12 +28,12 @@ class AlertComponent {
|
|
|
28
28
|
onAction(e) {
|
|
29
29
|
this.clickAction.emit(e);
|
|
30
30
|
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", type: AlertComponent, isStandalone: false, selector: "nggv-alert", inputs: { type: "type", title: "title", body: "body", linkText: "linkText", linkHref: "linkHref", actionText: "actionText", closable: "closable" }, outputs: { closeAlert: "closeAlert", clickLink: "clickLink", clickAction: "clickAction" }, ngImport: i0, template: "<div class=\"gds-alert-ribbon alert-container\" role=\"alert\" [ngClass]=\"type\">\n <ng-container [ngSwitch]=\"type\">\n <ng-container\n *ngSwitchCase=\"'success'\"\n [ngTemplateOutlet]=\"checkMark\"\n ></ng-container>\n <ng-container\n *ngSwitchCase=\"'information'\"\n [ngTemplateOutlet]=\"infoSquare\"\n ></ng-container>\n <ng-container\n *ngSwitchDefault\n [ngTemplateOutlet]=\"exclamationSquare\"\n ></ng-container>\n </ng-container>\n <div>\n <h3 *ngIf=\"title\">{{ title }}</h3>\n <p *ngIf=\"body\">\n {{ body }} <a\n *ngIf=\"linkText\"\n [href]=\"linkHref\"\n (click)=\"onLink($event)\"\n >{{ linkText }}</a\n >\n </p>\n </div>\n <button\n *ngIf=\"closable && !actionText\"\n class=\"gds-close\"\n type=\"button\"\n (click)=\"onClose($event)\"\n >\n <i></i>\n </button>\n <footer *ngIf=\"actionText && !closable\">\n <button type=\"button\" (click)=\"onAction($event)\">\n {{ actionText }}\n </button>\n </footer>\n</div>\n\n<ng-template #checkMark>\n <i>\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M17.6203 6.60836L9.40014 14.8285L6.37976 11.8081C6.23332 11.6617 5.99588 11.6617 5.84942 11.8081L4.96554 12.692C4.8191 12.8384 4.8191 13.0759 4.96554 13.2223L9.13495 17.3917C9.28138 17.5382 9.51882 17.5382 9.66529 17.3917L19.0344 8.02258C19.1809 7.87614 19.1809 7.63871 19.0344 7.49224L18.1506 6.60836C18.0041 6.46193 17.7667 6.46193 17.6203 6.60836Z\"\n fill=\"white\"\n ></path>\n </svg>\n </i>\n</ng-template>\n<ng-template #infoSquare>\n <i>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18.2857 4H5.71429C4.7675 4 4 4.7675 4 5.71429V18.2857C4 19.2325 4.7675 20 5.71429 20H18.2857C19.2325 20 20 19.2325 20 18.2857V5.71429C20 4.7675 19.2325 4 18.2857 4ZM12 7.07143C12.8284 7.07143 13.5 7.743 13.5 8.57143C13.5 9.39986 12.8284 10.0714 12 10.0714C11.1716 10.0714 10.5 9.39986 10.5 8.57143C10.5 7.743 11.1716 7.07143 12 7.07143ZM14 16.1429C14 16.3795 13.8081 16.5714 13.5714 16.5714H10.4286C10.1919 16.5714 10 16.3795 10 16.1429V15.2857C10 15.049 10.1919 14.8571 10.4286 14.8571H10.8571V12.5714H10.4286C10.1919 12.5714 10 12.3795 10 12.1429V11.2857C10 11.049 10.1919 10.8571 10.4286 10.8571H12.7143C12.951 10.8571 13.1429 11.049 13.1429 11.2857V14.8571H13.5714C13.8081 14.8571 14 15.049 14 15.2857V16.1429Z\"\n fill=\"#333333\"\n />\n </svg>\n </i>\n</ng-template>\n<ng-template #exclamationSquare>\n <i>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18.2857 4H5.71429C4.7675 4 4 4.7675 4 5.71429V18.2857C4 19.2325 4.7675 20 5.71429 20H18.2857C19.2325 20 20 19.2325 20 18.2857V5.71429C20 4.7675 19.2325 4 18.2857 4ZM10.8682 7.42857H13.1318C13.3777 7.42857 13.5731 7.635 13.5597 7.8805L13.2948 12.7376C13.2824 12.9649 13.0945 13.1429 12.8669 13.1429H11.1331C10.9055 13.1429 10.7176 12.9649 10.7052 12.7376L10.4402 7.8805C10.4269 7.635 10.6223 7.42857 10.8682 7.42857ZM12 17.0714C11.0927 17.0714 10.3571 16.3359 10.3571 15.4286C10.3571 14.5213 11.0927 13.7857 12 13.7857C12.9073 13.7857 13.6429 14.5213 13.6429 15.4286C13.6429 16.3359 12.9073 17.0714 12 17.0714Z\"\n fill=\"currentColor\"\n />\n </svg>\n </i>\n</ng-template>\n", styles: [".gds-alert-ribbon{--background: var(--gds-sys-color-base-200);--color: var(--gds-sys-color-text-primary);--border-color: var(--gds-sys-color-text-primary);background:var(--background);border-radius:0;border:solid 1px var(--border-color);color:var(--color);padding:1rem;display:inline-grid;grid-template-columns:auto 1fr auto;grid-template-rows:min-content 1fr;grid-template-areas:\"icon content dismiss\" \"footer footer footer\"}@media(min-width:36em){.gds-alert-ribbon{grid-template-areas:\"icon content dismiss\" \"icon content footer\"}}.gds-alert-ribbon>i{display:block;width:1.5rem;height:1.5rem;margin-inline-end:.5rem;grid-area:icon}.gds-alert-ribbon>i svg>*{fill:var(--gds-sys-color-text-primary)}.gds-alert-ribbon>div:not(.alert-ribbon__footer),.gds-alert-ribbon .alert-ribbon__content{grid-area:content;max-width:75ch}.gds-alert-ribbon>div:not(.alert-ribbon__footer):has(+button),.gds-alert-ribbon .alert-ribbon__content:has(+button){padding-right:.5rem}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>h1,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h2,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h3,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h4,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h5,.gds-alert-ribbon>div:not(.alert-ribbon__footer) .header,.gds-alert-ribbon .alert-ribbon__content>h1,.gds-alert-ribbon .alert-ribbon__content h2,.gds-alert-ribbon .alert-ribbon__content h3,.gds-alert-ribbon .alert-ribbon__content h4,.gds-alert-ribbon .alert-ribbon__content h5,.gds-alert-ribbon .alert-ribbon__content .header{display:inline;font-size:1rem;font-weight:500;line-height:1.5rem;margin-right:.25rem}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p,.gds-alert-ribbon .alert-ribbon__content>p{display:inline;line-height:1.5rem;margin-bottom:0;margin-top:0}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a,.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:visited:not(.button,[role=tab]),.gds-alert-ribbon .alert-ribbon__content>p a,.gds-alert-ribbon .alert-ribbon__content>p a:visited:not(.button,[role=tab]){color:var(--color)}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:hover,.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:visited:not(.button,[role=tab]):hover,.gds-alert-ribbon .alert-ribbon__content>p a:hover,.gds-alert-ribbon .alert-ribbon__content>p a:visited:not(.button,[role=tab]):hover{color:var(--color)}.gds-alert-ribbon button.gds-close{padding:0;grid-area:dismiss;justify-self:flex-end;margin:-.5rem -.375rem 0 .375rem;background-color:transparent;--color: var(--gds-sys-color-text-primary)}.gds-alert-ribbon button.gds-close>i:after,.gds-alert-ribbon button.gds-close>i:before{background-color:var(--color)}.gds-alert-ribbon button.gds-close:hover>i:after,.gds-alert-ribbon button.gds-close:hover>i:before{background-color:var(--color)}@media(min-width:36em){.gds-alert-ribbon button.gds-close+footer,.gds-alert-ribbon button.gds-close .alert-ribbon__footer{margin-top:.75rem}}.gds-alert-ribbon a{text-decoration:underline!important;transition:opacity .3s ease-in-out}.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{grid-area:footer;align-self:end}@media(max-width:35.98em){.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{margin-top:.75rem}}@media(min-width:36em){.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{margin-left:.75rem}}.gds-alert-ribbon>footer>a,.gds-alert-ribbon .alert-ribbon__footer>a{display:flex}.gds-alert-ribbon>footer>a,.gds-alert-ribbon>footer>button,.gds-alert-ribbon>footer>button[type=button],.gds-alert-ribbon>footer>.button,.gds-alert-ribbon .alert-ribbon__footer>a,.gds-alert-ribbon .alert-ribbon__footer>button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button],.gds-alert-ribbon .alert-ribbon__footer>.button{min-height:2rem;padding:.4375rem .75rem;line-height:1.125rem}@media(max-width:35.98em){.gds-alert-ribbon>footer>a+a,.gds-alert-ribbon>footer>a+button,.gds-alert-ribbon>footer>a+.button,.gds-alert-ribbon>footer>button+a,.gds-alert-ribbon>footer>button+button,.gds-alert-ribbon>footer>button+.button,.gds-alert-ribbon>footer>button[type=button]+a,.gds-alert-ribbon>footer>button[type=button]+button,.gds-alert-ribbon>footer>button[type=button]+.button,.gds-alert-ribbon>footer>.button+a,.gds-alert-ribbon>footer>.button+button,.gds-alert-ribbon>footer>.button+.button,.gds-alert-ribbon .alert-ribbon__footer>a+a,.gds-alert-ribbon .alert-ribbon__footer>a+button,.gds-alert-ribbon .alert-ribbon__footer>a+.button,.gds-alert-ribbon .alert-ribbon__footer>button+a,.gds-alert-ribbon .alert-ribbon__footer>button+button,.gds-alert-ribbon .alert-ribbon__footer>button+.button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+a,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+.button,.gds-alert-ribbon .alert-ribbon__footer>.button+a,.gds-alert-ribbon .alert-ribbon__footer>.button+button,.gds-alert-ribbon .alert-ribbon__footer>.button+.button{margin-top:.75rem}}@media(min-width:36em){.gds-alert-ribbon>footer>a+a,.gds-alert-ribbon>footer>a+button,.gds-alert-ribbon>footer>a+.button,.gds-alert-ribbon>footer>button+a,.gds-alert-ribbon>footer>button+button,.gds-alert-ribbon>footer>button+.button,.gds-alert-ribbon>footer>button[type=button]+a,.gds-alert-ribbon>footer>button[type=button]+button,.gds-alert-ribbon>footer>button[type=button]+.button,.gds-alert-ribbon>footer>.button+a,.gds-alert-ribbon>footer>.button+button,.gds-alert-ribbon>footer>.button+.button,.gds-alert-ribbon .alert-ribbon__footer>a+a,.gds-alert-ribbon .alert-ribbon__footer>a+button,.gds-alert-ribbon .alert-ribbon__footer>a+.button,.gds-alert-ribbon .alert-ribbon__footer>button+a,.gds-alert-ribbon .alert-ribbon__footer>button+button,.gds-alert-ribbon .alert-ribbon__footer>button+.button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+a,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+.button,.gds-alert-ribbon .alert-ribbon__footer>.button+a,.gds-alert-ribbon .alert-ribbon__footer>.button+button,.gds-alert-ribbon .alert-ribbon__footer>.button+.button{margin-left:.75rem}}.gds-alert-ribbon.info{--background: var(--gds-sys-color-base-200);--color: var(--gds-sys-color-text-black);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-black)}.gds-alert-ribbon.info .gds-close{--color: var(--gds-sys-color-text-black)}.gds-alert-ribbon.info i>svg>*{fill:var(--gds-sys-color-text-black)}.gds-alert-ribbon.success{--background: var(--gds-sys-color-dark-green-2);--color: var(--gds-sys-color-text-inverted);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.success .gds-close{--color: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.success i>svg>*{fill:var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.warning{--background: var(--gds-sys-color-dark-yellow-1);--color: var(--gds-sys-color-text-black);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-black)}.gds-alert-ribbon.warning .gds-close{--color: var(--gds-sys-color-text-black)}.gds-alert-ribbon.warning i>svg>*{fill:var(--gds-sys-color-text-black)}.gds-alert-ribbon.danger{--background: var(--gds-sys-color-dark-red-1);--color: var(--gds-sys-color-text-inverted);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.danger .gds-close{--color: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.danger i>svg>*{fill:var(--gds-sys-color-text-inverted)}.gds-close{font-size:0;background:transparent;border:0;border-radius:50%;content:\"\";cursor:pointer;display:flex;font-family:inherit;height:2rem;position:relative;width:2rem;padding:0}@media(hover:none)and (pointer:coarse){.gds-close:not(:disabled):not(.disabled){padding:.375rem;height:2.75rem;width:2.75rem}.gds-close:not(:disabled):not(.disabled)>i{background:var(--gds-sys-color-base-200);height:2rem;width:2rem;border-radius:50%;position:relative;--color: var(--gds-sys-color-text-primary)}.gds-close:not(:disabled):not(.disabled)>div:after,.gds-close:not(:disabled):not(.disabled)>div:before{height:.789375rem;width:.130625rem;top:.625rem}}.gds-close:focus:not(:focus-visible){box-shadow:none;outline:0}.gds-close:focus,.gds-close:focus-visible i{outline-color:var(--gds-sys-color-focus-outline);outline-style:solid;outline-width:.125rem;outline-offset:.125rem}.gds-close>i{border-radius:var(--gds-sys-shape-corner-round);display:block;width:100%;height:100%}.gds-close>i:after,.gds-close>i:before{background:var(--gds-sys-color-text-primary);content:\"\";display:block;height:.789375rem;width:.130625rem;border-radius:.5px;left:calc(50% - .0625rem);position:absolute;top:.625rem}.gds-close>i:after{transform:rotate(45deg)}.gds-close>i:before{transform:rotate(-45deg)}.gds-close>svg path{fill:var(--gds-sys-color-text-primary)}@media(min-width:48em){.gds-close:not(:disabled,.disabled):hover>i{background:color-mix(in srgb,var(--gds-sys-color-text-primary) 10%,transparent)}.gds-close:not(:disabled,.disabled):hover:active>i{background:color-mix(in srgb,var(--gds-sys-color-text-primary) 20%,transparent)}}:host{--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-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)}:host .alert-container{box-sizing:border-box;width:100%}:host .alert-container a{cursor:pointer}:host .alert-container button{font-size:1rem;font-family:inherit}:host .alert-container button:not(.gds-close){padding:.75rem 1rem;border-radius:.25rem;border:solid 1px var(--gds-sys-color-base-600);font-weight:500}:host .alert-container button:not(.gds-close):focus:not(:focus-visible){box-shadow:none;outline:0}:host .alert-container button:not(.gds-close):focus,:host .alert-container button:not(.gds-close):focus-visible{outline-color:var(--gds-sys-color-focus-outline);outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .alert-container button:not(.gds-close){min-height:2.75rem;align-items:center;display:inline-flex;justify-content:center}@media(max-width:35.98em){:host .alert-container button:not(.gds-close){min-width:100%}}@media screen and (-ms-high-contrast:active){:host .alert-container button:not(.gds-close){border:2px solid currentcolor}}:host .alert-container button:not(.gds-close).small{min-height:2rem;height:2rem;padding:.4375rem .75rem;font-size:.875rem;line-height:1rem}:host .alert-container button:not(.gds-close).large{min-height:4rem;padding:1rem 1.5rem;font-size:1.5rem;line-height:2rem}:host .alert-container.information button:not(.gds-close),:host .alert-container.warning button:not(.gds-close){transition:border var(--gds-sys-transition)}:host .alert-container.information button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover,:host .alert-container.warning button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover{background:var(--gds-sys-color-base-800);color:var(--gds-sys-color-text-white);--background: var(--gds-sys-color-base-800);--color: var(--gds-sys-color-text-white);border-color:var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close)[aria-selected=true],:host .alert-container.information button:not(.gds-close):active,:host .alert-container.information button:not(.gds-close).active,:host .alert-container.information button:not(.gds-close).active:hover,:host .alert-container.information button:not(.gds-close):active:hover,:host .alert-container.warning button:not(.gds-close)[aria-selected=true],:host .alert-container.warning button:not(.gds-close):active,:host .alert-container.warning button:not(.gds-close).active,:host .alert-container.warning button:not(.gds-close).active:hover,:host .alert-container.warning button:not(.gds-close):active:hover{background:var(--gds-sys-color-base-800);color:var(--gds-sys-color-text-white);--background: $bg;--color: $color;border-color:var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close)[aria-selected]:hover,:host .alert-container.information button:not(.gds-close).active:hover,:host .alert-container.information button:not(.gds-close):active:hover,:host .alert-container.warning button:not(.gds-close)[aria-selected]:hover,:host .alert-container.warning button:not(.gds-close).active:hover,:host .alert-container.warning button:not(.gds-close):active:hover{opacity:.9}:host .alert-container.information button:not(.gds-close),:host .alert-container.warning button:not(.gds-close){background-color:transparent;border-color:var(--gds-sys-color-base-800);color:var(--gds-sys-color-base-800);--color: var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close):disabled,:host .alert-container.information button:not(.gds-close).disabled,:host .alert-container.information button:not(.gds-close)[aria-disabled=true],:host .alert-container.warning button:not(.gds-close):disabled,:host .alert-container.warning button:not(.gds-close).disabled,:host .alert-container.warning button:not(.gds-close)[aria-disabled=true]{color:var(--gds-sys-color-text-disabled)!important;border-color:var(--gds-sys-color-text-disabled)!important;cursor:not-allowed}:host .alert-container.information button:not(.gds-close):disabled::placeholder,:host .alert-container.information button:not(.gds-close).disabled::placeholder,:host .alert-container.information button:not(.gds-close)[aria-disabled=true]::placeholder,:host .alert-container.warning button:not(.gds-close):disabled::placeholder,:host .alert-container.warning button:not(.gds-close).disabled::placeholder,:host .alert-container.warning button:not(.gds-close)[aria-disabled=true]::placeholder{color:var(--gds-sys-color-text-disabled)}:host .alert-container.success button:not(.gds-close),:host .alert-container.danger button:not(.gds-close){--gds-sys-color-focus-outline: var(--gds-sys-color-white);transition:border var(--gds-sys-transition)}:host .alert-container.success button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover,:host .alert-container.danger button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover{background:var(--gds-sys-color-white);color:var(--gds-sys-color-text-primary);--background: var(--gds-sys-color-white);--color: var(--gds-sys-color-text-primary);border-color:var(--gds-sys-color-white)}:host .alert-container.success button:not(.gds-close)[aria-selected=true],:host .alert-container.success button:not(.gds-close):active,:host .alert-container.success button:not(.gds-close).active,:host .alert-container.success button:not(.gds-close).active:hover,:host .alert-container.success button:not(.gds-close):active:hover,:host .alert-container.danger button:not(.gds-close)[aria-selected=true],:host .alert-container.danger button:not(.gds-close):active,:host .alert-container.danger button:not(.gds-close).active,:host .alert-container.danger button:not(.gds-close).active:hover,:host .alert-container.danger button:not(.gds-close):active:hover{background:var(--gds-sys-color-base-200);color:var(--gds-sys-color-text-primary);--background: $bg;--color: $color;border-color:var(--gds-sys-color-base-200)}:host .alert-container.success button:not(.gds-close)[aria-selected]:hover,:host .alert-container.success button:not(.gds-close).active:hover,:host .alert-container.success button:not(.gds-close):active:hover,:host .alert-container.danger button:not(.gds-close)[aria-selected]:hover,:host .alert-container.danger button:not(.gds-close).active:hover,:host .alert-container.danger button:not(.gds-close):active:hover{opacity:.9}:host .alert-container.success button:not(.gds-close),:host .alert-container.danger button:not(.gds-close){background-color:transparent;border-color:var(--gds-sys-color-white);color:var(--gds-sys-color-white);--color: var(--gds-sys-color-white)}:host .alert-container.success button:not(.gds-close):disabled,:host .alert-container.success button:not(.gds-close).disabled,:host .alert-container.success button:not(.gds-close)[aria-disabled=true],:host .alert-container.danger button:not(.gds-close):disabled,:host .alert-container.danger button:not(.gds-close).disabled,:host .alert-container.danger button:not(.gds-close)[aria-disabled=true]{color:var(--gds-sys-color-text-disabled)!important;border-color:var(--gds-sys-color-text-disabled)!important;cursor:not-allowed}:host .alert-container.success button:not(.gds-close):disabled::placeholder,:host .alert-container.success button:not(.gds-close).disabled::placeholder,:host .alert-container.success button:not(.gds-close)[aria-disabled=true]::placeholder,:host .alert-container.danger button:not(.gds-close):disabled::placeholder,:host .alert-container.danger button:not(.gds-close).disabled::placeholder,:host .alert-container.danger button:not(.gds-close)[aria-disabled=true]::placeholder{color:var(--gds-sys-color-text-disabled)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }] }); }
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.9", type: AlertComponent, isStandalone: false, selector: "nggv-alert", inputs: { type: "type", title: "title", body: "body", linkText: "linkText", linkHref: "linkHref", actionText: "actionText", closable: "closable" }, outputs: { closeAlert: "closeAlert", clickLink: "clickLink", clickAction: "clickAction" }, ngImport: i0, template: "<div class=\"gds-alert-ribbon alert-container\" role=\"alert\" [ngClass]=\"type\">\n <ng-container [ngSwitch]=\"type\">\n <ng-container\n *ngSwitchCase=\"'success'\"\n [ngTemplateOutlet]=\"checkMark\"\n ></ng-container>\n <ng-container\n *ngSwitchCase=\"'information'\"\n [ngTemplateOutlet]=\"infoSquare\"\n ></ng-container>\n <ng-container\n *ngSwitchDefault\n [ngTemplateOutlet]=\"exclamationSquare\"\n ></ng-container>\n </ng-container>\n <div>\n <h3 *ngIf=\"title\">{{ title }}</h3>\n <p *ngIf=\"body\">\n {{ body }} <a\n *ngIf=\"linkText\"\n [href]=\"linkHref\"\n (click)=\"onLink($event)\"\n >{{ linkText }}</a\n >\n </p>\n </div>\n <button\n *ngIf=\"closable && !actionText\"\n class=\"gds-close\"\n type=\"button\"\n (click)=\"onClose($event)\"\n >\n <i></i>\n </button>\n <footer *ngIf=\"actionText && !closable\">\n <button type=\"button\" (click)=\"onAction($event)\">\n {{ actionText }}\n </button>\n </footer>\n</div>\n\n<ng-template #checkMark>\n <i>\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M17.6203 6.60836L9.40014 14.8285L6.37976 11.8081C6.23332 11.6617 5.99588 11.6617 5.84942 11.8081L4.96554 12.692C4.8191 12.8384 4.8191 13.0759 4.96554 13.2223L9.13495 17.3917C9.28138 17.5382 9.51882 17.5382 9.66529 17.3917L19.0344 8.02258C19.1809 7.87614 19.1809 7.63871 19.0344 7.49224L18.1506 6.60836C18.0041 6.46193 17.7667 6.46193 17.6203 6.60836Z\"\n fill=\"white\"\n ></path>\n </svg>\n </i>\n</ng-template>\n<ng-template #infoSquare>\n <i>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18.2857 4H5.71429C4.7675 4 4 4.7675 4 5.71429V18.2857C4 19.2325 4.7675 20 5.71429 20H18.2857C19.2325 20 20 19.2325 20 18.2857V5.71429C20 4.7675 19.2325 4 18.2857 4ZM12 7.07143C12.8284 7.07143 13.5 7.743 13.5 8.57143C13.5 9.39986 12.8284 10.0714 12 10.0714C11.1716 10.0714 10.5 9.39986 10.5 8.57143C10.5 7.743 11.1716 7.07143 12 7.07143ZM14 16.1429C14 16.3795 13.8081 16.5714 13.5714 16.5714H10.4286C10.1919 16.5714 10 16.3795 10 16.1429V15.2857C10 15.049 10.1919 14.8571 10.4286 14.8571H10.8571V12.5714H10.4286C10.1919 12.5714 10 12.3795 10 12.1429V11.2857C10 11.049 10.1919 10.8571 10.4286 10.8571H12.7143C12.951 10.8571 13.1429 11.049 13.1429 11.2857V14.8571H13.5714C13.8081 14.8571 14 15.049 14 15.2857V16.1429Z\"\n fill=\"#333333\"\n />\n </svg>\n </i>\n</ng-template>\n<ng-template #exclamationSquare>\n <i>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18.2857 4H5.71429C4.7675 4 4 4.7675 4 5.71429V18.2857C4 19.2325 4.7675 20 5.71429 20H18.2857C19.2325 20 20 19.2325 20 18.2857V5.71429C20 4.7675 19.2325 4 18.2857 4ZM10.8682 7.42857H13.1318C13.3777 7.42857 13.5731 7.635 13.5597 7.8805L13.2948 12.7376C13.2824 12.9649 13.0945 13.1429 12.8669 13.1429H11.1331C10.9055 13.1429 10.7176 12.9649 10.7052 12.7376L10.4402 7.8805C10.4269 7.635 10.6223 7.42857 10.8682 7.42857ZM12 17.0714C11.0927 17.0714 10.3571 16.3359 10.3571 15.4286C10.3571 14.5213 11.0927 13.7857 12 13.7857C12.9073 13.7857 13.6429 14.5213 13.6429 15.4286C13.6429 16.3359 12.9073 17.0714 12 17.0714Z\"\n fill=\"currentColor\"\n />\n </svg>\n </i>\n</ng-template>\n", styles: [".gds-alert-ribbon{--background: var(--gds-sys-color-base-200);--color: var(--gds-sys-color-text-primary);--border-color: var(--gds-sys-color-text-primary);background:var(--background);border-radius:0;border:solid 1px var(--border-color);color:var(--color);padding-bottom:1rem \"\";padding-top:1rem \"\";padding-left:1rem \"\";padding-right:1rem \"\";display:inline-grid;grid-template-columns:auto 1fr auto;grid-template-rows:min-content 1fr;grid-template-areas:\"icon content dismiss\" \"footer footer footer\"}@media(min-width:36em){.gds-alert-ribbon{grid-template-areas:\"icon content dismiss\" \"icon content footer\"}}.gds-alert-ribbon>i{display:block;width:1.5rem;height:1.5rem;margin-inline-end:.5rem;grid-area:icon}.gds-alert-ribbon>i svg>*{fill:var(--gds-sys-color-text-primary)}.gds-alert-ribbon>div:not(.alert-ribbon__footer),.gds-alert-ribbon .alert-ribbon__content{grid-area:content;max-width:75ch}.gds-alert-ribbon>div:not(.alert-ribbon__footer):has(+button),.gds-alert-ribbon .alert-ribbon__content:has(+button){padding-right:.5rem \"\"}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>h1,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h2,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h3,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h4,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h5,.gds-alert-ribbon>div:not(.alert-ribbon__footer) .header,.gds-alert-ribbon .alert-ribbon__content>h1,.gds-alert-ribbon .alert-ribbon__content h2,.gds-alert-ribbon .alert-ribbon__content h3,.gds-alert-ribbon .alert-ribbon__content h4,.gds-alert-ribbon .alert-ribbon__content h5,.gds-alert-ribbon .alert-ribbon__content .header{display:inline;font-size:1rem;font-weight:500;line-height:1.5rem;margin-right:.25rem}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p,.gds-alert-ribbon .alert-ribbon__content>p{display:inline;line-height:1.5rem;margin-bottom:0 \"\";margin-top:0 \"\"}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a,.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:visited:not(.button,[role=tab]),.gds-alert-ribbon .alert-ribbon__content>p a,.gds-alert-ribbon .alert-ribbon__content>p a:visited:not(.button,[role=tab]){color:var(--color)}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:hover,.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:visited:not(.button,[role=tab]):hover,.gds-alert-ribbon .alert-ribbon__content>p a:hover,.gds-alert-ribbon .alert-ribbon__content>p a:visited:not(.button,[role=tab]):hover{color:var(--color)}.gds-alert-ribbon button.gds-close{padding:0;grid-area:dismiss;justify-self:flex-end;margin:-.5rem -.375rem 0 .375rem;background-color:transparent;--color: var(--gds-sys-color-text-primary)}.gds-alert-ribbon button.gds-close>i:after,.gds-alert-ribbon button.gds-close>i:before{background-color:var(--color)}.gds-alert-ribbon button.gds-close:hover>i:after,.gds-alert-ribbon button.gds-close:hover>i:before{background-color:var(--color)}@media(min-width:36em){.gds-alert-ribbon button.gds-close+footer,.gds-alert-ribbon button.gds-close .alert-ribbon__footer{margin-top:.75rem \"\"}}.gds-alert-ribbon a{text-decoration:underline!important;transition:opacity .3s ease-in-out}.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{grid-area:footer;align-self:end}@media(max-width:35.98em){.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{margin-top:.75rem \"\"}}@media(min-width:36em){.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{margin-left:.75rem \"\"}}.gds-alert-ribbon>footer>a,.gds-alert-ribbon .alert-ribbon__footer>a{display:flex}.gds-alert-ribbon>footer>a,.gds-alert-ribbon>footer>button,.gds-alert-ribbon>footer>button[type=button],.gds-alert-ribbon>footer>.button,.gds-alert-ribbon .alert-ribbon__footer>a,.gds-alert-ribbon .alert-ribbon__footer>button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button],.gds-alert-ribbon .alert-ribbon__footer>.button{min-height:2rem;padding:.4375rem .75rem;line-height:1.125rem}@media(max-width:35.98em){.gds-alert-ribbon>footer>a+a,.gds-alert-ribbon>footer>a+button,.gds-alert-ribbon>footer>a+.button,.gds-alert-ribbon>footer>button+a,.gds-alert-ribbon>footer>button+button,.gds-alert-ribbon>footer>button+.button,.gds-alert-ribbon>footer>button[type=button]+a,.gds-alert-ribbon>footer>button[type=button]+button,.gds-alert-ribbon>footer>button[type=button]+.button,.gds-alert-ribbon>footer>.button+a,.gds-alert-ribbon>footer>.button+button,.gds-alert-ribbon>footer>.button+.button,.gds-alert-ribbon .alert-ribbon__footer>a+a,.gds-alert-ribbon .alert-ribbon__footer>a+button,.gds-alert-ribbon .alert-ribbon__footer>a+.button,.gds-alert-ribbon .alert-ribbon__footer>button+a,.gds-alert-ribbon .alert-ribbon__footer>button+button,.gds-alert-ribbon .alert-ribbon__footer>button+.button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+a,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+.button,.gds-alert-ribbon .alert-ribbon__footer>.button+a,.gds-alert-ribbon .alert-ribbon__footer>.button+button,.gds-alert-ribbon .alert-ribbon__footer>.button+.button{margin-top:.75rem \"\"}}@media(min-width:36em){.gds-alert-ribbon>footer>a+a,.gds-alert-ribbon>footer>a+button,.gds-alert-ribbon>footer>a+.button,.gds-alert-ribbon>footer>button+a,.gds-alert-ribbon>footer>button+button,.gds-alert-ribbon>footer>button+.button,.gds-alert-ribbon>footer>button[type=button]+a,.gds-alert-ribbon>footer>button[type=button]+button,.gds-alert-ribbon>footer>button[type=button]+.button,.gds-alert-ribbon>footer>.button+a,.gds-alert-ribbon>footer>.button+button,.gds-alert-ribbon>footer>.button+.button,.gds-alert-ribbon .alert-ribbon__footer>a+a,.gds-alert-ribbon .alert-ribbon__footer>a+button,.gds-alert-ribbon .alert-ribbon__footer>a+.button,.gds-alert-ribbon .alert-ribbon__footer>button+a,.gds-alert-ribbon .alert-ribbon__footer>button+button,.gds-alert-ribbon .alert-ribbon__footer>button+.button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+a,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+.button,.gds-alert-ribbon .alert-ribbon__footer>.button+a,.gds-alert-ribbon .alert-ribbon__footer>.button+button,.gds-alert-ribbon .alert-ribbon__footer>.button+.button{margin-left:.75rem \"\"}}.gds-alert-ribbon.info{--background: var(--gds-sys-color-base-200);--color: var(--gds-sys-color-text-black);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-black)}.gds-alert-ribbon.info .gds-close{--color: var(--gds-sys-color-text-black)}.gds-alert-ribbon.info i>svg>*{fill:var(--gds-sys-color-text-black)}.gds-alert-ribbon.success{--background: var(--gds-sys-color-dark-green-2);--color: var(--gds-sys-color-text-inverted);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.success .gds-close{--color: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.success i>svg>*{fill:var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.warning{--background: var(--gds-sys-color-dark-yellow-1);--color: var(--gds-sys-color-text-black);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-black)}.gds-alert-ribbon.warning .gds-close{--color: var(--gds-sys-color-text-black)}.gds-alert-ribbon.warning i>svg>*{fill:var(--gds-sys-color-text-black)}.gds-alert-ribbon.danger{--background: var(--gds-sys-color-dark-red-1);--color: var(--gds-sys-color-text-inverted);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.danger .gds-close{--color: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.danger i>svg>*{fill:var(--gds-sys-color-text-inverted)}.gds-close{font-size:0;background:transparent;border:0;border-radius:50%;content:\"\";cursor:pointer;display:flex;font-family:inherit;height:2rem;position:relative;width:2rem;padding:0}@media(hover:none)and (pointer:coarse){.gds-close:not(:disabled):not(.disabled){padding:.375rem;height:2.75rem;width:2.75rem}.gds-close:not(:disabled):not(.disabled)>i{background:var(--gds-sys-color-base-200);height:2rem;width:2rem;border-radius:50%;position:relative;--color: var(--gds-sys-color-text-primary)}.gds-close:not(:disabled):not(.disabled)>div:after,.gds-close:not(:disabled):not(.disabled)>div:before{height:.789375rem;width:.130625rem;top:.625rem}}.gds-close:focus:not(:focus-visible){box-shadow:none;outline:0}.gds-close:focus,.gds-close:focus-visible i{outline-color:var(--gds-sys-color-focus-outline);outline-style:solid;outline-width:.125rem;outline-offset:.125rem}.gds-close>i{border-radius:var(--gds-sys-shape-corner-round);display:block;width:100%;height:100%}.gds-close>i:after,.gds-close>i:before{background:var(--gds-sys-color-text-primary);content:\"\";display:block;height:.789375rem;width:.130625rem;border-radius:.5px;left:calc(50% - .0625rem);position:absolute;top:.625rem}.gds-close>i:after{transform:rotate(45deg)}.gds-close>i:before{transform:rotate(-45deg)}.gds-close>svg path{fill:var(--gds-sys-color-text-primary)}@media(min-width:48em){.gds-close:not(:disabled,.disabled):hover>i{background:color-mix(in srgb,var(--gds-sys-color-text-primary) 10%,transparent)}.gds-close:not(:disabled,.disabled):hover:active>i{background:color-mix(in srgb,var(--gds-sys-color-text-primary) 20%,transparent)}}:host{--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-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)}:host .alert-container{box-sizing:border-box;width:100%}:host .alert-container a{cursor:pointer}:host .alert-container button{font-size:1rem;font-family:inherit}:host .alert-container button:not(.gds-close){padding-left:1rem \"\";padding-right:1rem \"\";padding-bottom:.75rem \"\";padding-top:.75rem \"\";border-radius:.25rem;border:solid 1px var(--gds-sys-color-base-600);font-weight:500}:host .alert-container button:not(.gds-close):focus:not(:focus-visible){box-shadow:none;outline:0}:host .alert-container button:not(.gds-close):focus,:host .alert-container button:not(.gds-close):focus-visible{outline-color:var(--gds-sys-color-focus-outline);outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .alert-container button:not(.gds-close){min-height:2.75rem;align-items:center;display:inline-flex;justify-content:center}@media(max-width:35.98em){:host .alert-container button:not(.gds-close){min-width:100%}}@media screen and (-ms-high-contrast:active){:host .alert-container button:not(.gds-close){border:2px solid currentcolor}}:host .alert-container button:not(.gds-close).small{min-height:2rem;height:2rem;padding:.4375rem .75rem;font-size:.875rem;line-height:1rem}:host .alert-container button:not(.gds-close).large{min-height:4rem;padding:1rem 1.5rem;font-size:1.5rem;line-height:2rem}:host .alert-container.information button:not(.gds-close),:host .alert-container.warning button:not(.gds-close){transition:border var(--gds-sys-transition)}:host .alert-container.information button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover,:host .alert-container.warning button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover{background:var(--gds-sys-color-base-800);color:var(--gds-sys-color-text-white);--background: var(--gds-sys-color-base-800);--color: var(--gds-sys-color-text-white);border-color:var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close)[aria-selected=true],:host .alert-container.information button:not(.gds-close):active,:host .alert-container.information button:not(.gds-close).active,:host .alert-container.information button:not(.gds-close).active:hover,:host .alert-container.information button:not(.gds-close):active:hover,:host .alert-container.warning button:not(.gds-close)[aria-selected=true],:host .alert-container.warning button:not(.gds-close):active,:host .alert-container.warning button:not(.gds-close).active,:host .alert-container.warning button:not(.gds-close).active:hover,:host .alert-container.warning button:not(.gds-close):active:hover{background:var(--gds-sys-color-base-800);color:var(--gds-sys-color-text-white);--background: $bg;--color: $color;border-color:var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close)[aria-selected]:hover,:host .alert-container.information button:not(.gds-close).active:hover,:host .alert-container.information button:not(.gds-close):active:hover,:host .alert-container.warning button:not(.gds-close)[aria-selected]:hover,:host .alert-container.warning button:not(.gds-close).active:hover,:host .alert-container.warning button:not(.gds-close):active:hover{opacity:.9}:host .alert-container.information button:not(.gds-close),:host .alert-container.warning button:not(.gds-close){background-color:transparent;border-color:var(--gds-sys-color-base-800);color:var(--gds-sys-color-base-800);--color: var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close):disabled,:host .alert-container.information button:not(.gds-close).disabled,:host .alert-container.information button:not(.gds-close)[aria-disabled=true],:host .alert-container.warning button:not(.gds-close):disabled,:host .alert-container.warning button:not(.gds-close).disabled,:host .alert-container.warning button:not(.gds-close)[aria-disabled=true]{color:var(--gds-sys-color-text-disabled)!important;border-color:var(--gds-sys-color-text-disabled)!important;cursor:not-allowed}:host .alert-container.information button:not(.gds-close):disabled::placeholder,:host .alert-container.information button:not(.gds-close).disabled::placeholder,:host .alert-container.information button:not(.gds-close)[aria-disabled=true]::placeholder,:host .alert-container.warning button:not(.gds-close):disabled::placeholder,:host .alert-container.warning button:not(.gds-close).disabled::placeholder,:host .alert-container.warning button:not(.gds-close)[aria-disabled=true]::placeholder{color:var(--gds-sys-color-text-disabled)}:host .alert-container.success button:not(.gds-close),:host .alert-container.danger button:not(.gds-close){--gds-sys-color-focus-outline: var(--gds-sys-color-white);transition:border var(--gds-sys-transition)}:host .alert-container.success button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover,:host .alert-container.danger button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover{background:var(--gds-sys-color-white);color:var(--gds-sys-color-text-primary);--background: var(--gds-sys-color-white);--color: var(--gds-sys-color-text-primary);border-color:var(--gds-sys-color-white)}:host .alert-container.success button:not(.gds-close)[aria-selected=true],:host .alert-container.success button:not(.gds-close):active,:host .alert-container.success button:not(.gds-close).active,:host .alert-container.success button:not(.gds-close).active:hover,:host .alert-container.success button:not(.gds-close):active:hover,:host .alert-container.danger button:not(.gds-close)[aria-selected=true],:host .alert-container.danger button:not(.gds-close):active,:host .alert-container.danger button:not(.gds-close).active,:host .alert-container.danger button:not(.gds-close).active:hover,:host .alert-container.danger button:not(.gds-close):active:hover{background:var(--gds-sys-color-base-200);color:var(--gds-sys-color-text-primary);--background: $bg;--color: $color;border-color:var(--gds-sys-color-base-200)}:host .alert-container.success button:not(.gds-close)[aria-selected]:hover,:host .alert-container.success button:not(.gds-close).active:hover,:host .alert-container.success button:not(.gds-close):active:hover,:host .alert-container.danger button:not(.gds-close)[aria-selected]:hover,:host .alert-container.danger button:not(.gds-close).active:hover,:host .alert-container.danger button:not(.gds-close):active:hover{opacity:.9}:host .alert-container.success button:not(.gds-close),:host .alert-container.danger button:not(.gds-close){background-color:transparent;border-color:var(--gds-sys-color-white);color:var(--gds-sys-color-white);--color: var(--gds-sys-color-white)}:host .alert-container.success button:not(.gds-close):disabled,:host .alert-container.success button:not(.gds-close).disabled,:host .alert-container.success button:not(.gds-close)[aria-disabled=true],:host .alert-container.danger button:not(.gds-close):disabled,:host .alert-container.danger button:not(.gds-close).disabled,:host .alert-container.danger button:not(.gds-close)[aria-disabled=true]{color:var(--gds-sys-color-text-disabled)!important;border-color:var(--gds-sys-color-text-disabled)!important;cursor:not-allowed}:host .alert-container.success button:not(.gds-close):disabled::placeholder,:host .alert-container.success button:not(.gds-close).disabled::placeholder,:host .alert-container.success button:not(.gds-close)[aria-disabled=true]::placeholder,:host .alert-container.danger button:not(.gds-close):disabled::placeholder,:host .alert-container.danger button:not(.gds-close).disabled::placeholder,:host .alert-container.danger button:not(.gds-close)[aria-disabled=true]::placeholder{color:var(--gds-sys-color-text-disabled)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }] }); }
|
|
33
33
|
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AlertComponent, decorators: [{
|
|
35
35
|
type: Component,
|
|
36
|
-
args: [{ selector: 'nggv-alert', standalone: false, template: "<div class=\"gds-alert-ribbon alert-container\" role=\"alert\" [ngClass]=\"type\">\n <ng-container [ngSwitch]=\"type\">\n <ng-container\n *ngSwitchCase=\"'success'\"\n [ngTemplateOutlet]=\"checkMark\"\n ></ng-container>\n <ng-container\n *ngSwitchCase=\"'information'\"\n [ngTemplateOutlet]=\"infoSquare\"\n ></ng-container>\n <ng-container\n *ngSwitchDefault\n [ngTemplateOutlet]=\"exclamationSquare\"\n ></ng-container>\n </ng-container>\n <div>\n <h3 *ngIf=\"title\">{{ title }}</h3>\n <p *ngIf=\"body\">\n {{ body }} <a\n *ngIf=\"linkText\"\n [href]=\"linkHref\"\n (click)=\"onLink($event)\"\n >{{ linkText }}</a\n >\n </p>\n </div>\n <button\n *ngIf=\"closable && !actionText\"\n class=\"gds-close\"\n type=\"button\"\n (click)=\"onClose($event)\"\n >\n <i></i>\n </button>\n <footer *ngIf=\"actionText && !closable\">\n <button type=\"button\" (click)=\"onAction($event)\">\n {{ actionText }}\n </button>\n </footer>\n</div>\n\n<ng-template #checkMark>\n <i>\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M17.6203 6.60836L9.40014 14.8285L6.37976 11.8081C6.23332 11.6617 5.99588 11.6617 5.84942 11.8081L4.96554 12.692C4.8191 12.8384 4.8191 13.0759 4.96554 13.2223L9.13495 17.3917C9.28138 17.5382 9.51882 17.5382 9.66529 17.3917L19.0344 8.02258C19.1809 7.87614 19.1809 7.63871 19.0344 7.49224L18.1506 6.60836C18.0041 6.46193 17.7667 6.46193 17.6203 6.60836Z\"\n fill=\"white\"\n ></path>\n </svg>\n </i>\n</ng-template>\n<ng-template #infoSquare>\n <i>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18.2857 4H5.71429C4.7675 4 4 4.7675 4 5.71429V18.2857C4 19.2325 4.7675 20 5.71429 20H18.2857C19.2325 20 20 19.2325 20 18.2857V5.71429C20 4.7675 19.2325 4 18.2857 4ZM12 7.07143C12.8284 7.07143 13.5 7.743 13.5 8.57143C13.5 9.39986 12.8284 10.0714 12 10.0714C11.1716 10.0714 10.5 9.39986 10.5 8.57143C10.5 7.743 11.1716 7.07143 12 7.07143ZM14 16.1429C14 16.3795 13.8081 16.5714 13.5714 16.5714H10.4286C10.1919 16.5714 10 16.3795 10 16.1429V15.2857C10 15.049 10.1919 14.8571 10.4286 14.8571H10.8571V12.5714H10.4286C10.1919 12.5714 10 12.3795 10 12.1429V11.2857C10 11.049 10.1919 10.8571 10.4286 10.8571H12.7143C12.951 10.8571 13.1429 11.049 13.1429 11.2857V14.8571H13.5714C13.8081 14.8571 14 15.049 14 15.2857V16.1429Z\"\n fill=\"#333333\"\n />\n </svg>\n </i>\n</ng-template>\n<ng-template #exclamationSquare>\n <i>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18.2857 4H5.71429C4.7675 4 4 4.7675 4 5.71429V18.2857C4 19.2325 4.7675 20 5.71429 20H18.2857C19.2325 20 20 19.2325 20 18.2857V5.71429C20 4.7675 19.2325 4 18.2857 4ZM10.8682 7.42857H13.1318C13.3777 7.42857 13.5731 7.635 13.5597 7.8805L13.2948 12.7376C13.2824 12.9649 13.0945 13.1429 12.8669 13.1429H11.1331C10.9055 13.1429 10.7176 12.9649 10.7052 12.7376L10.4402 7.8805C10.4269 7.635 10.6223 7.42857 10.8682 7.42857ZM12 17.0714C11.0927 17.0714 10.3571 16.3359 10.3571 15.4286C10.3571 14.5213 11.0927 13.7857 12 13.7857C12.9073 13.7857 13.6429 14.5213 13.6429 15.4286C13.6429 16.3359 12.9073 17.0714 12 17.0714Z\"\n fill=\"currentColor\"\n />\n </svg>\n </i>\n</ng-template>\n", styles: [".gds-alert-ribbon{--background: var(--gds-sys-color-base-200);--color: var(--gds-sys-color-text-primary);--border-color: var(--gds-sys-color-text-primary);background:var(--background);border-radius:0;border:solid 1px var(--border-color);color:var(--color);padding:1rem;display:inline-grid;grid-template-columns:auto 1fr auto;grid-template-rows:min-content 1fr;grid-template-areas:\"icon content dismiss\" \"footer footer footer\"}@media(min-width:36em){.gds-alert-ribbon{grid-template-areas:\"icon content dismiss\" \"icon content footer\"}}.gds-alert-ribbon>i{display:block;width:1.5rem;height:1.5rem;margin-inline-end:.5rem;grid-area:icon}.gds-alert-ribbon>i svg>*{fill:var(--gds-sys-color-text-primary)}.gds-alert-ribbon>div:not(.alert-ribbon__footer),.gds-alert-ribbon .alert-ribbon__content{grid-area:content;max-width:75ch}.gds-alert-ribbon>div:not(.alert-ribbon__footer):has(+button),.gds-alert-ribbon .alert-ribbon__content:has(+button){padding-right:.5rem}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>h1,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h2,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h3,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h4,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h5,.gds-alert-ribbon>div:not(.alert-ribbon__footer) .header,.gds-alert-ribbon .alert-ribbon__content>h1,.gds-alert-ribbon .alert-ribbon__content h2,.gds-alert-ribbon .alert-ribbon__content h3,.gds-alert-ribbon .alert-ribbon__content h4,.gds-alert-ribbon .alert-ribbon__content h5,.gds-alert-ribbon .alert-ribbon__content .header{display:inline;font-size:1rem;font-weight:500;line-height:1.5rem;margin-right:.25rem}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p,.gds-alert-ribbon .alert-ribbon__content>p{display:inline;line-height:1.5rem;margin-bottom:0;margin-top:0}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a,.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:visited:not(.button,[role=tab]),.gds-alert-ribbon .alert-ribbon__content>p a,.gds-alert-ribbon .alert-ribbon__content>p a:visited:not(.button,[role=tab]){color:var(--color)}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:hover,.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:visited:not(.button,[role=tab]):hover,.gds-alert-ribbon .alert-ribbon__content>p a:hover,.gds-alert-ribbon .alert-ribbon__content>p a:visited:not(.button,[role=tab]):hover{color:var(--color)}.gds-alert-ribbon button.gds-close{padding:0;grid-area:dismiss;justify-self:flex-end;margin:-.5rem -.375rem 0 .375rem;background-color:transparent;--color: var(--gds-sys-color-text-primary)}.gds-alert-ribbon button.gds-close>i:after,.gds-alert-ribbon button.gds-close>i:before{background-color:var(--color)}.gds-alert-ribbon button.gds-close:hover>i:after,.gds-alert-ribbon button.gds-close:hover>i:before{background-color:var(--color)}@media(min-width:36em){.gds-alert-ribbon button.gds-close+footer,.gds-alert-ribbon button.gds-close .alert-ribbon__footer{margin-top:.75rem}}.gds-alert-ribbon a{text-decoration:underline!important;transition:opacity .3s ease-in-out}.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{grid-area:footer;align-self:end}@media(max-width:35.98em){.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{margin-top:.75rem}}@media(min-width:36em){.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{margin-left:.75rem}}.gds-alert-ribbon>footer>a,.gds-alert-ribbon .alert-ribbon__footer>a{display:flex}.gds-alert-ribbon>footer>a,.gds-alert-ribbon>footer>button,.gds-alert-ribbon>footer>button[type=button],.gds-alert-ribbon>footer>.button,.gds-alert-ribbon .alert-ribbon__footer>a,.gds-alert-ribbon .alert-ribbon__footer>button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button],.gds-alert-ribbon .alert-ribbon__footer>.button{min-height:2rem;padding:.4375rem .75rem;line-height:1.125rem}@media(max-width:35.98em){.gds-alert-ribbon>footer>a+a,.gds-alert-ribbon>footer>a+button,.gds-alert-ribbon>footer>a+.button,.gds-alert-ribbon>footer>button+a,.gds-alert-ribbon>footer>button+button,.gds-alert-ribbon>footer>button+.button,.gds-alert-ribbon>footer>button[type=button]+a,.gds-alert-ribbon>footer>button[type=button]+button,.gds-alert-ribbon>footer>button[type=button]+.button,.gds-alert-ribbon>footer>.button+a,.gds-alert-ribbon>footer>.button+button,.gds-alert-ribbon>footer>.button+.button,.gds-alert-ribbon .alert-ribbon__footer>a+a,.gds-alert-ribbon .alert-ribbon__footer>a+button,.gds-alert-ribbon .alert-ribbon__footer>a+.button,.gds-alert-ribbon .alert-ribbon__footer>button+a,.gds-alert-ribbon .alert-ribbon__footer>button+button,.gds-alert-ribbon .alert-ribbon__footer>button+.button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+a,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+.button,.gds-alert-ribbon .alert-ribbon__footer>.button+a,.gds-alert-ribbon .alert-ribbon__footer>.button+button,.gds-alert-ribbon .alert-ribbon__footer>.button+.button{margin-top:.75rem}}@media(min-width:36em){.gds-alert-ribbon>footer>a+a,.gds-alert-ribbon>footer>a+button,.gds-alert-ribbon>footer>a+.button,.gds-alert-ribbon>footer>button+a,.gds-alert-ribbon>footer>button+button,.gds-alert-ribbon>footer>button+.button,.gds-alert-ribbon>footer>button[type=button]+a,.gds-alert-ribbon>footer>button[type=button]+button,.gds-alert-ribbon>footer>button[type=button]+.button,.gds-alert-ribbon>footer>.button+a,.gds-alert-ribbon>footer>.button+button,.gds-alert-ribbon>footer>.button+.button,.gds-alert-ribbon .alert-ribbon__footer>a+a,.gds-alert-ribbon .alert-ribbon__footer>a+button,.gds-alert-ribbon .alert-ribbon__footer>a+.button,.gds-alert-ribbon .alert-ribbon__footer>button+a,.gds-alert-ribbon .alert-ribbon__footer>button+button,.gds-alert-ribbon .alert-ribbon__footer>button+.button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+a,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+.button,.gds-alert-ribbon .alert-ribbon__footer>.button+a,.gds-alert-ribbon .alert-ribbon__footer>.button+button,.gds-alert-ribbon .alert-ribbon__footer>.button+.button{margin-left:.75rem}}.gds-alert-ribbon.info{--background: var(--gds-sys-color-base-200);--color: var(--gds-sys-color-text-black);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-black)}.gds-alert-ribbon.info .gds-close{--color: var(--gds-sys-color-text-black)}.gds-alert-ribbon.info i>svg>*{fill:var(--gds-sys-color-text-black)}.gds-alert-ribbon.success{--background: var(--gds-sys-color-dark-green-2);--color: var(--gds-sys-color-text-inverted);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.success .gds-close{--color: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.success i>svg>*{fill:var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.warning{--background: var(--gds-sys-color-dark-yellow-1);--color: var(--gds-sys-color-text-black);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-black)}.gds-alert-ribbon.warning .gds-close{--color: var(--gds-sys-color-text-black)}.gds-alert-ribbon.warning i>svg>*{fill:var(--gds-sys-color-text-black)}.gds-alert-ribbon.danger{--background: var(--gds-sys-color-dark-red-1);--color: var(--gds-sys-color-text-inverted);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.danger .gds-close{--color: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.danger i>svg>*{fill:var(--gds-sys-color-text-inverted)}.gds-close{font-size:0;background:transparent;border:0;border-radius:50%;content:\"\";cursor:pointer;display:flex;font-family:inherit;height:2rem;position:relative;width:2rem;padding:0}@media(hover:none)and (pointer:coarse){.gds-close:not(:disabled):not(.disabled){padding:.375rem;height:2.75rem;width:2.75rem}.gds-close:not(:disabled):not(.disabled)>i{background:var(--gds-sys-color-base-200);height:2rem;width:2rem;border-radius:50%;position:relative;--color: var(--gds-sys-color-text-primary)}.gds-close:not(:disabled):not(.disabled)>div:after,.gds-close:not(:disabled):not(.disabled)>div:before{height:.789375rem;width:.130625rem;top:.625rem}}.gds-close:focus:not(:focus-visible){box-shadow:none;outline:0}.gds-close:focus,.gds-close:focus-visible i{outline-color:var(--gds-sys-color-focus-outline);outline-style:solid;outline-width:.125rem;outline-offset:.125rem}.gds-close>i{border-radius:var(--gds-sys-shape-corner-round);display:block;width:100%;height:100%}.gds-close>i:after,.gds-close>i:before{background:var(--gds-sys-color-text-primary);content:\"\";display:block;height:.789375rem;width:.130625rem;border-radius:.5px;left:calc(50% - .0625rem);position:absolute;top:.625rem}.gds-close>i:after{transform:rotate(45deg)}.gds-close>i:before{transform:rotate(-45deg)}.gds-close>svg path{fill:var(--gds-sys-color-text-primary)}@media(min-width:48em){.gds-close:not(:disabled,.disabled):hover>i{background:color-mix(in srgb,var(--gds-sys-color-text-primary) 10%,transparent)}.gds-close:not(:disabled,.disabled):hover:active>i{background:color-mix(in srgb,var(--gds-sys-color-text-primary) 20%,transparent)}}:host{--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-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)}:host .alert-container{box-sizing:border-box;width:100%}:host .alert-container a{cursor:pointer}:host .alert-container button{font-size:1rem;font-family:inherit}:host .alert-container button:not(.gds-close){padding:.75rem 1rem;border-radius:.25rem;border:solid 1px var(--gds-sys-color-base-600);font-weight:500}:host .alert-container button:not(.gds-close):focus:not(:focus-visible){box-shadow:none;outline:0}:host .alert-container button:not(.gds-close):focus,:host .alert-container button:not(.gds-close):focus-visible{outline-color:var(--gds-sys-color-focus-outline);outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .alert-container button:not(.gds-close){min-height:2.75rem;align-items:center;display:inline-flex;justify-content:center}@media(max-width:35.98em){:host .alert-container button:not(.gds-close){min-width:100%}}@media screen and (-ms-high-contrast:active){:host .alert-container button:not(.gds-close){border:2px solid currentcolor}}:host .alert-container button:not(.gds-close).small{min-height:2rem;height:2rem;padding:.4375rem .75rem;font-size:.875rem;line-height:1rem}:host .alert-container button:not(.gds-close).large{min-height:4rem;padding:1rem 1.5rem;font-size:1.5rem;line-height:2rem}:host .alert-container.information button:not(.gds-close),:host .alert-container.warning button:not(.gds-close){transition:border var(--gds-sys-transition)}:host .alert-container.information button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover,:host .alert-container.warning button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover{background:var(--gds-sys-color-base-800);color:var(--gds-sys-color-text-white);--background: var(--gds-sys-color-base-800);--color: var(--gds-sys-color-text-white);border-color:var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close)[aria-selected=true],:host .alert-container.information button:not(.gds-close):active,:host .alert-container.information button:not(.gds-close).active,:host .alert-container.information button:not(.gds-close).active:hover,:host .alert-container.information button:not(.gds-close):active:hover,:host .alert-container.warning button:not(.gds-close)[aria-selected=true],:host .alert-container.warning button:not(.gds-close):active,:host .alert-container.warning button:not(.gds-close).active,:host .alert-container.warning button:not(.gds-close).active:hover,:host .alert-container.warning button:not(.gds-close):active:hover{background:var(--gds-sys-color-base-800);color:var(--gds-sys-color-text-white);--background: $bg;--color: $color;border-color:var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close)[aria-selected]:hover,:host .alert-container.information button:not(.gds-close).active:hover,:host .alert-container.information button:not(.gds-close):active:hover,:host .alert-container.warning button:not(.gds-close)[aria-selected]:hover,:host .alert-container.warning button:not(.gds-close).active:hover,:host .alert-container.warning button:not(.gds-close):active:hover{opacity:.9}:host .alert-container.information button:not(.gds-close),:host .alert-container.warning button:not(.gds-close){background-color:transparent;border-color:var(--gds-sys-color-base-800);color:var(--gds-sys-color-base-800);--color: var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close):disabled,:host .alert-container.information button:not(.gds-close).disabled,:host .alert-container.information button:not(.gds-close)[aria-disabled=true],:host .alert-container.warning button:not(.gds-close):disabled,:host .alert-container.warning button:not(.gds-close).disabled,:host .alert-container.warning button:not(.gds-close)[aria-disabled=true]{color:var(--gds-sys-color-text-disabled)!important;border-color:var(--gds-sys-color-text-disabled)!important;cursor:not-allowed}:host .alert-container.information button:not(.gds-close):disabled::placeholder,:host .alert-container.information button:not(.gds-close).disabled::placeholder,:host .alert-container.information button:not(.gds-close)[aria-disabled=true]::placeholder,:host .alert-container.warning button:not(.gds-close):disabled::placeholder,:host .alert-container.warning button:not(.gds-close).disabled::placeholder,:host .alert-container.warning button:not(.gds-close)[aria-disabled=true]::placeholder{color:var(--gds-sys-color-text-disabled)}:host .alert-container.success button:not(.gds-close),:host .alert-container.danger button:not(.gds-close){--gds-sys-color-focus-outline: var(--gds-sys-color-white);transition:border var(--gds-sys-transition)}:host .alert-container.success button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover,:host .alert-container.danger button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover{background:var(--gds-sys-color-white);color:var(--gds-sys-color-text-primary);--background: var(--gds-sys-color-white);--color: var(--gds-sys-color-text-primary);border-color:var(--gds-sys-color-white)}:host .alert-container.success button:not(.gds-close)[aria-selected=true],:host .alert-container.success button:not(.gds-close):active,:host .alert-container.success button:not(.gds-close).active,:host .alert-container.success button:not(.gds-close).active:hover,:host .alert-container.success button:not(.gds-close):active:hover,:host .alert-container.danger button:not(.gds-close)[aria-selected=true],:host .alert-container.danger button:not(.gds-close):active,:host .alert-container.danger button:not(.gds-close).active,:host .alert-container.danger button:not(.gds-close).active:hover,:host .alert-container.danger button:not(.gds-close):active:hover{background:var(--gds-sys-color-base-200);color:var(--gds-sys-color-text-primary);--background: $bg;--color: $color;border-color:var(--gds-sys-color-base-200)}:host .alert-container.success button:not(.gds-close)[aria-selected]:hover,:host .alert-container.success button:not(.gds-close).active:hover,:host .alert-container.success button:not(.gds-close):active:hover,:host .alert-container.danger button:not(.gds-close)[aria-selected]:hover,:host .alert-container.danger button:not(.gds-close).active:hover,:host .alert-container.danger button:not(.gds-close):active:hover{opacity:.9}:host .alert-container.success button:not(.gds-close),:host .alert-container.danger button:not(.gds-close){background-color:transparent;border-color:var(--gds-sys-color-white);color:var(--gds-sys-color-white);--color: var(--gds-sys-color-white)}:host .alert-container.success button:not(.gds-close):disabled,:host .alert-container.success button:not(.gds-close).disabled,:host .alert-container.success button:not(.gds-close)[aria-disabled=true],:host .alert-container.danger button:not(.gds-close):disabled,:host .alert-container.danger button:not(.gds-close).disabled,:host .alert-container.danger button:not(.gds-close)[aria-disabled=true]{color:var(--gds-sys-color-text-disabled)!important;border-color:var(--gds-sys-color-text-disabled)!important;cursor:not-allowed}:host .alert-container.success button:not(.gds-close):disabled::placeholder,:host .alert-container.success button:not(.gds-close).disabled::placeholder,:host .alert-container.success button:not(.gds-close)[aria-disabled=true]::placeholder,:host .alert-container.danger button:not(.gds-close):disabled::placeholder,:host .alert-container.danger button:not(.gds-close).disabled::placeholder,:host .alert-container.danger button:not(.gds-close)[aria-disabled=true]::placeholder{color:var(--gds-sys-color-text-disabled)}\n"] }]
|
|
36
|
+
args: [{ selector: 'nggv-alert', standalone: false, template: "<div class=\"gds-alert-ribbon alert-container\" role=\"alert\" [ngClass]=\"type\">\n <ng-container [ngSwitch]=\"type\">\n <ng-container\n *ngSwitchCase=\"'success'\"\n [ngTemplateOutlet]=\"checkMark\"\n ></ng-container>\n <ng-container\n *ngSwitchCase=\"'information'\"\n [ngTemplateOutlet]=\"infoSquare\"\n ></ng-container>\n <ng-container\n *ngSwitchDefault\n [ngTemplateOutlet]=\"exclamationSquare\"\n ></ng-container>\n </ng-container>\n <div>\n <h3 *ngIf=\"title\">{{ title }}</h3>\n <p *ngIf=\"body\">\n {{ body }} <a\n *ngIf=\"linkText\"\n [href]=\"linkHref\"\n (click)=\"onLink($event)\"\n >{{ linkText }}</a\n >\n </p>\n </div>\n <button\n *ngIf=\"closable && !actionText\"\n class=\"gds-close\"\n type=\"button\"\n (click)=\"onClose($event)\"\n >\n <i></i>\n </button>\n <footer *ngIf=\"actionText && !closable\">\n <button type=\"button\" (click)=\"onAction($event)\">\n {{ actionText }}\n </button>\n </footer>\n</div>\n\n<ng-template #checkMark>\n <i>\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M17.6203 6.60836L9.40014 14.8285L6.37976 11.8081C6.23332 11.6617 5.99588 11.6617 5.84942 11.8081L4.96554 12.692C4.8191 12.8384 4.8191 13.0759 4.96554 13.2223L9.13495 17.3917C9.28138 17.5382 9.51882 17.5382 9.66529 17.3917L19.0344 8.02258C19.1809 7.87614 19.1809 7.63871 19.0344 7.49224L18.1506 6.60836C18.0041 6.46193 17.7667 6.46193 17.6203 6.60836Z\"\n fill=\"white\"\n ></path>\n </svg>\n </i>\n</ng-template>\n<ng-template #infoSquare>\n <i>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18.2857 4H5.71429C4.7675 4 4 4.7675 4 5.71429V18.2857C4 19.2325 4.7675 20 5.71429 20H18.2857C19.2325 20 20 19.2325 20 18.2857V5.71429C20 4.7675 19.2325 4 18.2857 4ZM12 7.07143C12.8284 7.07143 13.5 7.743 13.5 8.57143C13.5 9.39986 12.8284 10.0714 12 10.0714C11.1716 10.0714 10.5 9.39986 10.5 8.57143C10.5 7.743 11.1716 7.07143 12 7.07143ZM14 16.1429C14 16.3795 13.8081 16.5714 13.5714 16.5714H10.4286C10.1919 16.5714 10 16.3795 10 16.1429V15.2857C10 15.049 10.1919 14.8571 10.4286 14.8571H10.8571V12.5714H10.4286C10.1919 12.5714 10 12.3795 10 12.1429V11.2857C10 11.049 10.1919 10.8571 10.4286 10.8571H12.7143C12.951 10.8571 13.1429 11.049 13.1429 11.2857V14.8571H13.5714C13.8081 14.8571 14 15.049 14 15.2857V16.1429Z\"\n fill=\"#333333\"\n />\n </svg>\n </i>\n</ng-template>\n<ng-template #exclamationSquare>\n <i>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M18.2857 4H5.71429C4.7675 4 4 4.7675 4 5.71429V18.2857C4 19.2325 4.7675 20 5.71429 20H18.2857C19.2325 20 20 19.2325 20 18.2857V5.71429C20 4.7675 19.2325 4 18.2857 4ZM10.8682 7.42857H13.1318C13.3777 7.42857 13.5731 7.635 13.5597 7.8805L13.2948 12.7376C13.2824 12.9649 13.0945 13.1429 12.8669 13.1429H11.1331C10.9055 13.1429 10.7176 12.9649 10.7052 12.7376L10.4402 7.8805C10.4269 7.635 10.6223 7.42857 10.8682 7.42857ZM12 17.0714C11.0927 17.0714 10.3571 16.3359 10.3571 15.4286C10.3571 14.5213 11.0927 13.7857 12 13.7857C12.9073 13.7857 13.6429 14.5213 13.6429 15.4286C13.6429 16.3359 12.9073 17.0714 12 17.0714Z\"\n fill=\"currentColor\"\n />\n </svg>\n </i>\n</ng-template>\n", styles: [".gds-alert-ribbon{--background: var(--gds-sys-color-base-200);--color: var(--gds-sys-color-text-primary);--border-color: var(--gds-sys-color-text-primary);background:var(--background);border-radius:0;border:solid 1px var(--border-color);color:var(--color);padding-bottom:1rem \"\";padding-top:1rem \"\";padding-left:1rem \"\";padding-right:1rem \"\";display:inline-grid;grid-template-columns:auto 1fr auto;grid-template-rows:min-content 1fr;grid-template-areas:\"icon content dismiss\" \"footer footer footer\"}@media(min-width:36em){.gds-alert-ribbon{grid-template-areas:\"icon content dismiss\" \"icon content footer\"}}.gds-alert-ribbon>i{display:block;width:1.5rem;height:1.5rem;margin-inline-end:.5rem;grid-area:icon}.gds-alert-ribbon>i svg>*{fill:var(--gds-sys-color-text-primary)}.gds-alert-ribbon>div:not(.alert-ribbon__footer),.gds-alert-ribbon .alert-ribbon__content{grid-area:content;max-width:75ch}.gds-alert-ribbon>div:not(.alert-ribbon__footer):has(+button),.gds-alert-ribbon .alert-ribbon__content:has(+button){padding-right:.5rem \"\"}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>h1,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h2,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h3,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h4,.gds-alert-ribbon>div:not(.alert-ribbon__footer) h5,.gds-alert-ribbon>div:not(.alert-ribbon__footer) .header,.gds-alert-ribbon .alert-ribbon__content>h1,.gds-alert-ribbon .alert-ribbon__content h2,.gds-alert-ribbon .alert-ribbon__content h3,.gds-alert-ribbon .alert-ribbon__content h4,.gds-alert-ribbon .alert-ribbon__content h5,.gds-alert-ribbon .alert-ribbon__content .header{display:inline;font-size:1rem;font-weight:500;line-height:1.5rem;margin-right:.25rem}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p,.gds-alert-ribbon .alert-ribbon__content>p{display:inline;line-height:1.5rem;margin-bottom:0 \"\";margin-top:0 \"\"}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a,.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:visited:not(.button,[role=tab]),.gds-alert-ribbon .alert-ribbon__content>p a,.gds-alert-ribbon .alert-ribbon__content>p a:visited:not(.button,[role=tab]){color:var(--color)}.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:hover,.gds-alert-ribbon>div:not(.alert-ribbon__footer)>p a:visited:not(.button,[role=tab]):hover,.gds-alert-ribbon .alert-ribbon__content>p a:hover,.gds-alert-ribbon .alert-ribbon__content>p a:visited:not(.button,[role=tab]):hover{color:var(--color)}.gds-alert-ribbon button.gds-close{padding:0;grid-area:dismiss;justify-self:flex-end;margin:-.5rem -.375rem 0 .375rem;background-color:transparent;--color: var(--gds-sys-color-text-primary)}.gds-alert-ribbon button.gds-close>i:after,.gds-alert-ribbon button.gds-close>i:before{background-color:var(--color)}.gds-alert-ribbon button.gds-close:hover>i:after,.gds-alert-ribbon button.gds-close:hover>i:before{background-color:var(--color)}@media(min-width:36em){.gds-alert-ribbon button.gds-close+footer,.gds-alert-ribbon button.gds-close .alert-ribbon__footer{margin-top:.75rem \"\"}}.gds-alert-ribbon a{text-decoration:underline!important;transition:opacity .3s ease-in-out}.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{grid-area:footer;align-self:end}@media(max-width:35.98em){.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{margin-top:.75rem \"\"}}@media(min-width:36em){.gds-alert-ribbon>footer,.gds-alert-ribbon .alert-ribbon__footer{margin-left:.75rem \"\"}}.gds-alert-ribbon>footer>a,.gds-alert-ribbon .alert-ribbon__footer>a{display:flex}.gds-alert-ribbon>footer>a,.gds-alert-ribbon>footer>button,.gds-alert-ribbon>footer>button[type=button],.gds-alert-ribbon>footer>.button,.gds-alert-ribbon .alert-ribbon__footer>a,.gds-alert-ribbon .alert-ribbon__footer>button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button],.gds-alert-ribbon .alert-ribbon__footer>.button{min-height:2rem;padding:.4375rem .75rem;line-height:1.125rem}@media(max-width:35.98em){.gds-alert-ribbon>footer>a+a,.gds-alert-ribbon>footer>a+button,.gds-alert-ribbon>footer>a+.button,.gds-alert-ribbon>footer>button+a,.gds-alert-ribbon>footer>button+button,.gds-alert-ribbon>footer>button+.button,.gds-alert-ribbon>footer>button[type=button]+a,.gds-alert-ribbon>footer>button[type=button]+button,.gds-alert-ribbon>footer>button[type=button]+.button,.gds-alert-ribbon>footer>.button+a,.gds-alert-ribbon>footer>.button+button,.gds-alert-ribbon>footer>.button+.button,.gds-alert-ribbon .alert-ribbon__footer>a+a,.gds-alert-ribbon .alert-ribbon__footer>a+button,.gds-alert-ribbon .alert-ribbon__footer>a+.button,.gds-alert-ribbon .alert-ribbon__footer>button+a,.gds-alert-ribbon .alert-ribbon__footer>button+button,.gds-alert-ribbon .alert-ribbon__footer>button+.button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+a,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+.button,.gds-alert-ribbon .alert-ribbon__footer>.button+a,.gds-alert-ribbon .alert-ribbon__footer>.button+button,.gds-alert-ribbon .alert-ribbon__footer>.button+.button{margin-top:.75rem \"\"}}@media(min-width:36em){.gds-alert-ribbon>footer>a+a,.gds-alert-ribbon>footer>a+button,.gds-alert-ribbon>footer>a+.button,.gds-alert-ribbon>footer>button+a,.gds-alert-ribbon>footer>button+button,.gds-alert-ribbon>footer>button+.button,.gds-alert-ribbon>footer>button[type=button]+a,.gds-alert-ribbon>footer>button[type=button]+button,.gds-alert-ribbon>footer>button[type=button]+.button,.gds-alert-ribbon>footer>.button+a,.gds-alert-ribbon>footer>.button+button,.gds-alert-ribbon>footer>.button+.button,.gds-alert-ribbon .alert-ribbon__footer>a+a,.gds-alert-ribbon .alert-ribbon__footer>a+button,.gds-alert-ribbon .alert-ribbon__footer>a+.button,.gds-alert-ribbon .alert-ribbon__footer>button+a,.gds-alert-ribbon .alert-ribbon__footer>button+button,.gds-alert-ribbon .alert-ribbon__footer>button+.button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+a,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+button,.gds-alert-ribbon .alert-ribbon__footer>button[type=button]+.button,.gds-alert-ribbon .alert-ribbon__footer>.button+a,.gds-alert-ribbon .alert-ribbon__footer>.button+button,.gds-alert-ribbon .alert-ribbon__footer>.button+.button{margin-left:.75rem \"\"}}.gds-alert-ribbon.info{--background: var(--gds-sys-color-base-200);--color: var(--gds-sys-color-text-black);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-black)}.gds-alert-ribbon.info .gds-close{--color: var(--gds-sys-color-text-black)}.gds-alert-ribbon.info i>svg>*{fill:var(--gds-sys-color-text-black)}.gds-alert-ribbon.success{--background: var(--gds-sys-color-dark-green-2);--color: var(--gds-sys-color-text-inverted);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.success .gds-close{--color: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.success i>svg>*{fill:var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.warning{--background: var(--gds-sys-color-dark-yellow-1);--color: var(--gds-sys-color-text-black);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-black)}.gds-alert-ribbon.warning .gds-close{--color: var(--gds-sys-color-text-black)}.gds-alert-ribbon.warning i>svg>*{fill:var(--gds-sys-color-text-black)}.gds-alert-ribbon.danger{--background: var(--gds-sys-color-dark-red-1);--color: var(--gds-sys-color-text-inverted);--border-color: transparent;--gds-sys-color-focus-outline: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.danger .gds-close{--color: var(--gds-sys-color-text-inverted)}.gds-alert-ribbon.danger i>svg>*{fill:var(--gds-sys-color-text-inverted)}.gds-close{font-size:0;background:transparent;border:0;border-radius:50%;content:\"\";cursor:pointer;display:flex;font-family:inherit;height:2rem;position:relative;width:2rem;padding:0}@media(hover:none)and (pointer:coarse){.gds-close:not(:disabled):not(.disabled){padding:.375rem;height:2.75rem;width:2.75rem}.gds-close:not(:disabled):not(.disabled)>i{background:var(--gds-sys-color-base-200);height:2rem;width:2rem;border-radius:50%;position:relative;--color: var(--gds-sys-color-text-primary)}.gds-close:not(:disabled):not(.disabled)>div:after,.gds-close:not(:disabled):not(.disabled)>div:before{height:.789375rem;width:.130625rem;top:.625rem}}.gds-close:focus:not(:focus-visible){box-shadow:none;outline:0}.gds-close:focus,.gds-close:focus-visible i{outline-color:var(--gds-sys-color-focus-outline);outline-style:solid;outline-width:.125rem;outline-offset:.125rem}.gds-close>i{border-radius:var(--gds-sys-shape-corner-round);display:block;width:100%;height:100%}.gds-close>i:after,.gds-close>i:before{background:var(--gds-sys-color-text-primary);content:\"\";display:block;height:.789375rem;width:.130625rem;border-radius:.5px;left:calc(50% - .0625rem);position:absolute;top:.625rem}.gds-close>i:after{transform:rotate(45deg)}.gds-close>i:before{transform:rotate(-45deg)}.gds-close>svg path{fill:var(--gds-sys-color-text-primary)}@media(min-width:48em){.gds-close:not(:disabled,.disabled):hover>i{background:color-mix(in srgb,var(--gds-sys-color-text-primary) 10%,transparent)}.gds-close:not(:disabled,.disabled):hover:active>i{background:color-mix(in srgb,var(--gds-sys-color-text-primary) 20%,transparent)}}:host{--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-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)}:host .alert-container{box-sizing:border-box;width:100%}:host .alert-container a{cursor:pointer}:host .alert-container button{font-size:1rem;font-family:inherit}:host .alert-container button:not(.gds-close){padding-left:1rem \"\";padding-right:1rem \"\";padding-bottom:.75rem \"\";padding-top:.75rem \"\";border-radius:.25rem;border:solid 1px var(--gds-sys-color-base-600);font-weight:500}:host .alert-container button:not(.gds-close):focus:not(:focus-visible){box-shadow:none;outline:0}:host .alert-container button:not(.gds-close):focus,:host .alert-container button:not(.gds-close):focus-visible{outline-color:var(--gds-sys-color-focus-outline);outline-style:solid;outline-width:.125rem;outline-offset:.125rem}:host .alert-container button:not(.gds-close){min-height:2.75rem;align-items:center;display:inline-flex;justify-content:center}@media(max-width:35.98em){:host .alert-container button:not(.gds-close){min-width:100%}}@media screen and (-ms-high-contrast:active){:host .alert-container button:not(.gds-close){border:2px solid currentcolor}}:host .alert-container button:not(.gds-close).small{min-height:2rem;height:2rem;padding:.4375rem .75rem;font-size:.875rem;line-height:1rem}:host .alert-container button:not(.gds-close).large{min-height:4rem;padding:1rem 1.5rem;font-size:1.5rem;line-height:2rem}:host .alert-container.information button:not(.gds-close),:host .alert-container.warning button:not(.gds-close){transition:border var(--gds-sys-transition)}:host .alert-container.information button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover,:host .alert-container.warning button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover{background:var(--gds-sys-color-base-800);color:var(--gds-sys-color-text-white);--background: var(--gds-sys-color-base-800);--color: var(--gds-sys-color-text-white);border-color:var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close)[aria-selected=true],:host .alert-container.information button:not(.gds-close):active,:host .alert-container.information button:not(.gds-close).active,:host .alert-container.information button:not(.gds-close).active:hover,:host .alert-container.information button:not(.gds-close):active:hover,:host .alert-container.warning button:not(.gds-close)[aria-selected=true],:host .alert-container.warning button:not(.gds-close):active,:host .alert-container.warning button:not(.gds-close).active,:host .alert-container.warning button:not(.gds-close).active:hover,:host .alert-container.warning button:not(.gds-close):active:hover{background:var(--gds-sys-color-base-800);color:var(--gds-sys-color-text-white);--background: $bg;--color: $color;border-color:var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close)[aria-selected]:hover,:host .alert-container.information button:not(.gds-close).active:hover,:host .alert-container.information button:not(.gds-close):active:hover,:host .alert-container.warning button:not(.gds-close)[aria-selected]:hover,:host .alert-container.warning button:not(.gds-close).active:hover,:host .alert-container.warning button:not(.gds-close):active:hover{opacity:.9}:host .alert-container.information button:not(.gds-close),:host .alert-container.warning button:not(.gds-close){background-color:transparent;border-color:var(--gds-sys-color-base-800);color:var(--gds-sys-color-base-800);--color: var(--gds-sys-color-base-800)}:host .alert-container.information button:not(.gds-close):disabled,:host .alert-container.information button:not(.gds-close).disabled,:host .alert-container.information button:not(.gds-close)[aria-disabled=true],:host .alert-container.warning button:not(.gds-close):disabled,:host .alert-container.warning button:not(.gds-close).disabled,:host .alert-container.warning button:not(.gds-close)[aria-disabled=true]{color:var(--gds-sys-color-text-disabled)!important;border-color:var(--gds-sys-color-text-disabled)!important;cursor:not-allowed}:host .alert-container.information button:not(.gds-close):disabled::placeholder,:host .alert-container.information button:not(.gds-close).disabled::placeholder,:host .alert-container.information button:not(.gds-close)[aria-disabled=true]::placeholder,:host .alert-container.warning button:not(.gds-close):disabled::placeholder,:host .alert-container.warning button:not(.gds-close).disabled::placeholder,:host .alert-container.warning button:not(.gds-close)[aria-disabled=true]::placeholder{color:var(--gds-sys-color-text-disabled)}:host .alert-container.success button:not(.gds-close),:host .alert-container.danger button:not(.gds-close){--gds-sys-color-focus-outline: var(--gds-sys-color-white);transition:border var(--gds-sys-transition)}:host .alert-container.success button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover,:host .alert-container.danger button:not(.gds-close):not(:disabled,.disabled,[aria-disabled]):hover{background:var(--gds-sys-color-white);color:var(--gds-sys-color-text-primary);--background: var(--gds-sys-color-white);--color: var(--gds-sys-color-text-primary);border-color:var(--gds-sys-color-white)}:host .alert-container.success button:not(.gds-close)[aria-selected=true],:host .alert-container.success button:not(.gds-close):active,:host .alert-container.success button:not(.gds-close).active,:host .alert-container.success button:not(.gds-close).active:hover,:host .alert-container.success button:not(.gds-close):active:hover,:host .alert-container.danger button:not(.gds-close)[aria-selected=true],:host .alert-container.danger button:not(.gds-close):active,:host .alert-container.danger button:not(.gds-close).active,:host .alert-container.danger button:not(.gds-close).active:hover,:host .alert-container.danger button:not(.gds-close):active:hover{background:var(--gds-sys-color-base-200);color:var(--gds-sys-color-text-primary);--background: $bg;--color: $color;border-color:var(--gds-sys-color-base-200)}:host .alert-container.success button:not(.gds-close)[aria-selected]:hover,:host .alert-container.success button:not(.gds-close).active:hover,:host .alert-container.success button:not(.gds-close):active:hover,:host .alert-container.danger button:not(.gds-close)[aria-selected]:hover,:host .alert-container.danger button:not(.gds-close).active:hover,:host .alert-container.danger button:not(.gds-close):active:hover{opacity:.9}:host .alert-container.success button:not(.gds-close),:host .alert-container.danger button:not(.gds-close){background-color:transparent;border-color:var(--gds-sys-color-white);color:var(--gds-sys-color-white);--color: var(--gds-sys-color-white)}:host .alert-container.success button:not(.gds-close):disabled,:host .alert-container.success button:not(.gds-close).disabled,:host .alert-container.success button:not(.gds-close)[aria-disabled=true],:host .alert-container.danger button:not(.gds-close):disabled,:host .alert-container.danger button:not(.gds-close).disabled,:host .alert-container.danger button:not(.gds-close)[aria-disabled=true]{color:var(--gds-sys-color-text-disabled)!important;border-color:var(--gds-sys-color-text-disabled)!important;cursor:not-allowed}:host .alert-container.success button:not(.gds-close):disabled::placeholder,:host .alert-container.success button:not(.gds-close).disabled::placeholder,:host .alert-container.success button:not(.gds-close)[aria-disabled=true]::placeholder,:host .alert-container.danger button:not(.gds-close):disabled::placeholder,:host .alert-container.danger button:not(.gds-close).disabled::placeholder,:host .alert-container.danger button:not(.gds-close)[aria-disabled=true]::placeholder{color:var(--gds-sys-color-text-disabled)}\n"] }]
|
|
37
37
|
}], propDecorators: { type: [{
|
|
38
38
|
type: Input
|
|
39
39
|
}], title: [{
|
|
@@ -57,11 +57,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
57
57
|
}] } });
|
|
58
58
|
|
|
59
59
|
class NggvAlertModule {
|
|
60
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
61
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
62
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
60
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
61
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.9", ngImport: i0, type: NggvAlertModule, declarations: [AlertComponent], imports: [CommonModule], exports: [AlertComponent] }); }
|
|
62
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvAlertModule, imports: [CommonModule] }); }
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: NggvAlertModule, decorators: [{
|
|
65
65
|
type: NgModule,
|
|
66
66
|
args: [{
|
|
67
67
|
declarations: [AlertComponent],
|