@bravobit/bb-foundation 0.32.1 → 0.40.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/auth/lib/auth.config.d.ts +5 -0
- package/auth/lib/auth.interceptor.d.ts +2 -2
- package/auth/lib/auth.module.d.ts +1 -4
- package/auth/lib/auth.service.d.ts +2 -2
- package/auth/lib/directives/authenticated.directive.d.ts +11 -4
- package/auth/lib/guards/anonymous.guard.d.ts +2 -15
- package/auth/lib/guards/authenticated.guard.d.ts +2 -15
- package/auth/lib/interfaces/config.interface.d.ts +2 -1
- package/auth/public_api.d.ts +1 -0
- package/collections/lib/collections.module.d.ts +12 -3
- package/collections/lib/components/collections-actions/collections-actions.component.d.ts +10 -0
- package/collections/lib/components/collections-grid/collections-grid.component.d.ts +18 -0
- package/collections/lib/components/collections-pager/collections-pager.component.d.ts +15 -14
- package/collections/lib/components/collections-table/collections-table.component.d.ts +24 -0
- package/collections/lib/components/collections-table-label/collections-table-label.component.d.ts +11 -0
- package/collections/lib/components/collections-table-sorting/collections-table-sorting.component.d.ts +18 -0
- package/collections/lib/components/collections-viewer/collections-viewer.component.d.ts +9 -5
- package/collections/lib/directives/collections-data-row.directive.d.ts +14 -0
- package/collections/lib/directives/collections-data.directive.d.ts +14 -0
- package/collections/lib/directives/collections-empty.directive.d.ts +14 -0
- package/collections/lib/directives/collections-error.directive.d.ts +14 -0
- package/collections/lib/directives/collections-initial.directive.d.ts +11 -0
- package/collections/lib/directives/collections-item.directive.d.ts +14 -0
- package/collections/public_api.d.ts +11 -1
- package/dashboard/lib/dashboard/dashboard.component.d.ts +5 -8
- package/dashboard/lib/dashboard-header/dashboard-header.component.d.ts +3 -5
- package/dashboard/lib/dashboard-menu/dashboard-menu.component.d.ts +1 -1
- package/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.d.ts +4 -7
- package/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.d.ts +3 -5
- package/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.d.ts +6 -11
- package/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.d.ts +2 -2
- package/dashboard/lib/dashboard.module.d.ts +1 -4
- package/dialog/lib/dialog-actions/dialog-actions.component.d.ts +1 -1
- package/dialog/lib/dialog-confirm/dialog-confirm.component.d.ts +2 -2
- package/dialog/lib/dialog-container/dialog-container.component.d.ts +2 -2
- package/dialog/lib/dialog-header/dialog-header.component.d.ts +1 -1
- package/dialog/lib/dialog-link/dialog-link.component.d.ts +1 -1
- package/dialog/lib/dialog-modal/dialog-modal.component.d.ts +1 -1
- package/dialog/lib/dialog-overlay/dialog-overlay.component.d.ts +2 -2
- package/dialog/lib/dialog.config.d.ts +3 -0
- package/dialog/lib/dialog.insertion.d.ts +1 -1
- package/dialog/lib/dialog.interfaces.d.ts +2 -0
- package/dialog/lib/dialog.module.d.ts +2 -4
- package/dialog/lib/directives/confirm.directive.d.ts +13 -0
- package/dialog/public_api.d.ts +2 -0
- package/elements/lib/avatar/avatar.component.d.ts +2 -1
- package/elements/lib/button/button.component.d.ts +12 -14
- package/elements/lib/checkbox/checkbox.component.d.ts +29 -22
- package/elements/lib/checkbox-group/checkbox-group.component.d.ts +13 -0
- package/elements/lib/date-picker/date-picker.component.d.ts +17 -10
- package/elements/lib/directives/addon.directive.d.ts +2 -2
- package/elements/lib/directives/extra-error-controls.directive.d.ts +13 -0
- package/elements/lib/directives/form-submit.directive.d.ts +1 -1
- package/elements/lib/directives/form-submitter.directive.d.ts +1 -1
- package/elements/lib/directives/image-upload.directive.d.ts +28 -0
- package/elements/lib/directives/input.directive.d.ts +9 -31
- package/elements/lib/elements.config.d.ts +84 -0
- package/elements/lib/elements.module.d.ts +21 -102
- package/elements/lib/file-picker/file-picker.component.d.ts +14 -10
- package/elements/lib/form-control/form-control.component.d.ts +8 -9
- package/elements/lib/form-error/form-error.component.d.ts +12 -9
- package/elements/lib/form-group/form-group.component.d.ts +4 -7
- package/elements/lib/icon/icon.component.d.ts +4 -4
- package/elements/lib/image-picker/image-picker.component.d.ts +9 -9
- package/elements/lib/multi-file-control/multi-file-control.component.d.ts +58 -0
- package/elements/lib/pipes/date.pipe.d.ts +9 -0
- package/elements/lib/pipes/file-image.pipe.d.ts +1 -1
- package/elements/lib/pipes/file-size.pipe.d.ts +1 -1
- package/elements/lib/pipes/relative-time.pipe.d.ts +1 -1
- package/elements/lib/radio-button/radio-button.component.d.ts +18 -0
- package/elements/lib/radio-group/radio-group.component.d.ts +38 -0
- package/elements/lib/spinner/spinner.component.d.ts +4 -7
- package/elements/public_api.d.ts +9 -3
- package/esm2022/auth/lib/auth.config.mjs +16 -0
- package/esm2022/auth/lib/auth.interceptor.mjs +10 -7
- package/esm2022/auth/lib/auth.module.mjs +9 -19
- package/esm2022/auth/lib/auth.service.mjs +22 -13
- package/esm2022/auth/lib/directives/authenticated.directive.mjs +45 -11
- package/esm2022/auth/lib/guards/anonymous.guard.mjs +27 -51
- package/esm2022/auth/lib/guards/authenticated.guard.mjs +30 -54
- package/esm2022/auth/lib/helpers/jwt.helper.mjs +2 -2
- package/esm2022/auth/lib/interfaces/config.interface.mjs +2 -3
- package/esm2022/auth/public_api.mjs +2 -1
- package/esm2022/collections/lib/collections.module.mjs +53 -23
- package/esm2022/collections/lib/components/collections-actions/collections-actions.component.mjs +39 -0
- package/esm2022/collections/lib/components/collections-grid/collections-grid.component.mjs +52 -0
- package/esm2022/collections/lib/components/collections-pager/collections-pager.component.mjs +51 -60
- package/esm2022/collections/lib/components/collections-table/collections-table.component.mjs +86 -0
- package/esm2022/collections/lib/components/collections-table-label/collections-table-label.component.mjs +33 -0
- package/esm2022/collections/lib/components/collections-table-sorting/collections-table-sorting.component.mjs +62 -0
- package/esm2022/collections/lib/components/collections-viewer/collections-viewer.component.mjs +10 -7
- package/esm2022/collections/lib/directives/collections-data-row.directive.mjs +26 -0
- package/esm2022/collections/lib/directives/collections-data.directive.mjs +26 -0
- package/esm2022/collections/lib/directives/collections-empty.directive.mjs +26 -0
- package/esm2022/collections/lib/directives/collections-error.directive.mjs +26 -0
- package/esm2022/collections/lib/directives/collections-initial.directive.mjs +22 -0
- package/esm2022/collections/lib/directives/collections-item.directive.mjs +26 -0
- package/esm2022/collections/public_api.mjs +12 -2
- package/esm2022/combobox/combobox/combobox-container.directive.mjs +3 -3
- package/esm2022/combobox/combobox/combobox.component.mjs +6 -6
- package/esm2022/combobox/combobox-label.directive.mjs +3 -3
- package/esm2022/combobox/combobox-option.directive.mjs +3 -3
- package/esm2022/combobox/combobox-panel/combobox-panel.component.mjs +5 -5
- package/esm2022/dashboard/lib/dashboard/dashboard.component.mjs +17 -24
- package/esm2022/dashboard/lib/dashboard-header/dashboard-header.component.mjs +12 -15
- package/esm2022/dashboard/lib/dashboard-menu/dashboard-menu.component.mjs +7 -8
- package/esm2022/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.mjs +20 -15
- package/esm2022/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.mjs +15 -14
- package/esm2022/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.mjs +20 -27
- package/esm2022/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.mjs +6 -10
- package/esm2022/dashboard/lib/dashboard.module.mjs +30 -27
- package/esm2022/dialog/lib/dialog-actions/dialog-actions.component.mjs +6 -6
- package/esm2022/dialog/lib/dialog-confirm/dialog-confirm.component.mjs +12 -15
- package/esm2022/dialog/lib/dialog-container/dialog-container.component.mjs +10 -7
- package/esm2022/dialog/lib/dialog-header/dialog-header.component.mjs +5 -6
- package/esm2022/dialog/lib/dialog-link/dialog-link.component.mjs +5 -5
- package/esm2022/dialog/lib/dialog-modal/dialog-modal.component.mjs +7 -7
- package/esm2022/dialog/lib/dialog-overlay/dialog-overlay.component.mjs +11 -7
- package/esm2022/dialog/lib/dialog.config.mjs +8 -0
- package/esm2022/dialog/lib/dialog.insertion.mjs +6 -5
- package/esm2022/dialog/lib/dialog.interfaces.mjs +3 -1
- package/esm2022/dialog/lib/dialog.module.mjs +17 -25
- package/esm2022/dialog/lib/dialog.service.mjs +8 -5
- package/esm2022/dialog/lib/directives/confirm.directive.mjs +50 -0
- package/esm2022/dialog/public_api.mjs +3 -1
- package/esm2022/elements/lib/avatar/avatar.component.mjs +15 -14
- package/esm2022/elements/lib/button/button.component.mjs +37 -32
- package/esm2022/elements/lib/checkbox/checkbox.component.mjs +86 -47
- package/esm2022/elements/lib/checkbox-group/checkbox-group.component.mjs +36 -0
- package/esm2022/elements/lib/date-picker/date-picker.component.mjs +64 -51
- package/esm2022/elements/lib/directives/addon.directive.mjs +11 -13
- package/esm2022/elements/lib/directives/extra-error-controls.directive.mjs +43 -0
- package/esm2022/elements/lib/directives/form-submit.directive.mjs +6 -5
- package/esm2022/elements/lib/directives/form-submitter.directive.mjs +6 -5
- package/esm2022/elements/lib/directives/image-upload.directive.mjs +140 -0
- package/esm2022/elements/lib/directives/input.directive.mjs +21 -110
- package/esm2022/elements/lib/elements.config.mjs +42 -0
- package/esm2022/elements/lib/elements.module.mjs +42 -77
- package/esm2022/elements/lib/file-picker/file-picker.component.mjs +36 -24
- package/esm2022/elements/lib/form-control/form-control.component.mjs +21 -24
- package/esm2022/elements/lib/form-error/form-error.component.mjs +35 -60
- package/esm2022/elements/lib/form-group/form-group.component.mjs +15 -12
- package/esm2022/elements/lib/icon/icon.component.mjs +19 -24
- package/esm2022/elements/lib/image-picker/image-picker.component.mjs +33 -19
- package/esm2022/elements/lib/multi-file-control/multi-file-control.component.mjs +165 -0
- package/esm2022/elements/lib/pipes/date.pipe.mjs +30 -0
- package/esm2022/elements/lib/pipes/file-image.pipe.mjs +6 -5
- package/esm2022/elements/lib/pipes/file-size.pipe.mjs +6 -5
- package/esm2022/elements/lib/pipes/relative-time.pipe.mjs +6 -5
- package/esm2022/elements/lib/radio-button/radio-button.component.mjs +59 -0
- package/esm2022/elements/lib/radio-group/radio-group.component.mjs +102 -0
- package/esm2022/elements/lib/spinner/spinner.component.mjs +12 -13
- package/esm2022/elements/public_api.mjs +10 -4
- package/esm2022/http/lib/http.config.mjs +18 -0
- package/esm2022/http/lib/http.interfaces.mjs +4 -2
- package/esm2022/http/lib/http.module.mjs +9 -22
- package/esm2022/http/lib/interceptors/base-url.interceptor.mjs +9 -5
- package/esm2022/http/lib/interceptors/error.interceptor.mjs +10 -6
- package/esm2022/http/public_api.mjs +2 -1
- package/esm2022/lib/core/functions/array.utils.mjs +7 -0
- package/esm2022/lib/core/miscellaneous/coercion.mjs +5 -0
- package/esm2022/lib/core/miscellaneous/regex.mjs +41 -2
- package/esm2022/lib/core/services/exif.service.mjs +3 -3
- package/esm2022/lib/core/services/file-loader.service.mjs +3 -3
- package/esm2022/lib/core/services/files.service.mjs +86 -0
- package/esm2022/lib/core/services/image-converter.service.mjs +3 -3
- package/esm2022/lib/core/services/languages.service.mjs +3 -3
- package/esm2022/lib/core/services/network.service.mjs +5 -5
- package/esm2022/lib/core/services/patch.service.mjs +3 -3
- package/esm2022/localize/lib/interfaces/config.interfaces.mjs +2 -7
- package/esm2022/localize/lib/interfaces/functions.interfaces.mjs +6 -6
- package/esm2022/localize/lib/localizations/dutch.localization.mjs +19 -1
- package/esm2022/localize/lib/localizations/english.localization.mjs +19 -1
- package/esm2022/localize/lib/localize.config.mjs +43 -0
- package/esm2022/localize/lib/localize.module.mjs +10 -54
- package/esm2022/localize/lib/localize.pipe.mjs +6 -5
- package/esm2022/localize/lib/localize.service.mjs +26 -13
- package/esm2022/localize/lib/localize.tokens.mjs +18 -0
- package/esm2022/localize/lib/transforms/interpolate.transform.mjs +3 -2
- package/esm2022/localize/lib/transforms/plural.transform.mjs +5 -3
- package/esm2022/localize/lib/transforms/reference.transform.mjs +5 -3
- package/esm2022/localize/lib/views/localize-string/localize-string.component.mjs +6 -10
- package/esm2022/localize/lib/views/localize-template.directive.mjs +6 -5
- package/esm2022/localize/public_api.mjs +3 -3
- package/esm2022/masking/lib/directives/currency-mask.directive.mjs +6 -5
- package/esm2022/masking/lib/directives/date-mask.directive.mjs +6 -5
- package/esm2022/masking/lib/directives/input-mask.directive.mjs +6 -5
- package/esm2022/masking/lib/masking.module.mjs +6 -6
- package/esm2022/masking/lib/masking.service.mjs +3 -3
- package/esm2022/notifications/lib/notifications-item/notifications-item.component.mjs +7 -9
- package/esm2022/notifications/lib/notifications-list/notifications-list.component.mjs +8 -8
- package/esm2022/notifications/lib/notifications.config.mjs +8 -0
- package/esm2022/notifications/lib/notifications.interfaces.mjs +3 -1
- package/esm2022/notifications/lib/notifications.module.mjs +8 -18
- package/esm2022/notifications/lib/notifications.service.mjs +14 -8
- package/esm2022/notifications/public_api.mjs +2 -1
- package/esm2022/permissions/lib/directives/permission.directive.mjs +6 -5
- package/esm2022/permissions/lib/guards/permission.guard.mjs +23 -54
- package/esm2022/permissions/lib/permissions.config.mjs +20 -0
- package/esm2022/permissions/lib/permissions.interface.mjs +3 -1
- package/esm2022/permissions/lib/permissions.module.mjs +9 -23
- package/esm2022/permissions/lib/permissions.service.mjs +8 -5
- package/esm2022/permissions/public_api.mjs +2 -1
- package/esm2022/public_api.mjs +4 -11
- package/esm2022/recaptcha/lib/recaptcha/recaptcha.component.mjs +12 -13
- package/esm2022/recaptcha/lib/recaptcha-loader.service.mjs +21 -36
- package/esm2022/recaptcha/lib/recaptcha.config.mjs +8 -0
- package/esm2022/recaptcha/lib/recaptcha.module.mjs +8 -8
- package/esm2022/recaptcha/public_api.mjs +2 -1
- package/esm2022/rxjs/lib/observables/get-route-param.observable.mjs +5 -0
- package/esm2022/rxjs/public_api.mjs +2 -1
- package/esm2022/select/bravobit-bb-foundation-select.mjs +5 -0
- package/esm2022/select/lib/select/select.component.mjs +210 -0
- package/esm2022/select/lib/select-label.directive.mjs +17 -0
- package/esm2022/select/lib/select-option-group.directive.mjs +17 -0
- package/esm2022/select/lib/select-option.directive.mjs +17 -0
- package/esm2022/select/lib/select.module.mjs +35 -0
- package/esm2022/select/public_api.mjs +6 -0
- package/esm2022/storage/lib/storage.service.mjs +3 -3
- package/esm2022/storage/lib/strategies/polyfill-storage.strategy.mjs +2 -5
- package/esm2022/table/lib/components/table/table.component.mjs +21 -22
- package/esm2022/table/lib/components/table-cell/table-cell.component.mjs +5 -5
- package/esm2022/table/lib/components/table-header-cell/table-header-cell.component.mjs +14 -14
- package/esm2022/table/lib/components/table-pager/table-pager.component.mjs +15 -17
- package/esm2022/table/lib/table.module.mjs +23 -21
- package/esm2022/tooltip/lib/tooltip-container/tooltip-container.component.mjs +11 -17
- package/esm2022/tooltip/lib/tooltip.directive.mjs +17 -27
- package/esm2022/tooltip/lib/tooltip.module.mjs +7 -22
- package/esm2022/tooltip/public_api.mjs +2 -2
- package/esm2022/utils/lib/directives/autosize.directive.mjs +9 -7
- package/esm2022/utils/lib/directives/focus-trap.directive.mjs +6 -5
- package/esm2022/utils/lib/directives/focus.directive.mjs +6 -5
- package/esm2022/utils/lib/directives/template.directive.mjs +6 -5
- package/esm2022/utils/lib/utils.module.mjs +6 -6
- package/fesm2022/bravobit-bb-foundation-auth.mjs +140 -175
- package/fesm2022/bravobit-bb-foundation-auth.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-collections.mjs +451 -106
- package/fesm2022/bravobit-bb-foundation-collections.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-combobox.mjs +18 -18
- package/fesm2022/bravobit-bb-foundation-combobox.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-dashboard.mjs +106 -116
- package/fesm2022/bravobit-bb-foundation-dashboard.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-dialog.mjs +125 -70
- package/fesm2022/bravobit-bb-foundation-dialog.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-elements.mjs +1780 -1368
- package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-http.mjs +38 -27
- package/fesm2022/bravobit-bb-foundation-http.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-localize.mjs +310 -264
- package/fesm2022/bravobit-bb-foundation-localize.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-masking.mjs +23 -20
- package/fesm2022/bravobit-bb-foundation-masking.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-notifications.mjs +67 -62
- package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-permissions.mjs +54 -72
- package/fesm2022/bravobit-bb-foundation-permissions.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +44 -54
- package/fesm2022/bravobit-bb-foundation-recaptcha.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-rxjs.mjs +5 -1
- package/fesm2022/bravobit-bb-foundation-rxjs.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-select.mjs +288 -0
- package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -0
- package/fesm2022/bravobit-bb-foundation-storage.mjs +4 -7
- package/fesm2022/bravobit-bb-foundation-storage.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-table.mjs +67 -66
- package/fesm2022/bravobit-bb-foundation-table.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-tooltip.mjs +31 -61
- package/fesm2022/bravobit-bb-foundation-tooltip.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-utils.mjs +28 -23
- package/fesm2022/bravobit-bb-foundation-utils.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation.mjs +166 -222
- package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
- package/http/lib/http.config.d.ts +5 -0
- package/http/lib/http.interfaces.d.ts +3 -0
- package/http/lib/http.module.d.ts +2 -6
- package/http/public_api.d.ts +1 -0
- package/lib/core/functions/array.utils.d.ts +1 -0
- package/lib/core/miscellaneous/coercion.d.ts +2 -0
- package/lib/core/miscellaneous/regex.d.ts +1 -0
- package/lib/core/services/files.service.d.ts +19 -0
- package/localize/lib/interfaces/config.interfaces.d.ts +1 -1
- package/localize/lib/interfaces/functions.interfaces.d.ts +0 -2
- package/localize/lib/localizations/dutch.localization.d.ts +18 -0
- package/localize/lib/localizations/english.localization.d.ts +18 -0
- package/localize/lib/localize.config.d.ts +6 -0
- package/localize/lib/localize.module.d.ts +2 -7
- package/localize/lib/localize.pipe.d.ts +1 -1
- package/localize/lib/localize.service.d.ts +4 -4
- package/localize/lib/localize.tokens.d.ts +11 -0
- package/localize/lib/views/localize-string/localize-string.component.d.ts +1 -1
- package/localize/lib/views/localize-template.directive.d.ts +1 -1
- package/localize/public_api.d.ts +2 -2
- package/masking/lib/directives/currency-mask.directive.d.ts +1 -1
- package/masking/lib/directives/date-mask.directive.d.ts +1 -1
- package/masking/lib/directives/input-mask.directive.d.ts +1 -1
- package/masking/lib/masking.module.d.ts +1 -1
- package/notifications/lib/notifications-item/notifications-item.component.d.ts +1 -1
- package/notifications/lib/notifications-list/notifications-list.component.d.ts +1 -1
- package/notifications/lib/notifications.config.d.ts +3 -0
- package/notifications/lib/notifications.interfaces.d.ts +2 -1
- package/notifications/lib/notifications.module.d.ts +1 -5
- package/notifications/public_api.d.ts +1 -0
- package/package.json +31 -36
- package/permissions/lib/directives/permission.directive.d.ts +1 -1
- package/permissions/lib/guards/permission.guard.d.ts +3 -15
- package/permissions/lib/permissions.config.d.ts +3 -0
- package/permissions/lib/permissions.interface.d.ts +2 -1
- package/permissions/lib/permissions.module.d.ts +1 -1
- package/permissions/public_api.d.ts +1 -0
- package/public_api.d.ts +3 -10
- package/recaptcha/lib/recaptcha/recaptcha.component.d.ts +4 -7
- package/recaptcha/lib/recaptcha-loader.service.d.ts +9 -13
- package/recaptcha/lib/recaptcha.config.d.ts +3 -0
- package/recaptcha/lib/recaptcha.module.d.ts +2 -2
- package/recaptcha/public_api.d.ts +1 -0
- package/rxjs/lib/observables/get-route-param.observable.d.ts +3 -0
- package/rxjs/public_api.d.ts +1 -0
- package/{theming → select}/index.d.ts +1 -1
- package/select/lib/select/select.component.d.ts +75 -0
- package/select/lib/select-label.directive.d.ts +8 -0
- package/select/lib/select-option-group.directive.d.ts +8 -0
- package/select/lib/select-option.directive.d.ts +8 -0
- package/select/lib/select.module.d.ts +10 -0
- package/select/public_api.d.ts +5 -0
- package/styles/colors.scss +20 -0
- package/styles/grid.scss +98 -0
- package/styles/reset.scss +65 -0
- package/styles/theme.scss +88 -0
- package/table/lib/components/table/table.component.d.ts +4 -6
- package/table/lib/components/table-cell/table-cell.component.d.ts +1 -1
- package/table/lib/components/table-header-cell/table-header-cell.component.d.ts +4 -7
- package/table/lib/components/table-pager/table-pager.component.d.ts +4 -8
- package/table/lib/table.module.d.ts +1 -5
- package/tooltip/lib/tooltip-container/tooltip-container.component.d.ts +3 -4
- package/tooltip/lib/tooltip.directive.d.ts +8 -17
- package/tooltip/lib/tooltip.module.d.ts +2 -5
- package/tooltip/public_api.d.ts +1 -1
- package/utils/lib/directives/autosize.directive.d.ts +2 -1
- package/utils/lib/directives/focus-trap.directive.d.ts +1 -1
- package/utils/lib/directives/focus.directive.d.ts +1 -1
- package/utils/lib/directives/template.directive.d.ts +1 -1
- package/utils/lib/utils.module.d.ts +1 -1
- package/auth/lib/directives/abstract.directive.d.ts +0 -12
- package/collections/lib/components/collections.directive.d.ts +0 -17
- package/controls/index.d.ts +0 -5
- package/controls/lib/checkbox/checkbox/checkbox.component.d.ts +0 -51
- package/controls/lib/checkbox/checkbox-group/checkbox-group.component.d.ts +0 -23
- package/controls/lib/checkbox/checkbox.module.d.ts +0 -10
- package/controls/lib/control-error/control-error/control-error.animation.d.ts +0 -1
- package/controls/lib/control-error/control-error/control-error.component.d.ts +0 -17
- package/controls/lib/control-error/control-error-submit.directive.d.ts +0 -15
- package/controls/lib/control-error/control-error.defaults.d.ts +0 -2
- package/controls/lib/control-error/control-error.interface.d.ts +0 -12
- package/controls/lib/control-error/control-error.module.d.ts +0 -9
- package/controls/lib/control-error/control-error.utils.d.ts +0 -3
- package/controls/lib/controls.interfaces.d.ts +0 -4
- package/controls/lib/controls.module.d.ts +0 -14
- package/controls/lib/form-control/form-control/form-control.component.d.ts +0 -29
- package/controls/lib/form-control/form-control-addon/form-control-addon.component.d.ts +0 -6
- package/controls/lib/form-control/form-control-input.directive.d.ts +0 -35
- package/controls/lib/form-control/form-control.module.d.ts +0 -12
- package/controls/lib/radio/radio-button/radio-button.component.d.ts +0 -24
- package/controls/lib/radio/radio-group/radio-group.component.d.ts +0 -53
- package/controls/lib/radio/radio.module.d.ts +0 -11
- package/controls/lib/toggle/toggle/toggle.component.d.ts +0 -45
- package/controls/lib/toggle/toggle-group/toggle-group.component.d.ts +0 -23
- package/controls/lib/toggle/toggle.module.d.ts +0 -10
- package/controls/public_api.d.ts +0 -20
- package/elements/lib/dropdown/dropdown.component.d.ts +0 -21
- package/elements/lib/tag/tag.component.d.ts +0 -7
- package/esm2022/auth/lib/directives/abstract.directive.mjs +0 -40
- package/esm2022/collections/lib/components/collections.directive.mjs +0 -43
- package/esm2022/controls/bravobit-bb-foundation-controls.mjs +0 -5
- package/esm2022/controls/lib/checkbox/checkbox/checkbox.component.mjs +0 -178
- package/esm2022/controls/lib/checkbox/checkbox-group/checkbox-group.component.mjs +0 -68
- package/esm2022/controls/lib/checkbox/checkbox.module.mjs +0 -20
- package/esm2022/controls/lib/control-error/control-error/control-error.animation.mjs +0 -14
- package/esm2022/controls/lib/control-error/control-error/control-error.component.mjs +0 -63
- package/esm2022/controls/lib/control-error/control-error-submit.directive.mjs +0 -47
- package/esm2022/controls/lib/control-error/control-error.defaults.mjs +0 -26
- package/esm2022/controls/lib/control-error/control-error.interface.mjs +0 -3
- package/esm2022/controls/lib/control-error/control-error.module.mjs +0 -19
- package/esm2022/controls/lib/control-error/control-error.utils.mjs +0 -20
- package/esm2022/controls/lib/controls.interfaces.mjs +0 -2
- package/esm2022/controls/lib/controls.module.mjs +0 -62
- package/esm2022/controls/lib/form-control/form-control/form-control.component.mjs +0 -79
- package/esm2022/controls/lib/form-control/form-control-addon/form-control-addon.component.mjs +0 -22
- package/esm2022/controls/lib/form-control/form-control-input.directive.mjs +0 -124
- package/esm2022/controls/lib/form-control/form-control.module.mjs +0 -34
- package/esm2022/controls/lib/radio/radio-button/radio-button.component.mjs +0 -75
- package/esm2022/controls/lib/radio/radio-group/radio-group.component.mjs +0 -168
- package/esm2022/controls/lib/radio/radio.module.mjs +0 -21
- package/esm2022/controls/lib/toggle/toggle/toggle.component.mjs +0 -153
- package/esm2022/controls/lib/toggle/toggle-group/toggle-group.component.mjs +0 -62
- package/esm2022/controls/lib/toggle/toggle.module.mjs +0 -20
- package/esm2022/controls/public_api.mjs +0 -21
- package/esm2022/elements/lib/dropdown/dropdown.component.mjs +0 -100
- package/esm2022/elements/lib/tag/tag.component.mjs +0 -18
- package/esm2022/lib/core/mixins/can-disable.mjs +0 -16
- package/esm2022/lib/core/mixins/can-hide-errors.mjs +0 -16
- package/esm2022/lib/core/mixins/can-load.mjs +0 -16
- package/esm2022/lib/core/mixins/constructor.mjs +0 -2
- package/esm2022/lib/core/mixins/has-error.mjs +0 -16
- package/esm2022/lib/core/mixins/is-focused.mjs +0 -16
- package/esm2022/lib/core/mixins/is-grouped.mjs +0 -16
- package/esm2022/lib/core/mixins/is-readonly.mjs +0 -16
- package/esm2022/lib/core/mixins/is-required.mjs +0 -16
- package/esm2022/lib/core/services/clipboard.service.mjs +0 -70
- package/esm2022/localize/lib/interfaces/transforms.interfaces.mjs +0 -3
- package/esm2022/localize/lib/locale.token.mjs +0 -14
- package/esm2022/theming/bravobit-bb-foundation-theming.mjs +0 -5
- package/esm2022/theming/lib/themes/checkbox-group.theme.mjs +0 -17
- package/esm2022/theming/lib/themes/checkbox.theme.mjs +0 -35
- package/esm2022/theming/lib/themes/control-error.theme.mjs +0 -11
- package/esm2022/theming/lib/themes/form-control-addon.theme.mjs +0 -6
- package/esm2022/theming/lib/themes/form-control.theme.mjs +0 -45
- package/esm2022/theming/lib/themes/radio-button.theme.mjs +0 -29
- package/esm2022/theming/lib/themes/radio-group.theme.mjs +0 -20
- package/esm2022/theming/lib/themes/toggle-group.theme.mjs +0 -17
- package/esm2022/theming/lib/themes/toggle.theme.mjs +0 -28
- package/esm2022/theming/lib/theming.data.mjs +0 -90
- package/esm2022/theming/lib/theming.directive.mjs +0 -38
- package/esm2022/theming/lib/theming.interface.mjs +0 -2
- package/esm2022/theming/lib/theming.module.mjs +0 -16
- package/esm2022/theming/lib/utils/theming.variable.mjs +0 -41
- package/esm2022/theming/public_api.mjs +0 -10
- package/fesm2022/bravobit-bb-foundation-controls.mjs +0 -1191
- package/fesm2022/bravobit-bb-foundation-controls.mjs.map +0 -1
- package/fesm2022/bravobit-bb-foundation-theming.mjs +0 -381
- package/fesm2022/bravobit-bb-foundation-theming.mjs.map +0 -1
- package/lib/core/mixins/can-disable.d.ts +0 -6
- package/lib/core/mixins/can-hide-errors.d.ts +0 -6
- package/lib/core/mixins/can-load.d.ts +0 -6
- package/lib/core/mixins/constructor.d.ts +0 -1
- package/lib/core/mixins/has-error.d.ts +0 -6
- package/lib/core/mixins/is-focused.d.ts +0 -6
- package/lib/core/mixins/is-grouped.d.ts +0 -6
- package/lib/core/mixins/is-readonly.d.ts +0 -6
- package/lib/core/mixins/is-required.d.ts +0 -6
- package/lib/core/services/clipboard.service.d.ts +0 -18
- package/localize/lib/interfaces/transforms.interfaces.d.ts +0 -3
- package/localize/lib/locale.token.d.ts +0 -3
- package/theming/lib/themes/checkbox-group.theme.d.ts +0 -16
- package/theming/lib/themes/checkbox.theme.d.ts +0 -32
- package/theming/lib/themes/control-error.theme.d.ts +0 -9
- package/theming/lib/themes/form-control-addon.theme.d.ts +0 -5
- package/theming/lib/themes/form-control.theme.d.ts +0 -32
- package/theming/lib/themes/radio-button.theme.d.ts +0 -26
- package/theming/lib/themes/radio-group.theme.d.ts +0 -17
- package/theming/lib/themes/toggle-group.theme.d.ts +0 -16
- package/theming/lib/themes/toggle.theme.d.ts +0 -25
- package/theming/lib/theming.data.d.ts +0 -17
- package/theming/lib/theming.directive.d.ts +0 -13
- package/theming/lib/theming.interface.d.ts +0 -34
- package/theming/lib/theming.module.d.ts +0 -7
- package/theming/lib/utils/theming.variable.d.ts +0 -16
- package/theming/public_api.d.ts +0 -9
|
@@ -34,5 +34,5 @@ export declare class BbInputMask<T = any> implements OnInit, OnDestroy, ControlV
|
|
|
34
34
|
private destroyMask;
|
|
35
35
|
static ngAcceptInputType_bbInputMask: InputMaskOptions<any> | string | null | undefined;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbInputMask<any>, [null, null, null, null, { optional: true; self: true; }]>;
|
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbInputMask<any>, "input[bbInputMask],input[bbCurrencyMask],input[bbDateMask]", never, { "mask": { "alias": "bbInputMask"; "required": false; }; }, {}, never, never,
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbInputMask<any>, "input[bbInputMask],input[bbCurrencyMask],input[bbDateMask]", never, { "mask": { "alias": "bbInputMask"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
38
|
}
|
|
@@ -4,6 +4,6 @@ import * as i2 from "./directives/currency-mask.directive";
|
|
|
4
4
|
import * as i3 from "./directives/date-mask.directive";
|
|
5
5
|
export declare class MaskingModule {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaskingModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MaskingModule, [typeof i1.BbInputMask, typeof i2.BbCurrencyMask, typeof i3.BbDateMask],
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaskingModule, never, [typeof i1.BbInputMask, typeof i2.BbCurrencyMask, typeof i3.BbDateMask], [typeof i1.BbInputMask, typeof i2.BbCurrencyMask, typeof i3.BbDateMask]>;
|
|
8
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<MaskingModule>;
|
|
9
9
|
}
|
|
@@ -30,5 +30,5 @@ export declare class BbNotificationsItem implements OnInit, OnDestroy {
|
|
|
30
30
|
private instance;
|
|
31
31
|
private setTimeout;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbNotificationsItem, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsItem, "bb-notifications-item", never, { "notification": { "alias": "notification"; "required": false; }; "dismissButtonText": { "alias": "dismissButtonText"; "required": false; }; }, {}, never, never,
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsItem, "bb-notifications-item", never, { "notification": { "alias": "notification"; "required": false; }; "dismissButtonText": { "alias": "dismissButtonText"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
34
|
}
|
|
@@ -12,5 +12,5 @@ export declare class BbNotificationsList {
|
|
|
12
12
|
};
|
|
13
13
|
private get location();
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbNotificationsList, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsList, "bb-notifications-list", never, {}, {}, never, never,
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsList, "bb-notifications-list", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export interface Notification {
|
|
4
4
|
content: string | TemplateRef<any>;
|
|
@@ -47,3 +47,4 @@ export declare class NotificationsData {
|
|
|
47
47
|
dismissText: string;
|
|
48
48
|
position: NotificationsPosition;
|
|
49
49
|
}
|
|
50
|
+
export declare const NOTIFICATIONS_CONFIG: InjectionToken<NotificationsConfig>;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { NotificationsConfig } from './notifications.interfaces';
|
|
2
2
|
import { ModuleWithProviders } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./notifications-list/notifications-list.component";
|
|
5
|
-
import * as i2 from "./notifications-item/notifications-item.component";
|
|
6
|
-
import * as i3 from "@angular/common";
|
|
7
|
-
import * as i4 from "@bravobit/bb-foundation/localize";
|
|
8
4
|
export declare class NotificationsModule {
|
|
9
5
|
static forRoot(config?: NotificationsConfig): ModuleWithProviders<NotificationsModule>;
|
|
10
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationsModule,
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationsModule, never, never, never>;
|
|
12
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<NotificationsModule>;
|
|
13
9
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bravobit/bb-foundation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"description": "The Angular core foundation of the Bravobit team.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Stan van Heumen",
|
|
@@ -8,14 +8,15 @@
|
|
|
8
8
|
"url": "https://bravobit.nl"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@angular/common": "^
|
|
12
|
-
"@angular/core": "^
|
|
13
|
-
"@angular/cdk": "^
|
|
11
|
+
"@angular/common": "^18.0.0",
|
|
12
|
+
"@angular/core": "^18.0.0",
|
|
13
|
+
"@angular/cdk": "^18.0.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"tslib": "^2.6.
|
|
17
|
-
"inputmask": "^5.0.
|
|
18
|
-
"@types/grecaptcha": "^3.0.9"
|
|
16
|
+
"tslib": "^2.6.3",
|
|
17
|
+
"inputmask": "^5.0.9",
|
|
18
|
+
"@types/grecaptcha": "^3.0.9",
|
|
19
|
+
"@ng-select/ng-select": "~13.0.4"
|
|
19
20
|
},
|
|
20
21
|
"sideEffects": false,
|
|
21
22
|
"module": "fesm2022/bravobit-bb-foundation.mjs",
|
|
@@ -42,42 +43,36 @@
|
|
|
42
43
|
"esm": "./esm2022/collections/bravobit-bb-foundation-collections.mjs",
|
|
43
44
|
"default": "./fesm2022/bravobit-bb-foundation-collections.mjs"
|
|
44
45
|
},
|
|
45
|
-
"./dashboard": {
|
|
46
|
-
"types": "./dashboard/index.d.ts",
|
|
47
|
-
"esm2022": "./esm2022/dashboard/bravobit-bb-foundation-dashboard.mjs",
|
|
48
|
-
"esm": "./esm2022/dashboard/bravobit-bb-foundation-dashboard.mjs",
|
|
49
|
-
"default": "./fesm2022/bravobit-bb-foundation-dashboard.mjs"
|
|
50
|
-
},
|
|
51
46
|
"./combobox": {
|
|
52
47
|
"types": "./combobox/index.d.ts",
|
|
53
48
|
"esm2022": "./esm2022/combobox/bravobit-bb-foundation-combobox.mjs",
|
|
54
49
|
"esm": "./esm2022/combobox/bravobit-bb-foundation-combobox.mjs",
|
|
55
50
|
"default": "./fesm2022/bravobit-bb-foundation-combobox.mjs"
|
|
56
51
|
},
|
|
52
|
+
"./dashboard": {
|
|
53
|
+
"types": "./dashboard/index.d.ts",
|
|
54
|
+
"esm2022": "./esm2022/dashboard/bravobit-bb-foundation-dashboard.mjs",
|
|
55
|
+
"esm": "./esm2022/dashboard/bravobit-bb-foundation-dashboard.mjs",
|
|
56
|
+
"default": "./fesm2022/bravobit-bb-foundation-dashboard.mjs"
|
|
57
|
+
},
|
|
57
58
|
"./elements": {
|
|
58
59
|
"types": "./elements/index.d.ts",
|
|
59
60
|
"esm2022": "./esm2022/elements/bravobit-bb-foundation-elements.mjs",
|
|
60
61
|
"esm": "./esm2022/elements/bravobit-bb-foundation-elements.mjs",
|
|
61
62
|
"default": "./fesm2022/bravobit-bb-foundation-elements.mjs"
|
|
62
63
|
},
|
|
63
|
-
"./dialog": {
|
|
64
|
-
"types": "./dialog/index.d.ts",
|
|
65
|
-
"esm2022": "./esm2022/dialog/bravobit-bb-foundation-dialog.mjs",
|
|
66
|
-
"esm": "./esm2022/dialog/bravobit-bb-foundation-dialog.mjs",
|
|
67
|
-
"default": "./fesm2022/bravobit-bb-foundation-dialog.mjs"
|
|
68
|
-
},
|
|
69
|
-
"./controls": {
|
|
70
|
-
"types": "./controls/index.d.ts",
|
|
71
|
-
"esm2022": "./esm2022/controls/bravobit-bb-foundation-controls.mjs",
|
|
72
|
-
"esm": "./esm2022/controls/bravobit-bb-foundation-controls.mjs",
|
|
73
|
-
"default": "./fesm2022/bravobit-bb-foundation-controls.mjs"
|
|
74
|
-
},
|
|
75
64
|
"./http": {
|
|
76
65
|
"types": "./http/index.d.ts",
|
|
77
66
|
"esm2022": "./esm2022/http/bravobit-bb-foundation-http.mjs",
|
|
78
67
|
"esm": "./esm2022/http/bravobit-bb-foundation-http.mjs",
|
|
79
68
|
"default": "./fesm2022/bravobit-bb-foundation-http.mjs"
|
|
80
69
|
},
|
|
70
|
+
"./dialog": {
|
|
71
|
+
"types": "./dialog/index.d.ts",
|
|
72
|
+
"esm2022": "./esm2022/dialog/bravobit-bb-foundation-dialog.mjs",
|
|
73
|
+
"esm": "./esm2022/dialog/bravobit-bb-foundation-dialog.mjs",
|
|
74
|
+
"default": "./fesm2022/bravobit-bb-foundation-dialog.mjs"
|
|
75
|
+
},
|
|
81
76
|
"./localize": {
|
|
82
77
|
"types": "./localize/index.d.ts",
|
|
83
78
|
"esm2022": "./esm2022/localize/bravobit-bb-foundation-localize.mjs",
|
|
@@ -114,17 +109,23 @@
|
|
|
114
109
|
"esm": "./esm2022/rxjs/bravobit-bb-foundation-rxjs.mjs",
|
|
115
110
|
"default": "./fesm2022/bravobit-bb-foundation-rxjs.mjs"
|
|
116
111
|
},
|
|
112
|
+
"./select": {
|
|
113
|
+
"types": "./select/index.d.ts",
|
|
114
|
+
"esm2022": "./esm2022/select/bravobit-bb-foundation-select.mjs",
|
|
115
|
+
"esm": "./esm2022/select/bravobit-bb-foundation-select.mjs",
|
|
116
|
+
"default": "./fesm2022/bravobit-bb-foundation-select.mjs"
|
|
117
|
+
},
|
|
117
118
|
"./storage": {
|
|
118
119
|
"types": "./storage/index.d.ts",
|
|
119
120
|
"esm2022": "./esm2022/storage/bravobit-bb-foundation-storage.mjs",
|
|
120
121
|
"esm": "./esm2022/storage/bravobit-bb-foundation-storage.mjs",
|
|
121
122
|
"default": "./fesm2022/bravobit-bb-foundation-storage.mjs"
|
|
122
123
|
},
|
|
123
|
-
"./
|
|
124
|
-
"types": "./
|
|
125
|
-
"esm2022": "./esm2022/
|
|
126
|
-
"esm": "./esm2022/
|
|
127
|
-
"default": "./fesm2022/bravobit-bb-foundation-
|
|
124
|
+
"./tooltip": {
|
|
125
|
+
"types": "./tooltip/index.d.ts",
|
|
126
|
+
"esm2022": "./esm2022/tooltip/bravobit-bb-foundation-tooltip.mjs",
|
|
127
|
+
"esm": "./esm2022/tooltip/bravobit-bb-foundation-tooltip.mjs",
|
|
128
|
+
"default": "./fesm2022/bravobit-bb-foundation-tooltip.mjs"
|
|
128
129
|
},
|
|
129
130
|
"./table": {
|
|
130
131
|
"types": "./table/index.d.ts",
|
|
@@ -132,12 +133,6 @@
|
|
|
132
133
|
"esm": "./esm2022/table/bravobit-bb-foundation-table.mjs",
|
|
133
134
|
"default": "./fesm2022/bravobit-bb-foundation-table.mjs"
|
|
134
135
|
},
|
|
135
|
-
"./tooltip": {
|
|
136
|
-
"types": "./tooltip/index.d.ts",
|
|
137
|
-
"esm2022": "./esm2022/tooltip/bravobit-bb-foundation-tooltip.mjs",
|
|
138
|
-
"esm": "./esm2022/tooltip/bravobit-bb-foundation-tooltip.mjs",
|
|
139
|
-
"default": "./fesm2022/bravobit-bb-foundation-tooltip.mjs"
|
|
140
|
-
},
|
|
141
136
|
"./utils": {
|
|
142
137
|
"types": "./utils/index.d.ts",
|
|
143
138
|
"esm2022": "./esm2022/utils/bravobit-bb-foundation-utils.mjs",
|
|
@@ -25,5 +25,5 @@ export declare class BbPermission implements OnInit, OnDestroy {
|
|
|
25
25
|
static ngAcceptInputType_bbPermissionElse: TemplateRef<any>;
|
|
26
26
|
static ngAcceptInputType_bbPermissionMode: PermissionsMode;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbPermission, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbPermission, "[bbPermission]", never, { "bbPermission": { "alias": "bbPermission"; "required": false; }; "bbPermissionElse": { "alias": "bbPermissionElse"; "required": false; }; "bbPermissionMode": { "alias": "bbPermissionMode"; "required": false; }; }, {}, never, never,
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbPermission, "[bbPermission]", never, { "bbPermission": { "alias": "bbPermission"; "required": false; }; "bbPermissionElse": { "alias": "bbPermissionElse"; "required": false; }; "bbPermissionMode": { "alias": "bbPermissionMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
29
|
}
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BbPermissionGuard implements CanActivate, CanActivateChild {
|
|
6
|
-
private _router;
|
|
7
|
-
private _permissions;
|
|
8
|
-
private _config?;
|
|
9
|
-
constructor(_router: Router, _permissions: Permissions, _config?: PermissionsConfig);
|
|
10
|
-
canActivate(snapshot: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean | import("@angular/router").UrlTree>;
|
|
11
|
-
canActivateChild(childRoute: ActivatedRouteSnapshot, state: RouterStateSnapshot): import("rxjs").Observable<boolean | import("@angular/router").UrlTree>;
|
|
12
|
-
private parsePermission;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbPermissionGuard, [null, null, { optional: true; }]>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BbPermissionGuard>;
|
|
15
|
-
}
|
|
1
|
+
import { CanActivateFn } from '@angular/router';
|
|
2
|
+
import { PermissionsOptions } from '../permissions.interface';
|
|
3
|
+
export declare const bbPermissionGuard: (value: string | string[], options?: PermissionsOptions) => CanActivateFn;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
2
|
-
import { Provider } from '@angular/core';
|
|
2
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
3
3
|
export declare class PermissionsConfig {
|
|
4
4
|
provider?: Provider;
|
|
5
5
|
localPermissions?: LocalPermissionsData;
|
|
@@ -10,3 +10,4 @@ export interface PermissionsOptions {
|
|
|
10
10
|
}
|
|
11
11
|
export type PermissionsMode = 'and' | 'or' | 'not';
|
|
12
12
|
export type LocalPermissionsData<T extends string = any> = Record<string, T[] | '*'>;
|
|
13
|
+
export declare const PERMISSIONS_CONFIG: InjectionToken<PermissionsConfig>;
|
|
@@ -5,6 +5,6 @@ import * as i1 from "./directives/permission.directive";
|
|
|
5
5
|
export declare class PermissionsModule {
|
|
6
6
|
static forRoot(config?: PermissionsConfig): ModuleWithProviders<PermissionsModule>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PermissionsModule, [typeof i1.BbPermission],
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PermissionsModule, never, [typeof i1.BbPermission], [typeof i1.BbPermission]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<PermissionsModule>;
|
|
10
10
|
}
|
|
@@ -4,4 +4,5 @@ export * from './lib/directives/permission.directive';
|
|
|
4
4
|
export * from './lib/guards/permission.guard';
|
|
5
5
|
export * from './lib/permissions.interface';
|
|
6
6
|
export * from './lib/permissions.service';
|
|
7
|
+
export * from './lib/permissions.config';
|
|
7
8
|
export * from './lib/permissions.module';
|
package/public_api.d.ts
CHANGED
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
export * from './lib/core/services/image-converter.service';
|
|
2
2
|
export * from './lib/core/services/file-loader.service';
|
|
3
|
+
export * from './lib/core/services/files.service';
|
|
3
4
|
export * from './lib/core/services/languages.service';
|
|
4
5
|
export * from './lib/core/services/network.service';
|
|
5
6
|
export * from './lib/core/services/patch.service';
|
|
6
7
|
export * from './lib/core/services/exif.service';
|
|
7
|
-
export * from './lib/core/services/clipboard.service';
|
|
8
|
-
export * from './lib/core/mixins/constructor';
|
|
9
|
-
export * from './lib/core/mixins/can-disable';
|
|
10
|
-
export * from './lib/core/mixins/can-load';
|
|
11
|
-
export * from './lib/core/mixins/has-error';
|
|
12
|
-
export * from './lib/core/mixins/can-hide-errors';
|
|
13
|
-
export * from './lib/core/mixins/is-focused';
|
|
14
|
-
export * from './lib/core/mixins/is-grouped';
|
|
15
|
-
export * from './lib/core/mixins/is-readonly';
|
|
16
|
-
export * from './lib/core/mixins/is-required';
|
|
17
8
|
export * from './lib/core/tokens/base-url.token';
|
|
18
9
|
export * from './lib/core/tokens/accept-language.token';
|
|
19
10
|
export * from './lib/core/tokens/cookie.token';
|
|
@@ -22,5 +13,7 @@ export * from './lib/core/tokens/navigator.token';
|
|
|
22
13
|
export * from './lib/core/tokens/location.token';
|
|
23
14
|
export * from './lib/core/miscellaneous/regex';
|
|
24
15
|
export * from './lib/core/miscellaneous/validator';
|
|
16
|
+
export * from './lib/core/miscellaneous/coercion';
|
|
25
17
|
export * from './lib/core/functions/date.utils';
|
|
26
18
|
export * from './lib/core/functions/password.utils';
|
|
19
|
+
export * from './lib/core/functions/array.utils';
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
/// <reference types="grecaptcha" />
|
|
2
2
|
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2 } from '@angular/core';
|
|
3
3
|
import { RecaptchaConfig } from '../recaptcha.interface';
|
|
4
|
-
import { IsGroupedConstructor } from '@bravobit/bb-foundation';
|
|
5
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
5
|
import { RecaptchaLoader } from '../recaptcha-loader.service';
|
|
7
6
|
import { Platform } from '@angular/cdk/platform';
|
|
8
7
|
import { Observable } from 'rxjs';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
|
-
declare class
|
|
11
|
-
}
|
|
12
|
-
declare const BbRecaptchaMixinBase: IsGroupedConstructor & typeof BbRecaptchaBase;
|
|
13
|
-
export declare class RecaptchaComponent extends BbRecaptchaMixinBase implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
9
|
+
export declare class RecaptchaComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
14
10
|
private _zone;
|
|
15
11
|
private _platform;
|
|
16
12
|
private _renderer;
|
|
@@ -26,6 +22,7 @@ export declare class RecaptchaComponent extends BbRecaptchaMixinBase implements
|
|
|
26
22
|
theme: ReCaptchaV2.Theme | null;
|
|
27
23
|
badge: ReCaptchaV2.Badge | null;
|
|
28
24
|
errorMode: 'handled' | 'default';
|
|
25
|
+
grouped: boolean;
|
|
29
26
|
resolved: EventEmitter<string>;
|
|
30
27
|
error: EventEmitter<[]>;
|
|
31
28
|
private _widgetId;
|
|
@@ -50,6 +47,6 @@ export declare class RecaptchaComponent extends BbRecaptchaMixinBase implements
|
|
|
50
47
|
private handleLocaleChanges;
|
|
51
48
|
private onLocaleChanged;
|
|
52
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaComponent, [null, null, null, null, null, null, { optional: true; }]>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "bb-recaptcha", ["bbRecaptcha"], { "
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "bb-recaptcha", ["bbRecaptcha"], { "id": { "alias": "id"; "required": false; }; "siteKey": { "alias": "siteKey"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "errorMode": { "alias": "errorMode"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; }, { "resolved": "resolved"; "error": "error"; }, never, never, true, never>;
|
|
51
|
+
static ngAcceptInputType_grouped: unknown;
|
|
54
52
|
}
|
|
55
|
-
export {};
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
/// <reference types="grecaptcha" />
|
|
2
|
-
import { RendererFactory2 } from '@angular/core';
|
|
3
|
-
import { RecaptchaConfig } from './recaptcha.interface';
|
|
4
|
-
import { Localize } from '@bravobit/bb-foundation/localize';
|
|
5
|
-
import { Platform } from '@angular/cdk/platform';
|
|
6
2
|
import { BehaviorSubject } from 'rxjs';
|
|
7
3
|
import * as i0 from "@angular/core";
|
|
8
4
|
export declare class RecaptchaLoader {
|
|
9
|
-
private _platform;
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
-
private
|
|
14
|
-
private
|
|
5
|
+
private readonly _platform;
|
|
6
|
+
private readonly _rendererFactory;
|
|
7
|
+
private readonly _config;
|
|
8
|
+
private readonly _localize;
|
|
9
|
+
private readonly _localeId;
|
|
10
|
+
private readonly _document;
|
|
11
|
+
private readonly _renderer;
|
|
15
12
|
readonly ready$: BehaviorSubject<ReCaptchaV2.ReCaptcha | null> | null;
|
|
16
13
|
private readonly _windowLoadFn;
|
|
17
|
-
|
|
18
|
-
constructor(_platform: Platform, _renderFactory: RendererFactory2, _localize?: Localize, _localeId?: string, _document?: Document, _config?: RecaptchaConfig);
|
|
14
|
+
constructor();
|
|
19
15
|
private createScript;
|
|
20
16
|
private getUrl;
|
|
21
17
|
private getQueryParams;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaLoader,
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaLoader, never>;
|
|
23
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<RecaptchaLoader>;
|
|
24
20
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RecaptchaConfig } from './recaptcha.interface';
|
|
2
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { RecaptchaConfig } from './recaptcha.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "./recaptcha/recaptcha.component";
|
|
5
5
|
export declare class RecaptchaModule {
|
|
6
6
|
static forRoot(config?: RecaptchaConfig): ModuleWithProviders<RecaptchaModule>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RecaptchaModule, [typeof i1.RecaptchaComponent],
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RecaptchaModule, never, [typeof i1.RecaptchaComponent], [typeof i1.RecaptchaComponent]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<RecaptchaModule>;
|
|
10
10
|
}
|
package/rxjs/public_api.d.ts
CHANGED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
+
import { NgSelectComponent } from '@ng-select/ng-select';
|
|
4
|
+
import { Observable, Subject } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BbSelect<T> implements ControlValueAccessor, OnInit, OnDestroy {
|
|
7
|
+
readonly labelId: string;
|
|
8
|
+
readonly control: FormControl<any>;
|
|
9
|
+
optionTemplate: TemplateRef<any>;
|
|
10
|
+
optionGroupTemplate: TemplateRef<any>;
|
|
11
|
+
labelTemplate: TemplateRef<any>;
|
|
12
|
+
selectComponent: NgSelectComponent;
|
|
13
|
+
label: string | TemplateRef<any> | null;
|
|
14
|
+
hint: string | TemplateRef<any> | null;
|
|
15
|
+
data: Observable<T[]> | null;
|
|
16
|
+
required: boolean;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
grouped: boolean;
|
|
19
|
+
hideErrors: boolean;
|
|
20
|
+
loading: boolean;
|
|
21
|
+
multiple: boolean;
|
|
22
|
+
clearable: boolean;
|
|
23
|
+
searchable: boolean;
|
|
24
|
+
virtualScroll: boolean;
|
|
25
|
+
closeOnSelect: boolean;
|
|
26
|
+
selectableGroup: boolean;
|
|
27
|
+
selectableGroupAsModel: boolean;
|
|
28
|
+
hideArrow: boolean;
|
|
29
|
+
bindLabel: string | null;
|
|
30
|
+
bindValue: string | null;
|
|
31
|
+
placeholder: string | null;
|
|
32
|
+
typeahead: Subject<string> | null;
|
|
33
|
+
trackByFn: any | null;
|
|
34
|
+
groupBy: string | null;
|
|
35
|
+
isOpen: boolean;
|
|
36
|
+
clearSearchOnAdd: boolean;
|
|
37
|
+
addTag: boolean | ((term: string) => any | Promise<any>);
|
|
38
|
+
appendTo: string | null;
|
|
39
|
+
get value(): any | null;
|
|
40
|
+
valueChange: EventEmitter<any>;
|
|
41
|
+
onBlur: EventEmitter<FocusEvent>;
|
|
42
|
+
onChange: EventEmitter<any>;
|
|
43
|
+
set value(value: any | null);
|
|
44
|
+
error: boolean;
|
|
45
|
+
onTouchedCallback: () => void;
|
|
46
|
+
onChangeCallback: (_: T | null) => void;
|
|
47
|
+
private _subscription;
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
ngOnDestroy(): void;
|
|
50
|
+
writeValue(value: T | null): void;
|
|
51
|
+
registerOnChange(method: (_: T | null) => void): void;
|
|
52
|
+
registerOnTouched(method: () => void): void;
|
|
53
|
+
setDisabledState(isDisabled: boolean): void;
|
|
54
|
+
onErrorChange(error: {
|
|
55
|
+
token: string;
|
|
56
|
+
data?: any;
|
|
57
|
+
} | null): void;
|
|
58
|
+
private handleValueChanges;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelect<any>, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbSelect<any>, "bb-select", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "data": { "alias": "data"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "selectableGroup": { "alias": "selectableGroup"; "required": false; }; "selectableGroupAsModel": { "alias": "selectableGroupAsModel"; "required": false; }; "hideArrow": { "alias": "hideArrow"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "onBlur": "onBlur"; "onChange": "onChange"; }, ["optionTemplate", "optionGroupTemplate", "labelTemplate"], never, true, never>;
|
|
61
|
+
static ngAcceptInputType_data: unknown;
|
|
62
|
+
static ngAcceptInputType_required: unknown;
|
|
63
|
+
static ngAcceptInputType_disabled: unknown;
|
|
64
|
+
static ngAcceptInputType_grouped: unknown;
|
|
65
|
+
static ngAcceptInputType_hideErrors: unknown;
|
|
66
|
+
static ngAcceptInputType_loading: unknown;
|
|
67
|
+
static ngAcceptInputType_multiple: unknown;
|
|
68
|
+
static ngAcceptInputType_clearable: unknown;
|
|
69
|
+
static ngAcceptInputType_searchable: unknown;
|
|
70
|
+
static ngAcceptInputType_virtualScroll: unknown;
|
|
71
|
+
static ngAcceptInputType_closeOnSelect: unknown;
|
|
72
|
+
static ngAcceptInputType_selectableGroup: unknown;
|
|
73
|
+
static ngAcceptInputType_selectableGroupAsModel: unknown;
|
|
74
|
+
static ngAcceptInputType_hideArrow: unknown;
|
|
75
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BbSelectLabel {
|
|
4
|
+
template: TemplateRef<any>;
|
|
5
|
+
constructor(template: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectLabel, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectLabel, "ng-template[bbSelectLabel]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BbSelectOptionGroup {
|
|
4
|
+
template: TemplateRef<any>;
|
|
5
|
+
constructor(template: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectOptionGroup, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectOptionGroup, "ng-template[bbSelectOptionGroup]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BbSelectOption {
|
|
4
|
+
template: TemplateRef<any>;
|
|
5
|
+
constructor(template: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectOption, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectOption, "ng-template[bbSelectOption]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./select/select.component";
|
|
3
|
+
import * as i2 from "./select-label.directive";
|
|
4
|
+
import * as i3 from "./select-option.directive";
|
|
5
|
+
import * as i4 from "./select-option-group.directive";
|
|
6
|
+
export declare class SelectModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, never, [typeof i1.BbSelect, typeof i2.BbSelectLabel, typeof i3.BbSelectOption, typeof i4.BbSelectOptionGroup], [typeof i1.BbSelect, typeof i2.BbSelectLabel, typeof i3.BbSelectOption, typeof i4.BbSelectOptionGroup]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use 'sass:color';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@mixin generate-color-palette($base-color, $name, $custom: null) {
|
|
5
|
+
$colors: (50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800, 850, 900);
|
|
6
|
+
$color-map: ();
|
|
7
|
+
|
|
8
|
+
@each $value in $colors {
|
|
9
|
+
$color: color.adjust($base-color, $lightness: (500 - $value) * 0.1%);
|
|
10
|
+
$color-map: map.merge($color-map, ($value: $color));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@if $custom != null {
|
|
14
|
+
$color-map: map.deep-merge($color-map, $custom);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@each $value, $color in $color-map {
|
|
18
|
+
--#{$name}-#{$value}: #{$color};
|
|
19
|
+
}
|
|
20
|
+
}
|