@spartan-ng/brain 0.0.1-alpha.373 → 0.0.1-alpha.379
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/accordion/README.md +3 -0
- package/accordion/index.d.ts +13 -0
- package/accordion/lib/brn-accordion-content.component.d.ts +15 -0
- package/accordion/lib/brn-accordion.directive.d.ts +47 -0
- package/alert-dialog/README.md +3 -0
- package/alert-dialog/index.d.ts +25 -0
- package/alert-dialog/lib/brn-alert-dialog-content.directive.d.ts +6 -0
- package/alert-dialog/lib/brn-alert-dialog-description.directive.d.ts +6 -0
- package/alert-dialog/lib/brn-alert-dialog-overlay.component.d.ts +6 -0
- package/alert-dialog/lib/brn-alert-dialog-title.directive.d.ts +6 -0
- package/alert-dialog/lib/brn-alert-dialog-trigger.directive.d.ts +8 -0
- package/alert-dialog/lib/brn-alert-dialog.component.d.ts +7 -0
- package/avatar/README.md +3 -0
- package/avatar/index.d.ts +17 -0
- package/avatar/lib/brn-avatar.component.d.ts +7 -0
- package/avatar/lib/fallback/brn-avatar-fallback.directive.d.ts +11 -0
- package/avatar/lib/fallback/index.d.ts +1 -0
- package/avatar/lib/image/brn-avatar-image.directive.d.ts +9 -0
- package/avatar/lib/image/index.d.ts +1 -0
- package/avatar/lib/util/hex-color-for.d.ts +1 -0
- package/avatar/lib/util/index.d.ts +3 -0
- package/avatar/lib/util/initials.pipe.d.ts +7 -0
- package/avatar/lib/util/is-bright.d.ts +1 -0
- package/calendar/README.md +3 -0
- package/calendar/index.d.ts +36 -0
- package/calendar/lib/brn-calendar-cell-button.directive.d.ts +59 -0
- package/calendar/lib/brn-calendar-cell.directive.d.ts +5 -0
- package/calendar/lib/brn-calendar-grid.directive.d.ts +7 -0
- package/calendar/lib/brn-calendar-header.directive.d.ts +7 -0
- package/calendar/lib/brn-calendar-next-button.directive.d.ts +13 -0
- package/calendar/lib/brn-calendar-previous-button.directive.d.ts +13 -0
- package/calendar/lib/brn-calendar-week.directive.d.ts +25 -0
- package/calendar/lib/brn-calendar-weekday.directive.d.ts +25 -0
- package/calendar/lib/brn-calendar.directive.d.ts +55 -0
- package/calendar/lib/brn-calendar.token.d.ts +8 -0
- package/calendar/lib/i18n/calendar-i18n.d.ts +17 -0
- package/checkbox/lib/brn-checkbox.component.d.ts +1 -1
- package/collapsible/README.md +3 -0
- package/collapsible/index.d.ts +16 -0
- package/collapsible/lib/brn-collapsible-content.component.d.ts +19 -0
- package/collapsible/lib/brn-collapsible-trigger.directive.d.ts +12 -0
- package/collapsible/lib/brn-collapsible.component.d.ts +11 -0
- package/command/README.md +3 -0
- package/command/index.d.ts +33 -0
- package/command/lib/brn-command-empty.directive.d.ts +6 -0
- package/command/lib/brn-command-group.component.d.ts +6 -0
- package/command/lib/brn-command-input.directive.d.ts +6 -0
- package/command/lib/brn-command-item.directive.d.ts +6 -0
- package/command/lib/brn-command-list.component.d.ts +6 -0
- package/command/lib/brn-command-loader.directive.d.ts +6 -0
- package/command/lib/brn-command-separator.component.d.ts +6 -0
- package/command/lib/brn-command.component.d.ts +6 -0
- package/date-time/README.md +3 -0
- package/date-time/index.d.ts +2 -0
- package/date-time/lib/date-adapter.d.ts +176 -0
- package/date-time/lib/native-date-adapter.d.ts +103 -0
- package/date-time-luxon/README.md +3 -0
- package/date-time-luxon/index.d.ts +1 -0
- package/date-time-luxon/lib/date-adapter.d.ts +29 -0
- package/dialog/README.md +3 -0
- package/dialog/index.d.ts +33 -0
- package/dialog/lib/brn-dialog-close.directive.d.ts +10 -0
- package/dialog/lib/brn-dialog-content.directive.d.ts +12 -0
- package/dialog/lib/brn-dialog-description.directive.d.ts +8 -0
- package/dialog/lib/brn-dialog-options.d.ts +26 -0
- package/dialog/lib/brn-dialog-overlay.component.d.ts +8 -0
- package/dialog/lib/brn-dialog-ref.d.ts +24 -0
- package/dialog/lib/brn-dialog-state.d.ts +1 -0
- package/dialog/lib/brn-dialog-title.directive.d.ts +8 -0
- package/dialog/lib/brn-dialog-trigger.directive.d.ts +16 -0
- package/dialog/lib/brn-dialog-utils.d.ts +1 -0
- package/dialog/lib/brn-dialog.component.d.ts +56 -0
- package/dialog/lib/brn-dialog.service.d.ts +22 -0
- package/esm2022/accordion/index.mjs +31 -0
- package/esm2022/accordion/lib/brn-accordion-content.component.mjs +50 -0
- package/esm2022/accordion/lib/brn-accordion.directive.mjs +180 -0
- package/esm2022/accordion/spartan-ng-brain-accordion.mjs +5 -0
- package/esm2022/alert-dialog/index.mjs +45 -0
- package/esm2022/alert-dialog/lib/brn-alert-dialog-content.directive.mjs +17 -0
- package/esm2022/alert-dialog/lib/brn-alert-dialog-description.directive.mjs +18 -0
- package/esm2022/alert-dialog/lib/brn-alert-dialog-overlay.component.mjs +20 -0
- package/esm2022/alert-dialog/lib/brn-alert-dialog-title.directive.mjs +18 -0
- package/esm2022/alert-dialog/lib/brn-alert-dialog-trigger.directive.mjs +27 -0
- package/esm2022/alert-dialog/lib/brn-alert-dialog.component.mjs +40 -0
- package/esm2022/alert-dialog/spartan-ng-brain-alert-dialog.mjs +5 -0
- package/esm2022/avatar/index.mjs +23 -0
- package/esm2022/avatar/lib/brn-avatar.component.mjs +31 -0
- package/esm2022/avatar/lib/fallback/brn-avatar-fallback.directive.mjs +21 -0
- package/esm2022/avatar/lib/fallback/index.mjs +2 -0
- package/esm2022/avatar/lib/image/brn-avatar-image.directive.mjs +29 -0
- package/esm2022/avatar/lib/image/index.mjs +2 -0
- package/esm2022/avatar/lib/util/hex-color-for.mjs +22 -0
- package/esm2022/avatar/lib/util/index.mjs +4 -0
- package/esm2022/avatar/lib/util/initials.pipe.mjs +27 -0
- package/esm2022/avatar/lib/util/is-bright.mjs +12 -0
- package/esm2022/avatar/spartan-ng-brain-avatar.mjs +5 -0
- package/esm2022/calendar/index.mjs +62 -0
- package/esm2022/calendar/lib/brn-calendar-cell-button.directive.mjs +160 -0
- package/esm2022/calendar/lib/brn-calendar-cell.directive.mjs +17 -0
- package/esm2022/calendar/lib/brn-calendar-grid.directive.mjs +21 -0
- package/esm2022/calendar/lib/brn-calendar-header.directive.mjs +22 -0
- package/esm2022/calendar/lib/brn-calendar-next-button.directive.mjs +42 -0
- package/esm2022/calendar/lib/brn-calendar-previous-button.directive.mjs +42 -0
- package/esm2022/calendar/lib/brn-calendar-week.directive.mjs +64 -0
- package/esm2022/calendar/lib/brn-calendar-weekday.directive.mjs +48 -0
- package/esm2022/calendar/lib/brn-calendar.directive.mjs +154 -0
- package/esm2022/calendar/lib/brn-calendar.token.mjs +12 -0
- package/esm2022/calendar/lib/i18n/calendar-i18n.mjs +33 -0
- package/esm2022/calendar/spartan-ng-brain-calendar.mjs +5 -0
- package/esm2022/checkbox/lib/brn-checkbox.component.mjs +1 -1
- package/esm2022/collapsible/index.mjs +30 -0
- package/esm2022/collapsible/lib/brn-collapsible-content.component.mjs +61 -0
- package/esm2022/collapsible/lib/brn-collapsible-trigger.directive.mjs +35 -0
- package/esm2022/collapsible/lib/brn-collapsible.component.mjs +33 -0
- package/esm2022/collapsible/spartan-ng-brain-collapsible.mjs +5 -0
- package/esm2022/command/index.mjs +64 -0
- package/esm2022/command/lib/brn-command-empty.directive.mjs +29 -0
- package/esm2022/command/lib/brn-command-group.component.mjs +45 -0
- package/esm2022/command/lib/brn-command-input.directive.mjs +29 -0
- package/esm2022/command/lib/brn-command-item.directive.mjs +36 -0
- package/esm2022/command/lib/brn-command-list.component.mjs +35 -0
- package/esm2022/command/lib/brn-command-loader.directive.mjs +29 -0
- package/esm2022/command/lib/brn-command-separator.component.mjs +30 -0
- package/esm2022/command/lib/brn-command.component.mjs +21 -0
- package/esm2022/command/spartan-ng-brain-command.mjs +5 -0
- package/esm2022/date-time/index.mjs +3 -0
- package/esm2022/date-time/lib/date-adapter.mjs +16 -0
- package/esm2022/date-time/lib/native-date-adapter.mjs +155 -0
- package/esm2022/date-time/spartan-ng-brain-date-time.mjs +5 -0
- package/esm2022/date-time-luxon/index.mjs +2 -0
- package/esm2022/date-time-luxon/lib/date-adapter.mjs +85 -0
- package/esm2022/date-time-luxon/spartan-ng-brain-date-time-luxon.mjs +5 -0
- package/esm2022/dialog/index.mjs +55 -0
- package/esm2022/dialog/lib/brn-dialog-close.directive.mjs +29 -0
- package/esm2022/dialog/lib/brn-dialog-content.directive.mjs +41 -0
- package/esm2022/dialog/lib/brn-dialog-description.directive.mjs +25 -0
- package/esm2022/dialog/lib/brn-dialog-options.mjs +19 -0
- package/esm2022/dialog/lib/brn-dialog-overlay.component.mjs +29 -0
- package/esm2022/dialog/lib/brn-dialog-ref.mjs +53 -0
- package/esm2022/dialog/lib/brn-dialog-state.mjs +2 -0
- package/esm2022/dialog/lib/brn-dialog-title.directive.mjs +25 -0
- package/esm2022/dialog/lib/brn-dialog-trigger.directive.mjs +39 -0
- package/esm2022/dialog/lib/brn-dialog-utils.mjs +12 -0
- package/esm2022/dialog/lib/brn-dialog.component.mjs +208 -0
- package/esm2022/dialog/lib/brn-dialog.service.mjs +127 -0
- package/esm2022/dialog/spartan-ng-brain-dialog.mjs +5 -0
- package/esm2022/form-field/index.mjs +2 -0
- package/esm2022/form-field/lib/brn-form-field-control.mjs +14 -0
- package/esm2022/form-field/spartan-ng-brain-form-field.mjs +5 -0
- package/esm2022/forms/index.mjs +4 -0
- package/esm2022/forms/lib/control-value-accessor.mjs +2 -0
- package/esm2022/forms/lib/error-options.mjs +26 -0
- package/esm2022/forms/lib/error-state-tracker.mjs +29 -0
- package/esm2022/forms/spartan-ng-brain-forms.mjs +5 -0
- package/esm2022/hover-card/index.mjs +29 -0
- package/esm2022/hover-card/lib/brn-hover-card-content.service.mjs +205 -0
- package/esm2022/hover-card/lib/brn-hover-card.component.mjs +34 -0
- package/esm2022/hover-card/lib/createHoverObservable.mjs +19 -0
- package/esm2022/hover-card/spartan-ng-brain-hover-card.mjs +5 -0
- package/esm2022/label/index.mjs +17 -0
- package/esm2022/label/lib/brn-label.directive.mjs +49 -0
- package/esm2022/label/spartan-ng-brain-label.mjs +5 -0
- package/esm2022/menu/index.mjs +100 -0
- package/esm2022/menu/lib/brn-context-menu-trigger.directive.mjs +40 -0
- package/esm2022/menu/lib/brn-menu-align.mjs +15 -0
- package/esm2022/menu/lib/brn-menu-bar.directive.mjs +17 -0
- package/esm2022/menu/lib/brn-menu-group.directive.mjs +17 -0
- package/esm2022/menu/lib/brn-menu-item-checkbox.directive.mjs +30 -0
- package/esm2022/menu/lib/brn-menu-item-radio.directive.mjs +30 -0
- package/esm2022/menu/lib/brn-menu-item.directive.mjs +27 -0
- package/esm2022/menu/lib/brn-menu-trigger.directive.mjs +36 -0
- package/esm2022/menu/lib/brn-menu.directive.mjs +50 -0
- package/esm2022/menu/spartan-ng-brain-menu.mjs +5 -0
- package/esm2022/popover/index.mjs +35 -0
- package/esm2022/popover/lib/brn-popover-close.directive.mjs +15 -0
- package/esm2022/popover/lib/brn-popover-content.directive.mjs +17 -0
- package/esm2022/popover/lib/brn-popover-trigger.directive.mjs +37 -0
- package/esm2022/popover/lib/brn-popover.component.mjs +81 -0
- package/esm2022/popover/spartan-ng-brain-popover.mjs +5 -0
- package/esm2022/progress/index.mjs +21 -0
- package/esm2022/progress/lib/brn-progress-indicator.component.mjs +22 -0
- package/esm2022/progress/lib/brn-progress.component.mjs +61 -0
- package/esm2022/progress/lib/brn-progress.token.mjs +9 -0
- package/esm2022/progress/spartan-ng-brain-progress.mjs +5 -0
- package/esm2022/radio-group/index.mjs +20 -0
- package/esm2022/radio-group/lib/brn-radio-group.component.mjs +90 -0
- package/esm2022/radio-group/lib/brn-radio-group.token.mjs +9 -0
- package/esm2022/radio-group/lib/brn-radio.component.mjs +185 -0
- package/esm2022/radio-group/spartan-ng-brain-radio-group.mjs +5 -0
- package/esm2022/select/index.mjs +56 -0
- package/esm2022/select/lib/brn-select-content.component.mjs +204 -0
- package/esm2022/select/lib/brn-select-group.directive.mjs +19 -0
- package/esm2022/select/lib/brn-select-label.directive.mjs +23 -0
- package/esm2022/select/lib/brn-select-option.directive.mjs +65 -0
- package/esm2022/select/lib/brn-select-value.component.mjs +46 -0
- package/esm2022/select/lib/brn-select.component.mjs +358 -0
- package/esm2022/select/lib/brn-select.service.mjs +197 -0
- package/esm2022/select/spartan-ng-brain-select.mjs +5 -0
- package/esm2022/separator/index.mjs +17 -0
- package/esm2022/separator/lib/brn-separator.component.mjs +24 -0
- package/esm2022/separator/spartan-ng-brain-separator.mjs +5 -0
- package/esm2022/sheet/index.mjs +50 -0
- package/esm2022/sheet/lib/brn-sheet-close.directive.mjs +15 -0
- package/esm2022/sheet/lib/brn-sheet-content.directive.mjs +25 -0
- package/esm2022/sheet/lib/brn-sheet-description.directive.mjs +18 -0
- package/esm2022/sheet/lib/brn-sheet-overlay.component.mjs +20 -0
- package/esm2022/sheet/lib/brn-sheet-title.directive.mjs +18 -0
- package/esm2022/sheet/lib/brn-sheet-trigger.directive.mjs +26 -0
- package/esm2022/sheet/lib/brn-sheet.component.mjs +55 -0
- package/esm2022/sheet/spartan-ng-brain-sheet.mjs +5 -0
- package/esm2022/slider/index.mjs +13 -0
- package/esm2022/slider/lib/brn-slider-thumb.directive.mjs +41 -0
- package/esm2022/slider/lib/brn-slider-tick-mark.directive.mjs +37 -0
- package/esm2022/slider/lib/brn-slider-track-active-fill.directive.mjs +29 -0
- package/esm2022/slider/lib/brn-slider-track.directive.mjs +290 -0
- package/esm2022/slider/spartan-ng-brain-slider.mjs +5 -0
- package/esm2022/switch/index.mjs +20 -0
- package/esm2022/switch/lib/brn-switch-thumb.component.mjs +16 -0
- package/esm2022/switch/lib/brn-switch.component.mjs +236 -0
- package/esm2022/switch/spartan-ng-brain-switch.mjs +5 -0
- package/esm2022/table/index.mjs +47 -0
- package/esm2022/table/lib/brn-cell-def.directive.mjs +22 -0
- package/esm2022/table/lib/brn-column-def.component.mjs +82 -0
- package/esm2022/table/lib/brn-column-manager.mjs +61 -0
- package/esm2022/table/lib/brn-footer-def.directive.mjs +22 -0
- package/esm2022/table/lib/brn-header-def.directive.mjs +22 -0
- package/esm2022/table/lib/brn-paginator.directive.mjs +109 -0
- package/esm2022/table/lib/brn-table.component.mjs +169 -0
- package/esm2022/table/spartan-ng-brain-table.mjs +5 -0
- package/esm2022/tabs/index.mjs +32 -0
- package/esm2022/tabs/lib/brn-tabs-list.directive.mjs +65 -0
- package/esm2022/tabs/lib/brn-tabs-paginated-list.directive.mjs +525 -0
- package/esm2022/tabs/lib/brn-tabs-trigger.directive.mjs +134 -0
- package/esm2022/tabs/spartan-ng-brain-tabs.mjs +5 -0
- package/esm2022/toggle/index.mjs +31 -0
- package/esm2022/toggle/lib/brn-toggle-group.component.mjs +159 -0
- package/esm2022/toggle/lib/brn-toggle-group.token.mjs +9 -0
- package/esm2022/toggle/lib/brn-toggle.directive.mjs +65 -0
- package/esm2022/toggle/spartan-ng-brain-toggle.mjs +5 -0
- package/esm2022/tooltip/index.mjs +35 -0
- package/esm2022/tooltip/lib/brn-tooltip-content.component.mjs +228 -0
- package/esm2022/tooltip/lib/brn-tooltip-content.directive.mjs +22 -0
- package/esm2022/tooltip/lib/brn-tooltip-trigger.directive.mjs +689 -0
- package/esm2022/tooltip/lib/brn-tooltip.directive.mjs +15 -0
- package/esm2022/tooltip/spartan-ng-brain-tooltip.mjs +5 -0
- package/fesm2022/spartan-ng-brain-accordion.mjs +259 -0
- package/fesm2022/spartan-ng-brain-accordion.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-alert-dialog.mjs +162 -0
- package/fesm2022/spartan-ng-brain-alert-dialog.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-avatar.mjs +156 -0
- package/fesm2022/spartan-ng-brain-avatar.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-calendar.mjs +629 -0
- package/fesm2022/spartan-ng-brain-calendar.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-checkbox.mjs.map +1 -1
- package/fesm2022/spartan-ng-brain-collapsible.mjs +152 -0
- package/fesm2022/spartan-ng-brain-collapsible.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-command.mjs +284 -0
- package/fesm2022/spartan-ng-brain-command.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-date-time-luxon.mjs +92 -0
- package/fesm2022/spartan-ng-brain-date-time-luxon.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-date-time.mjs +177 -0
- package/fesm2022/spartan-ng-brain-date-time.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-dialog.mjs +617 -0
- package/fesm2022/spartan-ng-brain-dialog.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-form-field.mjs +21 -0
- package/fesm2022/spartan-ng-brain-form-field.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-forms.mjs +61 -0
- package/fesm2022/spartan-ng-brain-forms.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-hover-card.mjs +274 -0
- package/fesm2022/spartan-ng-brain-hover-card.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-label.mjs +69 -0
- package/fesm2022/spartan-ng-brain-label.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-menu.mjs +316 -0
- package/fesm2022/spartan-ng-brain-menu.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-popover.mjs +173 -0
- package/fesm2022/spartan-ng-brain-popover.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-progress.mjs +108 -0
- package/fesm2022/spartan-ng-brain-progress.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-radio-group.mjs +299 -0
- package/fesm2022/spartan-ng-brain-radio-group.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-select.mjs +928 -0
- package/fesm2022/spartan-ng-brain-select.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-separator.mjs +44 -0
- package/fesm2022/spartan-ng-brain-separator.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-sheet.mjs +197 -0
- package/fesm2022/spartan-ng-brain-sheet.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-slider.mjs +399 -0
- package/fesm2022/spartan-ng-brain-slider.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-switch.mjs +271 -0
- package/fesm2022/spartan-ng-brain-switch.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-table.mjs +506 -0
- package/fesm2022/spartan-ng-brain-table.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-tabs.mjs +748 -0
- package/fesm2022/spartan-ng-brain-tabs.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-toggle.mjs +260 -0
- package/fesm2022/spartan-ng-brain-toggle.mjs.map +1 -0
- package/fesm2022/spartan-ng-brain-tooltip.mjs +975 -0
- package/fesm2022/spartan-ng-brain-tooltip.mjs.map +1 -0
- package/form-field/README.md +3 -0
- package/form-field/index.d.ts +1 -0
- package/form-field/lib/brn-form-field-control.d.ts +11 -0
- package/forms/README.md +3 -0
- package/forms/index.d.ts +3 -0
- package/forms/lib/control-value-accessor.d.ts +2 -0
- package/forms/lib/error-options.d.ts +14 -0
- package/forms/lib/error-state-tracker.d.ts +15 -0
- package/hover-card/README.md +3 -0
- package/hover-card/index.d.ts +14 -0
- package/hover-card/lib/brn-hover-card-content.service.d.ts +65 -0
- package/hover-card/lib/brn-hover-card.component.d.ts +9 -0
- package/hover-card/lib/createHoverObservable.d.ts +4 -0
- package/label/README.md +3 -0
- package/label/index.d.ts +8 -0
- package/label/lib/brn-label.directive.d.ts +15 -0
- package/menu/README.md +3 -0
- package/menu/index.d.ts +49 -0
- package/menu/lib/brn-context-menu-trigger.directive.d.ts +13 -0
- package/menu/lib/brn-menu-align.d.ts +3 -0
- package/menu/lib/brn-menu-bar.directive.d.ts +6 -0
- package/menu/lib/brn-menu-group.directive.d.ts +6 -0
- package/menu/lib/brn-menu-item-checkbox.directive.d.ts +11 -0
- package/menu/lib/brn-menu-item-radio.directive.d.ts +11 -0
- package/menu/lib/brn-menu-item.directive.d.ts +10 -0
- package/menu/lib/brn-menu-trigger.directive.d.ts +10 -0
- package/menu/lib/brn-menu.directive.d.ts +11 -0
- package/package.json +182 -9
- package/popover/README.md +3 -0
- package/popover/index.d.ts +19 -0
- package/popover/lib/brn-popover-close.directive.d.ts +6 -0
- package/popover/lib/brn-popover-content.directive.d.ts +6 -0
- package/popover/lib/brn-popover-trigger.directive.d.ts +10 -0
- package/popover/lib/brn-popover.component.d.ts +14 -0
- package/progress/README.md +3 -0
- package/progress/index.d.ts +14 -0
- package/progress/lib/brn-progress-indicator.component.d.ts +6 -0
- package/progress/lib/brn-progress.component.d.ts +15 -0
- package/progress/lib/brn-progress.token.d.ts +4 -0
- package/radio-group/README.md +3 -0
- package/radio-group/index.d.ts +13 -0
- package/radio-group/lib/brn-radio-group.component.d.ts +57 -0
- package/radio-group/lib/brn-radio-group.token.d.ts +4 -0
- package/radio-group/lib/brn-radio.component.d.ts +58 -0
- package/select/README.md +3 -0
- package/select/index.d.ts +28 -0
- package/select/lib/brn-select-content.component.d.ts +50 -0
- package/select/lib/brn-select-group.directive.d.ts +6 -0
- package/select/lib/brn-select-label.directive.d.ts +9 -0
- package/select/lib/brn-select-option.directive.d.ts +25 -0
- package/select/lib/brn-select-value.component.d.ts +11 -0
- package/select/lib/brn-select.component.d.ts +82 -0
- package/select/lib/brn-select.service.d.ts +67 -0
- package/separator/README.md +3 -0
- package/separator/index.d.ts +8 -0
- package/separator/lib/brn-separator.component.d.ts +11 -0
- package/sheet/README.md +3 -0
- package/sheet/index.d.ts +28 -0
- package/sheet/lib/brn-sheet-close.directive.d.ts +6 -0
- package/sheet/lib/brn-sheet-content.directive.d.ts +8 -0
- package/sheet/lib/brn-sheet-description.directive.d.ts +6 -0
- package/sheet/lib/brn-sheet-overlay.component.d.ts +6 -0
- package/sheet/lib/brn-sheet-title.directive.d.ts +6 -0
- package/sheet/lib/brn-sheet-trigger.directive.d.ts +9 -0
- package/sheet/lib/brn-sheet.component.d.ts +9 -0
- package/slider/README.md +3 -0
- package/slider/index.d.ts +7 -0
- package/slider/lib/brn-slider-thumb.directive.d.ts +17 -0
- package/slider/lib/brn-slider-tick-mark.directive.d.ts +15 -0
- package/slider/lib/brn-slider-track-active-fill.directive.d.ts +10 -0
- package/slider/lib/brn-slider-track.directive.d.ts +139 -0
- package/switch/README.md +3 -0
- package/switch/index.d.ts +13 -0
- package/switch/lib/brn-switch-thumb.component.d.ts +5 -0
- package/switch/lib/brn-switch.component.d.ts +58 -0
- package/table/README.md +3 -0
- package/table/index.d.ts +26 -0
- package/table/lib/brn-cell-def.directive.d.ts +9 -0
- package/table/lib/brn-column-def.component.d.ts +18 -0
- package/table/lib/brn-column-manager.d.ts +26 -0
- package/table/lib/brn-footer-def.directive.d.ts +9 -0
- package/table/lib/brn-header-def.directive.d.ts +9 -0
- package/table/lib/brn-paginator.directive.d.ts +41 -0
- package/table/lib/brn-table.component.d.ts +37 -0
- package/tabs/README.md +3 -0
- package/tabs/index.d.ts +14 -0
- package/tabs/lib/brn-tabs-list.directive.d.ts +17 -0
- package/tabs/lib/brn-tabs-paginated-list.directive.d.ts +196 -0
- package/tabs/lib/brn-tabs-trigger.directive.d.ts +61 -0
- package/toggle/README.md +3 -0
- package/toggle/index.d.ts +15 -0
- package/toggle/lib/brn-toggle-group.component.d.ts +68 -0
- package/toggle/lib/brn-toggle-group.token.d.ts +4 -0
- package/toggle/lib/brn-toggle.directive.d.ts +25 -0
- package/tooltip/README.md +3 -0
- package/tooltip/index.d.ts +19 -0
- package/tooltip/lib/brn-tooltip-content.component.d.ts +73 -0
- package/tooltip/lib/brn-tooltip-content.directive.d.ts +8 -0
- package/tooltip/lib/brn-tooltip-trigger.directive.d.ts +177 -0
- package/tooltip/lib/brn-tooltip.directive.d.ts +7 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type BrnCollapsibleState = 'open' | 'closed';
|
|
3
|
+
export declare class BrnCollapsibleComponent {
|
|
4
|
+
readonly state: import("@angular/core").WritableSignal<BrnCollapsibleState>;
|
|
5
|
+
readonly contentId: import("@angular/core").WritableSignal<string>;
|
|
6
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
7
|
+
readonly attrDisabled: import("@angular/core").Signal<true | undefined>;
|
|
8
|
+
toggle(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCollapsibleComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnCollapsibleComponent, "brn-collapsible", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CmdkModule } from '@ngxpert/cmdk';
|
|
2
|
+
import { BrnCommandEmptyDirective } from './lib/brn-command-empty.directive';
|
|
3
|
+
import { BrnCommandGroupComponent } from './lib/brn-command-group.component';
|
|
4
|
+
import { BrnCommandInputDirective } from './lib/brn-command-input.directive';
|
|
5
|
+
import { BrnCommandItemDirective } from './lib/brn-command-item.directive';
|
|
6
|
+
import { BrnCommandListComponent } from './lib/brn-command-list.component';
|
|
7
|
+
import { BrnCommandLoaderDirective } from './lib/brn-command-loader.directive';
|
|
8
|
+
import { BrnCommandSeparatorComponent } from './lib/brn-command-separator.component';
|
|
9
|
+
import { BrnCommandComponent } from './lib/brn-command.component';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@ngxpert/cmdk";
|
|
12
|
+
import * as i2 from "./lib/brn-command.component";
|
|
13
|
+
import * as i3 from "./lib/brn-command-empty.directive";
|
|
14
|
+
import * as i4 from "./lib/brn-command-group.component";
|
|
15
|
+
import * as i5 from "./lib/brn-command-input.directive";
|
|
16
|
+
import * as i6 from "./lib/brn-command-item.directive";
|
|
17
|
+
import * as i7 from "./lib/brn-command-list.component";
|
|
18
|
+
import * as i8 from "./lib/brn-command-loader.directive";
|
|
19
|
+
import * as i9 from "./lib/brn-command-separator.component";
|
|
20
|
+
export * from './lib/brn-command-empty.directive';
|
|
21
|
+
export * from './lib/brn-command-group.component';
|
|
22
|
+
export * from './lib/brn-command-input.directive';
|
|
23
|
+
export * from './lib/brn-command-item.directive';
|
|
24
|
+
export * from './lib/brn-command-list.component';
|
|
25
|
+
export * from './lib/brn-command-loader.directive';
|
|
26
|
+
export * from './lib/brn-command-separator.component';
|
|
27
|
+
export * from './lib/brn-command.component';
|
|
28
|
+
export declare const BrnCommandImports: readonly [typeof CmdkModule, typeof BrnCommandComponent, typeof BrnCommandEmptyDirective, typeof BrnCommandGroupComponent, typeof BrnCommandInputDirective, typeof BrnCommandItemDirective, typeof BrnCommandListComponent, typeof BrnCommandLoaderDirective, typeof BrnCommandSeparatorComponent, typeof BrnCommandSeparatorComponent];
|
|
29
|
+
export declare class BrnCommandModule {
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCommandModule, never>;
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnCommandModule, never, [typeof i1.CmdkModule, typeof i2.BrnCommandComponent, typeof i3.BrnCommandEmptyDirective, typeof i4.BrnCommandGroupComponent, typeof i5.BrnCommandInputDirective, typeof i6.BrnCommandItemDirective, typeof i7.BrnCommandListComponent, typeof i8.BrnCommandLoaderDirective, typeof i9.BrnCommandSeparatorComponent, typeof i9.BrnCommandSeparatorComponent], [typeof i1.CmdkModule, typeof i2.BrnCommandComponent, typeof i3.BrnCommandEmptyDirective, typeof i4.BrnCommandGroupComponent, typeof i5.BrnCommandInputDirective, typeof i6.BrnCommandItemDirective, typeof i7.BrnCommandListComponent, typeof i8.BrnCommandLoaderDirective, typeof i9.BrnCommandSeparatorComponent, typeof i9.BrnCommandSeparatorComponent]>;
|
|
32
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BrnCommandModule>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EmptyDirective } from '@ngxpert/cmdk';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnCommandEmptyDirective extends EmptyDirective {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCommandEmptyDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCommandEmptyDirective, "[brnCmdEmpty]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GroupComponent } from '@ngxpert/cmdk';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnCommandGroupComponent extends GroupComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCommandGroupComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnCommandGroupComponent, "brn-cmd-group", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InputDirective } from '@ngxpert/cmdk';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnCommandInputDirective extends InputDirective {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCommandInputDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCommandInputDirective, "input[brnCmdInput]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ItemDirective } from '@ngxpert/cmdk';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnCommandItemDirective extends ItemDirective {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCommandItemDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCommandItemDirective, "[brnCmdItem]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ListComponent } from '@ngxpert/cmdk';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnCommandListComponent extends ListComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCommandListComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnCommandListComponent, "brn-cmd-list", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LoaderDirective } from '@ngxpert/cmdk';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnCommandLoaderDirective extends LoaderDirective {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCommandLoaderDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnCommandLoaderDirective, "[brnCmdLoader]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SeparatorComponent } from '@ngxpert/cmdk';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnCommandSeparatorComponent extends SeparatorComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCommandSeparatorComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnCommandSeparatorComponent, "brn-cmd-separator", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CommandComponent } from '@ngxpert/cmdk';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnCommandComponent extends CommandComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnCommandComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnCommandComponent, "brn-cmd", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { ClassProvider, InjectionToken, Type } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* An abstraction that can be used to create and modify date time objects
|
|
4
|
+
* immutably regardless of the underlying implementation.
|
|
5
|
+
*/
|
|
6
|
+
export interface BrnDateAdapter<T> {
|
|
7
|
+
/**
|
|
8
|
+
* Create a new date time object.
|
|
9
|
+
*/
|
|
10
|
+
create(values: BrnDateUnits): T;
|
|
11
|
+
/**
|
|
12
|
+
* Create a new date with the current date and time.
|
|
13
|
+
*/
|
|
14
|
+
now(): T;
|
|
15
|
+
/**
|
|
16
|
+
* Set the year of the date time object based on a duration.
|
|
17
|
+
*/
|
|
18
|
+
set(date: T, values: BrnDateUnits): T;
|
|
19
|
+
/**
|
|
20
|
+
* Add a duration to the date time object.
|
|
21
|
+
*/
|
|
22
|
+
add(date: T, duration: BrnDuration): T;
|
|
23
|
+
/**
|
|
24
|
+
* Subtract a duration from the date time object.
|
|
25
|
+
*/
|
|
26
|
+
subtract(date: T, duration: BrnDuration): T;
|
|
27
|
+
/**
|
|
28
|
+
* Compare two date time objects.
|
|
29
|
+
*/
|
|
30
|
+
compare(a: T, b: T): number;
|
|
31
|
+
/**
|
|
32
|
+
* Determine if two date time objects are equal.
|
|
33
|
+
*/
|
|
34
|
+
isEqual(a: T, b: T): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Determine if a date time object is before another.
|
|
37
|
+
*/
|
|
38
|
+
isBefore(a: T, b: T): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Determine if a date time object is after another.
|
|
41
|
+
*/
|
|
42
|
+
isAfter(a: T, b: T): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Determine if two date objects are on the same day.
|
|
45
|
+
*/
|
|
46
|
+
isSameDay(a: T, b: T): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Determine if two date objects are on the same month.
|
|
49
|
+
*/
|
|
50
|
+
isSameMonth(a: T, b: T): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Determine if two date objects are on the same year.
|
|
53
|
+
*/
|
|
54
|
+
isSameYear(a: T, b: T): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Get the year.
|
|
57
|
+
*/
|
|
58
|
+
getYear(date: T): number;
|
|
59
|
+
/**
|
|
60
|
+
* Get the month.
|
|
61
|
+
*/
|
|
62
|
+
getMonth(date: T): number;
|
|
63
|
+
/**
|
|
64
|
+
* Get the date.
|
|
65
|
+
*/
|
|
66
|
+
getDate(date: T): number;
|
|
67
|
+
/**
|
|
68
|
+
* Get the day.
|
|
69
|
+
*/
|
|
70
|
+
getDay(date: T): number;
|
|
71
|
+
/**
|
|
72
|
+
* Get the hours.
|
|
73
|
+
*/
|
|
74
|
+
getHours(date: T): number;
|
|
75
|
+
/**
|
|
76
|
+
* Get the minutes.
|
|
77
|
+
*/
|
|
78
|
+
getMinutes(date: T): number;
|
|
79
|
+
/**
|
|
80
|
+
* Get the seconds.
|
|
81
|
+
*/
|
|
82
|
+
getSeconds(date: T): number;
|
|
83
|
+
/**
|
|
84
|
+
* Get the milliseconds.
|
|
85
|
+
*/
|
|
86
|
+
getMilliseconds(date: T): number;
|
|
87
|
+
/**
|
|
88
|
+
* Get the time.
|
|
89
|
+
*/
|
|
90
|
+
getTime(date: T): number;
|
|
91
|
+
/**
|
|
92
|
+
* Get the first day of the month.
|
|
93
|
+
*/
|
|
94
|
+
startOfMonth(date: T): T;
|
|
95
|
+
/**
|
|
96
|
+
* Get the last day of the month.
|
|
97
|
+
*/
|
|
98
|
+
endOfMonth(date: T): T;
|
|
99
|
+
/**
|
|
100
|
+
* Get the start of the day.
|
|
101
|
+
*/
|
|
102
|
+
startOfDay(date: T): T;
|
|
103
|
+
/**
|
|
104
|
+
* Get the end of the day.
|
|
105
|
+
*/
|
|
106
|
+
endOfDay(date: T): T;
|
|
107
|
+
}
|
|
108
|
+
export interface BrnDateUnits {
|
|
109
|
+
/**
|
|
110
|
+
* The year.
|
|
111
|
+
*/
|
|
112
|
+
year?: number;
|
|
113
|
+
/**
|
|
114
|
+
* The month.
|
|
115
|
+
*/
|
|
116
|
+
month?: number;
|
|
117
|
+
/**
|
|
118
|
+
* The day.
|
|
119
|
+
*/
|
|
120
|
+
day?: number;
|
|
121
|
+
/**
|
|
122
|
+
* The hour.
|
|
123
|
+
*/
|
|
124
|
+
hour?: number;
|
|
125
|
+
/**
|
|
126
|
+
* The minute.
|
|
127
|
+
*/
|
|
128
|
+
minute?: number;
|
|
129
|
+
/**
|
|
130
|
+
* The second.
|
|
131
|
+
*/
|
|
132
|
+
second?: number;
|
|
133
|
+
/**
|
|
134
|
+
* The millisecond.
|
|
135
|
+
*/
|
|
136
|
+
millisecond?: number;
|
|
137
|
+
}
|
|
138
|
+
export interface BrnDuration {
|
|
139
|
+
/**
|
|
140
|
+
* The years.
|
|
141
|
+
*/
|
|
142
|
+
years?: number;
|
|
143
|
+
/**
|
|
144
|
+
* The months.
|
|
145
|
+
*/
|
|
146
|
+
months?: number;
|
|
147
|
+
/**
|
|
148
|
+
* The days.
|
|
149
|
+
*/
|
|
150
|
+
days?: number;
|
|
151
|
+
/**
|
|
152
|
+
* The hours.
|
|
153
|
+
*/
|
|
154
|
+
hours?: number;
|
|
155
|
+
/**
|
|
156
|
+
* The minutes.
|
|
157
|
+
*/
|
|
158
|
+
minutes?: number;
|
|
159
|
+
/**
|
|
160
|
+
* The seconds.
|
|
161
|
+
*/
|
|
162
|
+
seconds?: number;
|
|
163
|
+
/**
|
|
164
|
+
* The milliseconds.
|
|
165
|
+
*/
|
|
166
|
+
milliseconds?: number;
|
|
167
|
+
}
|
|
168
|
+
export declare const BrnDateAdapterToken: InjectionToken<BrnDateAdapter<unknown>>;
|
|
169
|
+
/**
|
|
170
|
+
* Inject the DateAdapter instance
|
|
171
|
+
*/
|
|
172
|
+
export declare function injectDateAdapter<T>(): BrnDateAdapter<T>;
|
|
173
|
+
/**
|
|
174
|
+
* Provide the DateAdapter instance
|
|
175
|
+
*/
|
|
176
|
+
export declare function provideDateAdapter<T>(adapter: Type<BrnDateAdapter<T>>): ClassProvider;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { BrnDateAdapter, BrnDateUnits, BrnDuration } from './date-adapter';
|
|
2
|
+
export declare class BrnNativeDateAdapter implements BrnDateAdapter<Date> {
|
|
3
|
+
/**
|
|
4
|
+
* Create a new date time object.
|
|
5
|
+
*/
|
|
6
|
+
create({ day, hour, minute, month, second, year, millisecond }: BrnDateUnits): Date;
|
|
7
|
+
/**
|
|
8
|
+
* Create a new date with the current date and time.
|
|
9
|
+
*/
|
|
10
|
+
now(): Date;
|
|
11
|
+
/**
|
|
12
|
+
* Set the year of the date time object based on a duration.
|
|
13
|
+
*/
|
|
14
|
+
set(date: Date, values: BrnDateUnits): Date;
|
|
15
|
+
/**
|
|
16
|
+
* Add a duration to the date time object.
|
|
17
|
+
*/
|
|
18
|
+
add(date: Date, duration: BrnDuration): Date;
|
|
19
|
+
/**
|
|
20
|
+
* Subtract a duration from the date time object
|
|
21
|
+
*/
|
|
22
|
+
subtract(date: Date, duration: BrnDuration): Date;
|
|
23
|
+
/**
|
|
24
|
+
* Compare two date time objects
|
|
25
|
+
*/
|
|
26
|
+
compare(a: Date, b: Date): number;
|
|
27
|
+
/**
|
|
28
|
+
* Determine if two date time objects are equal.
|
|
29
|
+
*/
|
|
30
|
+
isEqual(a: Date, b: Date): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Determine if a date time object is before another.
|
|
33
|
+
*/
|
|
34
|
+
isBefore(a: Date, b: Date): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Determine if a date time object is after another.
|
|
37
|
+
*/
|
|
38
|
+
isAfter(a: Date, b: Date): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Determine if two date objects are on the same day.
|
|
41
|
+
*/
|
|
42
|
+
isSameDay(a: Date, b: Date): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Determine if two date objects are on the same month.
|
|
45
|
+
*/
|
|
46
|
+
isSameMonth(a: Date, b: Date): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Determine if two date objects are on the same year.
|
|
49
|
+
*/
|
|
50
|
+
isSameYear(a: Date, b: Date): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Get the year.
|
|
53
|
+
*/
|
|
54
|
+
getYear(date: Date): number;
|
|
55
|
+
/**
|
|
56
|
+
* Get the month.
|
|
57
|
+
*/
|
|
58
|
+
getMonth(date: Date): number;
|
|
59
|
+
/**
|
|
60
|
+
* Get the day.
|
|
61
|
+
*/
|
|
62
|
+
getDay(date: Date): number;
|
|
63
|
+
/**
|
|
64
|
+
* Get the date.
|
|
65
|
+
*/
|
|
66
|
+
getDate(date: Date): number;
|
|
67
|
+
/**
|
|
68
|
+
* Get the hours.
|
|
69
|
+
*/
|
|
70
|
+
getHours(date: Date): number;
|
|
71
|
+
/**
|
|
72
|
+
* Get the minutes.
|
|
73
|
+
*/
|
|
74
|
+
getMinutes(date: Date): number;
|
|
75
|
+
/**
|
|
76
|
+
* Get the seconds.
|
|
77
|
+
*/
|
|
78
|
+
getSeconds(date: Date): number;
|
|
79
|
+
/**
|
|
80
|
+
* Get the milliseconds.
|
|
81
|
+
*/
|
|
82
|
+
getMilliseconds(date: Date): number;
|
|
83
|
+
/**
|
|
84
|
+
* Get the first day of the month.
|
|
85
|
+
*/
|
|
86
|
+
startOfMonth(date: Date): Date;
|
|
87
|
+
/**
|
|
88
|
+
* Get the last day of the month.
|
|
89
|
+
*/
|
|
90
|
+
endOfMonth(date: Date): Date;
|
|
91
|
+
/**
|
|
92
|
+
* Get the start of the day.
|
|
93
|
+
*/
|
|
94
|
+
startOfDay(date: Date): Date;
|
|
95
|
+
/**
|
|
96
|
+
* Get the end of the day.
|
|
97
|
+
*/
|
|
98
|
+
endOfDay(date: Date): Date;
|
|
99
|
+
/**
|
|
100
|
+
* Get the time.
|
|
101
|
+
*/
|
|
102
|
+
getTime(date: Date): number;
|
|
103
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/date-adapter';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BrnDateAdapter, BrnDateUnits, BrnDuration } from '@spartan-ng/brain/date-time';
|
|
2
|
+
import { DateTime } from 'luxon';
|
|
3
|
+
export declare class BrnLuxonDateAdapter implements BrnDateAdapter<DateTime> {
|
|
4
|
+
now(): DateTime<true>;
|
|
5
|
+
set(date: DateTime, values: BrnDateUnits): DateTime<boolean>;
|
|
6
|
+
add(date: DateTime, duration: BrnDuration): DateTime<boolean>;
|
|
7
|
+
subtract(date: DateTime, duration: BrnDuration): DateTime<boolean>;
|
|
8
|
+
compare(a: DateTime, b: DateTime): number;
|
|
9
|
+
isEqual(a: DateTime, b: DateTime): boolean;
|
|
10
|
+
isBefore(a: DateTime, b: DateTime): boolean;
|
|
11
|
+
isAfter(a: DateTime, b: DateTime): boolean;
|
|
12
|
+
isSameDay(a: DateTime, b: DateTime): boolean;
|
|
13
|
+
isSameMonth(a: DateTime, b: DateTime): boolean;
|
|
14
|
+
isSameYear(a: DateTime, b: DateTime): boolean;
|
|
15
|
+
getYear(date: DateTime): number;
|
|
16
|
+
getMonth(date: DateTime): number;
|
|
17
|
+
getDate(date: DateTime): number;
|
|
18
|
+
getDay(date: DateTime): number;
|
|
19
|
+
getHours(date: DateTime): number;
|
|
20
|
+
getMinutes(date: DateTime): number;
|
|
21
|
+
getSeconds(date: DateTime): number;
|
|
22
|
+
getMilliseconds(date: DateTime): number;
|
|
23
|
+
getTime(date: DateTime<boolean>): number;
|
|
24
|
+
startOfMonth(date: DateTime): DateTime<boolean>;
|
|
25
|
+
endOfMonth(date: DateTime): DateTime<boolean>;
|
|
26
|
+
startOfDay(date: DateTime): DateTime<boolean>;
|
|
27
|
+
endOfDay(date: DateTime): DateTime<boolean>;
|
|
28
|
+
create(values: BrnDateUnits): DateTime<true> | DateTime<false>;
|
|
29
|
+
}
|
package/dialog/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { BrnDialogCloseDirective } from './lib/brn-dialog-close.directive';
|
|
2
|
+
import { BrnDialogContentDirective } from './lib/brn-dialog-content.directive';
|
|
3
|
+
import { BrnDialogDescriptionDirective } from './lib/brn-dialog-description.directive';
|
|
4
|
+
import { BrnDialogOverlayComponent } from './lib/brn-dialog-overlay.component';
|
|
5
|
+
import { BrnDialogTitleDirective } from './lib/brn-dialog-title.directive';
|
|
6
|
+
import { BrnDialogTriggerDirective } from './lib/brn-dialog-trigger.directive';
|
|
7
|
+
import { BrnDialogComponent } from './lib/brn-dialog.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "./lib/brn-dialog.component";
|
|
10
|
+
import * as i2 from "./lib/brn-dialog-overlay.component";
|
|
11
|
+
import * as i3 from "./lib/brn-dialog-trigger.directive";
|
|
12
|
+
import * as i4 from "./lib/brn-dialog-close.directive";
|
|
13
|
+
import * as i5 from "./lib/brn-dialog-content.directive";
|
|
14
|
+
import * as i6 from "./lib/brn-dialog-title.directive";
|
|
15
|
+
import * as i7 from "./lib/brn-dialog-description.directive";
|
|
16
|
+
export * from './lib/brn-dialog-close.directive';
|
|
17
|
+
export * from './lib/brn-dialog-content.directive';
|
|
18
|
+
export * from './lib/brn-dialog-description.directive';
|
|
19
|
+
export * from './lib/brn-dialog-options';
|
|
20
|
+
export * from './lib/brn-dialog-overlay.component';
|
|
21
|
+
export * from './lib/brn-dialog-ref';
|
|
22
|
+
export * from './lib/brn-dialog-state';
|
|
23
|
+
export * from './lib/brn-dialog-title.directive';
|
|
24
|
+
export * from './lib/brn-dialog-trigger.directive';
|
|
25
|
+
export * from './lib/brn-dialog-utils';
|
|
26
|
+
export * from './lib/brn-dialog.component';
|
|
27
|
+
export * from './lib/brn-dialog.service';
|
|
28
|
+
export declare const BrnDialogImports: readonly [typeof BrnDialogComponent, typeof BrnDialogOverlayComponent, typeof BrnDialogTriggerDirective, typeof BrnDialogCloseDirective, typeof BrnDialogContentDirective, typeof BrnDialogTitleDirective, typeof BrnDialogDescriptionDirective];
|
|
29
|
+
export declare class BrnDialogModule {
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnDialogModule, never>;
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BrnDialogModule, never, [typeof i1.BrnDialogComponent, typeof i2.BrnDialogOverlayComponent, typeof i3.BrnDialogTriggerDirective, typeof i4.BrnDialogCloseDirective, typeof i5.BrnDialogContentDirective, typeof i6.BrnDialogTitleDirective, typeof i7.BrnDialogDescriptionDirective], [typeof i1.BrnDialogComponent, typeof i2.BrnDialogOverlayComponent, typeof i3.BrnDialogTriggerDirective, typeof i4.BrnDialogCloseDirective, typeof i5.BrnDialogContentDirective, typeof i6.BrnDialogTitleDirective, typeof i7.BrnDialogDescriptionDirective]>;
|
|
32
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BrnDialogModule>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type NumberInput } from '@angular/cdk/coercion';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrnDialogCloseDirective {
|
|
4
|
+
private readonly _brnDialogRef;
|
|
5
|
+
private _delay;
|
|
6
|
+
set delay(value: NumberInput);
|
|
7
|
+
close(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnDialogCloseDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnDialogCloseDirective, "button[brnDialogClose]", never, { "delay": { "alias": "delay"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BrnDialogContentDirective<T> {
|
|
3
|
+
private readonly _brnDialog;
|
|
4
|
+
private readonly _brnDialogRef;
|
|
5
|
+
private readonly _template;
|
|
6
|
+
readonly state: import("@angular/core").Signal<import("@spartan-ng/brain/dialog").BrnDialogState>;
|
|
7
|
+
set class(newClass: string | null | undefined);
|
|
8
|
+
set context(context: T);
|
|
9
|
+
constructor();
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnDialogContentDirective<any>, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnDialogContentDirective<any>, "[brnDialogContent]", never, { "class": { "alias": "class"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BrnDialogDescriptionDirective {
|
|
3
|
+
private readonly _brnDialogRef;
|
|
4
|
+
protected _id: import("@angular/core").WritableSignal<string>;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnDialogDescriptionDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnDialogDescriptionDirective, "[brnDialogDescription]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { AutoFocusTarget } from '@angular/cdk/dialog';
|
|
2
|
+
import type { ConnectedPosition, FlexibleConnectedPositionStrategyOrigin, PositionStrategy, ScrollStrategy } from '@angular/cdk/overlay';
|
|
3
|
+
import type { ElementRef, StaticProvider } from '@angular/core';
|
|
4
|
+
export type BrnDialogOptions = {
|
|
5
|
+
id: string;
|
|
6
|
+
role: 'dialog' | 'alertdialog';
|
|
7
|
+
hasBackdrop: boolean;
|
|
8
|
+
panelClass: string | string[];
|
|
9
|
+
backdropClass: string | string[];
|
|
10
|
+
positionStrategy: PositionStrategy | null | undefined;
|
|
11
|
+
scrollStrategy: ScrollStrategy | null | undefined;
|
|
12
|
+
restoreFocus: boolean | string | ElementRef;
|
|
13
|
+
closeDelay: number;
|
|
14
|
+
closeOnOutsidePointerEvents: boolean;
|
|
15
|
+
closeOnBackdropClick: boolean;
|
|
16
|
+
attachTo: FlexibleConnectedPositionStrategyOrigin | null | undefined;
|
|
17
|
+
attachPositions: ConnectedPosition[];
|
|
18
|
+
autoFocus: AutoFocusTarget | string;
|
|
19
|
+
disableClose: boolean;
|
|
20
|
+
ariaDescribedBy: string | null | undefined;
|
|
21
|
+
ariaLabelledBy: string | null | undefined;
|
|
22
|
+
ariaLabel: string | null | undefined;
|
|
23
|
+
ariaModal: boolean;
|
|
24
|
+
providers?: StaticProvider[] | (() => StaticProvider[]);
|
|
25
|
+
};
|
|
26
|
+
export declare const DEFAULT_BRN_DIALOG_OPTIONS: Readonly<Partial<BrnDialogOptions>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BrnDialogOverlayComponent {
|
|
3
|
+
private readonly _brnDialog;
|
|
4
|
+
set class(newClass: string | null | undefined);
|
|
5
|
+
setClassToCustomElement(newClass: string): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnDialogOverlayComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrnDialogOverlayComponent, "brn-dialog-overlay", never, { "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { DialogRef } from '@angular/cdk/dialog';
|
|
2
|
+
import type { Signal, WritableSignal } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import type { BrnDialogOptions } from './brn-dialog-options';
|
|
5
|
+
import type { BrnDialogState } from './brn-dialog-state';
|
|
6
|
+
export declare class BrnDialogRef<DialogResult = any> {
|
|
7
|
+
private readonly _cdkDialogRef;
|
|
8
|
+
private readonly _open;
|
|
9
|
+
readonly state: Signal<BrnDialogState>;
|
|
10
|
+
readonly dialogId: number;
|
|
11
|
+
private readonly _options?;
|
|
12
|
+
private readonly _closing$;
|
|
13
|
+
readonly closing$: Observable<void>;
|
|
14
|
+
readonly closed$: Observable<DialogResult | undefined>;
|
|
15
|
+
private _previousTimeout;
|
|
16
|
+
get open(): boolean;
|
|
17
|
+
constructor(_cdkDialogRef: DialogRef<DialogResult>, _open: WritableSignal<boolean>, state: Signal<BrnDialogState>, dialogId: number, _options?: BrnDialogOptions | undefined);
|
|
18
|
+
close(result?: DialogResult, delay?: number): void;
|
|
19
|
+
setPanelClass(paneClass: string | null | undefined): void;
|
|
20
|
+
setOverlayClass(overlayClass: string | null | undefined): void;
|
|
21
|
+
setAriaDescribedBy(ariaDescribedBy: string | null | undefined): void;
|
|
22
|
+
setAriaLabelledBy(ariaLabelledBy: string | null | undefined): void;
|
|
23
|
+
setAriaLabel(ariaLabel: string | null | undefined): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BrnDialogState = 'closed' | 'open';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BrnDialogTitleDirective {
|
|
3
|
+
private readonly _brnDialogRef;
|
|
4
|
+
protected _id: import("@angular/core").WritableSignal<string>;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnDialogTitleDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnDialogTitleDirective, "[brnDialogTitle]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type Signal } from '@angular/core';
|
|
2
|
+
import { BrnDialogRef } from './brn-dialog-ref';
|
|
3
|
+
import type { BrnDialogState } from './brn-dialog-state';
|
|
4
|
+
import { BrnDialogComponent } from './brn-dialog.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BrnDialogTriggerDirective {
|
|
7
|
+
protected _brnDialog: BrnDialogComponent | null;
|
|
8
|
+
protected readonly _brnDialogRef: BrnDialogRef<any> | null;
|
|
9
|
+
readonly id: import("@angular/core").InputSignal<string>;
|
|
10
|
+
readonly state: Signal<BrnDialogState>;
|
|
11
|
+
readonly dialogId: string;
|
|
12
|
+
set brnDialogTriggerFor(brnDialog: BrnDialogComponent);
|
|
13
|
+
open(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrnDialogTriggerDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BrnDialogTriggerDirective, "button[brnDialogTrigger],button[brnDialogTriggerFor]", ["brnDialogTrigger"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "brnDialogTriggerFor": { "alias": "brnDialogTriggerFor"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cssClassesToArray: (classes: string | string[] | undefined | null, defaultClass?: string) => string[];
|