@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
|
@@ -5,110 +5,29 @@ import * as i2 from "./directives/form-submit.directive";
|
|
|
5
5
|
import * as i3 from "./directives/form-submitter.directive";
|
|
6
6
|
import * as i4 from "./directives/input.directive";
|
|
7
7
|
import * as i5 from "./directives/addon.directive";
|
|
8
|
-
import * as i6 from "./
|
|
9
|
-
import * as i7 from "./
|
|
10
|
-
import * as i8 from "./pipes/
|
|
11
|
-
import * as i9 from "./
|
|
12
|
-
import * as i10 from "./
|
|
13
|
-
import * as i11 from "./
|
|
14
|
-
import * as i12 from "./
|
|
15
|
-
import * as i13 from "./
|
|
16
|
-
import * as i14 from "./
|
|
17
|
-
import * as i15 from "./
|
|
18
|
-
import * as i16 from "./
|
|
19
|
-
import * as i17 from "./
|
|
20
|
-
import * as i18 from "./
|
|
21
|
-
import * as i19 from "./
|
|
22
|
-
import * as i20 from "./
|
|
23
|
-
import * as i21 from "
|
|
24
|
-
import * as i22 from "
|
|
25
|
-
import * as i23 from "
|
|
26
|
-
import * as i24 from "
|
|
8
|
+
import * as i6 from "./directives/image-upload.directive";
|
|
9
|
+
import * as i7 from "./directives/extra-error-controls.directive";
|
|
10
|
+
import * as i8 from "./pipes/file-size.pipe";
|
|
11
|
+
import * as i9 from "./pipes/file-image.pipe";
|
|
12
|
+
import * as i10 from "./pipes/relative-time.pipe";
|
|
13
|
+
import * as i11 from "./pipes/date.pipe";
|
|
14
|
+
import * as i12 from "./button/button.component";
|
|
15
|
+
import * as i13 from "./spinner/spinner.component";
|
|
16
|
+
import * as i14 from "./icon/icon.component";
|
|
17
|
+
import * as i15 from "./form-control/form-control.component";
|
|
18
|
+
import * as i16 from "./form-group/form-group.component";
|
|
19
|
+
import * as i17 from "./checkbox/checkbox.component";
|
|
20
|
+
import * as i18 from "./checkbox-group/checkbox-group.component";
|
|
21
|
+
import * as i19 from "./radio-group/radio-group.component";
|
|
22
|
+
import * as i20 from "./radio-button/radio-button.component";
|
|
23
|
+
import * as i21 from "./avatar/avatar.component";
|
|
24
|
+
import * as i22 from "./multi-file-control/multi-file-control.component";
|
|
25
|
+
import * as i23 from "./file-picker/file-picker.component";
|
|
26
|
+
import * as i24 from "./image-picker/image-picker.component";
|
|
27
|
+
import * as i25 from "./date-picker/date-picker.component";
|
|
27
28
|
export declare class ElementsModule {
|
|
28
29
|
static forRoot(): ModuleWithProviders<ElementsModule>;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElementsModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementsModule, [typeof i1.BbFormError, typeof i2.BbFormSubmit, typeof i3.BbFormSubmitter, typeof i4.BbInput, typeof
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementsModule, never, [typeof i1.BbFormError, typeof i2.BbFormSubmit, typeof i3.BbFormSubmitter, typeof i4.BbInput, typeof i5.BbPrefix, typeof i5.BbSuffix, typeof i6.BbImageUpload, typeof i7.BbExtraErrorControls, typeof i8.BbFileSize, typeof i9.BbFileImage, typeof i10.BbRelativeTime, typeof i11.BbDate, typeof i12.BbButton, typeof i12.BbAnchor, typeof i13.BbSpinner, typeof i14.BbIcon, typeof i15.BbFormControl, typeof i16.BbFormGroup, typeof i17.BbCheckbox, typeof i18.BbCheckboxGroup, typeof i19.BbRadioGroup, typeof i20.BbRadioButton, typeof i21.BbAvatar, typeof i22.BbMultiFileControl, typeof i23.BbFilePicker, typeof i24.BbImagePicker, typeof i25.BbDatePicker], [typeof i1.BbFormError, typeof i2.BbFormSubmit, typeof i3.BbFormSubmitter, typeof i4.BbInput, typeof i5.BbPrefix, typeof i5.BbSuffix, typeof i6.BbImageUpload, typeof i7.BbExtraErrorControls, typeof i8.BbFileSize, typeof i9.BbFileImage, typeof i10.BbRelativeTime, typeof i11.BbDate, typeof i12.BbButton, typeof i12.BbAnchor, typeof i13.BbSpinner, typeof i14.BbIcon, typeof i15.BbFormControl, typeof i16.BbFormGroup, typeof i17.BbCheckbox, typeof i18.BbCheckboxGroup, typeof i19.BbRadioGroup, typeof i20.BbRadioButton, typeof i21.BbAvatar, typeof i22.BbMultiFileControl, typeof i23.BbFilePicker, typeof i24.BbImagePicker, typeof i25.BbDatePicker]>;
|
|
31
32
|
static ɵinj: i0.ɵɵInjectorDeclaration<ElementsModule>;
|
|
32
33
|
}
|
|
33
|
-
export declare const ELEMENTS_MATERIAL_ICON: {
|
|
34
|
-
provide: import("@angular/core").InjectionToken<import("./elements.interfaces").ElementsIcon[]>;
|
|
35
|
-
useValue: {
|
|
36
|
-
namespace: string;
|
|
37
|
-
className: string;
|
|
38
|
-
uses: string;
|
|
39
|
-
type: string;
|
|
40
|
-
};
|
|
41
|
-
multi: boolean;
|
|
42
|
-
};
|
|
43
|
-
export declare function getErrors(): {
|
|
44
|
-
unknown: () => string;
|
|
45
|
-
required: () => string;
|
|
46
|
-
pattern: () => string;
|
|
47
|
-
email: () => string;
|
|
48
|
-
emailTaken: () => string;
|
|
49
|
-
passwordMatch: () => string;
|
|
50
|
-
confirm: () => string;
|
|
51
|
-
fullNumber: () => string;
|
|
52
|
-
min: ({ min }: {
|
|
53
|
-
min: any;
|
|
54
|
-
}) => {
|
|
55
|
-
token: string;
|
|
56
|
-
data: {
|
|
57
|
-
min: any;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
max: ({ max }: {
|
|
61
|
-
max: any;
|
|
62
|
-
}) => {
|
|
63
|
-
token: string;
|
|
64
|
-
data: {
|
|
65
|
-
max: any;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
maxFileSize: ({ maxSize }: {
|
|
69
|
-
maxSize: any;
|
|
70
|
-
}) => {
|
|
71
|
-
token: string;
|
|
72
|
-
data: {
|
|
73
|
-
maxSize: any;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
minDate: ({ date }: {
|
|
77
|
-
date: any;
|
|
78
|
-
}) => {
|
|
79
|
-
token: string;
|
|
80
|
-
data: {
|
|
81
|
-
date: any;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
maxDate: ({ date }: {
|
|
85
|
-
date: any;
|
|
86
|
-
}) => {
|
|
87
|
-
token: string;
|
|
88
|
-
data: {
|
|
89
|
-
date: any;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
invalidDate: () => string;
|
|
93
|
-
invalidFileType: () => string;
|
|
94
|
-
minlength: ({ requiredLength, actualLength }: {
|
|
95
|
-
requiredLength: any;
|
|
96
|
-
actualLength: any;
|
|
97
|
-
}) => {
|
|
98
|
-
token: string;
|
|
99
|
-
data: {
|
|
100
|
-
requiredLength: any;
|
|
101
|
-
actualLength: any;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
maxlength: ({ requiredLength, actualLength }: {
|
|
105
|
-
requiredLength: any;
|
|
106
|
-
actualLength: any;
|
|
107
|
-
}) => {
|
|
108
|
-
token: string;
|
|
109
|
-
data: {
|
|
110
|
-
requiredLength: any;
|
|
111
|
-
actualLength: any;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
};
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { CanDisable, CanDisableConstructor, IsGrouped, IsGroupedConstructor, IsRequired, IsRequiredConstructor, CanHideErrors, CanHideErrorsConstructor, HasError, HasErrorConstructor } from '@bravobit/bb-foundation';
|
|
3
2
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
4
3
|
import { BehaviorSubject } from 'rxjs';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
declare class
|
|
7
|
-
|
|
8
|
-
declare const BbFilePickerMixinBase: IsRequiredConstructor & CanDisableConstructor & IsGroupedConstructor & HasErrorConstructor & CanHideErrorsConstructor & typeof BbFilePickerBase;
|
|
9
|
-
export declare class BbFilePicker extends BbFilePickerMixinBase implements ControlValueAccessor, IsRequired, CanDisable, IsGrouped, HasError, CanHideErrors {
|
|
5
|
+
export declare class BbFilePicker implements ControlValueAccessor {
|
|
6
|
+
readonly labelId: string;
|
|
10
7
|
fileInput: ElementRef<HTMLInputElement>;
|
|
11
8
|
extraTemplate: TemplateRef<any>;
|
|
12
9
|
label: string | TemplateRef<any> | null;
|
|
@@ -14,11 +11,17 @@ export declare class BbFilePicker extends BbFilePickerMixinBase implements Contr
|
|
|
14
11
|
accept: string | null;
|
|
15
12
|
showImages: boolean;
|
|
16
13
|
allowDragging: boolean;
|
|
17
|
-
|
|
14
|
+
grouped: boolean;
|
|
15
|
+
required: boolean;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
hideErrors: boolean;
|
|
18
18
|
hovered: boolean;
|
|
19
|
+
error: boolean;
|
|
19
20
|
value$: BehaviorSubject<{
|
|
20
21
|
file?: File;
|
|
21
22
|
}>;
|
|
23
|
+
onTouchedCallback: () => void;
|
|
24
|
+
onChangeCallback: (_: File | null) => void;
|
|
22
25
|
get value(): File | null;
|
|
23
26
|
valueChange: EventEmitter<File>;
|
|
24
27
|
set value(value: File | null);
|
|
@@ -27,8 +30,6 @@ export declare class BbFilePicker extends BbFilePickerMixinBase implements Contr
|
|
|
27
30
|
onButtonPressed(file?: File): void;
|
|
28
31
|
openFilePicker(): void;
|
|
29
32
|
onFileChange(event: Event): void;
|
|
30
|
-
onTouchedCallback: () => void;
|
|
31
|
-
onChangeCallback: (_: File | null) => void;
|
|
32
33
|
writeValue(value: File | null): void;
|
|
33
34
|
registerOnChange(method: (_: File | null) => void): void;
|
|
34
35
|
registerOnTouched(method: () => void): void;
|
|
@@ -44,6 +45,9 @@ export declare class BbFilePicker extends BbFilePickerMixinBase implements Contr
|
|
|
44
45
|
private getFileListFromEvent;
|
|
45
46
|
private preventDefault;
|
|
46
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbFilePicker, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbFilePicker, "bb-file-picker", never, { "
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbFilePicker, "bb-file-picker", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "showImages": { "alias": "showImages"; "required": false; }; "allowDragging": { "alias": "allowDragging"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, ["extraTemplate"], never, true, never>;
|
|
49
|
+
static ngAcceptInputType_grouped: unknown;
|
|
50
|
+
static ngAcceptInputType_required: unknown;
|
|
51
|
+
static ngAcceptInputType_disabled: unknown;
|
|
52
|
+
static ngAcceptInputType_hideErrors: unknown;
|
|
48
53
|
}
|
|
49
|
-
export {};
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { IsRequired, IsRequiredConstructor, CanDisable, CanDisableConstructor, IsReadonly, IsReadonlyConstructor, IsGrouped, IsGroupedConstructor, IsFocused, IsFocusedConstructor, HasError, HasErrorConstructor, CanHideErrors, CanHideErrorsConstructor } from '@bravobit/bb-foundation';
|
|
2
1
|
import { TemplateRef } from '@angular/core';
|
|
3
2
|
import { NgControl } from '@angular/forms';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
declare class
|
|
6
|
-
|
|
7
|
-
declare const BbFormControlMixinBase: IsRequiredConstructor & IsGroupedConstructor & IsFocusedConstructor & IsReadonlyConstructor & CanDisableConstructor & HasErrorConstructor & CanHideErrorsConstructor & typeof BbFormControlBase;
|
|
8
|
-
export declare class BbFormControl extends BbFormControlMixinBase implements IsRequired, IsFocused, IsReadonly, IsGrouped, CanDisable, HasError, CanHideErrors {
|
|
4
|
+
export declare class BbFormControl {
|
|
5
|
+
readonly labelId: string;
|
|
9
6
|
ngControl: NgControl;
|
|
10
7
|
label: string | TemplateRef<any> | null;
|
|
11
8
|
hint: string | TemplateRef<any> | null;
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
grouped: boolean;
|
|
10
|
+
hideErrors: boolean;
|
|
11
|
+
error: boolean;
|
|
14
12
|
onErrorChange(error: {
|
|
15
13
|
token: string;
|
|
16
14
|
data?: any;
|
|
17
15
|
} | null): void;
|
|
18
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbFormControl, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbFormControl, "bb-form-control", never, { "
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbFormControl, "bb-form-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; }, {}, ["ngControl"], ["[bbPrefix]", "[bbInput]", "[bbSuffix]"], true, never>;
|
|
18
|
+
static ngAcceptInputType_grouped: unknown;
|
|
19
|
+
static ngAcceptInputType_hideErrors: unknown;
|
|
20
20
|
}
|
|
21
|
-
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { BbExtraErrorControls } from '../directives/extra-error-controls.directive';
|
|
2
3
|
import { BbFormSubmitter } from '../directives/form-submitter.directive';
|
|
3
4
|
import { ElementsError } from '../elements.interfaces';
|
|
4
5
|
import { BbFormSubmit } from '../directives/form-submit.directive';
|
|
@@ -7,11 +8,12 @@ import { Observable } from 'rxjs';
|
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class BbFormError implements OnInit {
|
|
9
10
|
private _form?;
|
|
10
|
-
private
|
|
11
|
+
private _ngControl?;
|
|
11
12
|
private _formSubmitter?;
|
|
13
|
+
private _extraErrorControls?;
|
|
12
14
|
private _errors?;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
readonly errorsMap: ElementsError;
|
|
16
|
+
control: NgControl | null;
|
|
15
17
|
errorChange: EventEmitter<{
|
|
16
18
|
token: string;
|
|
17
19
|
data?: any;
|
|
@@ -20,14 +22,15 @@ export declare class BbFormError implements OnInit {
|
|
|
20
22
|
token: string;
|
|
21
23
|
data?: any;
|
|
22
24
|
} | null>;
|
|
23
|
-
|
|
24
|
-
constructor(_form?: BbFormSubmit, _control?: NgControl, _formSubmitter?: BbFormSubmitter, _errors?: ElementsError[]);
|
|
25
|
+
constructor(_form?: BbFormSubmit, _ngControl?: NgControl, _formSubmitter?: BbFormSubmitter, _extraErrorControls?: BbExtraErrorControls, _errors?: ElementsError[]);
|
|
25
26
|
ngOnInit(): void;
|
|
26
|
-
private
|
|
27
|
+
private setControl;
|
|
28
|
+
private setError;
|
|
29
|
+
private formatError;
|
|
27
30
|
private submitStatusChanges;
|
|
28
31
|
private getNativeFormSubmit;
|
|
29
32
|
private getManualFormSubmit;
|
|
30
|
-
private
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbFormError, [{ optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbFormError, "bb-form-error", never, { "control": { "alias": "control"; "required": false; }; }, { "errorChange": "errorChange"; }, never, never,
|
|
33
|
+
private getErrors;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BbFormError, [{ optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbFormError, "bb-form-error", never, { "control": { "alias": "control"; "required": false; }; }, { "errorChange": "errorChange"; }, never, never, true, never>;
|
|
33
36
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { IsGrouped, IsGroupedConstructor } from '@bravobit/bb-foundation';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
declare class
|
|
4
|
-
|
|
5
|
-
declare const BbFormGroupMixinBase: IsGroupedConstructor & typeof BbFormGroupBase;
|
|
6
|
-
export declare class BbFormGroup extends BbFormGroupMixinBase implements IsGrouped {
|
|
2
|
+
export declare class BbFormGroup {
|
|
3
|
+
grouped: boolean;
|
|
7
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbFormGroup, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbFormGroup, "bb-form-group", never, { "grouped": { "alias": "grouped"; "required": false; }; }, {}, never, ["*"],
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbFormGroup, "bb-form-group", never, { "grouped": { "alias": "grouped"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
|
+
static ngAcceptInputType_grouped: unknown;
|
|
9
7
|
}
|
|
10
|
-
export {};
|
|
@@ -7,16 +7,16 @@ export declare class BbIcon {
|
|
|
7
7
|
state$: BehaviorSubject<any>;
|
|
8
8
|
alt: string | null;
|
|
9
9
|
size: number;
|
|
10
|
+
ariaHidden: boolean;
|
|
10
11
|
set src(newValue: string | null);
|
|
11
12
|
get src(): string | null;
|
|
12
|
-
set ariaHidden(newValue: boolean);
|
|
13
|
-
get ariaHidden(): boolean;
|
|
14
|
-
private _ariaHidden;
|
|
15
13
|
constructor(_registry: ElementsIcon[]);
|
|
16
14
|
private convert;
|
|
17
15
|
private findImageIcon;
|
|
18
16
|
private findFontIcon;
|
|
19
17
|
private warn;
|
|
20
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbIcon, [{ optional: true; }]>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbIcon, "bb-icon", never, { "alt": { "alias": "alt"; "required": false; }; "size": { "alias": "size"; "required": false; }; "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbIcon, "bb-icon", never, { "alt": { "alias": "alt"; "required": false; }; "size": { "alias": "size"; "required": false; }; "ariaHidden": { "alias": "ariaHidden"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
+
static ngAcceptInputType_size: unknown;
|
|
21
|
+
static ngAcceptInputType_ariaHidden: unknown;
|
|
22
22
|
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ImageConverter, CanDisableConstructor, IsGroupedConstructor } from '@bravobit/bb-foundation';
|
|
3
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { ImageConverter } from '@bravobit/bb-foundation';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
declare class
|
|
6
|
-
}
|
|
7
|
-
declare const BbImagePickerMixinBase: IsGroupedConstructor & CanDisableConstructor & typeof BbImagePickerBase;
|
|
8
|
-
export declare class BbImagePicker extends BbImagePickerMixinBase implements ControlValueAccessor {
|
|
5
|
+
export declare class BbImagePicker implements ControlValueAccessor {
|
|
9
6
|
private _converter;
|
|
10
7
|
fileInput: ElementRef<HTMLInputElement>;
|
|
11
8
|
label: string | null;
|
|
@@ -18,6 +15,10 @@ export declare class BbImagePicker extends BbImagePickerMixinBase implements Con
|
|
|
18
15
|
width: number;
|
|
19
16
|
height: number;
|
|
20
17
|
} | null;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
grouped: boolean;
|
|
20
|
+
onTouchedCallback: () => void;
|
|
21
|
+
onChangeCallback: (_: string | null) => void;
|
|
21
22
|
private _value$;
|
|
22
23
|
constructor(_converter: ImageConverter);
|
|
23
24
|
get value(): string | null;
|
|
@@ -26,13 +27,12 @@ export declare class BbImagePicker extends BbImagePickerMixinBase implements Con
|
|
|
26
27
|
get image(): import("rxjs").Observable<string>;
|
|
27
28
|
onFileChange(event: any): Promise<void>;
|
|
28
29
|
openFilePicker(): void;
|
|
29
|
-
onTouchedCallback: () => void;
|
|
30
|
-
onChangeCallback: (_: string | null) => void;
|
|
31
30
|
writeValue(value: string | null): void;
|
|
32
31
|
registerOnChange(method: (_: string | null) => void): void;
|
|
33
32
|
registerOnTouched(method: () => void): void;
|
|
34
33
|
setDisabledState(isDisabled: boolean): void;
|
|
35
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbImagePicker, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbImagePicker, "bb-image-picker", never, { "
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbImagePicker, "bb-image-picker", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "styleDimensions": { "alias": "styleDimensions"; "required": false; }; "cropDimensions": { "alias": "cropDimensions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
36
|
+
static ngAcceptInputType_disabled: unknown;
|
|
37
|
+
static ngAcceptInputType_grouped: unknown;
|
|
37
38
|
}
|
|
38
|
-
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
+
import { Files } from '@bravobit/bb-foundation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BbMultiFileControl implements ControlValueAccessor {
|
|
6
|
+
private _files;
|
|
7
|
+
private _changeDetectorRef;
|
|
8
|
+
readonly labelId: string;
|
|
9
|
+
fileInput: ElementRef<HTMLInputElement>;
|
|
10
|
+
label: string | TemplateRef<any> | null;
|
|
11
|
+
hint: string | TemplateRef<any> | null;
|
|
12
|
+
accept: string | null;
|
|
13
|
+
grouped: boolean;
|
|
14
|
+
required: boolean;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
hideErrors: boolean;
|
|
17
|
+
items: {
|
|
18
|
+
id: number;
|
|
19
|
+
label: string;
|
|
20
|
+
url: string;
|
|
21
|
+
}[];
|
|
22
|
+
delete: EventEmitter<{
|
|
23
|
+
id: number;
|
|
24
|
+
label: string;
|
|
25
|
+
url: string;
|
|
26
|
+
}>;
|
|
27
|
+
value: File[];
|
|
28
|
+
dragging: boolean;
|
|
29
|
+
error: boolean;
|
|
30
|
+
onTouchedCallback: () => void;
|
|
31
|
+
onChangeCallback: (_: File[] | null) => void;
|
|
32
|
+
constructor(_files: Files, _changeDetectorRef: ChangeDetectorRef);
|
|
33
|
+
get showList(): boolean;
|
|
34
|
+
onDrag(event: Event, isHovered: boolean): void;
|
|
35
|
+
onDrop(event: Event): void;
|
|
36
|
+
downloadFile(file: File): void;
|
|
37
|
+
openFileDialog(): void;
|
|
38
|
+
onFileChange(event: Event): void;
|
|
39
|
+
deleteFile(index: number): void;
|
|
40
|
+
writeValue(value: File[] | null): void;
|
|
41
|
+
registerOnChange(method: (_: File[] | null) => void): void;
|
|
42
|
+
registerOnTouched(method: () => void): void;
|
|
43
|
+
setDisabledState(isDisabled: boolean): void;
|
|
44
|
+
onErrorChange(error: {
|
|
45
|
+
token: string;
|
|
46
|
+
data?: any;
|
|
47
|
+
} | null): void;
|
|
48
|
+
validate({ value }: FormControl<File[]>): any;
|
|
49
|
+
private addFiles;
|
|
50
|
+
private isFile;
|
|
51
|
+
private isBlob;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BbMultiFileControl, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbMultiFileControl, "bb-multi-file-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "delete": "delete"; }, never, never, true, never>;
|
|
54
|
+
static ngAcceptInputType_grouped: unknown;
|
|
55
|
+
static ngAcceptInputType_required: unknown;
|
|
56
|
+
static ngAcceptInputType_disabled: unknown;
|
|
57
|
+
static ngAcceptInputType_hideErrors: unknown;
|
|
58
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BbDate implements PipeTransform {
|
|
4
|
+
private readonly _localize;
|
|
5
|
+
private readonly _localeId;
|
|
6
|
+
transform(value: string | number | Date, format?: string): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BbDate, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BbDate, "bbDate", true>;
|
|
9
|
+
}
|
|
@@ -10,5 +10,5 @@ export declare class BbFileImage implements PipeTransform {
|
|
|
10
10
|
constructor(_platform: Platform, _image: ImageConverter, _sanitizer: DomSanitizer);
|
|
11
11
|
transform(file: File): Promise<any>;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbFileImage, never>;
|
|
13
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BbFileImage, "bbFileImage",
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BbFileImage, "bbFileImage", true>;
|
|
14
14
|
}
|
|
@@ -4,5 +4,5 @@ export declare class BbFileSize implements PipeTransform {
|
|
|
4
4
|
transform(value: number): string;
|
|
5
5
|
private format;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbFileSize, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BbFileSize, "bbFileSize",
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BbFileSize, "bbFileSize", true>;
|
|
8
8
|
}
|
|
@@ -15,5 +15,5 @@ export declare class BbRelativeTime implements PipeTransform {
|
|
|
15
15
|
private isYesterday;
|
|
16
16
|
private isTomorrow;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbRelativeTime, [null, { optional: true; }]>;
|
|
18
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BbRelativeTime, "bbRelativeTime",
|
|
18
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BbRelativeTime, "bbRelativeTime", true>;
|
|
19
19
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BbRadioGroup } from '../radio-group/radio-group.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BbRadioButton<T> {
|
|
4
|
+
private _radioGroup;
|
|
5
|
+
value: T | null;
|
|
6
|
+
hideText: boolean;
|
|
7
|
+
set disabled(value: boolean);
|
|
8
|
+
get disabled(): boolean;
|
|
9
|
+
private _disabled;
|
|
10
|
+
onClick(): void;
|
|
11
|
+
onSpacePressed(): void;
|
|
12
|
+
get selected(): boolean;
|
|
13
|
+
constructor(_radioGroup: BbRadioGroup<T>);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BbRadioButton<any>, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbRadioButton<any>, "bb-radio-button", never, { "value": { "alias": "value"; "required": false; }; "hideText": { "alias": "hideText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
|
+
static ngAcceptInputType_hideText: unknown;
|
|
17
|
+
static ngAcceptInputType_disabled: unknown;
|
|
18
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BbRadioGroup<T> implements ControlValueAccessor {
|
|
5
|
+
private _changeDetectorRef;
|
|
6
|
+
label: string | TemplateRef<any> | null;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
readonly: boolean;
|
|
9
|
+
required: boolean;
|
|
10
|
+
grouped: boolean;
|
|
11
|
+
inline: boolean;
|
|
12
|
+
hideErrors: boolean;
|
|
13
|
+
valueChange: EventEmitter<T>;
|
|
14
|
+
get value(): T;
|
|
15
|
+
set value(value: T);
|
|
16
|
+
private _value;
|
|
17
|
+
onTouchedCallback: () => void;
|
|
18
|
+
onChangeCallback: (_: T | null) => void;
|
|
19
|
+
error: boolean;
|
|
20
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
21
|
+
select(value: any): void;
|
|
22
|
+
registerOnChange(fn: (newValue: T) => void): void;
|
|
23
|
+
registerOnTouched(fn: () => void): void;
|
|
24
|
+
setDisabledState(isDisabled: boolean): void;
|
|
25
|
+
writeValue(newValue: T): void;
|
|
26
|
+
onErrorChange(error: {
|
|
27
|
+
token: string;
|
|
28
|
+
data?: any;
|
|
29
|
+
} | null): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BbRadioGroup<any>, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbRadioGroup<any>, "bb-radio-group", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, ["bb-radio-button"], true, never>;
|
|
32
|
+
static ngAcceptInputType_disabled: unknown;
|
|
33
|
+
static ngAcceptInputType_readonly: unknown;
|
|
34
|
+
static ngAcceptInputType_required: unknown;
|
|
35
|
+
static ngAcceptInputType_grouped: unknown;
|
|
36
|
+
static ngAcceptInputType_inline: unknown;
|
|
37
|
+
static ngAcceptInputType_hideErrors: unknown;
|
|
38
|
+
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { CanDisable, CanDisableConstructor } from '@bravobit/bb-foundation';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
declare class
|
|
4
|
-
}
|
|
5
|
-
declare const BbSpinnerMixinBase: CanDisableConstructor & typeof BbSpinnerBase;
|
|
6
|
-
export declare class BbSpinner extends BbSpinnerMixinBase implements CanDisable {
|
|
2
|
+
export declare class BbSpinner {
|
|
7
3
|
color: string;
|
|
8
4
|
alt: string;
|
|
5
|
+
disabled: boolean;
|
|
9
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbSpinner, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbSpinner, "bb-spinner", never, { "color": { "alias": "color"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["img", "*"],
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbSpinner, "bb-spinner", never, { "color": { "alias": "color"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["img", "*"], true, never>;
|
|
8
|
+
static ngAcceptInputType_disabled: unknown;
|
|
11
9
|
}
|
|
12
|
-
export {};
|
package/elements/public_api.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
export * from './lib/elements.module';
|
|
2
1
|
export * from './lib/directives/form-submit.directive';
|
|
3
2
|
export * from './lib/directives/form-submitter.directive';
|
|
4
3
|
export * from './lib/directives/input.directive';
|
|
5
4
|
export * from './lib/directives/addon.directive';
|
|
5
|
+
export * from './lib/directives/image-upload.directive';
|
|
6
|
+
export * from './lib/directives/extra-error-controls.directive';
|
|
6
7
|
export * from './lib/pipes/file-size.pipe';
|
|
7
8
|
export * from './lib/pipes/file-image.pipe';
|
|
8
9
|
export * from './lib/pipes/relative-time.pipe';
|
|
10
|
+
export * from './lib/pipes/date.pipe';
|
|
9
11
|
export * from './lib/spinner/spinner.component';
|
|
10
12
|
export * from './lib/button/button.component';
|
|
11
13
|
export * from './lib/icon/icon.component';
|
|
@@ -13,10 +15,14 @@ export * from './lib/form-control/form-control.component';
|
|
|
13
15
|
export * from './lib/form-group/form-group.component';
|
|
14
16
|
export * from './lib/form-error/form-error.component';
|
|
15
17
|
export * from './lib/checkbox/checkbox.component';
|
|
16
|
-
export * from './lib/
|
|
18
|
+
export * from './lib/checkbox-group/checkbox-group.component';
|
|
19
|
+
export * from './lib/radio-group/radio-group.component';
|
|
20
|
+
export * from './lib/radio-button/radio-button.component';
|
|
17
21
|
export * from './lib/avatar/avatar.component';
|
|
22
|
+
export * from './lib/multi-file-control/multi-file-control.component';
|
|
18
23
|
export * from './lib/file-picker/file-picker.component';
|
|
19
24
|
export * from './lib/image-picker/image-picker.component';
|
|
20
25
|
export * from './lib/date-picker/date-picker.component';
|
|
21
|
-
export * from './lib/dropdown/dropdown.component';
|
|
22
26
|
export * from './lib/elements.interfaces';
|
|
27
|
+
export * from './lib/elements.config';
|
|
28
|
+
export * from './lib/elements.module';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { APP_INITIALIZER, makeEnvironmentProviders } from '@angular/core';
|
|
2
|
+
import { AUTH_CONFIG } from './interfaces/config.interface';
|
|
3
|
+
import { HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
4
|
+
import { AuthInterceptor } from './auth.interceptor';
|
|
5
|
+
import { Auth } from './auth.service';
|
|
6
|
+
export function provideAuthConfig(config) {
|
|
7
|
+
return makeEnvironmentProviders([
|
|
8
|
+
{ provide: AUTH_CONFIG, useValue: config },
|
|
9
|
+
{ provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true },
|
|
10
|
+
{ useFactory: initializeAuth, provide: APP_INITIALIZER, deps: [Auth], multi: true }
|
|
11
|
+
]);
|
|
12
|
+
}
|
|
13
|
+
export function initializeAuth(auth) {
|
|
14
|
+
return auth.initialize();
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iYi1mb3VuZGF0aW9uL2F1dGgvc3JjL2xpYi9hdXRoLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsZUFBZSxFQUF3Qix3QkFBd0IsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM5RixPQUFPLEVBQUMsV0FBVyxFQUFhLE1BQU0sK0JBQStCLENBQUM7QUFDdEUsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFDdkQsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLG9CQUFvQixDQUFDO0FBQ25ELE9BQU8sRUFBQyxJQUFJLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUVwQyxNQUFNLFVBQVUsaUJBQWlCLENBQUMsTUFBbUI7SUFDakQsT0FBTyx3QkFBd0IsQ0FBQztRQUM1QixFQUFDLE9BQU8sRUFBRSxXQUFXLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBQztRQUN4QyxFQUFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxRQUFRLEVBQUUsZUFBZSxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUM7UUFDcEUsRUFBQyxVQUFVLEVBQUUsY0FBYyxFQUFFLE9BQU8sRUFBRSxlQUFlLEVBQUUsSUFBSSxFQUFFLENBQUMsSUFBSSxDQUFDLEVBQUUsS0FBSyxFQUFFLElBQUksRUFBQztLQUNwRixDQUFDLENBQUM7QUFDUCxDQUFDO0FBRUQsTUFBTSxVQUFVLGNBQWMsQ0FBQyxJQUFVO0lBQ3JDLE9BQU8sSUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFDO0FBQzdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0FQUF9JTklUSUFMSVpFUiwgRW52aXJvbm1lbnRQcm92aWRlcnMsIG1ha2VFbnZpcm9ubWVudFByb3ZpZGVyc30gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0FVVEhfQ09ORklHLCBBdXRoQ29uZmlnfSBmcm9tICcuL2ludGVyZmFjZXMvY29uZmlnLmludGVyZmFjZSc7XG5pbXBvcnQge0hUVFBfSU5URVJDRVBUT1JTfSBmcm9tICdAYW5ndWxhci9jb21tb24vaHR0cCc7XG5pbXBvcnQge0F1dGhJbnRlcmNlcHRvcn0gZnJvbSAnLi9hdXRoLmludGVyY2VwdG9yJztcbmltcG9ydCB7QXV0aH0gZnJvbSAnLi9hdXRoLnNlcnZpY2UnO1xuXG5leHBvcnQgZnVuY3Rpb24gcHJvdmlkZUF1dGhDb25maWcoY29uZmlnPzogQXV0aENvbmZpZyk6IEVudmlyb25tZW50UHJvdmlkZXJzIHtcbiAgICByZXR1cm4gbWFrZUVudmlyb25tZW50UHJvdmlkZXJzKFtcbiAgICAgICAge3Byb3ZpZGU6IEFVVEhfQ09ORklHLCB1c2VWYWx1ZTogY29uZmlnfSxcbiAgICAgICAge3Byb3ZpZGU6IEhUVFBfSU5URVJDRVBUT1JTLCB1c2VDbGFzczogQXV0aEludGVyY2VwdG9yLCBtdWx0aTogdHJ1ZX0sXG4gICAgICAgIHt1c2VGYWN0b3J5OiBpbml0aWFsaXplQXV0aCwgcHJvdmlkZTogQVBQX0lOSVRJQUxJWkVSLCBkZXBzOiBbQXV0aF0sIG11bHRpOiB0cnVlfVxuICAgIF0pO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gaW5pdGlhbGl6ZUF1dGgoYXV0aDogQXV0aCkge1xuICAgIHJldHVybiBhdXRoLmluaXRpYWxpemUoKTtcbn1cbiJdfQ==
|