@sebgroup/green-angular 5.1.1 → 5.2.0
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/esm2022/lib/shared/core-element/core-element.directive.mjs +1 -2
- package/esm2022/src/lib/shared/core-element/core-element.directive.mjs +1 -2
- 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 +16 -6
- package/esm2022/src/v-angular/base-control-value-accessor/base-control-value-accessor.module.mjs +9 -9
- package/esm2022/src/v-angular/breadcrumbs/breadcrumbs.component.mjs +5 -5
- package/esm2022/src/v-angular/breadcrumbs/breadcrumbs.module.mjs +11 -11
- package/esm2022/src/v-angular/button/button.component.mjs +9 -9
- package/esm2022/src/v-angular/button/button.module.mjs +11 -11
- package/esm2022/src/v-angular/card/card.component.mjs +6 -6
- package/esm2022/src/v-angular/card/card.module.mjs +9 -9
- package/esm2022/src/v-angular/character-countdown/character-countdown.module.mjs +6 -6
- package/esm2022/src/v-angular/checkbox/checkbox.component.mjs +9 -7
- package/esm2022/src/v-angular/checkbox/checkbox.module.mjs +14 -12
- package/esm2022/src/v-angular/core/core.utils.mjs +35 -1
- 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 +497 -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 +76 -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 +24 -9
- package/esm2022/src/v-angular/dropdown/dropdown.component.mjs +16 -9
- package/esm2022/src/v-angular/dropdown/dropdown.module.mjs +31 -15
- package/esm2022/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.mjs +8 -8
- package/esm2022/src/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.mjs +5 -5
- package/esm2022/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.mjs +17 -10
- package/esm2022/src/v-angular/dropdown/typeahead/typeahead.directive.mjs +27 -20
- package/esm2022/src/v-angular/dropdown/typeahead/typeahead.module.mjs +21 -21
- package/esm2022/src/v-angular/external-link/external-link.directive.mjs +5 -5
- package/esm2022/src/v-angular/external-link/external-link.module.mjs +9 -9
- package/esm2022/src/v-angular/i18n/i18n.module.mjs +12 -12
- package/esm2022/src/v-angular/i18n/i18n.test.module.mjs +6 -6
- package/esm2022/src/v-angular/info-circle/info-circle.component.mjs +6 -6
- package/esm2022/src/v-angular/info-circle/info-circle.module.mjs +11 -11
- package/esm2022/src/v-angular/input/input.component.mjs +11 -15
- package/esm2022/src/v-angular/input/input.module.mjs +27 -22
- package/esm2022/src/v-angular/input-mask/input-mask.directive.mjs +6 -6
- package/esm2022/src/v-angular/input-mask/input-mask.module.mjs +10 -10
- package/esm2022/src/v-angular/modal/dialog/dialog.component.mjs +53 -31
- package/esm2022/src/v-angular/modal/fold-out/fold-out.component.mjs +116 -16
- package/esm2022/src/v-angular/modal/fold-out/fold-out.directive.mjs +5 -5
- package/esm2022/src/v-angular/modal/fold-out/keyboard-key.enum.mjs +9 -0
- package/esm2022/src/v-angular/modal/modal.module.mjs +38 -27
- package/esm2022/src/v-angular/modal/slide-out/slide-out.component.mjs +35 -12
- 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/radio.component.mjs +14 -12
- package/esm2022/src/v-angular/radio/radio.module.mjs +12 -11
- package/esm2022/src/v-angular/slug/slug.module.mjs +6 -6
- 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 +262 -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/textarea.component.mjs +9 -7
- package/esm2022/src/v-angular/textarea/textarea.module.mjs +27 -13
- 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/tooltip.directive.mjs +35 -15
- package/esm2022/src/v-angular/tooltip/tooltip.module.mjs +11 -11
- 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 +16 -6
- package/esm2022/v-angular/base-control-value-accessor/base-control-value-accessor.module.mjs +9 -9
- package/esm2022/v-angular/breadcrumbs/breadcrumbs.component.mjs +5 -5
- package/esm2022/v-angular/breadcrumbs/breadcrumbs.module.mjs +11 -11
- package/esm2022/v-angular/button/button.component.mjs +9 -9
- package/esm2022/v-angular/button/button.module.mjs +11 -11
- package/esm2022/v-angular/card/card.component.mjs +6 -6
- package/esm2022/v-angular/card/card.module.mjs +9 -9
- package/esm2022/v-angular/character-countdown/character-countdown.module.mjs +6 -6
- package/esm2022/v-angular/checkbox/checkbox.component.mjs +9 -7
- package/esm2022/v-angular/checkbox/checkbox.module.mjs +14 -12
- 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 +497 -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 +76 -0
- package/esm2022/v-angular/drag-drop/index.mjs +5 -0
- package/esm2022/v-angular/dropdown/dropdown-list/dropdown-list.component.mjs +24 -9
- package/esm2022/v-angular/dropdown/dropdown.component.mjs +16 -9
- package/esm2022/v-angular/dropdown/dropdown.module.mjs +31 -15
- package/esm2022/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.mjs +8 -8
- package/esm2022/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.mjs +5 -5
- package/esm2022/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.mjs +17 -10
- package/esm2022/v-angular/dropdown/typeahead/typeahead.directive.mjs +27 -20
- package/esm2022/v-angular/dropdown/typeahead/typeahead.module.mjs +21 -21
- 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.module.mjs +12 -12
- package/esm2022/v-angular/i18n/i18n.test.module.mjs +6 -6
- package/esm2022/v-angular/index.mjs +10 -1
- package/esm2022/v-angular/info-circle/info-circle.component.mjs +6 -6
- package/esm2022/v-angular/info-circle/info-circle.module.mjs +11 -11
- package/esm2022/v-angular/input/input.component.mjs +11 -15
- package/esm2022/v-angular/input/input.module.mjs +27 -22
- package/esm2022/v-angular/input-mask/input-mask.directive.mjs +6 -6
- package/esm2022/v-angular/input-mask/input-mask.module.mjs +10 -10
- package/esm2022/v-angular/modal/dialog/dialog.component.mjs +53 -31
- package/esm2022/v-angular/modal/fold-out/fold-out.component.mjs +116 -16
- package/esm2022/v-angular/modal/fold-out/fold-out.directive.mjs +5 -5
- package/esm2022/v-angular/modal/fold-out/keyboard-key.enum.mjs +9 -0
- package/esm2022/v-angular/modal/modal.module.mjs +38 -27
- package/esm2022/v-angular/modal/slide-out/slide-out.component.mjs +35 -12
- 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/radio.component.mjs +14 -12
- package/esm2022/v-angular/radio/radio.module.mjs +12 -11
- 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 +262 -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/textarea.component.mjs +9 -7
- package/esm2022/v-angular/textarea/textarea.module.mjs +27 -13
- 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/tooltip.directive.mjs +35 -15
- package/esm2022/v-angular/tooltip/tooltip.module.mjs +11 -11
- package/esm2022/v-angular/tooltip/tooltip.styles.mjs +60 -0
- package/esm2022/v-angular/v-angular.module.mjs +104 -68
- package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs +0 -1
- package/fesm2022/sebgroup-green-angular-src-lib-shared.mjs.map +1 -1
- 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 +23 -13
- 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 +14 -14
- package/fesm2022/sebgroup-green-angular-src-v-angular-breadcrumbs.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs +18 -18
- package/fesm2022/sebgroup-green-angular-src-v-angular-button.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs +13 -13
- package/fesm2022/sebgroup-green-angular-src-v-angular-card.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs +6 -6
- package/fesm2022/sebgroup-green-angular-src-v-angular-character-countdown.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs +21 -17
- package/fesm2022/sebgroup-green-angular-src-v-angular-checkbox.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs +34 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-core.mjs.map +1 -1
- 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 +687 -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 +126 -74
- package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs +12 -12
- package/fesm2022/sebgroup-green-angular-src-v-angular-external-link.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs +17 -17
- package/fesm2022/sebgroup-green-angular-src-v-angular-i18n.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-info-circle.mjs +15 -15
- 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 +14 -14
- package/fesm2022/sebgroup-green-angular-src-v-angular-input-mask.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs +36 -35
- package/fesm2022/sebgroup-green-angular-src-v-angular-input.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs +246 -81
- package/fesm2022/sebgroup-green-angular-src-v-angular-modal.mjs.map +1 -1
- 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 +24 -21
- package/fesm2022/sebgroup-green-angular-src-v-angular-radio.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs +6 -6
- package/fesm2022/sebgroup-green-angular-src-v-angular-slug.mjs.map +1 -1
- 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 +367 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-tabs.mjs.map +1 -0
- package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs +33 -18
- package/fesm2022/sebgroup-green-angular-src-v-angular-textarea.mjs.map +1 -1
- 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 +103 -24
- package/fesm2022/sebgroup-green-angular-src-v-angular-tooltip.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-v-angular.mjs +6295 -2165
- package/fesm2022/sebgroup-green-angular-v-angular.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular.mjs +0 -1
- package/fesm2022/sebgroup-green-angular.mjs.map +1 -1
- package/package.json +51 -3
- 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 +10 -4
- package/src/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +4 -4
- package/src/v-angular/breadcrumbs/breadcrumbs.component.d.ts +4 -4
- package/src/v-angular/breadcrumbs/breadcrumbs.module.d.ts +4 -4
- package/src/v-angular/button/button.component.d.ts +5 -5
- package/src/v-angular/button/button.module.d.ts +4 -4
- package/src/v-angular/card/card.component.d.ts +3 -3
- package/src/v-angular/card/card.module.d.ts +4 -4
- package/src/v-angular/character-countdown/character-countdown.module.d.ts +4 -4
- package/src/v-angular/checkbox/checkbox.component.d.ts +6 -5
- package/src/v-angular/checkbox/checkbox.module.d.ts +5 -4
- package/src/v-angular/core/core.utils.d.ts +1 -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 +11 -4
- package/src/v-angular/dropdown/dropdown.component.d.ts +10 -6
- package/src/v-angular/dropdown/dropdown.module.d.ts +8 -7
- package/src/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +6 -6
- package/src/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +3 -3
- package/src/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +8 -6
- package/src/v-angular/dropdown/typeahead/typeahead.directive.d.ts +14 -12
- package/src/v-angular/dropdown/typeahead/typeahead.module.d.ts +4 -4
- package/src/v-angular/external-link/external-link.directive.d.ts +3 -3
- package/src/v-angular/external-link/external-link.module.d.ts +4 -4
- package/src/v-angular/i18n/i18n.module.d.ts +7 -7
- package/src/v-angular/i18n/i18n.test.module.d.ts +4 -4
- package/src/v-angular/info-circle/info-circle.component.d.ts +4 -4
- package/src/v-angular/info-circle/info-circle.module.d.ts +4 -4
- package/src/v-angular/input/input.component.d.ts +5 -10
- package/src/v-angular/input/input.module.d.ts +5 -4
- package/src/v-angular/input-mask/input-mask.directive.d.ts +3 -3
- package/src/v-angular/input-mask/input-mask.module.d.ts +5 -5
- package/src/v-angular/modal/dialog/dialog.component.d.ts +16 -7
- package/src/v-angular/modal/fold-out/fold-out.component.d.ts +34 -11
- package/src/v-angular/modal/fold-out/fold-out.directive.d.ts +3 -3
- package/src/v-angular/modal/fold-out/keyboard-key.enum.d.ts +7 -0
- package/src/v-angular/modal/modal.module.d.ts +4 -4
- package/src/v-angular/modal/slide-out/slide-out.component.d.ts +13 -6
- 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/radio.component.d.ts +14 -13
- package/src/v-angular/radio/radio.module.d.ts +5 -4
- package/src/v-angular/slug/slug.module.d.ts +4 -4
- 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/textarea.component.d.ts +6 -5
- package/src/v-angular/textarea/textarea.module.d.ts +6 -4
- 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/tooltip.directive.d.ts +5 -3
- package/src/v-angular/tooltip/tooltip.module.d.ts +4 -4
- 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 +10 -4
- package/v-angular/base-control-value-accessor/base-control-value-accessor.module.d.ts +4 -4
- package/v-angular/breadcrumbs/breadcrumbs.component.d.ts +4 -4
- package/v-angular/breadcrumbs/breadcrumbs.module.d.ts +4 -4
- package/v-angular/button/button.component.d.ts +5 -5
- package/v-angular/button/button.module.d.ts +4 -4
- package/v-angular/card/card.component.d.ts +3 -3
- package/v-angular/card/card.module.d.ts +4 -4
- package/v-angular/character-countdown/character-countdown.module.d.ts +4 -4
- package/v-angular/checkbox/checkbox.component.d.ts +6 -5
- package/v-angular/checkbox/checkbox.module.d.ts +5 -4
- 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 +11 -4
- package/v-angular/dropdown/dropdown.component.d.ts +10 -6
- package/v-angular/dropdown/dropdown.module.d.ts +8 -7
- package/v-angular/dropdown/typeahead/typeahead-dropdown-list/typeahead-dropdown-list.component.d.ts +6 -6
- package/v-angular/dropdown/typeahead/typeahead-highlight/typeahead-highlight.component.d.ts +3 -3
- package/v-angular/dropdown/typeahead/typeahead-input/typeahead-input.component.d.ts +8 -6
- package/v-angular/dropdown/typeahead/typeahead.directive.d.ts +14 -12
- package/v-angular/dropdown/typeahead/typeahead.module.d.ts +4 -4
- 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 +7 -7
- package/v-angular/i18n/i18n.test.module.d.ts +4 -4
- package/v-angular/index.d.ts +9 -0
- package/v-angular/info-circle/info-circle.component.d.ts +4 -4
- package/v-angular/info-circle/info-circle.module.d.ts +4 -4
- package/v-angular/input/input.component.d.ts +5 -10
- package/v-angular/input/input.module.d.ts +5 -4
- package/v-angular/input-mask/input-mask.directive.d.ts +3 -3
- package/v-angular/input-mask/input-mask.module.d.ts +5 -5
- package/v-angular/modal/dialog/dialog.component.d.ts +16 -7
- package/v-angular/modal/fold-out/fold-out.component.d.ts +34 -11
- package/v-angular/modal/fold-out/fold-out.directive.d.ts +3 -3
- package/v-angular/modal/fold-out/keyboard-key.enum.d.ts +7 -0
- package/v-angular/modal/modal.module.d.ts +4 -4
- package/v-angular/modal/slide-out/slide-out.component.d.ts +13 -6
- 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/radio.component.d.ts +14 -13
- package/v-angular/radio/radio.module.d.ts +5 -4
- 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/textarea.component.d.ts +6 -5
- package/v-angular/textarea/textarea.module.d.ts +6 -4
- 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/tooltip.directive.d.ts +5 -3
- package/v-angular/tooltip/tooltip.module.d.ts +4 -4
- package/v-angular/tooltip/tooltip.styles.d.ts +11 -0
- package/v-angular/v-angular.module.d.ts +27 -18
|
@@ -13,7 +13,7 @@ type Position = {
|
|
|
13
13
|
* Dynamic resizing and tooltip position are a work in progress.
|
|
14
14
|
* https://designlibrary.sebgroup.com/components/component-tooltip
|
|
15
15
|
*/
|
|
16
|
-
export declare class
|
|
16
|
+
export declare class NggvTooltipDirective implements AfterViewInit, OnChanges, OnDestroy {
|
|
17
17
|
private anchorElementRef;
|
|
18
18
|
private renderer;
|
|
19
19
|
/** The text that will be shown in the tooltip. */
|
|
@@ -30,6 +30,8 @@ export declare class NgvTooltipDirective implements AfterViewInit, OnChanges, On
|
|
|
30
30
|
offset: number;
|
|
31
31
|
/** How frequently the tooltip will be re-rendered when the page size changes. */
|
|
32
32
|
resizeThrottle: number;
|
|
33
|
+
/** Id of tooltip element. */
|
|
34
|
+
tooltipId?: string;
|
|
33
35
|
/** Numeric max-width for tooltip. */
|
|
34
36
|
maxWidth: number;
|
|
35
37
|
/** Emits a show event triggered changing visibility state of the tooltip. */
|
|
@@ -100,7 +102,7 @@ export declare class NgvTooltipDirective implements AfterViewInit, OnChanges, On
|
|
|
100
102
|
*/
|
|
101
103
|
setStyle(tooltip: Position, arrow: Position): void;
|
|
102
104
|
private pxToRem;
|
|
103
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
104
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvTooltipDirective, never>;
|
|
106
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NggvTooltipDirective, "[nggvTooltip]", never, { "nggvTooltip": { "alias": "nggvTooltip"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "shown": { "alias": "shown"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "resizeThrottle": { "alias": "resizeThrottle"; "required": false; }; "tooltipId": { "alias": "tooltipId"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, { "nggvShow": "nggvShow"; "nggvHide": "nggvHide"; }, never, never, false, never>;
|
|
105
107
|
}
|
|
106
108
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./tooltip.directive";
|
|
3
3
|
import * as i2 from "@sebgroup/green-angular/src/v-angular/i18n";
|
|
4
|
-
export declare class
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
4
|
+
export declare class NggvTooltipModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvTooltipModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvTooltipModule, [typeof i1.NggvTooltipDirective], [typeof i2.NggvI18nModule], [typeof i1.NggvTooltipDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvTooltipModule>;
|
|
8
8
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const tooltipBoxStyles: Map<string, any>;
|
|
2
|
+
export declare const tooltipArrowTopStyles: Map<string, any>;
|
|
3
|
+
export declare const tooltipArrowBottomStyles: Map<string, any>;
|
|
4
|
+
export declare const tooltipArrowLeftStyles: Map<string, any>;
|
|
5
|
+
export declare const tooltipArrowRightStyles: Map<string, any>;
|
|
6
|
+
export declare const tooltipArrowStyles: {
|
|
7
|
+
top: Map<string, any>;
|
|
8
|
+
bottom: Map<string, any>;
|
|
9
|
+
left: Map<string, any>;
|
|
10
|
+
right: Map<string, any>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AlertType } from './alert.models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AlertComponent {
|
|
5
|
+
type: AlertType;
|
|
6
|
+
title?: string;
|
|
7
|
+
body?: string;
|
|
8
|
+
linkText?: string;
|
|
9
|
+
actionText?: string;
|
|
10
|
+
closable: boolean;
|
|
11
|
+
closeAlert: EventEmitter<any>;
|
|
12
|
+
clickLink: EventEmitter<any>;
|
|
13
|
+
clickAction: EventEmitter<any>;
|
|
14
|
+
onClose(e: Event): void;
|
|
15
|
+
onLink(e: Event): void;
|
|
16
|
+
onAction(e: Event): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "nggv-alert", never, { "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "body": { "alias": "body"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "actionText": { "alias": "actionText"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; }, { "closeAlert": "closeAlert"; "clickLink": "clickLink"; "clickAction": "clickAction"; }, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface AlertMessage {
|
|
2
|
+
type: AlertType;
|
|
3
|
+
titleText?: string;
|
|
4
|
+
bodyText?: string;
|
|
5
|
+
linkText?: string;
|
|
6
|
+
actionText?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare enum AlertType {
|
|
9
|
+
Success = "success",
|
|
10
|
+
Information = "information",
|
|
11
|
+
Warning = "warning",
|
|
12
|
+
Danger = "danger"
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./alert.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class NggvAlertModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvAlertModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvAlertModule, [typeof i1.AlertComponent], [typeof i2.CommonModule], [typeof i1.AlertComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvAlertModule>;
|
|
8
|
+
}
|
|
@@ -3,7 +3,7 @@ import { AbstractControl, ControlValueAccessor, NgControl, Validator } from '@an
|
|
|
3
3
|
import { TranslocoScope } from '@jsverse/transloco';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class NggvBaseControlValueAccessorComponent implements AfterViewInit, OnInit, OnDestroy, ControlValueAccessor, Validator {
|
|
7
7
|
ngControl: NgControl;
|
|
8
8
|
protected translocoScope: TranslocoScope;
|
|
9
9
|
protected cdr: ChangeDetectorRef;
|
|
@@ -28,8 +28,14 @@ export declare class NgvBaseControlValueAccessorComponent implements AfterViewIn
|
|
|
28
28
|
value: any;
|
|
29
29
|
/** An error string to be shown under invalid inputs. Overwrites any form errors. */
|
|
30
30
|
error?: string;
|
|
31
|
+
/** @deprecated Only one error should be shown under each field. */
|
|
32
|
+
errorList?: string[];
|
|
33
|
+
/** @deprecated Icon is always added before error. */
|
|
34
|
+
withErrorIcon?: boolean;
|
|
31
35
|
/** Description of the child input element. Both visibly and as `aria-label`. */
|
|
32
36
|
description?: string;
|
|
37
|
+
/** Determines if the label used to display the "description" text will be rendered to DOM */
|
|
38
|
+
descriptionIsVisible: boolean;
|
|
33
39
|
/** If set to true, the browser will try to automatically set focus to the child input element. */
|
|
34
40
|
autofocus: boolean;
|
|
35
41
|
/** Deafult value of the child input element. Used when resetting child element. */
|
|
@@ -118,7 +124,7 @@ export declare class NgvBaseControlValueAccessorComponent implements AfterViewIn
|
|
|
118
124
|
code: string;
|
|
119
125
|
params: any;
|
|
120
126
|
} | null;
|
|
121
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
122
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
123
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvBaseControlValueAccessorComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvBaseControlValueAccessorComponent, "ng-component", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "role": { "alias": "role"; "required": false; }; "value": { "alias": "value"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorList": { "alias": "errorList"; "required": false; }; "withErrorIcon": { "alias": "withErrorIcon"; "required": false; }; "description": { "alias": "description"; "required": false; }; "descriptionIsVisible": { "alias": "descriptionIsVisible"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "reset": { "alias": "reset"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "displayDisabledAsLocked": { "alias": "displayDisabledAsLocked"; "required": false; }; "required": { "alias": "required"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "nggvFocus": "nggvFocus"; "nggvBlur": "nggvBlur"; }, ["labelContentTpl"], never, false, never>;
|
|
129
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NggvBaseControlValueAccessorComponent>;
|
|
124
130
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./base-control-value-accessor.component";
|
|
3
|
-
export declare class
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
3
|
+
export declare class NggvBaseControlValueAccessorModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvBaseControlValueAccessorModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvBaseControlValueAccessorModule, [typeof i1.NggvBaseControlValueAccessorComponent], never, [typeof i1.NggvBaseControlValueAccessorComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvBaseControlValueAccessorModule>;
|
|
7
7
|
}
|
|
@@ -7,12 +7,12 @@ type Breadcrumb = {
|
|
|
7
7
|
/** Flags this link to be either internal using router link or external using browser location. */
|
|
8
8
|
external?: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class NggvBreadcrumbsComponent {
|
|
11
11
|
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
12
|
-
thook: string;
|
|
12
|
+
thook: string | null | undefined;
|
|
13
13
|
/** List of breadcrumbs to present. */
|
|
14
14
|
breadcrumbs: Breadcrumb[];
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvBreadcrumbsComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvBreadcrumbsComponent, "nggv-breadcrumbs", never, { "thook": { "alias": "thook"; "required": false; }; "breadcrumbs": { "alias": "breadcrumbs"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
18
18
|
export {};
|
|
@@ -3,8 +3,8 @@ import * as i1 from "./breadcrumbs.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@sebgroup/green-angular/src/v-angular/external-link";
|
|
5
5
|
import * as i4 from "@angular/router";
|
|
6
|
-
export declare class
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
6
|
+
export declare class NggvBreadcrumbsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvBreadcrumbsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvBreadcrumbsModule, [typeof i1.NggvBreadcrumbsComponent], [typeof i2.CommonModule, typeof i3.NggvExternalLinkDirectiveModule, typeof i4.RouterModule], [typeof i1.NggvBreadcrumbsComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvBreadcrumbsModule>;
|
|
10
10
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { TranslocoScope } from '@jsverse/transloco';
|
|
4
|
-
import {
|
|
4
|
+
import { NggvBaseControlValueAccessorComponent } from '@sebgroup/green-angular/src/v-angular/base-control-value-accessor';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export type ButtonTypes = 'button' | 'submit' | 'reset' | 'link';
|
|
7
7
|
export declare enum ButtonStyle {
|
|
@@ -18,12 +18,12 @@ export declare enum ButtonStyle {
|
|
|
18
18
|
* Buttons allow users to take action with a single tap.
|
|
19
19
|
* https://designlibrary.sebgroup.com/components/component-button
|
|
20
20
|
*/
|
|
21
|
-
export declare class
|
|
21
|
+
export declare class NggvButtonComponent extends NggvBaseControlValueAccessorComponent implements OnInit, OnChanges {
|
|
22
22
|
ngControl: NgControl;
|
|
23
23
|
protected translocoScope: TranslocoScope;
|
|
24
24
|
protected cdr: ChangeDetectorRef;
|
|
25
25
|
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
26
|
-
thook: string;
|
|
26
|
+
thook: string | null | undefined;
|
|
27
27
|
/** Type of button to one of button|submit|reset|link, where link creates an anchor tag. */
|
|
28
28
|
type: ButtonTypes;
|
|
29
29
|
/** Style of the button to one of Primary|Secondary|Alternative|Delete|DeleteConfirm|Ghost|GhostDark|Link. */
|
|
@@ -57,6 +57,6 @@ export declare class NgvButtonComponent extends NgvBaseControlValueAccessorCompo
|
|
|
57
57
|
ngOnChanges(changes: SimpleChanges): void;
|
|
58
58
|
/** @internal */
|
|
59
59
|
onClick(event: Event): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvButtonComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvButtonComponent, "nggv-button", never, { "thook": { "alias": "thook"; "required": false; }; "type": { "alias": "type"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "small": { "alias": "small"; "required": false; }; "href": { "alias": "href"; "required": false; }; }, { "nggvClick": "nggvClick"; }, never, ["*"], false, never>;
|
|
62
62
|
}
|
|
@@ -3,8 +3,8 @@ import * as i1 from "./button.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@sebgroup/green-angular/src/v-angular/external-link";
|
|
5
5
|
import * as i4 from "@angular/router";
|
|
6
|
-
export declare class
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
6
|
+
export declare class NggvButtonModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvButtonModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvButtonModule, [typeof i1.NggvButtonComponent], [typeof i2.CommonModule, typeof i3.NggvExternalLinkDirectiveModule, typeof i4.RouterModule], [typeof i1.NggvButtonComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvButtonModule>;
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
2
|
+
export declare class NggvCardComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvCardComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvCardComponent, "nggv-card", never, {}, {}, never, ["*"], false, never>;
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./card.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
4
|
+
export declare class NggvCardModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvCardModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvCardModule, [typeof i1.NggvCardComponent], [typeof i2.CommonModule], [typeof i1.NggvCardComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvCardModule>;
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./character-countdown.directive";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
4
|
+
export declare class NggvCharacterCountdownDirectiveModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvCharacterCountdownDirectiveModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvCharacterCountdownDirectiveModule, [typeof i1.CharacterCountdownDirective], [typeof i2.CommonModule], [typeof i1.CharacterCountdownDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvCharacterCountdownDirectiveModule>;
|
|
8
8
|
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
+
import '@sebgroup/green-core/components/icon/icons/triangle-exclamation.js';
|
|
1
2
|
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
3
|
import { NgControl } from '@angular/forms';
|
|
3
4
|
import { TranslocoScope } from '@jsverse/transloco';
|
|
4
|
-
import {
|
|
5
|
+
import { NggvBaseControlValueAccessorComponent } from '@sebgroup/green-angular/src/v-angular/base-control-value-accessor';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* Checkboxes allow a user to toggle an option on or off, or make multiple choices in a set of available options.
|
|
8
9
|
* https://designlibrary.sebgroup.com/components/component-checkbox
|
|
9
10
|
*/
|
|
10
|
-
export declare class
|
|
11
|
+
export declare class NggvCheckboxComponent extends NggvBaseControlValueAccessorComponent {
|
|
11
12
|
ngControl: NgControl;
|
|
12
13
|
protected translocoScope: TranslocoScope;
|
|
13
14
|
protected cdr: ChangeDetectorRef;
|
|
14
15
|
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
15
|
-
thook: string;
|
|
16
|
+
thook: string | null | undefined;
|
|
16
17
|
optionalLabel: string;
|
|
17
18
|
readonly valueChange: EventEmitter<string>;
|
|
18
19
|
constructor(ngControl: NgControl, translocoScope: TranslocoScope, cdr: ChangeDetectorRef);
|
|
@@ -22,6 +23,6 @@ export declare class NgvCheckboxComponent extends NgvBaseControlValueAccessorCom
|
|
|
22
23
|
writeValue(value: any): void;
|
|
23
24
|
/** Registers a callback function that is called when the child input element's value changes. */
|
|
24
25
|
registerOnChange(fn: (checked: any) => any): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvCheckboxComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvCheckboxComponent, "nggv-checkbox", never, { "thook": { "alias": "thook"; "required": false; }; "optionalLabel": { "alias": "optionalLabel"; "required": false; }; }, { "valueChange": "valueChange"; }, never, ["*"], false, never>;
|
|
27
28
|
}
|
|
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./checkbox.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@sebgroup/green-angular/src/v-angular/i18n";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
static
|
|
8
|
-
static
|
|
5
|
+
import * as i4 from "@sebgroup/green-angular/src/lib/shared";
|
|
6
|
+
export declare class NggvCheckboxModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NggvCheckboxModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NggvCheckboxModule, [typeof i1.NggvCheckboxComponent], [typeof i2.CommonModule, typeof i3.NggvI18nModule, typeof i4.NggCoreWrapperModule], [typeof i1.NggvCheckboxComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NggvCheckboxModule>;
|
|
9
10
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { WeekDay } from '@angular/common';
|
|
2
|
+
import { EventEmitter, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { CalendarDateDirective } from '../../directives/calendar-date.directive';
|
|
4
|
+
import type { CalendarType, DisableDateConfig } from '../../datepicker.models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CalendarComponent implements OnChanges {
|
|
7
|
+
dateClick: EventEmitter<Date>;
|
|
8
|
+
dateButtonRefs: QueryList<CalendarDateDirective>;
|
|
9
|
+
year: number;
|
|
10
|
+
month: number;
|
|
11
|
+
selected: Date | undefined;
|
|
12
|
+
locale: string | undefined;
|
|
13
|
+
minCalendarRows: number;
|
|
14
|
+
firstDayOfWeek: WeekDay;
|
|
15
|
+
type: CalendarType;
|
|
16
|
+
set disableDates(value: Date[] | undefined);
|
|
17
|
+
set disableWeekDays(value: WeekDay[] | undefined);
|
|
18
|
+
set firstValid(value: Date | undefined);
|
|
19
|
+
set lastValid(value: Date | undefined);
|
|
20
|
+
set closingTime(value: Date | undefined);
|
|
21
|
+
dateMatrix: Date[][];
|
|
22
|
+
disableDateConfig: DisableDateConfig;
|
|
23
|
+
private lastDayOfWeek;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
clickDate(date: Date): void;
|
|
26
|
+
keyNavigation(event: KeyboardEvent): void;
|
|
27
|
+
getElementWithOffset(fromElement: HTMLElement | undefined, offsetDays: number, returnOnlyEnabled?: boolean): HTMLElement | undefined;
|
|
28
|
+
getNextFocusable(fromElement: HTMLElement | undefined): HTMLElement | undefined;
|
|
29
|
+
getPreviousFocusable(fromElement: HTMLElement | undefined): HTMLElement | undefined;
|
|
30
|
+
firstDayOfWeekElement(): HTMLElement | undefined;
|
|
31
|
+
lastDayOfWeekElement(): HTMLElement | undefined;
|
|
32
|
+
getDayOffset(from: WeekDay, to: WeekDay, direction?: 'forward' | 'back'): number;
|
|
33
|
+
private updateDisableDateConfig;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "nggv-calendar", never, { "year": { "alias": "year"; "required": false; }; "month": { "alias": "month"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "minCalendarRows": { "alias": "minCalendarRows"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disableDates": { "alias": "disableDates"; "required": false; }; "disableWeekDays": { "alias": "disableWeekDays"; "required": false; }; "firstValid": { "alias": "firstValid"; "required": false; }; "lastValid": { "alias": "lastValid"; "required": false; }; "closingTime": { "alias": "closingTime"; "required": false; }; }, { "dateClick": "dateClick"; }, never, never, false, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { CalendarMonth } from '../../datepicker.models';
|
|
4
|
+
import type { CalendarType } from '../../datepicker.models';
|
|
5
|
+
import '@sebgroup/green-core/components/icon/icons/chevron-left.js';
|
|
6
|
+
import '@sebgroup/green-core/components/icon/icons/chevron-right.js';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CalendarControlComponent implements OnInit, OnChanges, OnDestroy {
|
|
9
|
+
private fb;
|
|
10
|
+
calendarChange: EventEmitter<CalendarMonth>;
|
|
11
|
+
activeCalendar: CalendarMonth;
|
|
12
|
+
locale: string | undefined;
|
|
13
|
+
type: CalendarType;
|
|
14
|
+
monthArray: Date[];
|
|
15
|
+
yearArray: Date[];
|
|
16
|
+
selectedCalendar: UntypedFormGroup;
|
|
17
|
+
private subs;
|
|
18
|
+
constructor(fb: UntypedFormBuilder);
|
|
19
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
viewPreviousMonth(): void;
|
|
23
|
+
viewNextMonth(): void;
|
|
24
|
+
viewPreviousYear(): void;
|
|
25
|
+
viewNextYear(): void;
|
|
26
|
+
keyNavigation(event: KeyboardEvent): void;
|
|
27
|
+
private subscribeToFormChanges;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarControlComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarControlComponent, "nggv-calendar-control", never, { "activeCalendar": { "alias": "activeCalendar"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "calendarChange": "calendarChange"; }, never, never, false, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import '../../datepicker.globals';
|
|
2
|
+
import { WeekDay } from '@angular/common';
|
|
3
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
4
|
+
import { NgControl } from '@angular/forms';
|
|
5
|
+
import { TranslocoScope, TranslocoService } from '@jsverse/transloco';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { DateControlValueAccessorComponent } from '../../date-control-value-accessor/date-control-value-accessor.component';
|
|
8
|
+
import type { CalendarType } from '../../datepicker.models';
|
|
9
|
+
import '@sebgroup/green-core/components/icon/icons/calendar.js';
|
|
10
|
+
import '@sebgroup/green-core/components/icon/icons/triangle-exclamation.js';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* Date pickers simplify the task of selecting a date in a visual representation of a calendar.
|
|
14
|
+
* https://designlibrary.sebgroup.com/components/component-datepicker
|
|
15
|
+
*
|
|
16
|
+
* Selector: `nggv-dateinput`
|
|
17
|
+
*
|
|
18
|
+
* When focusing an date element, the calendar allows for navigation using both tab and arrow keys.
|
|
19
|
+
* Pressing 'esc' will close the calendar.
|
|
20
|
+
*
|
|
21
|
+
* Requires TranslocoLocale, but in turn allows for setting locale dynamically:
|
|
22
|
+
* https://jsverse.github.io/transloco/docs/plugins/locale/#manually-setting-locale
|
|
23
|
+
*
|
|
24
|
+
* To configure TranslocoLocale, follow this guide:
|
|
25
|
+
* https://jsverse.github.io/transloco/docs/plugins/locale/#setup
|
|
26
|
+
*/
|
|
27
|
+
export declare class DateInputComponent extends DateControlValueAccessorComponent implements OnDestroy {
|
|
28
|
+
ngControl: NgControl;
|
|
29
|
+
protected translocoScope: TranslocoScope;
|
|
30
|
+
protected transloco: TranslocoService;
|
|
31
|
+
protected elementRef: ElementRef;
|
|
32
|
+
protected cdr: ChangeDetectorRef;
|
|
33
|
+
toggleButtonRef?: ElementRef<HTMLButtonElement>;
|
|
34
|
+
/** Special property used for selecting DOM elements during automated UI testing. */
|
|
35
|
+
thook: string | null | undefined;
|
|
36
|
+
/** Set type of calendar: either 'normal' or 'expanded'. Default is 'normal'. */
|
|
37
|
+
type: CalendarType;
|
|
38
|
+
/** If set to true, the value will not be editable. */
|
|
39
|
+
readonly: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* An array of Dates or parsable strings that corresponds with dates that should not be selectable in the calendar.
|
|
42
|
+
* I.e. bank holidays.
|
|
43
|
+
*/
|
|
44
|
+
disableDates: (string | Date)[];
|
|
45
|
+
/**
|
|
46
|
+
* An array of weekdays that should not be selectable in the calendar.
|
|
47
|
+
* Can be used together with or instead of @Input() disableDates.
|
|
48
|
+
*/
|
|
49
|
+
disableWeekDays: WeekDay[];
|
|
50
|
+
/** Mininum number of rows shown in the calendar. */
|
|
51
|
+
minRows: number;
|
|
52
|
+
/** Sets a from-date of which all dates before will be invalid. */
|
|
53
|
+
firstValid: Date | undefined;
|
|
54
|
+
/** Sets a to-date of which all dates after will be invalid. */
|
|
55
|
+
lastValid: Date | undefined;
|
|
56
|
+
/** Sets a closing time for today to toggle availability for today's date. */
|
|
57
|
+
closingTime: Date | undefined;
|
|
58
|
+
/** Sets first day of week in calendar. Defaults to Monday. */
|
|
59
|
+
firstDayOfWeek: WeekDay;
|
|
60
|
+
/** If set to true, it will allow to close the calendar on escape button click. */
|
|
61
|
+
closeCalendarOnEscape: boolean;
|
|
62
|
+
/** @internal */
|
|
63
|
+
/** @internal */
|
|
64
|
+
shown: boolean;
|
|
65
|
+
/** @internal */
|
|
66
|
+
showInput$: Observable<boolean>;
|
|
67
|
+
/** Observable for listening to clicks outside of the datepicker. */
|
|
68
|
+
private documentClick$;
|
|
69
|
+
/** Subject used for unsubscribe pattern on above observable. */
|
|
70
|
+
private datepickerClosed$;
|
|
71
|
+
constructor(ngControl: NgControl, translocoScope: TranslocoScope, transloco: TranslocoService, elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
72
|
+
ngOnDestroy(): void;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
* Called from the datepicker-component when a date button is clicked in the calendar.
|
|
76
|
+
*
|
|
77
|
+
* @param date date object emitted when selecting a date in the datepicker.
|
|
78
|
+
*/
|
|
79
|
+
onDateChange(date: Date): void;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
* Called when entering date manually in input field.
|
|
83
|
+
*/
|
|
84
|
+
onValueChange(eventTarget: any): void;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* Listen to 'esc' keypress and closes datepicker if open.
|
|
88
|
+
*/
|
|
89
|
+
keyListener(event: KeyboardEvent): void;
|
|
90
|
+
/** @internal */
|
|
91
|
+
toggleDatepicker(): void;
|
|
92
|
+
/** To externally trigger the datepicker to close. */
|
|
93
|
+
close(): void;
|
|
94
|
+
/**
|
|
95
|
+
* Set the shown state of the datepicker popup. If true the popup will be visible.
|
|
96
|
+
* If the state is set to false, call onTouched to notify any state listeners
|
|
97
|
+
* @param state the shown state which to set.
|
|
98
|
+
*/
|
|
99
|
+
private setShown;
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [{ optional: true; self: true; }, { optional: true; }, null, null, null]>;
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "nggv-dateinput,nggv-input[type=date]", never, { "thook": { "alias": "thook"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disableDates": { "alias": "disableDates"; "required": false; }; "disableWeekDays": { "alias": "disableWeekDays"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "firstValid": { "alias": "firstValid"; "required": false; }; "lastValid": { "alias": "lastValid"; "required": false; }; "closingTime": { "alias": "closingTime"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "closeCalendarOnEscape": { "alias": "closeCalendarOnEscape"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
102
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { WeekDay } from '@angular/common';
|
|
2
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
3
|
+
import { CalendarMonth } from '../../datepicker.models';
|
|
4
|
+
import type { CalendarType } from '../../datepicker.models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DatepickerComponent implements OnInit, OnChanges, OnDestroy {
|
|
7
|
+
calendarTemplate: TemplateRef<any> | null;
|
|
8
|
+
/** Emits a Date upon selection. */
|
|
9
|
+
ngvDateChange: EventEmitter<Date>;
|
|
10
|
+
/** Sets first day of week in calendar. Defaults to Monday. */
|
|
11
|
+
firstDayOfWeek: WeekDay;
|
|
12
|
+
/** Bank holidays. */
|
|
13
|
+
disableDates: (string | Date)[];
|
|
14
|
+
/** Other non selectable dates. */
|
|
15
|
+
disableWeekDays: WeekDay[];
|
|
16
|
+
/** Minimum number of calendar rows shown. */
|
|
17
|
+
minCalendarRows: number;
|
|
18
|
+
/** Initial date set as selected. */
|
|
19
|
+
selected: Date | undefined;
|
|
20
|
+
/** Set locale for date format. */
|
|
21
|
+
locale: string | undefined;
|
|
22
|
+
/** Set type of calendar. */
|
|
23
|
+
type: CalendarType;
|
|
24
|
+
/** Sets a from date of which all dates before will be invalid. */
|
|
25
|
+
firstValid: Date | undefined;
|
|
26
|
+
/** Sets a to date of which all dates after will be invalid. */
|
|
27
|
+
lastValid: Date | undefined;
|
|
28
|
+
/** Sets a closing time for today to toggle availability for today's date. */
|
|
29
|
+
closingTime: Date | undefined;
|
|
30
|
+
/** @internal */
|
|
31
|
+
activeCalendar: CalendarMonth;
|
|
32
|
+
/** @internal */
|
|
33
|
+
/** @internal */
|
|
34
|
+
weekdayArray: Date[];
|
|
35
|
+
/** @internal */
|
|
36
|
+
disabledDatesForActiveMonth: Date[];
|
|
37
|
+
private subs;
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
ngOnDestroy(): void;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
* Update local calendar variable and changes displayed calendar.
|
|
44
|
+
*/
|
|
45
|
+
changeActiveCalendar(calendar: CalendarMonth): void;
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* Returns a subset of all disabled dates.
|
|
49
|
+
*
|
|
50
|
+
* @param month current month to filter from
|
|
51
|
+
* @param disableDates master list of all disabled dates
|
|
52
|
+
* @returns a subset with current and adjacent months disabled dates
|
|
53
|
+
*/
|
|
54
|
+
getDisabledDatesFor(calendar: CalendarMonth, disableDates?: (string | Date)[]): Date[];
|
|
55
|
+
/**
|
|
56
|
+
* Handles date-clicks from calendar compoentn. Emits event or changes calendar.
|
|
57
|
+
* @param date date clicked in calendar
|
|
58
|
+
*/
|
|
59
|
+
dateClickHandler(date: Date): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "nggv-datepicker", never, { "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "disableDates": { "alias": "disableDates"; "required": false; }; "disableWeekDays": { "alias": "disableWeekDays"; "required": false; }; "minCalendarRows": { "alias": "minCalendarRows"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "type": { "alias": "type"; "required": false; }; "firstValid": { "alias": "firstValid"; "required": false; }; "lastValid": { "alias": "lastValid"; "required": false; }; "closingTime": { "alias": "closingTime"; "required": false; }; }, { "ngvDateChange": "ngvDateChange"; }, never, ["*"], false, never>;
|
|
62
|
+
}
|