@bravobit/bb-foundation 0.33.0 → 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 +1 -1
- 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 +20 -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 +8 -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 +6 -5
- 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 +38 -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 +9 -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/miscellaneous/coercion.mjs +5 -0
- 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 +3 -3
- 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 +3 -3
- 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 +2 -10
- 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/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 +1652 -1378
- 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-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 +27 -144
- 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/miscellaneous/coercion.d.ts +2 -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 +28 -33
- 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 +1 -9
- 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/{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/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/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
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
*, *::before, *::after {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
* {
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:focus {
|
|
11
|
+
outline: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
ol, ul {
|
|
15
|
+
list-style: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
html:focus-within {
|
|
19
|
+
scroll-behavior: smooth;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
a:not([class]) {
|
|
23
|
+
text-decoration-skip-ink: auto;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
table {
|
|
27
|
+
border-spacing: 0;
|
|
28
|
+
border-collapse: collapse;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
img, picture, svg, video, canvas {
|
|
32
|
+
height: auto;
|
|
33
|
+
max-width: 100%;
|
|
34
|
+
font-style: italic;
|
|
35
|
+
vertical-align: middle;
|
|
36
|
+
background-size: cover;
|
|
37
|
+
background-repeat: no-repeat;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
input, button, textarea, select {
|
|
41
|
+
font: inherit;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
button:not(:disabled) {
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
body, html {
|
|
49
|
+
height: 100%;
|
|
50
|
+
scroll-behavior: smooth;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@media (prefers-reduced-motion: reduce) {
|
|
54
|
+
html:focus-within {
|
|
55
|
+
scroll-behavior: auto;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
*, *::before, *::after {
|
|
59
|
+
transition: none;
|
|
60
|
+
scroll-behavior: auto !important;
|
|
61
|
+
animation-duration: 0.01ms !important;
|
|
62
|
+
transition-duration: 0.01ms !important;
|
|
63
|
+
animation-iteration-count: 1 !important;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'colors';
|
|
3
|
+
|
|
4
|
+
@mixin bb-theme($options) {
|
|
5
|
+
$default-options: (
|
|
6
|
+
'primary-color': hsl(212, 80%, 42%),
|
|
7
|
+
'destructive-color': hsl(0, 80%, 42%)
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
$options: map.deep-merge($default-options, $options);
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
@include colors.generate-color-palette(map.get($options, 'primary-color'), 'bb-primary-color');
|
|
14
|
+
@include colors.generate-color-palette(map.get($options, 'destructive-color'), 'bb-destructive-color');
|
|
15
|
+
|
|
16
|
+
// Button.
|
|
17
|
+
--bb-button-color: var(--bb-primary-color-700);
|
|
18
|
+
--bb-button-hover-background-color: var(--bb-primary-color-50);
|
|
19
|
+
--bb-button-focus-border-color: var(--bb-primary-color-700);
|
|
20
|
+
--bb-button-focus-box-shadow: 0 0 0 0.1875rem var(--bb-primary-color-100);
|
|
21
|
+
--bb-button-active-background-color: var(--bb-primary-color-100);
|
|
22
|
+
--bb-button-disabled-opacity: 400;
|
|
23
|
+
|
|
24
|
+
// Button secondary.
|
|
25
|
+
--bb-button-secondary-color: var(--bb-primary-color-700);
|
|
26
|
+
--bb-button-secondary-border-color: var(--bb-primary-color-700);
|
|
27
|
+
--bb-button-secondary-hover-background-color: var(--bb-primary-color-50);
|
|
28
|
+
--bb-button-secondary-focus-box-shadow: 0 0 0 0.1875rem var(--bb-primary-color-100);
|
|
29
|
+
--bb-button-secondary-active-background-color: var(--bb-primary-color-100);
|
|
30
|
+
|
|
31
|
+
// Button primary.
|
|
32
|
+
--bb-button-primary-color: white;
|
|
33
|
+
--bb-button-primary-border-color: var(--bb-primary-color-700);
|
|
34
|
+
--bb-button-primary-background-color: var(--bb-primary-color-550);
|
|
35
|
+
--bb-button-primary-hover-background-color: var(--bb-primary-color-600);
|
|
36
|
+
--bb-button-primary-focus-box-shadow: 0 0 0 0.1875rem var(--bb-primary-color-100);
|
|
37
|
+
--bb-button-primary-active-background-color: var(--bb-primary-color-650);
|
|
38
|
+
|
|
39
|
+
// Button destructive.
|
|
40
|
+
--bb-button-destructive-color: white;
|
|
41
|
+
--bb-button-destructive-border-color: var(--bb-destructive-color-700);
|
|
42
|
+
--bb-button-destructive-background-color: var(--bb-destructive-color-550);
|
|
43
|
+
--bb-button-destructive-hover-background-color: var(--bb-destructive-color-600);
|
|
44
|
+
--bb-button-destructive-focus-box-shadow: 0 0 0 0.1875rem var(--bb-destructive-color-100);
|
|
45
|
+
--bb-button-destructive-active-background-color: var(--bb-destructive-color-650);
|
|
46
|
+
|
|
47
|
+
// General controls.
|
|
48
|
+
--bb-form-label-color: #525252;
|
|
49
|
+
--bb-form-label-font-weight: 400;
|
|
50
|
+
--bb-form-label-font-size: 0.875rem;
|
|
51
|
+
--bb-form-label-required-color: hsla(2, 58%, 48%, 1);
|
|
52
|
+
|
|
53
|
+
// Checkbox.
|
|
54
|
+
--bb-checkbox-border-color: var(--bb-primary-color-550);
|
|
55
|
+
--bb-checkbox-background-color: var(--bb-primary-color-550);
|
|
56
|
+
--bb-checkbox-outline-color: var(--bb-primary-color-100);
|
|
57
|
+
|
|
58
|
+
// Radio button.
|
|
59
|
+
--bb-radio-border-color: var(--bb-primary-color-550);
|
|
60
|
+
--bb-radio-indicator-color: var(--bb-primary-color-550);
|
|
61
|
+
--bb-radio-outline-color: var(--bb-primary-color-100);
|
|
62
|
+
|
|
63
|
+
// Form control
|
|
64
|
+
--bb-form-control-box-shadow: 0 0 0 0.1875rem var(--bb-primary-color-100);
|
|
65
|
+
|
|
66
|
+
// Select
|
|
67
|
+
--select-box-shadow: 0 0 0 0.1875rem var(--bb-primary-color-100);
|
|
68
|
+
|
|
69
|
+
// File picker.
|
|
70
|
+
--bb-file-picker-color: var(--bb-primary-color-550);
|
|
71
|
+
--bb-file-picker-box-shadow: 0 0 0 0.1875rem var(--bb-primary-color-100);
|
|
72
|
+
|
|
73
|
+
// Multi file control.
|
|
74
|
+
--bb-multi-file-control-color: var(--bb-primary-color-550);
|
|
75
|
+
--bb-multi-file-control-box-shadow: 0 0 0 0.1875rem var(--bb-primary-color-100);
|
|
76
|
+
|
|
77
|
+
// Collections pager.
|
|
78
|
+
--bb-collections-pager-color: var(--bb-primary-color-550);
|
|
79
|
+
--bb-collections-pager-border-color: var(--bb-primary-color-700);
|
|
80
|
+
--bb-collections-pager-outline-color: var(--bb-primary-color-550);
|
|
81
|
+
--bb-collections-pager-hover-background-color: var(--bb-primary-color-50);
|
|
82
|
+
--bb-collections-pager-focus-box-shadow: 0 0 0 0.1875rem var(--bb-primary-color-100);
|
|
83
|
+
--bb-collections-pager-active-background-color: var(--bb-primary-color-100);
|
|
84
|
+
|
|
85
|
+
// Collections table label.
|
|
86
|
+
--bb-collections-table-label-color: var(--bb-primary-color-550);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { DataSourcePageResponse } from '../../interfaces/datasource.interface';
|
|
3
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
4
|
import { DataSource, DataSourceRequest } from '../../data/datasource.data';
|
|
4
5
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class BbTableColumnDef {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbTableColumnDef, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbTableColumnDef, "[bbTableColumnDef]", never, {}, {}, never, never,
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbTableColumnDef, "[bbTableColumnDef]", never, {}, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
11
11
|
export declare class BbTableRowDef {
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbTableRowDef, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbTableRowDef, "[bbTableRowDef]", never, {}, {}, never, never,
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbTableRowDef, "[bbTableRowDef]", never, {}, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
15
15
|
export declare class BbTable implements OnInit, OnDestroy {
|
|
16
16
|
tableColumnTemplates: QueryList<TemplateRef<any>>;
|
|
@@ -24,8 +24,6 @@ export declare class BbTable implements OnInit, OnDestroy {
|
|
|
24
24
|
private _sizes;
|
|
25
25
|
get sizes(): number[];
|
|
26
26
|
set sizes(newValue: number[]);
|
|
27
|
-
trackByFn: (index: any, item: any) => any;
|
|
28
|
-
trackByValue: (_: any, item: any) => any;
|
|
29
27
|
request: DataSourceRequest;
|
|
30
28
|
data$: Observable<{
|
|
31
29
|
state: string;
|
|
@@ -52,5 +50,5 @@ export declare class BbTable implements OnInit, OnDestroy {
|
|
|
52
50
|
private getQueryChanges;
|
|
53
51
|
private getFormChanges;
|
|
54
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbTable, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbTable, "bb-table", never, { "identifier": { "alias": "identifier"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "queryFields": { "alias": "queryFields"; "required": false; }; "sortingStrategy": { "alias": "sortingStrategy"; "required": false; }; "header": { "alias": "header"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; }, {}, ["tableRowTemplate", "tableColumnTemplates"], ["bb-table-header-cell", "*"],
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbTable, "bb-table", never, { "identifier": { "alias": "identifier"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "queryFields": { "alias": "queryFields"; "required": false; }; "sortingStrategy": { "alias": "sortingStrategy"; "required": false; }; "header": { "alias": "header"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; }, {}, ["tableRowTemplate", "tableColumnTemplates"], ["bb-table-header-cell", "*"], true, never>;
|
|
56
54
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class BbTableCell {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbTableCell, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbTableCell, "bb-table-cell", never, {}, {}, never, ["*"],
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbTableCell, "bb-table-cell", never, {}, {}, never, ["*"], true, never>;
|
|
5
5
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CanDisable, CanDisableConstructor } from '@bravobit/bb-foundation';
|
|
3
2
|
import { TableColumnSortStrategy } from '../../interfaces/table.interfaces';
|
|
4
3
|
import { BbTable } from '../table/table.component';
|
|
5
4
|
import { Observable } from 'rxjs';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
|
-
declare class
|
|
8
|
-
}
|
|
9
|
-
declare const BbTableHeaderCellMixinBase: CanDisableConstructor & typeof BbTableHeaderCellBase;
|
|
10
|
-
export declare class BbTableHeaderCell extends BbTableHeaderCellMixinBase implements OnInit, OnDestroy, CanDisable {
|
|
6
|
+
export declare class BbTableHeaderCell implements OnInit, OnDestroy {
|
|
11
7
|
private _table?;
|
|
12
8
|
private _name?;
|
|
13
9
|
private readonly _sortDirections;
|
|
14
10
|
private readonly _control;
|
|
11
|
+
disabled: boolean;
|
|
15
12
|
valueChanges$: Observable<string>;
|
|
16
13
|
set sort(value: TableColumnSortStrategy);
|
|
17
14
|
get sort(): TableColumnSortStrategy;
|
|
@@ -24,6 +21,6 @@ export declare class BbTableHeaderCell extends BbTableHeaderCellMixinBase implem
|
|
|
24
21
|
private handleSingleSortingStrategy;
|
|
25
22
|
private logWarning;
|
|
26
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbTableHeaderCell, [{ optional: true; host: true; }, { attribute: "name"; optional: true; }]>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbTableHeaderCell, "bb-table-header-cell", never, { "disabled": { "alias": "disabled"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; }, {}, never, ["*"],
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbTableHeaderCell, "bb-table-header-cell", never, { "disabled": { "alias": "disabled"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
25
|
+
static ngAcceptInputType_disabled: unknown;
|
|
28
26
|
}
|
|
29
|
-
export {};
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { CanDisableConstructor } from '@bravobit/bb-foundation';
|
|
3
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
3
|
import { Observable } from 'rxjs';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
declare class
|
|
7
|
-
}
|
|
8
|
-
declare const BbTablePagerMixinBase: CanDisableConstructor & typeof BbTablePagerBase;
|
|
9
|
-
export declare class BbTablePager extends BbTablePagerMixinBase implements OnInit, ControlValueAccessor {
|
|
5
|
+
export declare class BbTablePager implements OnInit, ControlValueAccessor {
|
|
10
6
|
amountOfButtons: number;
|
|
11
7
|
showArrowButtons: boolean;
|
|
8
|
+
disabled: boolean;
|
|
12
9
|
isPreviousDisabled$: Observable<boolean>;
|
|
13
10
|
isNextDisabled$: Observable<boolean>;
|
|
14
11
|
list$: Observable<{
|
|
@@ -17,7 +14,6 @@ export declare class BbTablePager extends BbTablePagerMixinBase implements OnIni
|
|
|
17
14
|
}[]>;
|
|
18
15
|
onChange: (newValue: number) => void;
|
|
19
16
|
onTouched: () => void;
|
|
20
|
-
trackByIndex: (_: any, item: any) => any;
|
|
21
17
|
private _totalPages$;
|
|
22
18
|
private _pageNumber$;
|
|
23
19
|
ngOnInit(): void;
|
|
@@ -36,6 +32,6 @@ export declare class BbTablePager extends BbTablePagerMixinBase implements OnIni
|
|
|
36
32
|
private calculatePages;
|
|
37
33
|
private filterActivePages;
|
|
38
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbTablePager, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbTablePager, "bb-table-pager", never, { "
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbTablePager, "bb-table-pager", never, { "amountOfButtons": { "alias": "amountOfButtons"; "required": false; }; "showArrowButtons": { "alias": "showArrowButtons"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pageNumber": { "alias": "pageNumber"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
+
static ngAcceptInputType_disabled: unknown;
|
|
40
37
|
}
|
|
41
|
-
export {};
|
|
@@ -3,12 +3,8 @@ import * as i1 from "./components/table/table.component";
|
|
|
3
3
|
import * as i2 from "./components/table-header-cell/table-header-cell.component";
|
|
4
4
|
import * as i3 from "./components/table-cell/table-cell.component";
|
|
5
5
|
import * as i4 from "./components/table-pager/table-pager.component";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "@angular/forms";
|
|
8
|
-
import * as i7 from "@bravobit/bb-foundation/elements";
|
|
9
|
-
import * as i8 from "@bravobit/bb-foundation/localize";
|
|
10
6
|
export declare class TableModule {
|
|
11
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.BbTable, typeof i1.BbTableColumnDef, typeof i1.BbTableRowDef, typeof i2.BbTableHeaderCell, typeof i3.BbTableCell, typeof i4.BbTablePager], [typeof
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, never, [typeof i1.BbTable, typeof i1.BbTableColumnDef, typeof i1.BbTableRowDef, typeof i2.BbTableHeaderCell, typeof i3.BbTableCell, typeof i4.BbTablePager], [typeof i1.BbTable, typeof i1.BbTableColumnDef, typeof i1.BbTableRowDef, typeof i2.BbTableHeaderCell, typeof i3.BbTableCell, typeof i4.BbTablePager]>;
|
|
13
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
|
|
14
10
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { TooltipData } from '../tooltip.interfaces';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TooltipContainerComponent {
|
|
4
|
-
data: TooltipData;
|
|
5
|
-
classes: string;
|
|
6
|
-
constructor(data: TooltipData, classes: string);
|
|
4
|
+
readonly data: TooltipData;
|
|
5
|
+
readonly classes: string;
|
|
7
6
|
get classBinding(): string;
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipContainerComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipContainerComponent, "bb-tooltip-container", never, {}, {}, never, never,
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipContainerComponent, "bb-tooltip-container", never, {}, {}, never, never, true, never>;
|
|
10
9
|
}
|
|
@@ -1,32 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ConnectedPosition
|
|
3
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
1
|
+
import { OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class TooltipDirective implements OnDestroy {
|
|
6
|
-
private _overlay;
|
|
7
|
-
private _viewContainer;
|
|
8
|
-
private _elementRef;
|
|
9
|
-
private _changeDetectorRef;
|
|
5
|
+
private readonly _overlay;
|
|
6
|
+
private readonly _viewContainer;
|
|
7
|
+
private readonly _elementRef;
|
|
10
8
|
bbTooltip: string | TemplateRef<void>;
|
|
11
9
|
bbTooltipClass: string | null;
|
|
12
10
|
bbTooltipOrigin: HTMLElement | null;
|
|
13
11
|
bbTooltipPositions: ConnectedPosition[];
|
|
14
|
-
|
|
15
|
-
set bbTooltipDisabled(value: BooleanInput);
|
|
16
|
-
private _bbTooltipDisabled;
|
|
12
|
+
bbTooltipDisabled: boolean;
|
|
17
13
|
private _overlayRef;
|
|
18
|
-
constructor(_overlay: Overlay, _viewContainer: ViewContainerRef, _elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef);
|
|
19
14
|
showTooltip(): void;
|
|
20
15
|
hideTooltip(): void;
|
|
21
16
|
ngOnDestroy(): void;
|
|
22
17
|
private attachTooltip;
|
|
23
18
|
private getPositionStrategy;
|
|
24
19
|
private getPositions;
|
|
25
|
-
static ngAcceptInputType_bbTooltip: string | TemplateRef<void>;
|
|
26
|
-
static ngAcceptInputType_bbTooltipClass: string | null;
|
|
27
|
-
static ngAcceptInputType_bbTooltipOrigin: HTMLElement | null;
|
|
28
|
-
static ngAcceptInputType_bbTooltipDisabled: BooleanInput;
|
|
29
|
-
static ngAcceptInputType_bbTooltipPositions: ConnectedPosition[];
|
|
30
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[bbTooltip]", never, { "bbTooltip": { "alias": "bbTooltip"; "required": false; }; "bbTooltipClass": { "alias": "bbTooltipClass"; "required": false; }; "bbTooltipOrigin": { "alias": "bbTooltipOrigin"; "required": false; }; "bbTooltipPositions": { "alias": "bbTooltipPositions"; "required": false; }; "bbTooltipDisabled": { "alias": "bbTooltipDisabled"; "required": false; }; }, {}, never, never,
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[bbTooltip]", never, { "bbTooltip": { "alias": "bbTooltip"; "required": false; }; "bbTooltipClass": { "alias": "bbTooltipClass"; "required": false; }; "bbTooltipOrigin": { "alias": "bbTooltipOrigin"; "required": false; }; "bbTooltipPositions": { "alias": "bbTooltipPositions"; "required": false; }; "bbTooltipDisabled": { "alias": "bbTooltipDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
+
static ngAcceptInputType_bbTooltipDisabled: unknown;
|
|
32
23
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./tooltip
|
|
3
|
-
import * as i2 from "./tooltip.directive";
|
|
4
|
-
import * as i3 from "@bravobit/bb-foundation/utils";
|
|
5
|
-
import * as i4 from "@angular/cdk/overlay";
|
|
2
|
+
import * as i1 from "./tooltip.directive";
|
|
6
3
|
export declare class TooltipModule {
|
|
7
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, [typeof i1.
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, never, [typeof i1.TooltipDirective], [typeof i1.TooltipDirective]>;
|
|
9
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
|
|
10
7
|
}
|
package/tooltip/public_api.d.ts
CHANGED
|
@@ -14,5 +14,6 @@ export declare class BbAutosize implements AfterViewInit {
|
|
|
14
14
|
private updateStyles;
|
|
15
15
|
private setHeight;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbAutosize, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbAutosize, "textarea[bbAutosize]", never, { "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; }, {}, never, never,
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbAutosize, "textarea[bbAutosize]", never, { "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
static ngAcceptInputType_rows: unknown;
|
|
18
19
|
}
|
|
@@ -13,5 +13,5 @@ export declare class BbFocusTrap {
|
|
|
13
13
|
private focus;
|
|
14
14
|
private isTabEvent;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbFocusTrap, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbFocusTrap, "[bbFocusTrap]", never, {}, {}, never, never,
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbFocusTrap, "[bbFocusTrap]", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -8,5 +8,5 @@ export declare class BbFocus implements AfterViewInit {
|
|
|
8
8
|
ngAfterViewInit(): void;
|
|
9
9
|
private focus;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbFocus, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbFocus, "[bbFocus]", never, {}, {}, never, never,
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbFocus, "[bbFocus]", never, {}, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -7,5 +7,5 @@ export declare class BbTemplate {
|
|
|
7
7
|
constructor(_templateRef: TemplateRef<any>, _viewContainerRef: ViewContainerRef);
|
|
8
8
|
static ngAcceptInputType_bbTemplate: string | TemplateRef<any>;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbTemplate, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbTemplate, "[bbTemplate]", never, { "bbTemplate": { "alias": "bbTemplate"; "required": false; }; }, {}, never, never,
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbTemplate, "[bbTemplate]", never, { "bbTemplate": { "alias": "bbTemplate"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -5,6 +5,6 @@ import * as i3 from "./directives/focus.directive";
|
|
|
5
5
|
import * as i4 from "./directives/focus-trap.directive";
|
|
6
6
|
export declare class UtilsModule {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UtilsModule, [typeof i1.BbTemplate, typeof i2.BbAutosize, typeof i3.BbFocus, typeof i4.BbFocusTrap],
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UtilsModule, never, [typeof i1.BbTemplate, typeof i2.BbAutosize, typeof i3.BbFocus, typeof i4.BbFocusTrap], [typeof i1.BbTemplate, typeof i2.BbAutosize, typeof i3.BbFocus, typeof i4.BbFocusTrap]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<UtilsModule>;
|
|
10
10
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EmbeddedViewRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
export declare abstract class AbstractAuthDirective {
|
|
3
|
-
protected templateRef: TemplateRef<any>;
|
|
4
|
-
protected viewContainerRef: ViewContainerRef;
|
|
5
|
-
protected valid: boolean;
|
|
6
|
-
protected elseTemplateRef: TemplateRef<any> | null;
|
|
7
|
-
protected thenViewRef: EmbeddedViewRef<any> | null;
|
|
8
|
-
protected elseViewRef: EmbeddedViewRef<any> | null;
|
|
9
|
-
protected constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
10
|
-
protected updateView(): void;
|
|
11
|
-
protected assertTemplate(property: string, templateRef: TemplateRef<any> | null): void;
|
|
12
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BbCollectionsData<T> {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsData<any>, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbCollectionsData<any>, "[bbCollectionsData]", never, {}, {}, never, never, false, never>;
|
|
5
|
-
}
|
|
6
|
-
export declare class BbCollectionsEmpty {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsEmpty, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbCollectionsEmpty, "[bbCollectionsEmpty]", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
10
|
-
export declare class BbCollectionsError {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsError, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbCollectionsError, "[bbCollectionsError]", never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
14
|
-
export declare class BbCollectionsInitial {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbCollectionsInitial, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbCollectionsInitial, "[bbCollectionsInitial]", never, {}, {}, never, never, false, never>;
|
|
17
|
-
}
|
package/controls/index.d.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BbiCheckbox implements ControlValueAccessor, AfterViewInit {
|
|
6
|
-
private _renderer;
|
|
7
|
-
private _changeDetectorRef;
|
|
8
|
-
readonly labelId: string;
|
|
9
|
-
inputElementRef: ElementRef<HTMLInputElement>;
|
|
10
|
-
checkedChange: EventEmitter<boolean>;
|
|
11
|
-
indeterminateChange: EventEmitter<boolean>;
|
|
12
|
-
get checked(): boolean;
|
|
13
|
-
set checked(value: BooleanInput);
|
|
14
|
-
private _checked;
|
|
15
|
-
get disabled(): boolean;
|
|
16
|
-
set disabled(value: BooleanInput);
|
|
17
|
-
private _disabled;
|
|
18
|
-
get grouped(): boolean;
|
|
19
|
-
set grouped(value: BooleanInput);
|
|
20
|
-
private _grouped;
|
|
21
|
-
get indeterminate(): boolean;
|
|
22
|
-
set indeterminate(value: BooleanInput);
|
|
23
|
-
private _indeterminate;
|
|
24
|
-
get required(): boolean;
|
|
25
|
-
set required(value: BooleanInput);
|
|
26
|
-
private _required;
|
|
27
|
-
get hideText(): boolean;
|
|
28
|
-
set hideText(value: BooleanInput);
|
|
29
|
-
private _hideText;
|
|
30
|
-
onChange: (newValue: boolean) => void;
|
|
31
|
-
onTouched: () => void;
|
|
32
|
-
constructor(_renderer: Renderer2, _changeDetectorRef: ChangeDetectorRef);
|
|
33
|
-
ngAfterViewInit(): void;
|
|
34
|
-
registerOnChange(fn: (newValue: boolean) => void): void;
|
|
35
|
-
registerOnTouched(fn: () => void): void;
|
|
36
|
-
setDisabledState(isDisabled: boolean): void;
|
|
37
|
-
writeValue(newValue: boolean): void;
|
|
38
|
-
toggle(): void;
|
|
39
|
-
onClickEvent(event: Event): void;
|
|
40
|
-
onChangeEvent(event: Event): void;
|
|
41
|
-
private emitChangeEvent;
|
|
42
|
-
private syncField;
|
|
43
|
-
static ngAcceptInputType_checked: BooleanInput;
|
|
44
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
45
|
-
static ngAcceptInputType_required: BooleanInput;
|
|
46
|
-
static ngAcceptInputType_grouped: BooleanInput;
|
|
47
|
-
static ngAcceptInputType_indeterminate: BooleanInput;
|
|
48
|
-
static ngAcceptInputType_hideText: BooleanInput;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbiCheckbox, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbiCheckbox, "bbi-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hideText": { "alias": "hideText"; "required": false; }; }, { "checkedChange": "checkedChange"; "indeterminateChange": "indeterminateChange"; }, never, ["*"], false, never>;
|
|
51
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, TemplateRef } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BbiCheckboxGroup {
|
|
5
|
-
private _changeDetectorRef;
|
|
6
|
-
label: string | TemplateRef<any> | null;
|
|
7
|
-
get grouped(): boolean;
|
|
8
|
-
set grouped(value: BooleanInput);
|
|
9
|
-
private _grouped;
|
|
10
|
-
get required(): boolean;
|
|
11
|
-
set required(value: BooleanInput);
|
|
12
|
-
private _required;
|
|
13
|
-
get inline(): boolean;
|
|
14
|
-
set inline(value: BooleanInput);
|
|
15
|
-
private _inline;
|
|
16
|
-
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
17
|
-
static ngAcceptInputType_label: string | TemplateRef<any> | null | undefined;
|
|
18
|
-
static ngAcceptInputType_grouped: BooleanInput;
|
|
19
|
-
static ngAcceptInputType_required: BooleanInput;
|
|
20
|
-
static ngAcceptInputType_inline: BooleanInput;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbiCheckboxGroup, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbiCheckboxGroup, "bbi-checkbox-group", never, { "label": { "alias": "label"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; }, {}, never, ["bbi-checkbox"], false, never>;
|
|
23
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./checkbox/checkbox.component";
|
|
3
|
-
import * as i2 from "./checkbox-group/checkbox-group.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@bravobit/bb-foundation/utils";
|
|
6
|
-
export declare class CheckboxModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxModule, [typeof i1.BbiCheckbox, typeof i2.BbiCheckboxGroup], [typeof i3.CommonModule, typeof i4.UtilsModule], [typeof i1.BbiCheckbox, typeof i2.BbiCheckboxGroup]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxModule>;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const controlErrorAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ControlError } from '../control-error.interface';
|
|
2
|
-
import { Localize } from '@bravobit/bb-foundation/localize';
|
|
3
|
-
import { ValidationErrors } from '@angular/forms';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BbiControlError {
|
|
6
|
-
private _localize?;
|
|
7
|
-
private _functions?;
|
|
8
|
-
readonly errorFunctions: ControlError;
|
|
9
|
-
animation: boolean;
|
|
10
|
-
set errors(errors: ValidationErrors | null);
|
|
11
|
-
error: string | null;
|
|
12
|
-
constructor(_localize?: Localize, _functions?: ControlError[]);
|
|
13
|
-
private parseError;
|
|
14
|
-
private getErrorSentence;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbiControlError, [{ optional: true; }, { optional: true; }]>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbiControlError, "bbi-control-error", never, { "errors": { "alias": "errors"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BbiControlErrorSubmit implements OnInit {
|
|
4
|
-
private _elementRef;
|
|
5
|
-
private _submitted$;
|
|
6
|
-
private _subscription;
|
|
7
|
-
constructor(_elementRef: ElementRef<HTMLFormElement>);
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
get submitted(): boolean;
|
|
10
|
-
submit(): void;
|
|
11
|
-
reset(): void;
|
|
12
|
-
private handleNativeForm;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbiControlErrorSubmit, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbiControlErrorSubmit, "form", ["bbiControlErrorSubmit"], {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export type ControlErrorData = {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
};
|
|
5
|
-
export type ControlError = {
|
|
6
|
-
[name: string]: (data: ControlErrorData) => string | {
|
|
7
|
-
token: string;
|
|
8
|
-
data: object;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const BBI_CONTROL_ERRORS: InjectionToken<ControlError[]>;
|
|
12
|
-
export type ControlErrorMode = 'blur' | 'changes' | 'hidden';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./control-error/control-error.component";
|
|
3
|
-
import * as i2 from "./control-error-submit.directive";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
export declare class ControlErrorModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ControlErrorModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ControlErrorModule, [typeof i1.BbiControlError, typeof i2.BbiControlErrorSubmit], [typeof i3.CommonModule], [typeof i1.BbiControlError, typeof i2.BbiControlErrorSubmit]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ControlErrorModule>;
|
|
9
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { ControlsConfig } from './controls.interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./form-control/form-control.module";
|
|
5
|
-
import * as i2 from "./checkbox/checkbox.module";
|
|
6
|
-
import * as i3 from "./radio/radio.module";
|
|
7
|
-
import * as i4 from "./toggle/toggle.module";
|
|
8
|
-
import * as i5 from "./control-error/control-error.module";
|
|
9
|
-
export declare class ControlsModule {
|
|
10
|
-
static forRoot(config?: ControlsConfig): ModuleWithProviders<ControlsModule>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ControlsModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ControlsModule, never, [typeof i1.FormControlModule, typeof i2.CheckboxModule, typeof i3.RadioModule, typeof i4.ToggleModule, typeof i5.ControlErrorModule], [typeof i1.FormControlModule, typeof i2.CheckboxModule, typeof i3.RadioModule, typeof i4.ToggleModule, typeof i5.ControlErrorModule]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ControlsModule>;
|
|
14
|
-
}
|