@sebgroup/green-angular 0.0.0-v-angular-20250113082841
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/README.md +68 -0
- package/esm2022/index.mjs +18 -0
- package/esm2022/lib/accordion/accordion-list-item.component.mjs +50 -0
- package/esm2022/lib/accordion/accordion.component.mjs +72 -0
- package/esm2022/lib/accordion/accordion.module.mjs +19 -0
- package/esm2022/lib/accordion/index.mjs +4 -0
- package/esm2022/lib/badge/badge.component.mjs +80 -0
- package/esm2022/lib/badge/badge.module.mjs +18 -0
- package/esm2022/lib/badge/index.mjs +3 -0
- package/esm2022/lib/button/button.component.mjs +28 -0
- package/esm2022/lib/button/button.module.mjs +18 -0
- package/esm2022/lib/button/index.mjs +3 -0
- package/esm2022/lib/cell-table/cell-table-item.component.mjs +91 -0
- package/esm2022/lib/cell-table/cell-table.component.mjs +97 -0
- package/esm2022/lib/cell-table/cell-table.module.mjs +26 -0
- package/esm2022/lib/cell-table/cell-table.types.mjs +7 -0
- package/esm2022/lib/cell-table/cell-underline.directive.mjs +55 -0
- package/esm2022/lib/cell-table/index.mjs +4 -0
- package/esm2022/lib/context-menu/context-menu.component.mjs +73 -0
- package/esm2022/lib/context-menu/context-menu.module.mjs +20 -0
- package/esm2022/lib/context-menu/index.mjs +3 -0
- package/esm2022/lib/datepicker/datepicker.component.mjs +138 -0
- package/esm2022/lib/datepicker/datepicker.module.mjs +20 -0
- package/esm2022/lib/datepicker/index.mjs +3 -0
- package/esm2022/lib/dropdown/dropdown-button.directive.mjs +16 -0
- package/esm2022/lib/dropdown/dropdown-option.directive.mjs +16 -0
- package/esm2022/lib/dropdown/dropdown.component.mjs +222 -0
- package/esm2022/lib/dropdown/dropdown.module.mjs +34 -0
- package/esm2022/lib/dropdown/index.mjs +5 -0
- package/esm2022/lib/green-angular.module.mjs +72 -0
- package/esm2022/lib/in-page-wizard/in-page-wizard-step-card.component.mjs +61 -0
- package/esm2022/lib/in-page-wizard/in-page-wizard.module.mjs +18 -0
- package/esm2022/lib/in-page-wizard/index.mjs +3 -0
- package/esm2022/lib/modal/index.mjs +5 -0
- package/esm2022/lib/modal/modal-footer.directive.mjs +16 -0
- package/esm2022/lib/modal/modal-header.directive.mjs +16 -0
- package/esm2022/lib/modal/modal.component.mjs +309 -0
- package/esm2022/lib/modal/modal.module.mjs +41 -0
- package/esm2022/lib/pagination/index.mjs +3 -0
- package/esm2022/lib/pagination/pagination.component.mjs +175 -0
- package/esm2022/lib/pagination/pagination.module.mjs +18 -0
- package/esm2022/lib/progress-circle/index.mjs +3 -0
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +41 -0
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +18 -0
- package/esm2022/lib/segmented-control/index.mjs +3 -0
- package/esm2022/lib/segmented-control/segmented-control.component.mjs +35 -0
- package/esm2022/lib/segmented-control/segmented-control.module.mjs +19 -0
- package/esm2022/lib/shared/core-element/core-element.directive.mjs +33 -0
- package/esm2022/lib/shared/core-element/core-element.module.mjs +18 -0
- package/esm2022/lib/shared/core-element/index.mjs +3 -0
- package/esm2022/lib/shared/index.mjs +4 -0
- package/esm2022/lib/shared/on-scroll.directive.mjs +47 -0
- package/esm2022/lib/shared/shared.module.mjs +18 -0
- package/esm2022/lib/slider/index.mjs +3 -0
- package/esm2022/lib/slider/slider.component.mjs +113 -0
- package/esm2022/lib/slider/slider.module.mjs +19 -0
- package/esm2022/lib/sortable-list/index.mjs +3 -0
- package/esm2022/lib/sortable-list/sortable-list.component.mjs +181 -0
- package/esm2022/lib/sortable-list/sortable-list.module.mjs +20 -0
- package/esm2022/sebgroup-green-angular.mjs +5 -0
- package/esm2022/src/lib/accordion/accordion-list-item.component.mjs +50 -0
- package/esm2022/src/lib/accordion/accordion.component.mjs +72 -0
- package/esm2022/src/lib/accordion/accordion.module.mjs +19 -0
- package/esm2022/src/lib/accordion/index.mjs +4 -0
- package/esm2022/src/lib/accordion/sebgroup-green-angular-src-lib-accordion.mjs +5 -0
- package/esm2022/src/lib/badge/badge.component.mjs +80 -0
- package/esm2022/src/lib/badge/badge.module.mjs +18 -0
- package/esm2022/src/lib/badge/index.mjs +3 -0
- package/esm2022/src/lib/badge/sebgroup-green-angular-src-lib-badge.mjs +5 -0
- package/esm2022/src/lib/button/button.component.mjs +28 -0
- package/esm2022/src/lib/button/button.module.mjs +18 -0
- package/esm2022/src/lib/button/index.mjs +3 -0
- package/esm2022/src/lib/button/sebgroup-green-angular-src-lib-button.mjs +5 -0
- package/esm2022/src/lib/cell-table/cell-table-item.component.mjs +91 -0
- package/esm2022/src/lib/cell-table/cell-table.component.mjs +97 -0
- package/esm2022/src/lib/cell-table/cell-table.module.mjs +26 -0
- package/esm2022/src/lib/cell-table/cell-table.types.mjs +7 -0
- package/esm2022/src/lib/cell-table/cell-underline.directive.mjs +55 -0
- package/esm2022/src/lib/cell-table/index.mjs +4 -0
- package/esm2022/src/lib/cell-table/sebgroup-green-angular-src-lib-cell-table.mjs +5 -0
- package/esm2022/src/lib/context-menu/context-menu.component.mjs +73 -0
- package/esm2022/src/lib/context-menu/context-menu.module.mjs +20 -0
- package/esm2022/src/lib/context-menu/index.mjs +3 -0
- package/esm2022/src/lib/context-menu/sebgroup-green-angular-src-lib-context-menu.mjs +5 -0
- package/esm2022/src/lib/datepicker/datepicker.component.mjs +138 -0
- package/esm2022/src/lib/datepicker/datepicker.module.mjs +20 -0
- package/esm2022/src/lib/datepicker/index.mjs +3 -0
- package/esm2022/src/lib/datepicker/sebgroup-green-angular-src-lib-datepicker.mjs +5 -0
- package/esm2022/src/lib/dropdown/dropdown-button.directive.mjs +16 -0
- package/esm2022/src/lib/dropdown/dropdown-option.directive.mjs +16 -0
- package/esm2022/src/lib/dropdown/dropdown.component.mjs +222 -0
- package/esm2022/src/lib/dropdown/dropdown.module.mjs +34 -0
- package/esm2022/src/lib/dropdown/index.mjs +5 -0
- package/esm2022/src/lib/dropdown/sebgroup-green-angular-src-lib-dropdown.mjs +5 -0
- package/esm2022/src/lib/in-page-wizard/in-page-wizard-step-card.component.mjs +61 -0
- package/esm2022/src/lib/in-page-wizard/in-page-wizard.module.mjs +18 -0
- package/esm2022/src/lib/in-page-wizard/index.mjs +3 -0
- package/esm2022/src/lib/in-page-wizard/sebgroup-green-angular-src-lib-in-page-wizard.mjs +5 -0
- package/esm2022/src/lib/modal/index.mjs +5 -0
- package/esm2022/src/lib/modal/modal-footer.directive.mjs +16 -0
- package/esm2022/src/lib/modal/modal-header.directive.mjs +16 -0
- package/esm2022/src/lib/modal/modal.component.mjs +309 -0
- package/esm2022/src/lib/modal/modal.module.mjs +41 -0
- package/esm2022/src/lib/modal/sebgroup-green-angular-src-lib-modal.mjs +5 -0
- package/esm2022/src/lib/pagination/index.mjs +3 -0
- package/esm2022/src/lib/pagination/pagination.component.mjs +175 -0
- package/esm2022/src/lib/pagination/pagination.module.mjs +18 -0
- package/esm2022/src/lib/pagination/sebgroup-green-angular-src-lib-pagination.mjs +5 -0
- package/esm2022/src/lib/progress-circle/index.mjs +3 -0
- package/esm2022/src/lib/progress-circle/progress-circle.component.mjs +41 -0
- package/esm2022/src/lib/progress-circle/progress-circle.module.mjs +18 -0
- package/esm2022/src/lib/progress-circle/sebgroup-green-angular-src-lib-progress-circle.mjs +5 -0
- package/esm2022/src/lib/segmented-control/index.mjs +3 -0
- package/esm2022/src/lib/segmented-control/sebgroup-green-angular-src-lib-segmented-control.mjs +5 -0
- package/esm2022/src/lib/segmented-control/segmented-control.component.mjs +35 -0
- package/esm2022/src/lib/segmented-control/segmented-control.module.mjs +19 -0
- package/esm2022/src/lib/shared/core-element/core-element.directive.mjs +33 -0
- package/esm2022/src/lib/shared/core-element/core-element.module.mjs +18 -0
- package/esm2022/src/lib/shared/core-element/index.mjs +3 -0
- package/esm2022/src/lib/shared/index.mjs +4 -0
- package/esm2022/src/lib/shared/on-scroll.directive.mjs +47 -0
- package/esm2022/src/lib/shared/sebgroup-green-angular-src-lib-shared.mjs +5 -0
- package/esm2022/src/lib/shared/shared.module.mjs +18 -0
- package/esm2022/src/lib/slider/index.mjs +3 -0
- package/esm2022/src/lib/slider/sebgroup-green-angular-src-lib-slider.mjs +5 -0
- package/esm2022/src/lib/slider/slider.component.mjs +113 -0
- package/esm2022/src/lib/slider/slider.module.mjs +19 -0
- package/esm2022/src/lib/sortable-list/index.mjs +3 -0
- package/esm2022/src/lib/sortable-list/sebgroup-green-angular-src-lib-sortable-list.mjs +5 -0
- package/esm2022/src/lib/sortable-list/sortable-list.component.mjs +181 -0
- package/esm2022/src/lib/sortable-list/sortable-list.module.mjs +20 -0
- package/esm2022/src/v-angular/account-number/account-number.module.mjs +18 -0
- package/esm2022/src/v-angular/account-number/account-number.pipe.mjs +54 -0
- package/esm2022/src/v-angular/account-number/index.mjs +3 -0
- package/esm2022/src/v-angular/account-number/sebgroup-green-angular-src-v-angular-account-number.mjs +5 -0
- package/esm2022/src/v-angular/alert/alert.component.mjs +47 -0
- package/esm2022/src/v-angular/alert/alert.models.mjs +8 -0
- package/esm2022/src/v-angular/alert/alert.module.mjs +18 -0
- package/esm2022/src/v-angular/alert/index.mjs +4 -0
- package/esm2022/src/v-angular/alert/sebgroup-green-angular-src-v-angular-alert.mjs +5 -0
- package/esm2022/src/v-angular/base-control-value-accessor/base-control-value-accessor.component.mjs +297 -0
- package/esm2022/src/v-angular/base-control-value-accessor/base-control-value-accessor.module.mjs +17 -0
- package/esm2022/src/v-angular/base-control-value-accessor/index.mjs +3 -0
- package/esm2022/src/v-angular/base-control-value-accessor/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs +5 -0
- package/esm2022/src/v-angular/breadcrumbs/breadcrumbs.component.mjs +25 -0
- package/esm2022/src/v-angular/breadcrumbs/breadcrumbs.module.mjs +20 -0
- package/esm2022/src/v-angular/breadcrumbs/index.mjs +3 -0
- package/esm2022/src/v-angular/breadcrumbs/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs +5 -0
- package/esm2022/src/v-angular/button/button.component.mjs +108 -0
- package/esm2022/src/v-angular/button/button.module.mjs +20 -0
- package/esm2022/src/v-angular/button/index.mjs +3 -0
- package/esm2022/src/v-angular/button/sebgroup-green-angular-src-v-angular-button.mjs +5 -0
- package/esm2022/src/v-angular/card/card.component.mjs +11 -0
- package/esm2022/src/v-angular/card/card.module.mjs +18 -0
- package/esm2022/src/v-angular/card/index.mjs +3 -0
- package/esm2022/src/v-angular/card/sebgroup-green-angular-src-v-angular-card.mjs +5 -0
- package/esm2022/src/v-angular/character-countdown/character-countdown.directive.mjs +51 -0
- package/esm2022/src/v-angular/character-countdown/character-countdown.module.mjs +18 -0
- package/esm2022/src/v-angular/character-countdown/index.mjs +3 -0
- package/esm2022/src/v-angular/character-countdown/sebgroup-green-angular-src-v-angular-character-countdown.mjs +5 -0
- package/esm2022/src/v-angular/checkbox/checkbox.component.mjs +74 -0
- package/esm2022/src/v-angular/checkbox/checkbox.module.mjs +21 -0
- package/esm2022/src/v-angular/checkbox/index.mjs +3 -0
- package/esm2022/src/v-angular/checkbox/sebgroup-green-angular-src-v-angular-checkbox.mjs +5 -0
- package/esm2022/src/v-angular/core/core.globals.mjs +20 -0
- package/esm2022/src/v-angular/core/core.utils.mjs +62 -0
- package/esm2022/src/v-angular/core/index.mjs +3 -0
- package/esm2022/src/v-angular/core/sebgroup-green-angular-src-v-angular-core.mjs +5 -0
- package/esm2022/src/v-angular/datepicker/components/calendar/calendar.component.mjs +200 -0
- package/esm2022/src/v-angular/datepicker/components/calendar-control/calendar-control.component.mjs +115 -0
- package/esm2022/src/v-angular/datepicker/components/date-input/date-input.component.mjs +203 -0
- package/esm2022/src/v-angular/datepicker/components/datepicker/datepicker.component.mjs +135 -0
- package/esm2022/src/v-angular/datepicker/date-control-value-accessor/date-control-value-accessor.component.mjs +408 -0
- package/esm2022/src/v-angular/datepicker/datepicker.globals.mjs +20 -0
- package/esm2022/src/v-angular/datepicker/datepicker.models.mjs +56 -0
- package/esm2022/src/v-angular/datepicker/datepicker.module.mjs +63 -0
- package/esm2022/src/v-angular/datepicker/datepicker.utils.mjs +196 -0
- package/esm2022/src/v-angular/datepicker/directives/calendar-date.directive.mjs +47 -0
- package/esm2022/src/v-angular/datepicker/index.mjs +17 -0
- package/esm2022/src/v-angular/datepicker/models/dates.mjs +291 -0
- package/esm2022/src/v-angular/datepicker/pipes/date-thook.pipe.mjs +30 -0
- package/esm2022/src/v-angular/datepicker/pipes/is-disabled.pipe.mjs +37 -0
- package/esm2022/src/v-angular/datepicker/pipes/matches.pipe.mjs +17 -0
- package/esm2022/src/v-angular/datepicker/sebgroup-green-angular-src-v-angular-datepicker.mjs +5 -0
- package/esm2022/src/v-angular/drag-drop/drag-drop.component.mjs +496 -0
- package/esm2022/src/v-angular/drag-drop/drag-drop.models.mjs +2 -0
- package/esm2022/src/v-angular/drag-drop/drag-drop.module.mjs +49 -0
- package/esm2022/src/v-angular/drag-drop/drag-drop.pipes.mjs +70 -0
- package/esm2022/src/v-angular/drag-drop/drag-drop.utils.mjs +75 -0
- package/esm2022/src/v-angular/drag-drop/index.mjs +5 -0
- package/esm2022/src/v-angular/drag-drop/sebgroup-green-angular-src-v-angular-drag-drop.mjs +5 -0
- package/esm2022/src/v-angular/dropdown/dropdown-list/dropdown-list.component.mjs +271 -0
- package/esm2022/src/v-angular/dropdown/dropdown-list/index.mjs +2 -0
- package/esm2022/src/v-angular/dropdown/dropdown.component.mjs +246 -0
- package/esm2022/src/v-angular/dropdown/dropdown.module.mjs +38 -0
- package/esm2022/src/v-angular/dropdown/index.mjs +6 -0
- package/esm2022/src/v-angular/dropdown/sebgroup-green-angular-src-v-angular-dropdown.mjs +5 -0
- package/esm2022/src/v-angular/dropdown/typeahead/index.mjs +6 -0
- package/esm2022/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.mjs +98 -0
- package/esm2022/src/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.mjs +85 -0
- package/esm2022/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.mjs +132 -0
- package/esm2022/src/v-angular/dropdown/typeahead/typeahead.directive.mjs +177 -0
- package/esm2022/src/v-angular/dropdown/typeahead/typeahead.module.mjs +33 -0
- package/esm2022/src/v-angular/external-link/external-link.directive.mjs +37 -0
- package/esm2022/src/v-angular/external-link/external-link.module.mjs +18 -0
- package/esm2022/src/v-angular/external-link/index.mjs +3 -0
- package/esm2022/src/v-angular/external-link/sebgroup-green-angular-src-v-angular-external-link.mjs +5 -0
- package/esm2022/src/v-angular/i18n/i18n.json +12 -0
- package/esm2022/src/v-angular/i18n/i18n.module.mjs +89 -0
- package/esm2022/src/v-angular/i18n/i18n.test.module.mjs +89 -0
- package/esm2022/src/v-angular/i18n/index.mjs +3 -0
- package/esm2022/src/v-angular/i18n/sebgroup-green-angular-src-v-angular-i18n.mjs +5 -0
- package/esm2022/src/v-angular/info-circle/index.mjs +3 -0
- package/esm2022/src/v-angular/info-circle/info-circle.component.mjs +28 -0
- package/esm2022/src/v-angular/info-circle/info-circle.module.mjs +21 -0
- package/esm2022/src/v-angular/info-circle/sebgroup-green-angular-src-v-angular-info-circle.mjs +5 -0
- package/esm2022/src/v-angular/input/index.mjs +3 -0
- package/esm2022/src/v-angular/input/input.component.mjs +218 -0
- package/esm2022/src/v-angular/input/input.module.mjs +41 -0
- package/esm2022/src/v-angular/input/sebgroup-green-angular-src-v-angular-input.mjs +5 -0
- package/esm2022/src/v-angular/input-mask/config.mjs +9 -0
- package/esm2022/src/v-angular/input-mask/constants.mjs +2 -0
- package/esm2022/src/v-angular/input-mask/index.mjs +6 -0
- package/esm2022/src/v-angular/input-mask/input-mask-format.pipe.mjs +21 -0
- package/esm2022/src/v-angular/input-mask/input-mask.directive.mjs +165 -0
- package/esm2022/src/v-angular/input-mask/input-mask.module.mjs +35 -0
- package/esm2022/src/v-angular/input-mask/input-mask.types.mjs +2 -0
- package/esm2022/src/v-angular/input-mask/sebgroup-green-angular-src-v-angular-input-mask.mjs +5 -0
- package/esm2022/src/v-angular/modal/dialog/dialog.component.mjs +217 -0
- package/esm2022/src/v-angular/modal/fold-out/fold-out.component.mjs +157 -0
- package/esm2022/src/v-angular/modal/fold-out/fold-out.directive.mjs +19 -0
- package/esm2022/src/v-angular/modal/fold-out/keyboard-key.enum.mjs +9 -0
- package/esm2022/src/v-angular/modal/index.mjs +6 -0
- package/esm2022/src/v-angular/modal/modal.globals.mjs +20 -0
- package/esm2022/src/v-angular/modal/modal.module.mjs +53 -0
- package/esm2022/src/v-angular/modal/modal.types.mjs +2 -0
- package/esm2022/src/v-angular/modal/sebgroup-green-angular-src-v-angular-modal.mjs +5 -0
- package/esm2022/src/v-angular/modal/slide-out/slide-out.component.mjs +253 -0
- package/esm2022/src/v-angular/pagination/index.mjs +3 -0
- package/esm2022/src/v-angular/pagination/pagination.component.mjs +144 -0
- package/esm2022/src/v-angular/pagination/pagination.module.mjs +37 -0
- package/esm2022/src/v-angular/pagination/sebgroup-green-angular-src-v-angular-pagination.mjs +5 -0
- package/esm2022/src/v-angular/radio/index.mjs +3 -0
- package/esm2022/src/v-angular/radio/radio.component.mjs +132 -0
- package/esm2022/src/v-angular/radio/radio.module.mjs +21 -0
- package/esm2022/src/v-angular/radio/sebgroup-green-angular-src-v-angular-radio.mjs +5 -0
- package/esm2022/src/v-angular/slug/index.mjs +3 -0
- package/esm2022/src/v-angular/slug/sebgroup-green-angular-src-v-angular-slug.mjs +5 -0
- package/esm2022/src/v-angular/slug/slug.module.mjs +18 -0
- package/esm2022/src/v-angular/slug/slug.pipe.mjs +27 -0
- package/esm2022/src/v-angular/table/index.mjs +9 -0
- package/esm2022/src/v-angular/table/sebgroup-green-angular-src-v-angular-table.mjs +5 -0
- package/esm2022/src/v-angular/table/table.component.mjs +387 -0
- package/esm2022/src/v-angular/table/table.directive.mjs +110 -0
- package/esm2022/src/v-angular/table/table.models.mjs +2 -0
- package/esm2022/src/v-angular/table/table.module.mjs +40 -0
- package/esm2022/src/v-angular/table/table.tools.mjs +29 -0
- package/esm2022/src/v-angular/table/tr-thook.pipe.mjs +22 -0
- package/esm2022/src/v-angular/tabs/index.mjs +8 -0
- package/esm2022/src/v-angular/tabs/sebgroup-green-angular-src-v-angular-tabs.mjs +5 -0
- package/esm2022/src/v-angular/tabs/tab.directive.mjs +81 -0
- package/esm2022/src/v-angular/tabs/tabs.component.mjs +260 -0
- package/esm2022/src/v-angular/tabs/tabs.models.mjs +2 -0
- package/esm2022/src/v-angular/tabs/tabs.module.mjs +21 -0
- package/esm2022/src/v-angular/textarea/index.mjs +3 -0
- package/esm2022/src/v-angular/textarea/sebgroup-green-angular-src-v-angular-textarea.mjs +5 -0
- package/esm2022/src/v-angular/textarea/textarea.component.mjs +105 -0
- package/esm2022/src/v-angular/textarea/textarea.module.mjs +34 -0
- package/esm2022/src/v-angular/toast/index.mjs +8 -0
- package/esm2022/src/v-angular/toast/sebgroup-green-angular-src-v-angular-toast.mjs +5 -0
- package/esm2022/src/v-angular/toast/toast-message.service.mjs +63 -0
- package/esm2022/src/v-angular/toast/toast.component.mjs +70 -0
- package/esm2022/src/v-angular/toast/toast.models.mjs +8 -0
- package/esm2022/src/v-angular/toast/toast.module.mjs +21 -0
- package/esm2022/src/v-angular/tooltip/index.mjs +3 -0
- package/esm2022/src/v-angular/tooltip/sebgroup-green-angular-src-v-angular-tooltip.mjs +5 -0
- package/esm2022/src/v-angular/tooltip/tooltip.directive.mjs +293 -0
- package/esm2022/src/v-angular/tooltip/tooltip.module.mjs +18 -0
- package/esm2022/src/v-angular/tooltip/tooltip.styles.mjs +60 -0
- package/esm2022/v-angular/alert/alert.component.mjs +47 -0
- package/esm2022/v-angular/alert/alert.models.mjs +8 -0
- package/esm2022/v-angular/alert/alert.module.mjs +18 -0
- package/esm2022/v-angular/alert/index.mjs +4 -0
- package/esm2022/v-angular/base-control-value-accessor/base-control-value-accessor.component.mjs +297 -0
- package/esm2022/v-angular/base-control-value-accessor/base-control-value-accessor.module.mjs +17 -0
- package/esm2022/v-angular/base-control-value-accessor/index.mjs +3 -0
- package/esm2022/v-angular/breadcrumbs/breadcrumbs.component.mjs +25 -0
- package/esm2022/v-angular/breadcrumbs/breadcrumbs.module.mjs +20 -0
- package/esm2022/v-angular/breadcrumbs/index.mjs +3 -0
- package/esm2022/v-angular/button/button.component.mjs +108 -0
- package/esm2022/v-angular/button/button.module.mjs +20 -0
- package/esm2022/v-angular/button/index.mjs +3 -0
- package/esm2022/v-angular/card/card.component.mjs +11 -0
- package/esm2022/v-angular/card/card.module.mjs +18 -0
- package/esm2022/v-angular/card/index.mjs +3 -0
- package/esm2022/v-angular/character-countdown/character-countdown.directive.mjs +51 -0
- package/esm2022/v-angular/character-countdown/character-countdown.module.mjs +18 -0
- package/esm2022/v-angular/character-countdown/index.mjs +3 -0
- package/esm2022/v-angular/checkbox/checkbox.component.mjs +74 -0
- package/esm2022/v-angular/checkbox/checkbox.module.mjs +21 -0
- package/esm2022/v-angular/checkbox/index.mjs +3 -0
- package/esm2022/v-angular/datepicker/components/calendar/calendar.component.mjs +200 -0
- package/esm2022/v-angular/datepicker/components/calendar-control/calendar-control.component.mjs +115 -0
- package/esm2022/v-angular/datepicker/components/date-input/date-input.component.mjs +203 -0
- package/esm2022/v-angular/datepicker/components/datepicker/datepicker.component.mjs +135 -0
- package/esm2022/v-angular/datepicker/date-control-value-accessor/date-control-value-accessor.component.mjs +408 -0
- package/esm2022/v-angular/datepicker/datepicker.globals.mjs +20 -0
- package/esm2022/v-angular/datepicker/datepicker.models.mjs +56 -0
- package/esm2022/v-angular/datepicker/datepicker.module.mjs +63 -0
- package/esm2022/v-angular/datepicker/datepicker.utils.mjs +196 -0
- package/esm2022/v-angular/datepicker/directives/calendar-date.directive.mjs +47 -0
- package/esm2022/v-angular/datepicker/index.mjs +17 -0
- package/esm2022/v-angular/datepicker/models/dates.mjs +291 -0
- package/esm2022/v-angular/datepicker/pipes/date-thook.pipe.mjs +30 -0
- package/esm2022/v-angular/datepicker/pipes/is-disabled.pipe.mjs +37 -0
- package/esm2022/v-angular/datepicker/pipes/matches.pipe.mjs +17 -0
- package/esm2022/v-angular/drag-drop/drag-drop.component.mjs +496 -0
- package/esm2022/v-angular/drag-drop/drag-drop.models.mjs +2 -0
- package/esm2022/v-angular/drag-drop/drag-drop.module.mjs +49 -0
- package/esm2022/v-angular/drag-drop/drag-drop.pipes.mjs +70 -0
- package/esm2022/v-angular/drag-drop/drag-drop.utils.mjs +75 -0
- package/esm2022/v-angular/drag-drop/index.mjs +5 -0
- package/esm2022/v-angular/dropdown/dropdown-list/dropdown-list.component.mjs +271 -0
- package/esm2022/v-angular/dropdown/dropdown-list/index.mjs +2 -0
- package/esm2022/v-angular/dropdown/dropdown.component.mjs +246 -0
- package/esm2022/v-angular/dropdown/dropdown.module.mjs +38 -0
- package/esm2022/v-angular/dropdown/index.mjs +6 -0
- package/esm2022/v-angular/dropdown/typeahead/index.mjs +6 -0
- package/esm2022/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.mjs +98 -0
- package/esm2022/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.mjs +85 -0
- package/esm2022/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.mjs +132 -0
- package/esm2022/v-angular/dropdown/typeahead/typeahead.directive.mjs +177 -0
- package/esm2022/v-angular/dropdown/typeahead/typeahead.module.mjs +33 -0
- package/esm2022/v-angular/external-link/external-link.directive.mjs +37 -0
- package/esm2022/v-angular/external-link/external-link.module.mjs +18 -0
- package/esm2022/v-angular/external-link/index.mjs +3 -0
- package/esm2022/v-angular/i18n/i18n.json +12 -0
- package/esm2022/v-angular/i18n/i18n.module.mjs +89 -0
- package/esm2022/v-angular/i18n/i18n.test.module.mjs +89 -0
- package/esm2022/v-angular/i18n/index.mjs +3 -0
- package/esm2022/v-angular/index.mjs +27 -0
- package/esm2022/v-angular/info-circle/index.mjs +3 -0
- package/esm2022/v-angular/info-circle/info-circle.component.mjs +28 -0
- package/esm2022/v-angular/info-circle/info-circle.module.mjs +21 -0
- package/esm2022/v-angular/input/index.mjs +3 -0
- package/esm2022/v-angular/input/input.component.mjs +218 -0
- package/esm2022/v-angular/input/input.module.mjs +41 -0
- package/esm2022/v-angular/input-mask/config.mjs +9 -0
- package/esm2022/v-angular/input-mask/constants.mjs +2 -0
- package/esm2022/v-angular/input-mask/index.mjs +6 -0
- package/esm2022/v-angular/input-mask/input-mask-format.pipe.mjs +21 -0
- package/esm2022/v-angular/input-mask/input-mask.directive.mjs +165 -0
- package/esm2022/v-angular/input-mask/input-mask.module.mjs +35 -0
- package/esm2022/v-angular/input-mask/input-mask.types.mjs +2 -0
- package/esm2022/v-angular/modal/dialog/dialog.component.mjs +217 -0
- package/esm2022/v-angular/modal/fold-out/fold-out.component.mjs +157 -0
- package/esm2022/v-angular/modal/fold-out/fold-out.directive.mjs +19 -0
- package/esm2022/v-angular/modal/fold-out/keyboard-key.enum.mjs +9 -0
- package/esm2022/v-angular/modal/index.mjs +6 -0
- package/esm2022/v-angular/modal/modal.globals.mjs +20 -0
- package/esm2022/v-angular/modal/modal.module.mjs +53 -0
- package/esm2022/v-angular/modal/modal.types.mjs +2 -0
- package/esm2022/v-angular/modal/slide-out/slide-out.component.mjs +253 -0
- package/esm2022/v-angular/pagination/index.mjs +3 -0
- package/esm2022/v-angular/pagination/pagination.component.mjs +144 -0
- package/esm2022/v-angular/pagination/pagination.module.mjs +37 -0
- package/esm2022/v-angular/radio/index.mjs +3 -0
- package/esm2022/v-angular/radio/radio.component.mjs +132 -0
- package/esm2022/v-angular/radio/radio.module.mjs +21 -0
- package/esm2022/v-angular/sebgroup-green-angular-v-angular.mjs +5 -0
- package/esm2022/v-angular/slug/index.mjs +3 -0
- package/esm2022/v-angular/slug/slug.module.mjs +18 -0
- package/esm2022/v-angular/slug/slug.pipe.mjs +27 -0
- package/esm2022/v-angular/table/index.mjs +9 -0
- package/esm2022/v-angular/table/table.component.mjs +387 -0
- package/esm2022/v-angular/table/table.directive.mjs +110 -0
- package/esm2022/v-angular/table/table.models.mjs +2 -0
- package/esm2022/v-angular/table/table.module.mjs +40 -0
- package/esm2022/v-angular/table/table.tools.mjs +29 -0
- package/esm2022/v-angular/table/tr-thook.pipe.mjs +22 -0
- package/esm2022/v-angular/tabs/index.mjs +8 -0
- package/esm2022/v-angular/tabs/tab.directive.mjs +81 -0
- package/esm2022/v-angular/tabs/tabs.component.mjs +260 -0
- package/esm2022/v-angular/tabs/tabs.models.mjs +2 -0
- package/esm2022/v-angular/tabs/tabs.module.mjs +21 -0
- package/esm2022/v-angular/textarea/index.mjs +3 -0
- package/esm2022/v-angular/textarea/textarea.component.mjs +105 -0
- package/esm2022/v-angular/textarea/textarea.module.mjs +34 -0
- package/esm2022/v-angular/toast/index.mjs +8 -0
- package/esm2022/v-angular/toast/toast-message.service.mjs +63 -0
- package/esm2022/v-angular/toast/toast.component.mjs +70 -0
- package/esm2022/v-angular/toast/toast.models.mjs +8 -0
- package/esm2022/v-angular/toast/toast.module.mjs +21 -0
- package/esm2022/v-angular/tooltip/index.mjs +3 -0
- package/esm2022/v-angular/tooltip/tooltip.directive.mjs +293 -0
- package/esm2022/v-angular/tooltip/tooltip.module.mjs +18 -0
- package/esm2022/v-angular/tooltip/tooltip.styles.mjs +60 -0
- package/esm2022/v-angular/v-angular.module.mjs +120 -0
- package/fesm2022/sebgroup-green-angular-src-lib-accordion.mjs +141 -0
- package/fesm2022/sebgroup-green-angular-src-lib-accordion.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-badge.mjs +102 -0
- package/fesm2022/sebgroup-green-angular-src-lib-badge.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-button.mjs +50 -0
- package/fesm2022/sebgroup-green-angular-src-lib-button.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-cell-table.mjs +270 -0
- package/fesm2022/sebgroup-green-angular-src-lib-cell-table.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-context-menu.mjs +97 -0
- package/fesm2022/sebgroup-green-angular-src-lib-context-menu.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-datepicker.mjs +162 -0
- package/fesm2022/sebgroup-green-angular-src-lib-datepicker.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-dropdown.mjs +284 -0
- package/fesm2022/sebgroup-green-angular-src-lib-dropdown.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-in-page-wizard.mjs +83 -0
- package/fesm2022/sebgroup-green-angular-src-lib-in-page-wizard.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-modal.mjs +377 -0
- package/fesm2022/sebgroup-green-angular-src-lib-modal.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-pagination.mjs +197 -0
- package/fesm2022/sebgroup-green-angular-src-lib-pagination.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-progress-circle.mjs +63 -0
- package/fesm2022/sebgroup-green-angular-src-lib-progress-circle.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-segmented-control.mjs +58 -0
- package/fesm2022/sebgroup-green-angular-src-lib-segmented-control.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs +113 -0
- package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-slider.mjs +135 -0
- package/fesm2022/sebgroup-green-angular-src-lib-slider.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-lib-sortable-list.mjs +204 -0
- package/fesm2022/sebgroup-green-angular-src-lib-sortable-list.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-account-number.mjs +76 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-account-number.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-alert.mjs +76 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-alert.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs +318 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-base-control-value-accessor.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs +49 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs +131 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs +33 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs +73 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs +98 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs +88 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs +1759 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-drag-drop.mjs +685 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-drag-drop.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs +1037 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs +58 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs +198 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs +53 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs +227 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs +262 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs +717 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-pagination.mjs +185 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-pagination.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs +156 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs +49 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs +585 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-tabs.mjs +365 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-tabs.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs +141 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-toast.mjs +166 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-toast.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs +374 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-v-angular.mjs +7538 -0
- package/fesm2022/sebgroup-green-angular-v-angular.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular.mjs +2229 -0
- package/fesm2022/sebgroup-green-angular.mjs.map +1 -0
- package/index.d.ts +17 -0
- package/lib/accordion/accordion-list-item.component.d.ts +16 -0
- package/lib/accordion/accordion.component.d.ts +16 -0
- package/lib/accordion/accordion.module.d.ts +9 -0
- package/lib/accordion/index.d.ts +3 -0
- package/lib/badge/badge.component.d.ts +25 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/index.d.ts +2 -0
- package/lib/button/button.component.d.ts +9 -0
- package/lib/button/button.module.d.ts +8 -0
- package/lib/button/index.d.ts +2 -0
- package/lib/cell-table/cell-table-item.component.d.ts +14 -0
- package/lib/cell-table/cell-table.component.d.ts +44 -0
- package/lib/cell-table/cell-table.module.d.ts +10 -0
- package/lib/cell-table/cell-table.types.d.ts +34 -0
- package/lib/cell-table/cell-underline.directive.d.ts +14 -0
- package/lib/cell-table/index.d.ts +3 -0
- package/lib/context-menu/context-menu.component.d.ts +44 -0
- package/lib/context-menu/context-menu.module.d.ts +9 -0
- package/lib/context-menu/index.d.ts +2 -0
- package/lib/datepicker/datepicker.component.d.ts +59 -0
- package/lib/datepicker/datepicker.module.d.ts +9 -0
- package/lib/datepicker/index.d.ts +2 -0
- package/lib/dropdown/dropdown-button.directive.d.ts +8 -0
- package/lib/dropdown/dropdown-option.directive.d.ts +8 -0
- package/lib/dropdown/dropdown.component.d.ts +78 -0
- package/lib/dropdown/dropdown.module.d.ts +11 -0
- package/lib/dropdown/index.d.ts +4 -0
- package/lib/green-angular.module.d.ts +21 -0
- package/lib/in-page-wizard/in-page-wizard-step-card.component.d.ts +19 -0
- package/lib/in-page-wizard/in-page-wizard.module.d.ts +8 -0
- package/lib/in-page-wizard/index.d.ts +2 -0
- package/lib/modal/index.d.ts +4 -0
- package/lib/modal/modal-footer.directive.d.ts +8 -0
- package/lib/modal/modal-header.directive.d.ts +8 -0
- package/lib/modal/modal.component.d.ts +67 -0
- package/lib/modal/modal.module.d.ts +11 -0
- package/lib/pagination/index.d.ts +2 -0
- package/lib/pagination/pagination.component.d.ts +42 -0
- package/lib/pagination/pagination.module.d.ts +8 -0
- package/lib/progress-circle/index.d.ts +2 -0
- package/lib/progress-circle/progress-circle.component.d.ts +14 -0
- package/lib/progress-circle/progress-circle.module.d.ts +8 -0
- package/lib/segmented-control/index.d.ts +2 -0
- package/lib/segmented-control/segmented-control.component.d.ts +11 -0
- package/lib/segmented-control/segmented-control.module.d.ts +9 -0
- package/lib/shared/core-element/core-element.directive.d.ts +13 -0
- package/lib/shared/core-element/core-element.module.d.ts +8 -0
- package/lib/shared/core-element/index.d.ts +2 -0
- package/lib/shared/index.d.ts +3 -0
- package/lib/shared/on-scroll.directive.d.ts +14 -0
- package/lib/shared/shared.module.d.ts +8 -0
- package/lib/slider/index.d.ts +2 -0
- package/lib/slider/slider.component.d.ts +38 -0
- package/lib/slider/slider.module.d.ts +9 -0
- package/lib/sortable-list/index.d.ts +2 -0
- package/lib/sortable-list/sortable-list.component.d.ts +91 -0
- package/lib/sortable-list/sortable-list.module.d.ts +10 -0
- package/package.json +308 -0
- package/src/lib/accordion/accordion-list-item.component.d.ts +16 -0
- package/src/lib/accordion/accordion.component.d.ts +16 -0
- package/src/lib/accordion/accordion.module.d.ts +9 -0
- package/src/lib/accordion/index.d.ts +3 -0
- package/src/lib/badge/badge.component.d.ts +25 -0
- package/src/lib/badge/badge.module.d.ts +8 -0
- package/src/lib/badge/index.d.ts +2 -0
- package/src/lib/button/button.component.d.ts +9 -0
- package/src/lib/button/button.module.d.ts +8 -0
- package/src/lib/button/index.d.ts +2 -0
- package/src/lib/cell-table/cell-table-item.component.d.ts +14 -0
- package/src/lib/cell-table/cell-table.component.d.ts +44 -0
- package/src/lib/cell-table/cell-table.module.d.ts +10 -0
- package/src/lib/cell-table/cell-table.types.d.ts +34 -0
- package/src/lib/cell-table/cell-underline.directive.d.ts +14 -0
- package/src/lib/cell-table/index.d.ts +3 -0
- package/src/lib/context-menu/context-menu.component.d.ts +44 -0
- package/src/lib/context-menu/context-menu.module.d.ts +9 -0
- package/src/lib/context-menu/index.d.ts +2 -0
- package/src/lib/datepicker/datepicker.component.d.ts +59 -0
- package/src/lib/datepicker/datepicker.module.d.ts +9 -0
- package/src/lib/datepicker/index.d.ts +2 -0
- package/src/lib/dropdown/dropdown-button.directive.d.ts +8 -0
- package/src/lib/dropdown/dropdown-option.directive.d.ts +8 -0
- package/src/lib/dropdown/dropdown.component.d.ts +78 -0
- package/src/lib/dropdown/dropdown.module.d.ts +11 -0
- package/src/lib/dropdown/index.d.ts +4 -0
- package/src/lib/in-page-wizard/in-page-wizard-step-card.component.d.ts +19 -0
- package/src/lib/in-page-wizard/in-page-wizard.module.d.ts +8 -0
- package/src/lib/in-page-wizard/index.d.ts +2 -0
- package/src/lib/modal/index.d.ts +4 -0
- package/src/lib/modal/modal-footer.directive.d.ts +8 -0
- package/src/lib/modal/modal-header.directive.d.ts +8 -0
- package/src/lib/modal/modal.component.d.ts +67 -0
- package/src/lib/modal/modal.module.d.ts +11 -0
- package/src/lib/pagination/index.d.ts +2 -0
- package/src/lib/pagination/pagination.component.d.ts +42 -0
- package/src/lib/pagination/pagination.module.d.ts +8 -0
- package/src/lib/progress-circle/index.d.ts +2 -0
- package/src/lib/progress-circle/progress-circle.component.d.ts +14 -0
- package/src/lib/progress-circle/progress-circle.module.d.ts +8 -0
- package/src/lib/segmented-control/index.d.ts +2 -0
- package/src/lib/segmented-control/segmented-control.component.d.ts +11 -0
- package/src/lib/segmented-control/segmented-control.module.d.ts +9 -0
- package/src/lib/shared/core-element/core-element.directive.d.ts +13 -0
- package/src/lib/shared/core-element/core-element.module.d.ts +8 -0
- package/src/lib/shared/core-element/index.d.ts +2 -0
- package/src/lib/shared/index.d.ts +3 -0
- package/src/lib/shared/on-scroll.directive.d.ts +14 -0
- package/src/lib/shared/shared.module.d.ts +8 -0
- package/src/lib/slider/index.d.ts +2 -0
- package/src/lib/slider/slider.component.d.ts +38 -0
- package/src/lib/slider/slider.module.d.ts +9 -0
- package/src/lib/sortable-list/index.d.ts +2 -0
- package/src/lib/sortable-list/sortable-list.component.d.ts +91 -0
- package/src/lib/sortable-list/sortable-list.module.d.ts +10 -0
- package/src/v-angular/account-number/README.md +70 -0
- package/src/v-angular/account-number/account-number.module.d.ts +8 -0
- package/src/v-angular/account-number/account-number.pipe.d.ts +32 -0
- package/src/v-angular/account-number/index.d.ts +2 -0
- package/src/v-angular/alert/alert.component.d.ts +19 -0
- package/src/v-angular/alert/alert.models.d.ts +13 -0
- package/src/v-angular/alert/alert.module.d.ts +8 -0
- package/src/v-angular/alert/index.d.ts +3 -0
- package/src/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +130 -0
- package/src/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +7 -0
- package/src/v-angular/base-control-value-accessor/index.d.ts +2 -0
- package/src/v-angular/breadcrumbs/breadcrumbs.component.d.ts +18 -0
- package/src/v-angular/breadcrumbs/breadcrumbs.module.d.ts +10 -0
- package/src/v-angular/breadcrumbs/index.d.ts +2 -0
- package/src/v-angular/button/button.component.d.ts +62 -0
- package/src/v-angular/button/button.module.d.ts +10 -0
- package/src/v-angular/button/index.d.ts +2 -0
- package/src/v-angular/card/card.component.d.ts +5 -0
- package/src/v-angular/card/card.module.d.ts +8 -0
- package/src/v-angular/card/index.d.ts +2 -0
- package/src/v-angular/character-countdown/character-countdown.directive.d.ts +17 -0
- package/src/v-angular/character-countdown/character-countdown.module.d.ts +8 -0
- package/src/v-angular/character-countdown/index.d.ts +2 -0
- package/src/v-angular/checkbox/checkbox.component.d.ts +28 -0
- package/src/v-angular/checkbox/checkbox.module.d.ts +10 -0
- package/src/v-angular/checkbox/index.d.ts +2 -0
- package/src/v-angular/core/core.globals.d.ts +13 -0
- package/src/v-angular/core/core.utils.d.ts +23 -0
- package/src/v-angular/core/index.d.ts +2 -0
- package/src/v-angular/datepicker/components/calendar/calendar.component.d.ts +36 -0
- package/src/v-angular/datepicker/components/calendar-control/calendar-control.component.d.ts +30 -0
- package/src/v-angular/datepicker/components/date-input/date-input.component.d.ts +102 -0
- package/src/v-angular/datepicker/components/datepicker/datepicker.component.d.ts +62 -0
- package/src/v-angular/datepicker/date-control-value-accessor/date-control-value-accessor.component.d.ts +165 -0
- package/src/v-angular/datepicker/datepicker.globals.d.ts +13 -0
- package/src/v-angular/datepicker/datepicker.models.d.ts +50 -0
- package/src/v-angular/datepicker/datepicker.module.d.ts +19 -0
- package/src/v-angular/datepicker/datepicker.utils.d.ts +39 -0
- package/src/v-angular/datepicker/directives/calendar-date.directive.d.ts +21 -0
- package/src/v-angular/datepicker/index.d.ts +13 -0
- package/src/v-angular/datepicker/models/dates.d.ts +15 -0
- package/src/v-angular/datepicker/pipes/date-thook.pipe.d.ts +8 -0
- package/src/v-angular/datepicker/pipes/is-disabled.pipe.d.ts +8 -0
- package/src/v-angular/datepicker/pipes/matches.pipe.d.ts +7 -0
- package/src/v-angular/drag-drop/drag-drop.component.d.ts +131 -0
- package/src/v-angular/drag-drop/drag-drop.models.d.ts +49 -0
- package/src/v-angular/drag-drop/drag-drop.module.d.ts +13 -0
- package/src/v-angular/drag-drop/drag-drop.pipes.d.ts +40 -0
- package/src/v-angular/drag-drop/drag-drop.utils.d.ts +33 -0
- package/src/v-angular/drag-drop/index.d.ts +4 -0
- package/src/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +96 -0
- package/src/v-angular/dropdown/dropdown-list/index.d.ts +1 -0
- package/src/v-angular/dropdown/dropdown.component.d.ts +103 -0
- package/src/v-angular/dropdown/dropdown.module.d.ts +13 -0
- package/src/v-angular/dropdown/index.d.ts +5 -0
- package/src/v-angular/dropdown/typeahead/index.d.ts +5 -0
- package/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +34 -0
- package/src/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +34 -0
- package/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +59 -0
- package/src/v-angular/dropdown/typeahead/typeahead.directive.d.ts +76 -0
- package/src/v-angular/dropdown/typeahead/typeahead.module.d.ts +11 -0
- package/src/v-angular/external-link/external-link.directive.d.ts +17 -0
- package/src/v-angular/external-link/external-link.module.d.ts +8 -0
- package/src/v-angular/external-link/index.d.ts +2 -0
- package/src/v-angular/i18n/i18n.module.d.ts +15 -0
- package/src/v-angular/i18n/i18n.test.module.d.ts +27 -0
- package/src/v-angular/i18n/index.d.ts +2 -0
- package/src/v-angular/info-circle/index.d.ts +2 -0
- package/src/v-angular/info-circle/info-circle.component.d.ts +16 -0
- package/src/v-angular/info-circle/info-circle.module.d.ts +10 -0
- package/src/v-angular/input/index.d.ts +2 -0
- package/src/v-angular/input/input.component.d.ts +85 -0
- package/src/v-angular/input/input.module.d.ts +13 -0
- package/src/v-angular/input-mask/config.d.ts +6 -0
- package/src/v-angular/input-mask/constants.d.ts +2 -0
- package/src/v-angular/input-mask/index.d.ts +5 -0
- package/src/v-angular/input-mask/input-mask-format.pipe.d.ts +8 -0
- package/src/v-angular/input-mask/input-mask.directive.d.ts +39 -0
- package/src/v-angular/input-mask/input-mask.module.d.ts +11 -0
- package/src/v-angular/input-mask/input-mask.types.d.ts +20 -0
- package/src/v-angular/modal/dialog/dialog.component.d.ts +64 -0
- package/src/v-angular/modal/fold-out/fold-out.component.d.ts +47 -0
- package/src/v-angular/modal/fold-out/fold-out.directive.d.ts +6 -0
- package/src/v-angular/modal/fold-out/keyboard-key.enum.d.ts +7 -0
- package/src/v-angular/modal/index.d.ts +5 -0
- package/src/v-angular/modal/modal.globals.d.ts +13 -0
- package/src/v-angular/modal/modal.module.d.ts +15 -0
- package/src/v-angular/modal/modal.types.d.ts +5 -0
- package/src/v-angular/modal/slide-out/slide-out.component.d.ts +83 -0
- package/src/v-angular/pagination/index.d.ts +2 -0
- package/src/v-angular/pagination/pagination.component.d.ts +64 -0
- package/src/v-angular/pagination/pagination.module.d.ts +12 -0
- package/src/v-angular/radio/index.d.ts +2 -0
- package/src/v-angular/radio/radio.component.d.ts +49 -0
- package/src/v-angular/radio/radio.module.d.ts +10 -0
- package/src/v-angular/slug/index.d.ts +2 -0
- package/src/v-angular/slug/slug.module.d.ts +8 -0
- package/src/v-angular/slug/slug.pipe.d.ts +12 -0
- package/src/v-angular/table/index.d.ts +5 -0
- package/src/v-angular/table/table.component.d.ts +229 -0
- package/src/v-angular/table/table.directive.d.ts +36 -0
- package/src/v-angular/table/table.models.d.ts +62 -0
- package/src/v-angular/table/table.module.d.ts +12 -0
- package/src/v-angular/table/table.tools.d.ts +5 -0
- package/src/v-angular/table/tr-thook.pipe.d.ts +7 -0
- package/src/v-angular/tabs/index.d.ts +4 -0
- package/src/v-angular/tabs/tab.directive.d.ts +37 -0
- package/src/v-angular/tabs/tabs.component.d.ts +65 -0
- package/src/v-angular/tabs/tabs.models.d.ts +25 -0
- package/src/v-angular/tabs/tabs.module.d.ts +11 -0
- package/src/v-angular/textarea/index.d.ts +2 -0
- package/src/v-angular/textarea/textarea.component.d.ts +45 -0
- package/src/v-angular/textarea/textarea.module.d.ts +12 -0
- package/src/v-angular/toast/index.d.ts +4 -0
- package/src/v-angular/toast/toast-message.service.d.ts +17 -0
- package/src/v-angular/toast/toast.component.d.ts +22 -0
- package/src/v-angular/toast/toast.models.d.ts +15 -0
- package/src/v-angular/toast/toast.module.d.ts +10 -0
- package/src/v-angular/tooltip/index.d.ts +2 -0
- package/src/v-angular/tooltip/tooltip.directive.d.ts +108 -0
- package/src/v-angular/tooltip/tooltip.module.d.ts +8 -0
- package/src/v-angular/tooltip/tooltip.styles.d.ts +11 -0
- package/v-angular/alert/alert.component.d.ts +19 -0
- package/v-angular/alert/alert.models.d.ts +13 -0
- package/v-angular/alert/alert.module.d.ts +8 -0
- package/v-angular/alert/index.d.ts +3 -0
- package/v-angular/base-control-value-accessor/base-control-value-accessor.component.d.ts +130 -0
- package/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +7 -0
- package/v-angular/base-control-value-accessor/index.d.ts +2 -0
- package/v-angular/breadcrumbs/breadcrumbs.component.d.ts +18 -0
- package/v-angular/breadcrumbs/breadcrumbs.module.d.ts +10 -0
- package/v-angular/breadcrumbs/index.d.ts +2 -0
- package/v-angular/button/button.component.d.ts +62 -0
- package/v-angular/button/button.module.d.ts +10 -0
- package/v-angular/button/index.d.ts +2 -0
- package/v-angular/card/card.component.d.ts +5 -0
- package/v-angular/card/card.module.d.ts +8 -0
- package/v-angular/card/index.d.ts +2 -0
- package/v-angular/character-countdown/character-countdown.directive.d.ts +17 -0
- package/v-angular/character-countdown/character-countdown.module.d.ts +8 -0
- package/v-angular/character-countdown/index.d.ts +2 -0
- package/v-angular/checkbox/checkbox.component.d.ts +28 -0
- package/v-angular/checkbox/checkbox.module.d.ts +10 -0
- package/v-angular/checkbox/index.d.ts +2 -0
- package/v-angular/datepicker/components/calendar/calendar.component.d.ts +36 -0
- package/v-angular/datepicker/components/calendar-control/calendar-control.component.d.ts +30 -0
- package/v-angular/datepicker/components/date-input/date-input.component.d.ts +102 -0
- package/v-angular/datepicker/components/datepicker/datepicker.component.d.ts +62 -0
- package/v-angular/datepicker/date-control-value-accessor/date-control-value-accessor.component.d.ts +165 -0
- package/v-angular/datepicker/datepicker.globals.d.ts +13 -0
- package/v-angular/datepicker/datepicker.models.d.ts +50 -0
- package/v-angular/datepicker/datepicker.module.d.ts +19 -0
- package/v-angular/datepicker/datepicker.utils.d.ts +39 -0
- package/v-angular/datepicker/directives/calendar-date.directive.d.ts +21 -0
- package/v-angular/datepicker/index.d.ts +13 -0
- package/v-angular/datepicker/models/dates.d.ts +15 -0
- package/v-angular/datepicker/pipes/date-thook.pipe.d.ts +8 -0
- package/v-angular/datepicker/pipes/is-disabled.pipe.d.ts +8 -0
- package/v-angular/datepicker/pipes/matches.pipe.d.ts +7 -0
- package/v-angular/drag-drop/drag-drop.component.d.ts +131 -0
- package/v-angular/drag-drop/drag-drop.models.d.ts +49 -0
- package/v-angular/drag-drop/drag-drop.module.d.ts +13 -0
- package/v-angular/drag-drop/drag-drop.pipes.d.ts +40 -0
- package/v-angular/drag-drop/drag-drop.utils.d.ts +33 -0
- package/v-angular/drag-drop/index.d.ts +4 -0
- package/v-angular/dropdown/dropdown-list/dropdown-list.component.d.ts +96 -0
- package/v-angular/dropdown/dropdown-list/index.d.ts +1 -0
- package/v-angular/dropdown/dropdown.component.d.ts +103 -0
- package/v-angular/dropdown/dropdown.module.d.ts +13 -0
- package/v-angular/dropdown/index.d.ts +5 -0
- package/v-angular/dropdown/typeahead/index.d.ts +5 -0
- package/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +34 -0
- package/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +34 -0
- package/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +59 -0
- package/v-angular/dropdown/typeahead/typeahead.directive.d.ts +76 -0
- package/v-angular/dropdown/typeahead/typeahead.module.d.ts +11 -0
- package/v-angular/external-link/external-link.directive.d.ts +17 -0
- package/v-angular/external-link/external-link.module.d.ts +8 -0
- package/v-angular/external-link/index.d.ts +2 -0
- package/v-angular/i18n/i18n.module.d.ts +15 -0
- package/v-angular/i18n/i18n.test.module.d.ts +27 -0
- package/v-angular/i18n/index.d.ts +2 -0
- package/v-angular/index.d.ts +26 -0
- package/v-angular/info-circle/index.d.ts +2 -0
- package/v-angular/info-circle/info-circle.component.d.ts +16 -0
- package/v-angular/info-circle/info-circle.module.d.ts +10 -0
- package/v-angular/input/index.d.ts +2 -0
- package/v-angular/input/input.component.d.ts +85 -0
- package/v-angular/input/input.module.d.ts +13 -0
- package/v-angular/input-mask/config.d.ts +6 -0
- package/v-angular/input-mask/constants.d.ts +2 -0
- package/v-angular/input-mask/index.d.ts +5 -0
- package/v-angular/input-mask/input-mask-format.pipe.d.ts +8 -0
- package/v-angular/input-mask/input-mask.directive.d.ts +39 -0
- package/v-angular/input-mask/input-mask.module.d.ts +11 -0
- package/v-angular/input-mask/input-mask.types.d.ts +20 -0
- package/v-angular/modal/dialog/dialog.component.d.ts +64 -0
- package/v-angular/modal/fold-out/fold-out.component.d.ts +47 -0
- package/v-angular/modal/fold-out/fold-out.directive.d.ts +6 -0
- package/v-angular/modal/fold-out/keyboard-key.enum.d.ts +7 -0
- package/v-angular/modal/index.d.ts +5 -0
- package/v-angular/modal/modal.globals.d.ts +13 -0
- package/v-angular/modal/modal.module.d.ts +15 -0
- package/v-angular/modal/modal.types.d.ts +5 -0
- package/v-angular/modal/slide-out/slide-out.component.d.ts +83 -0
- package/v-angular/pagination/index.d.ts +2 -0
- package/v-angular/pagination/pagination.component.d.ts +64 -0
- package/v-angular/pagination/pagination.module.d.ts +12 -0
- package/v-angular/radio/index.d.ts +2 -0
- package/v-angular/radio/radio.component.d.ts +49 -0
- package/v-angular/radio/radio.module.d.ts +10 -0
- package/v-angular/slug/index.d.ts +2 -0
- package/v-angular/slug/slug.module.d.ts +8 -0
- package/v-angular/slug/slug.pipe.d.ts +12 -0
- package/v-angular/table/index.d.ts +5 -0
- package/v-angular/table/table.component.d.ts +229 -0
- package/v-angular/table/table.directive.d.ts +36 -0
- package/v-angular/table/table.models.d.ts +62 -0
- package/v-angular/table/table.module.d.ts +12 -0
- package/v-angular/table/table.tools.d.ts +5 -0
- package/v-angular/table/tr-thook.pipe.d.ts +7 -0
- package/v-angular/tabs/index.d.ts +4 -0
- package/v-angular/tabs/tab.directive.d.ts +37 -0
- package/v-angular/tabs/tabs.component.d.ts +65 -0
- package/v-angular/tabs/tabs.models.d.ts +25 -0
- package/v-angular/tabs/tabs.module.d.ts +11 -0
- package/v-angular/textarea/index.d.ts +2 -0
- package/v-angular/textarea/textarea.component.d.ts +45 -0
- package/v-angular/textarea/textarea.module.d.ts +12 -0
- package/v-angular/toast/index.d.ts +4 -0
- package/v-angular/toast/toast-message.service.d.ts +17 -0
- package/v-angular/toast/toast.component.d.ts +22 -0
- package/v-angular/toast/toast.models.d.ts +15 -0
- package/v-angular/toast/toast.module.d.ts +10 -0
- package/v-angular/tooltip/index.d.ts +2 -0
- package/v-angular/tooltip/tooltip.directive.d.ts +108 -0
- package/v-angular/tooltip/tooltip.module.d.ts +8 -0
- package/v-angular/tooltip/tooltip.styles.d.ts +11 -0
- package/v-angular/v-angular.module.d.ts +33 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { DialogEvent, NggvDialogComponent } from '@sebgroup/green-angular/src/v-angular/modal';
|
|
3
|
+
import type { APIFile, EventStateChange, FileService, LocalFile, StateMap, UploadState } from './drag-drop.models';
|
|
4
|
+
import '@sebgroup/green-core/components/icon/icons/cloud-upload.js';
|
|
5
|
+
import '@sebgroup/green-core/components/icon/icons/cross-small.js';
|
|
6
|
+
import '@sebgroup/green-core/components/icon/icons/checkmark.js';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export type DragDropState = 'normal' | 'over' | 'uploading' | 'done';
|
|
9
|
+
export declare class NggvDragDropComponent implements OnInit, OnDestroy {
|
|
10
|
+
/** @internal */
|
|
11
|
+
deleteModalRef: NggvDialogComponent;
|
|
12
|
+
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
13
|
+
thook: string | null | undefined;
|
|
14
|
+
/** Allowing selecting or dropping multiple files. */
|
|
15
|
+
service: FileService | undefined;
|
|
16
|
+
/** Mime types allowed. */
|
|
17
|
+
accept?: string;
|
|
18
|
+
/** Disables deletion or cancellation during defined states [local | uploading | aborted | uploaded | validating | error | deleted | done]. */
|
|
19
|
+
disableRemove: UploadState[];
|
|
20
|
+
/** File size limit in mega bytes. */
|
|
21
|
+
fileLimit: number;
|
|
22
|
+
/** Allowing selecting or dropping multiple files. */
|
|
23
|
+
multiple: boolean;
|
|
24
|
+
/** Determines if list should be shown under upload, disabling list disables multiple upload. */
|
|
25
|
+
list: boolean;
|
|
26
|
+
/** Frequency of requests which to send to the API requesting status updates. */
|
|
27
|
+
throttle: number;
|
|
28
|
+
/** Maximum number of attempts to request a status update from the API if service is unreachable. */
|
|
29
|
+
retryAttempts: number;
|
|
30
|
+
/** If selection of multiple file should be possible with a checkbox.
|
|
31
|
+
* @experimental work in progress and should not yet be used.
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
selectable: boolean;
|
|
35
|
+
/** Allows multiple values from `apiFile.status` to be mapped to a single file upload state. */
|
|
36
|
+
stateMap: StateMap;
|
|
37
|
+
/** Statuses allowed to be fetch during the initial load. Used to hide "done" states from list. */
|
|
38
|
+
fetchStatuses: string[];
|
|
39
|
+
/** Statuses allowed be shown when status is "rejected". Will fallback to generic message. `null` allows all. */
|
|
40
|
+
errorCodes: string[] | null;
|
|
41
|
+
/** Event triggered on initialization and every time the "uploadState" for a file changes. */
|
|
42
|
+
stateChange: EventEmitter<EventStateChange>;
|
|
43
|
+
/** Event triggered when view details is clicked. */
|
|
44
|
+
detailsClick: EventEmitter<LocalFile & import("./drag-drop.models").APIStatusBaseProperties & {
|
|
45
|
+
id: string;
|
|
46
|
+
status: string;
|
|
47
|
+
} & import("./drag-drop.models").APIFileBaseProperties & {
|
|
48
|
+
id: string;
|
|
49
|
+
fileName: string;
|
|
50
|
+
}>;
|
|
51
|
+
/** @internal */
|
|
52
|
+
isDragDropAvailable: boolean;
|
|
53
|
+
/** @internal */
|
|
54
|
+
componentState: DragDropState;
|
|
55
|
+
/** @internal */
|
|
56
|
+
files: Map<string, LocalFile & APIFile>;
|
|
57
|
+
/** @internal */
|
|
58
|
+
lastFile: (LocalFile & APIFile) | undefined;
|
|
59
|
+
/** @internal */
|
|
60
|
+
selected: string[];
|
|
61
|
+
/** @internal */
|
|
62
|
+
loading: boolean;
|
|
63
|
+
/** @internal */
|
|
64
|
+
markedForDeletion: APIFile | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Initialize the component and warn if service is not defined. Will also fetch files for the list if enabled.
|
|
67
|
+
*/
|
|
68
|
+
ngOnInit(): void;
|
|
69
|
+
/** Destroy all event listeners and polling running */
|
|
70
|
+
ngOnDestroy(): void;
|
|
71
|
+
/** @internal Warn user trying to leave page before all uploads are done. Custom message only works in older browsers. */
|
|
72
|
+
onBeforeUnload(event: Event): "You still have files uploading, are you sure you want to leave this page?" | undefined;
|
|
73
|
+
/** @internal Event handler for when a file is held over the drop area */
|
|
74
|
+
onDragEnter(event: DragEvent): void;
|
|
75
|
+
/** @internal Event handler for when a file leaves the drop area */
|
|
76
|
+
onDragLeave(event: DragEvent): void;
|
|
77
|
+
/** @internal Event handler for when a file is dropped on the drop area or when `input` files are selected */
|
|
78
|
+
onDrop(event: DragEvent | Event): void;
|
|
79
|
+
/** @internal Event trigger for when delete button is pressed */
|
|
80
|
+
onRemove(id: string, state: UploadState): void;
|
|
81
|
+
/** @internal */
|
|
82
|
+
onConfirmRemove(event: DialogEvent<LocalFile & APIFile>): void;
|
|
83
|
+
/** @internal Event handler for when the files should be uploaded */
|
|
84
|
+
onSubmit(): void;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* Using the state map convert `apiFile.state` to one of {@link UploadState}
|
|
88
|
+
* @param apiState the state given by the file to be used for mapping
|
|
89
|
+
*/
|
|
90
|
+
determineUploadState(apiState: string): UploadState;
|
|
91
|
+
/** @internal */
|
|
92
|
+
uploadStateIsArray(state: string | string[]): state is string[];
|
|
93
|
+
/** @internal used for translation templating parameters */
|
|
94
|
+
translateParams(file: LocalFile & APIFile): {
|
|
95
|
+
fileLimit: string;
|
|
96
|
+
raw: File | undefined;
|
|
97
|
+
progress: number;
|
|
98
|
+
uploadState: UploadState;
|
|
99
|
+
uploadRequests: import("rxjs").Subscription | undefined;
|
|
100
|
+
internalStatusReasonCode: string | null;
|
|
101
|
+
statusReasonInformation: import("./drag-drop.models").APIStatusReason[] | null;
|
|
102
|
+
id: string;
|
|
103
|
+
status: string;
|
|
104
|
+
principal: string;
|
|
105
|
+
uploadDate: string;
|
|
106
|
+
registrarId: string;
|
|
107
|
+
registrarName: string;
|
|
108
|
+
fileName: string;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Poll the status endpoint to determine when file is valid
|
|
112
|
+
* @param file file used to check state and update
|
|
113
|
+
* @param delay how long each interval should wait before sending a request
|
|
114
|
+
*/
|
|
115
|
+
private checkValidity;
|
|
116
|
+
private fallbackError;
|
|
117
|
+
/**
|
|
118
|
+
* Check so that no files are still validating
|
|
119
|
+
*/
|
|
120
|
+
private allValidationDone;
|
|
121
|
+
/**
|
|
122
|
+
* Check so that no files are still uploading
|
|
123
|
+
*/
|
|
124
|
+
private allUploadingDone;
|
|
125
|
+
/**
|
|
126
|
+
* Helper to update the component state to done and then back to normal
|
|
127
|
+
*/
|
|
128
|
+
private setComponentStateDone;
|
|
129
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvDragDropComponent, never>;
|
|
130
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvDragDropComponent, "nggv-drag-drop", never, { "thook": { "alias": "thook"; "required": false; }; "service": { "alias": "service"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "disableRemove": { "alias": "disableRemove"; "required": false; }; "fileLimit": { "alias": "fileLimit"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "list": { "alias": "list"; "required": false; }; "throttle": { "alias": "throttle"; "required": false; }; "retryAttempts": { "alias": "retryAttempts"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "stateMap": { "alias": "stateMap"; "required": false; }; "fetchStatuses": { "alias": "fetchStatuses"; "required": false; }; "errorCodes": { "alias": "errorCodes"; "required": false; }; }, { "stateChange": "stateChange"; "detailsClick": "detailsClick"; }, never, never, false, never>;
|
|
131
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { HttpEvent } from '@angular/common/http';
|
|
2
|
+
import { Observable, Subscription } from 'rxjs';
|
|
3
|
+
export type UploadState = 'local' | 'uploading' | 'aborted' | 'uploaded' | 'validating' | 'error' | 'deleted' | 'done';
|
|
4
|
+
export type StateMap = {
|
|
5
|
+
[key in UploadState]: string | string[];
|
|
6
|
+
};
|
|
7
|
+
export interface LocalFile {
|
|
8
|
+
raw: File | undefined;
|
|
9
|
+
progress: number;
|
|
10
|
+
uploadState: UploadState;
|
|
11
|
+
uploadRequests: Subscription | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface APIStatusReason {
|
|
14
|
+
originatorId: string;
|
|
15
|
+
reason: string;
|
|
16
|
+
additionalInformation?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface APIStatusBaseProperties {
|
|
19
|
+
internalStatusReasonCode: string | null;
|
|
20
|
+
statusReasonInformation: APIStatusReason[] | null;
|
|
21
|
+
}
|
|
22
|
+
export type APIStatus<T = APIStatusBaseProperties> = T & {
|
|
23
|
+
id: string;
|
|
24
|
+
status: string;
|
|
25
|
+
};
|
|
26
|
+
export interface APIFileBaseProperties {
|
|
27
|
+
principal: string;
|
|
28
|
+
uploadDate: string;
|
|
29
|
+
registrarId: string;
|
|
30
|
+
registrarName: string;
|
|
31
|
+
}
|
|
32
|
+
export type APIFile<T = APIFileBaseProperties, U = APIStatusBaseProperties> = APIStatus<U> & T & {
|
|
33
|
+
id: string;
|
|
34
|
+
fileName: string;
|
|
35
|
+
};
|
|
36
|
+
export interface EventStateChange extends Partial<APIStatus> {
|
|
37
|
+
uploadState: UploadState;
|
|
38
|
+
fileName: string;
|
|
39
|
+
}
|
|
40
|
+
export interface FileService<T = APIFileBaseProperties, U = APIStatusBaseProperties> {
|
|
41
|
+
uploadFile(file: File): Observable<HttpEvent<APIFile<T, U>>>;
|
|
42
|
+
fetchFiles(statuses?: string[]): Observable<Array<APIFile<T, U>>>;
|
|
43
|
+
fetchStatus(id: string): Observable<APIStatus<U> | undefined>;
|
|
44
|
+
/** Uses file as param to fetch file status. */
|
|
45
|
+
fetchStatusFor?(file: APIFile<T, U>): Observable<APIStatus<U> | undefined>;
|
|
46
|
+
removeFile(id: string): Observable<void>;
|
|
47
|
+
/** Uses file as param to remove file. */
|
|
48
|
+
removeFileFor?(file: APIFile<T, U>): Observable<void>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./drag-drop.pipes";
|
|
3
|
+
import * as i2 from "./drag-drop.component";
|
|
4
|
+
import * as i3 from "@angular/common/http";
|
|
5
|
+
import * as i4 from "@jsverse/transloco";
|
|
6
|
+
import * as i5 from "@sebgroup/green-angular/src/v-angular/modal";
|
|
7
|
+
import * as i6 from "@sebgroup/green-angular/src/lib/shared";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
export declare class NggvDragDropModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvDragDropModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvDragDropModule, [typeof i1.ValuePipe, typeof i2.NggvDragDropComponent], [typeof i3.HttpClientModule, typeof i4.TranslocoModule, typeof i5.NggvModalModule, typeof i6.NggCoreWrapperModule, typeof i7.CommonModule], [typeof i2.NggvDragDropComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvDragDropModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { KeyValueDiffers, PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ValuePipe implements PipeTransform {
|
|
4
|
+
private readonly differs;
|
|
5
|
+
constructor(differs: KeyValueDiffers);
|
|
6
|
+
private differ;
|
|
7
|
+
private values;
|
|
8
|
+
transform<K, V>(input: null): null;
|
|
9
|
+
transform<V>(input: {
|
|
10
|
+
[key: string]: V;
|
|
11
|
+
} | Map<string, V>): Array<V>;
|
|
12
|
+
transform<V>(input: {
|
|
13
|
+
[key: string]: V;
|
|
14
|
+
} | Map<string, V> | null): Array<V> | null;
|
|
15
|
+
transform<K, V>(input: Map<K, V>): Array<V>;
|
|
16
|
+
transform<K, V>(input: Map<K, V> | null): Array<V> | null;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValuePipe, never>;
|
|
18
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ValuePipe, "value", false>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Stand-alone version of existing value pipe.
|
|
22
|
+
*
|
|
23
|
+
* Impure flag needed due to keep track of changes in complex values (such as objects or arrays).
|
|
24
|
+
*/
|
|
25
|
+
export declare class ValueImpurePipe implements PipeTransform {
|
|
26
|
+
private readonly differs;
|
|
27
|
+
private differ;
|
|
28
|
+
private values;
|
|
29
|
+
transform<K, V>(input: null): null;
|
|
30
|
+
transform<V>(input: {
|
|
31
|
+
[key: string]: V;
|
|
32
|
+
} | Map<string, V>): Array<V>;
|
|
33
|
+
transform<V>(input: {
|
|
34
|
+
[key: string]: V;
|
|
35
|
+
} | Map<string, V> | null): Array<V> | null;
|
|
36
|
+
transform<K, V>(input: Map<K, V>): Array<V>;
|
|
37
|
+
transform<K, V>(input: Map<K, V> | null): Array<V> | null;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValueImpurePipe, never>;
|
|
39
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ValueImpurePipe, "valueImpure", true>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { APIFile, LocalFile } from './drag-drop.models';
|
|
3
|
+
/**
|
|
4
|
+
* Helper to extend the base file with {@link APIFile} defaults
|
|
5
|
+
* @param file file base that will be extended with {@link APIFile} defaults
|
|
6
|
+
* @param data extra data to override defaults
|
|
7
|
+
*/
|
|
8
|
+
export declare const extendFile: (file: File | undefined, ...data: Array<Partial<Omit<LocalFile, 'raw'> & APIFile>>) => LocalFile & APIFile;
|
|
9
|
+
/**
|
|
10
|
+
* Checks if file matches allowed mime types
|
|
11
|
+
* @param type file mime type
|
|
12
|
+
* @param accept allowed mime types
|
|
13
|
+
*/
|
|
14
|
+
export declare const verifyAccept: (type: string, accept?: string) => boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Determines if browser supports drag and drop
|
|
17
|
+
*/
|
|
18
|
+
export declare const isDragDropAvailable: () => boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Pick only specified keys from a given object
|
|
21
|
+
* @param keys keys to pick from a given object
|
|
22
|
+
* @param object to extract keys from
|
|
23
|
+
*/
|
|
24
|
+
export declare const pick: <T, K extends keyof T>(object: T, ...keys: K[]) => Pick<T, K>;
|
|
25
|
+
/**
|
|
26
|
+
* Will retry running the observable when an error occurs to a maximum limit, increasing delay between executions.
|
|
27
|
+
* @param options specifies number of retries, scaling duration and statuses to exclude
|
|
28
|
+
*/
|
|
29
|
+
export declare const retryStrategy: ({ maxRetryAttempts, scalingDuration, excludedStatusCodes, }?: {
|
|
30
|
+
maxRetryAttempts?: number;
|
|
31
|
+
scalingDuration?: number;
|
|
32
|
+
excludedStatusCodes?: number[];
|
|
33
|
+
}) => (attempts: Observable<any>) => Observable<0>;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { TranslocoScope } from '@jsverse/transloco';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { Option, OptionBase } from '@sebgroup/green-angular/src/v-angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NggvDropdownListComponent implements OnInit, OnChanges {
|
|
7
|
+
protected translocoScope: TranslocoScope;
|
|
8
|
+
set expanded(state: boolean);
|
|
9
|
+
get expanded(): boolean;
|
|
10
|
+
state: any;
|
|
11
|
+
/** The additional amount to show when option is scrolled into view. */
|
|
12
|
+
scrollOffset: number;
|
|
13
|
+
optionContentTpl: TemplateRef<OptionBase<any>> | undefined;
|
|
14
|
+
groupLabelTpl: TemplateRef<OptionBase<any>> | undefined;
|
|
15
|
+
/** @internal List of references to the option elements. */
|
|
16
|
+
optionRefs: QueryList<ElementRef<HTMLLIElement>> | undefined;
|
|
17
|
+
/** Id of the host element and is accessible by the children, automatically generated if not provided. */
|
|
18
|
+
id: any;
|
|
19
|
+
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
20
|
+
thook: string;
|
|
21
|
+
options: any[];
|
|
22
|
+
textToHighlight?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Used to control if "selectedValueChanged" only should emit distinct changes, or each time a value is selected
|
|
25
|
+
* When true, value is not emitted if there's no distinct change
|
|
26
|
+
* When false, value is emitted every time an option is selected
|
|
27
|
+
* */
|
|
28
|
+
onlyEmitDistinctChanges: boolean;
|
|
29
|
+
selectedValueChanged: EventEmitter<any>;
|
|
30
|
+
closed: EventEmitter<void>;
|
|
31
|
+
/** The current active option based on numeric index. */
|
|
32
|
+
activeIndex: number;
|
|
33
|
+
scope: string | undefined;
|
|
34
|
+
private dropdownUtils;
|
|
35
|
+
private _expanded;
|
|
36
|
+
private closed$;
|
|
37
|
+
selectedValue?: Option<string, any>;
|
|
38
|
+
/** Subscribe if dropdown expanded to listen to click outside to close dropdown. */
|
|
39
|
+
protected onClickSubscription: Subscription | undefined;
|
|
40
|
+
constructor(translocoScope: TranslocoScope);
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if argument is an {@link OptionGroup}.
|
|
45
|
+
* @param option the object to check.
|
|
46
|
+
*/
|
|
47
|
+
isGroup(option: any): boolean;
|
|
48
|
+
/** @internal */
|
|
49
|
+
updateState(option: any, event: Event): void;
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
setExpanded(expanded?: boolean): void;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
refreshSelectedOption(): void;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @returns The active index (number) if option is found, -1 otherwise.
|
|
61
|
+
* - If a selectedValue exists that's not nullish and that options is found, return that index
|
|
62
|
+
* - Else, return first non nullish index
|
|
63
|
+
* - If none of the above criterias are met, -1 are returned
|
|
64
|
+
*/
|
|
65
|
+
getActiveIndex(): number;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* evaluates wether the HTML element overflows
|
|
69
|
+
* @param elem The HTMLElement to evaluate
|
|
70
|
+
* */
|
|
71
|
+
isOverflow(elem: HTMLElement): boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Typecast anything to an {@link OptionGroup}.
|
|
74
|
+
* @param group the object to typecast.
|
|
75
|
+
*/
|
|
76
|
+
castGroup(group: any): any;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
* Disables default events.
|
|
80
|
+
* @param event fired containing which key was pressed.
|
|
81
|
+
*/
|
|
82
|
+
onKeyDown(event: KeyboardEvent): boolean;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
* Enter toggles the dropdown, home, end, and, arrows change the index.
|
|
86
|
+
* @param event fired containing which key was released.
|
|
87
|
+
*/
|
|
88
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
89
|
+
/**
|
|
90
|
+
* Scrolls focused result into view with a specified offset.
|
|
91
|
+
* @param key the result index which to scroll to.
|
|
92
|
+
*/
|
|
93
|
+
scrollToResult(option: any): void;
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownListComponent, [{ optional: true; }]>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownListComponent, "nggv-dropdown-list", never, { "expanded": { "alias": "expanded"; "required": false; }; "state": { "alias": "state"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "optionContentTpl": { "alias": "optionContentTpl"; "required": false; }; "groupLabelTpl": { "alias": "groupLabelTpl"; "required": false; }; "id": { "alias": "id"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "onlyEmitDistinctChanges": { "alias": "onlyEmitDistinctChanges"; "required": false; }; }, { "selectedValueChanged": "selectedValueChanged"; "closed": "closed"; }, never, never, false, never>;
|
|
96
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dropdown-list.component';
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import '@sebgroup/green-core/components/icon/icons/triangle-exclamation.js';
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
|
|
3
|
+
import { NgControl } from '@angular/forms';
|
|
4
|
+
import { TranslocoScope } from '@jsverse/transloco';
|
|
5
|
+
import { NggvBaseControlValueAccessorComponent } from '@sebgroup/green-angular/src/v-angular/base-control-value-accessor';
|
|
6
|
+
import { DropdownUtils, Option, OptionBase, OptionGroup } from '@sebgroup/green-angular/src/v-angular/core';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* A dropdown allows the user to select an option from a list.
|
|
10
|
+
* Dropdowns enables users to make a quick selection of the available options for a specific entry.
|
|
11
|
+
* https://designlibrary.sebgroup.com/components/component-dropdown
|
|
12
|
+
*/
|
|
13
|
+
export declare class NggvDropdownComponent<K = string | null | undefined, V = string | null | undefined, T extends Option<K, V> = Option<K, V>> extends NggvBaseControlValueAccessorComponent implements OnDestroy, OnChanges {
|
|
14
|
+
ngControl: NgControl;
|
|
15
|
+
protected translocoScope: TranslocoScope;
|
|
16
|
+
protected cdr: ChangeDetectorRef;
|
|
17
|
+
protected dropdownUtils: DropdownUtils<K, V, T>;
|
|
18
|
+
/** Custom template for displaying options and groups. */
|
|
19
|
+
selectedContentTpl: TemplateRef<OptionBase<T>> | undefined;
|
|
20
|
+
optionContentTpl: TemplateRef<OptionBase<any>> | undefined;
|
|
21
|
+
groupLabelTpl: TemplateRef<OptionBase<any>> | undefined;
|
|
22
|
+
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
23
|
+
thook: string;
|
|
24
|
+
/** Text shown before an option is selected. */
|
|
25
|
+
placeholder?: string;
|
|
26
|
+
/** Specific value for aria-label. If not provided, label/labelTpl will be used. */
|
|
27
|
+
ariaLabel?: string;
|
|
28
|
+
/** List of {@link Option} and {@link OptionGroup} listed when dropdown is expanded. */
|
|
29
|
+
set options(value: OptionBase<T>[]);
|
|
30
|
+
get options(): OptionBase<T>[];
|
|
31
|
+
/** The additional amount to show when option is scrolled into view. */
|
|
32
|
+
scrollOffset: number;
|
|
33
|
+
/**
|
|
34
|
+
* Allow this component to add/ remove nullish options based on wether the control is required or not
|
|
35
|
+
* Defaults to true.
|
|
36
|
+
*/
|
|
37
|
+
allowControlNullishOption: boolean;
|
|
38
|
+
/** Text to highlight in option */
|
|
39
|
+
textToHighlight?: string;
|
|
40
|
+
/**
|
|
41
|
+
* If only one option exists in options[], default is to select it.
|
|
42
|
+
* This input can be used to alter that behaviour so it doesn't automatically
|
|
43
|
+
* select a value if it's the only one.
|
|
44
|
+
* Defaults to true.
|
|
45
|
+
*/
|
|
46
|
+
selectOnSingleOption: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Emits changes of the expanded state of the dropdown
|
|
49
|
+
*/
|
|
50
|
+
expandedChange: EventEmitter<boolean>;
|
|
51
|
+
/** @internal nullish option. */
|
|
52
|
+
get defaultNullishOption(): OptionBase<any>;
|
|
53
|
+
/** The current expanded state of the dropdown options. */
|
|
54
|
+
expanded: boolean;
|
|
55
|
+
/** The current option selected based on numeric index. */
|
|
56
|
+
activeIndex: number;
|
|
57
|
+
/** Subscribe if dropdown expanded to listen to click outside to close dropdown. */
|
|
58
|
+
private onClickSubscription;
|
|
59
|
+
keyEvent: KeyboardEvent;
|
|
60
|
+
private _options;
|
|
61
|
+
constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef, dropdownUtils: DropdownUtils<K, V, T>);
|
|
62
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
63
|
+
ngOnDestroy(): void;
|
|
64
|
+
/** @internal override to correctly set state from form value */
|
|
65
|
+
writeValue(value: any): void;
|
|
66
|
+
/** @internal */
|
|
67
|
+
onSelectChange(option: T): void;
|
|
68
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
69
|
+
/**
|
|
70
|
+
* Closes the dropdown on click outside.
|
|
71
|
+
*/
|
|
72
|
+
subscribeToOutsideClickEvent(): void;
|
|
73
|
+
/**
|
|
74
|
+
* Set the dropdown value to given option.
|
|
75
|
+
* @param value the dropdown option to select.
|
|
76
|
+
*/
|
|
77
|
+
private updateModel;
|
|
78
|
+
/** Toggle the expanded state of the dropdown options. */
|
|
79
|
+
toggleDropdown(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Set the expanded state of the dropdown options. If true the options are shown below the field.
|
|
82
|
+
* Activate on click event to be able to close dropdown on click outside.
|
|
83
|
+
* @param state the expanded state which to set.
|
|
84
|
+
*/
|
|
85
|
+
setExpanded(state?: boolean): void;
|
|
86
|
+
/**
|
|
87
|
+
* Typecast anything to an {@link Option}.
|
|
88
|
+
* @param option the object to typecast.
|
|
89
|
+
*/
|
|
90
|
+
castOption(option: any): T;
|
|
91
|
+
/**
|
|
92
|
+
* Typecast anything to an {@link OptionGroup}.
|
|
93
|
+
* @param group the object to typecast.
|
|
94
|
+
*/
|
|
95
|
+
castGroup(group: any): OptionGroup<T>;
|
|
96
|
+
/**
|
|
97
|
+
* Returns true if argument is an {@link Option}.
|
|
98
|
+
* @param option the object to check.
|
|
99
|
+
*/
|
|
100
|
+
isOption(option: OptionBase<T>): option is OptionGroup<T>;
|
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownComponent<any, any, any>, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownComponent<any, any, any>, "nggv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "options": { "alias": "options"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "allowControlNullishOption": { "alias": "allowControlNullishOption"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "selectOnSingleOption": { "alias": "selectOnSingleOption"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl", "groupLabelTpl"], ["*"], false, never>;
|
|
103
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dropdown.component";
|
|
3
|
+
import * as i2 from "./dropdown-list/dropdown-list.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@sebgroup/green-angular/src/lib/shared";
|
|
6
|
+
import * as i5 from "./typeahead/typeahead.module";
|
|
7
|
+
import * as i6 from "@sebgroup/green-angular/src/v-angular/tooltip";
|
|
8
|
+
import * as i7 from "@sebgroup/green-angular/src/v-angular/i18n";
|
|
9
|
+
export declare class NggvDropdownModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvDropdownModule, [typeof i1.NggvDropdownComponent, typeof i2.NggvDropdownListComponent], [typeof i3.CommonModule, typeof i4.NggCoreWrapperModule, typeof i5.NggvTypeaheadModule, typeof i6.NggvTooltipModule, typeof i7.NggvI18nModule], [typeof i1.NggvDropdownComponent, typeof i2.NggvDropdownListComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvDropdownModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './typeahead-highlight/typeahead-highlight.component';
|
|
2
|
+
export * from './typeahead-input/typeahead-input.component';
|
|
3
|
+
export * from './typeahead-dropdown-list/typeahead-dropdown-list.component';
|
|
4
|
+
export * from './typeahead.directive';
|
|
5
|
+
export * from './typeahead.module';
|
package/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { TranslocoScope } from '@jsverse/transloco';
|
|
3
|
+
import { OptionBase } from '@sebgroup/green-angular/src/v-angular/core';
|
|
4
|
+
import { NggvInputComponent } from '@sebgroup/green-angular/src/v-angular/input';
|
|
5
|
+
import { NggvDropdownListComponent } from '../../dropdown-list/dropdown-list.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class NggvTypeaheadDropdownListComponent extends NggvDropdownListComponent implements OnInit, OnDestroy {
|
|
8
|
+
protected translocoScope: TranslocoScope;
|
|
9
|
+
private element;
|
|
10
|
+
hostComponent: NggvInputComponent;
|
|
11
|
+
/** Formats each item that is displayed as an option. Only applies format if the option if it implement Option interface. */
|
|
12
|
+
resultFormatter?: (option: OptionBase<any>) => string;
|
|
13
|
+
/** Formats the selected item in the input when dropdown is opened. If no function is provided, it will display the value of the selected objects label property */
|
|
14
|
+
selectedFormatter?: (selected: OptionBase<any>) => string;
|
|
15
|
+
private _destroy$;
|
|
16
|
+
constructor(translocoScope: TranslocoScope, element: ElementRef);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
/** @Internal Subscribe to click outside dropdownList and input to close dropdownList */
|
|
20
|
+
private subscribeToOutsideClickEvent;
|
|
21
|
+
/** @Internal Update state of the host-input to reflect the selected value */
|
|
22
|
+
private handleSelectedValueChanges;
|
|
23
|
+
/** @Internal Expand the dropdown when input receives focus. If no state, set empty string in input */
|
|
24
|
+
private handleFocusChanges;
|
|
25
|
+
/**
|
|
26
|
+
* @internal Formats the selected option to display in the input. Interpolate the returned value
|
|
27
|
+
* since we don't know the return type or label type.
|
|
28
|
+
* @param value The selected value
|
|
29
|
+
* @returns The formatted value
|
|
30
|
+
*/
|
|
31
|
+
private formatSelected;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadDropdownListComponent, [{ optional: true; skipSelf: true; }, null]>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvTypeaheadDropdownListComponent, "nggv-typeahead-dropdown-list", never, { "hostComponent": { "alias": "hostComponent"; "required": false; }; "resultFormatter": { "alias": "resultFormatter"; "required": false; }; "selectedFormatter": { "alias": "selectedFormatter"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NggvTypeaheadHighlightComponent implements OnChanges {
|
|
4
|
+
/** The text that is displayed in the dropdown list */
|
|
5
|
+
textContent?: string;
|
|
6
|
+
/** The substring that should be highlighted within textContent */
|
|
7
|
+
textToHighlight?: string;
|
|
8
|
+
prefix?: string;
|
|
9
|
+
match?: string;
|
|
10
|
+
suffix?: string;
|
|
11
|
+
text: string;
|
|
12
|
+
input: string;
|
|
13
|
+
/**
|
|
14
|
+
* Regexp of characters that are allowed in textContent without being found in textToHighlight
|
|
15
|
+
* Allow whitespaces.
|
|
16
|
+
* */
|
|
17
|
+
allowedNonMatchingChars: RegExp;
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
+
private updateValues;
|
|
20
|
+
/**
|
|
21
|
+
* Function that finds the start and end index of where the input is located within the text to display.
|
|
22
|
+
* First occurence is returned. Allows for spaces to occur despite input not matching space.
|
|
23
|
+
* Loops through each character in splittedText and when a char in splittedText equlas the first character of
|
|
24
|
+
* splittedInput, evaluate wether it's match on the entire input.
|
|
25
|
+
* - If it's => return indexes.
|
|
26
|
+
* - If it's not => break out and check next char in outer loop.
|
|
27
|
+
* @param splittedText the text content splitted in an array
|
|
28
|
+
* @param splittedInput the input splitted in an array
|
|
29
|
+
* @returns { start: number, end: number } Indexes of where the match starts and ends in the text displatyed
|
|
30
|
+
*/
|
|
31
|
+
private getHighlightedPart;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadHighlightComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvTypeaheadHighlightComponent, "nggv-typeahead-highlight", never, { "textContent": { "alias": "textContent"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { TranslocoScope } from '@jsverse/transloco';
|
|
4
|
+
import { OptionBase } from '@sebgroup/green-angular/src/v-angular/core';
|
|
5
|
+
import { NggvInputComponent } from '@sebgroup/green-angular/src/v-angular/input';
|
|
6
|
+
import { NggvDropdownComponent } from '../../dropdown.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class NggvTypeaheadInputComponent extends NggvInputComponent implements OnInit, OnDestroy {
|
|
9
|
+
private element;
|
|
10
|
+
private renderer2;
|
|
11
|
+
ngControl: NgControl;
|
|
12
|
+
protected translocoScope: TranslocoScope;
|
|
13
|
+
protected cdr: ChangeDetectorRef;
|
|
14
|
+
/** Reference to the host dropdown */
|
|
15
|
+
hostComponent: NggvDropdownComponent;
|
|
16
|
+
/** Formats each item that is displayed as an option. Only applies format if the option if it implement Option interface. */
|
|
17
|
+
resultFormatter?: (option: OptionBase<any>) => string;
|
|
18
|
+
/** Formats the selected item in the input when dropdown is opened. If no function is provided, it will display the value of the selected objects label property */
|
|
19
|
+
selectedFormatter?: (selected: OptionBase<any>) => string;
|
|
20
|
+
get dropdownButton(): HTMLElement;
|
|
21
|
+
/** Boolean to indicate wether the dropdown is expanded or not, to apply appropriate styling */
|
|
22
|
+
expanded: boolean;
|
|
23
|
+
/** Used to determine the height of the inputin html */
|
|
24
|
+
buttonHeight?: number;
|
|
25
|
+
constructor(element: ElementRef, renderer2: Renderer2, ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
* Allow space to be inputted as text
|
|
30
|
+
* @param event fired containing which key was released.
|
|
31
|
+
*/
|
|
32
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
* First time the dropdown is expanded, move the input sp it becomes a child of the dropdown button
|
|
36
|
+
* to better reflect semantics and styling.
|
|
37
|
+
*/
|
|
38
|
+
private moveInput;
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
* When dropdown is expanded, focus on the input. If a value is selected, set it in the input.
|
|
42
|
+
* When the dropdown is collapsed, empty the input from text.
|
|
43
|
+
*/
|
|
44
|
+
private handleExpandedChange;
|
|
45
|
+
/**
|
|
46
|
+
* @internal Formats the selected option to display in the input. Interpolate the returned value
|
|
47
|
+
* since we don't know the return type or label type.
|
|
48
|
+
* @param value The selected value
|
|
49
|
+
* @returns The formatted value
|
|
50
|
+
*/
|
|
51
|
+
private formatSelected;
|
|
52
|
+
/**
|
|
53
|
+
* Sets the input programmatically instead of native HTML input event.
|
|
54
|
+
* @param input
|
|
55
|
+
*/
|
|
56
|
+
private setInput;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvTypeaheadInputComponent, [null, null, { optional: true; self: true; }, { optional: true; }, null]>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvTypeaheadInputComponent, "nggv-typeahead-input", never, { "hostComponent": { "alias": "hostComponent"; "required": false; }; "resultFormatter": { "alias": "resultFormatter"; "required": false; }; "selectedFormatter": { "alias": "selectedFormatter"; "required": false; }; }, {}, never, never, false, never>;
|
|
59
|
+
}
|