@bravobit/bb-foundation 0.20.3 → 0.21.2
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/{bravobit-bb-foundation-auth.d.ts → index.d.ts} +0 -0
- package/auth/lib/directives/authenticated.directive.d.ts +1 -1
- package/auth/lib/directives/permission.directive.d.ts +1 -1
- package/auth/lib/directives/role.directive.d.ts +1 -1
- package/collections/{bravobit-bb-foundation-collections.d.ts → index.d.ts} +0 -0
- package/collections/lib/collection.d.ts +6 -7
- package/collections/lib/components/collections-pager/collections-pager.component.d.ts +1 -1
- package/collections/lib/components/collections-viewer/collections-viewer.component.d.ts +1 -1
- package/collections/lib/components/collections.directive.d.ts +4 -4
- package/collections/lib/interfaces/collection.interface.d.ts +1 -0
- package/collections/lib/providers/api-collection.provider.d.ts +7 -8
- package/controls/{bravobit-bb-foundation-controls.d.ts → index.d.ts} +0 -0
- package/controls/lib/checkbox/checkbox/checkbox.component.d.ts +10 -10
- package/controls/lib/checkbox/checkbox-group/checkbox-group.component.d.ts +9 -5
- package/dashboard/{bravobit-bb-foundation-dashboard.d.ts → index.d.ts} +0 -0
- package/dashboard/lib/dashboard/dashboard.component.d.ts +1 -1
- package/dashboard/lib/dashboard-header/dashboard-header.component.d.ts +1 -1
- package/dashboard/lib/dashboard-menu/dashboard-menu.component.d.ts +1 -1
- package/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.d.ts +1 -1
- package/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.d.ts +1 -1
- package/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.d.ts +1 -1
- package/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.d.ts +1 -1
- package/dialog/{bravobit-bb-foundation-dialog.d.ts → index.d.ts} +0 -0
- package/dialog/lib/dialog-actions/dialog-actions.component.d.ts +1 -1
- package/dialog/lib/dialog-confirm/dialog-confirm.component.d.ts +1 -1
- package/dialog/lib/dialog-container/dialog-container.component.d.ts +1 -1
- 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 +1 -1
- package/dialog/lib/dialog.insertion.d.ts +1 -1
- package/elements/{bravobit-bb-foundation-elements.d.ts → index.d.ts} +0 -0
- package/elements/lib/avatar/avatar.component.d.ts +1 -1
- package/elements/lib/button/button.component.d.ts +2 -2
- package/elements/lib/checkbox/checkbox.component.d.ts +1 -1
- package/elements/lib/date-picker/date-picker.component.d.ts +2 -2
- package/elements/lib/directives/addon.directive.d.ts +2 -2
- package/elements/lib/directives/autosize.directive.d.ts +1 -1
- package/elements/lib/directives/focus-trap.directive.d.ts +1 -1
- package/elements/lib/directives/focus.directive.d.ts +1 -1
- package/elements/lib/directives/form-submit.directive.d.ts +1 -1
- package/elements/lib/directives/input.directive.d.ts +2 -2
- package/elements/lib/directives/template.directive.d.ts +1 -1
- package/elements/lib/dropdown/dropdown.component.d.ts +2 -2
- package/elements/lib/file-picker/file-picker.component.d.ts +2 -2
- package/elements/lib/form-control/form-control.component.d.ts +1 -1
- package/elements/lib/form-error/form-error.component.d.ts +1 -1
- package/elements/lib/form-group/form-group.component.d.ts +1 -1
- package/elements/lib/icon/icon.component.d.ts +1 -1
- package/elements/lib/image-picker/image-picker.component.d.ts +1 -1
- 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/spinner/spinner.component.d.ts +1 -1
- package/elements/lib/tag/tag.component.d.ts +1 -1
- package/esm2020/auth/lib/auth.interceptor.mjs +3 -3
- package/esm2020/auth/lib/auth.module.mjs +6 -6
- package/esm2020/auth/lib/auth.service.mjs +5 -5
- package/esm2020/auth/lib/directives/authenticated.directive.mjs +3 -3
- package/esm2020/auth/lib/directives/permission.directive.mjs +3 -3
- package/esm2020/auth/lib/directives/role.directive.mjs +3 -3
- package/esm2020/auth/lib/guards/anonymous.guard.mjs +5 -5
- package/esm2020/auth/lib/guards/authenticated.guard.mjs +3 -3
- package/esm2020/auth/lib/helpers/mapper.helper.mjs +3 -3
- package/esm2020/auth/lib/permissions.service.mjs +3 -3
- package/esm2020/collections/lib/collection.mjs +10 -12
- package/esm2020/collections/lib/collections.module.mjs +5 -5
- package/esm2020/collections/lib/components/collections-pager/collections-pager.component.mjs +3 -3
- package/esm2020/collections/lib/components/collections-viewer/collections-viewer.component.mjs +3 -3
- package/esm2020/collections/lib/components/collections.directive.mjs +12 -12
- package/esm2020/collections/lib/interfaces/collection.interface.mjs +1 -1
- package/esm2020/collections/lib/providers/api-collection.provider.mjs +24 -4
- package/esm2020/controls/lib/checkbox/checkbox/checkbox.component.mjs +6 -6
- package/esm2020/controls/lib/checkbox/checkbox-group/checkbox-group.component.mjs +19 -6
- package/esm2020/controls/lib/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/controls/lib/controls.module.mjs +5 -5
- package/esm2020/dashboard/lib/dashboard/dashboard.component.mjs +3 -3
- package/esm2020/dashboard/lib/dashboard-header/dashboard-header.component.mjs +3 -3
- package/esm2020/dashboard/lib/dashboard-menu/dashboard-menu.component.mjs +3 -3
- package/esm2020/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.mjs +3 -3
- package/esm2020/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.mjs +3 -3
- package/esm2020/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.mjs +5 -5
- package/esm2020/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.mjs +3 -3
- package/esm2020/dashboard/lib/dashboard.module.mjs +5 -5
- package/esm2020/dialog/lib/dialog-actions/dialog-actions.component.mjs +3 -3
- package/esm2020/dialog/lib/dialog-confirm/dialog-confirm.component.mjs +8 -8
- package/esm2020/dialog/lib/dialog-container/dialog-container.component.mjs +4 -4
- package/esm2020/dialog/lib/dialog-header/dialog-header.component.mjs +3 -3
- package/esm2020/dialog/lib/dialog-link/dialog-link.component.mjs +3 -3
- package/esm2020/dialog/lib/dialog-modal/dialog-modal.component.mjs +3 -3
- package/esm2020/dialog/lib/dialog-overlay/dialog-overlay.component.mjs +3 -3
- package/esm2020/dialog/lib/dialog.insertion.mjs +3 -3
- package/esm2020/dialog/lib/dialog.module.mjs +7 -9
- package/esm2020/dialog/lib/dialog.service.mjs +3 -3
- package/esm2020/elements/lib/avatar/avatar.component.mjs +3 -3
- package/esm2020/elements/lib/button/button.component.mjs +6 -6
- package/esm2020/elements/lib/checkbox/checkbox.component.mjs +5 -5
- package/esm2020/elements/lib/date-picker/date-picker.component.mjs +12 -12
- package/esm2020/elements/lib/directives/addon.directive.mjs +6 -6
- package/esm2020/elements/lib/directives/autosize.directive.mjs +3 -3
- package/esm2020/elements/lib/directives/focus-trap.directive.mjs +3 -3
- package/esm2020/elements/lib/directives/focus.directive.mjs +3 -3
- package/esm2020/elements/lib/directives/form-submit.directive.mjs +3 -3
- package/esm2020/elements/lib/directives/input.directive.mjs +6 -6
- package/esm2020/elements/lib/directives/template.directive.mjs +3 -3
- package/esm2020/elements/lib/dropdown/dropdown.component.mjs +7 -7
- package/esm2020/elements/lib/elements.module.mjs +5 -5
- package/esm2020/elements/lib/file-picker/file-picker.component.mjs +10 -10
- package/esm2020/elements/lib/form-control/form-control.component.mjs +6 -6
- package/esm2020/elements/lib/form-error/form-error.component.mjs +3 -3
- package/esm2020/elements/lib/form-group/form-group.component.mjs +3 -3
- package/esm2020/elements/lib/icon/icon.component.mjs +3 -3
- package/esm2020/elements/lib/image-picker/image-picker.component.mjs +5 -5
- package/esm2020/elements/lib/pipes/file-image.pipe.mjs +3 -3
- package/esm2020/elements/lib/pipes/file-size.pipe.mjs +3 -3
- package/esm2020/elements/lib/pipes/relative-time.pipe.mjs +3 -3
- package/esm2020/elements/lib/spinner/spinner.component.mjs +3 -3
- package/esm2020/elements/lib/tag/tag.component.mjs +3 -3
- package/esm2020/http/lib/http.module.mjs +5 -5
- package/esm2020/http/lib/interceptors/base-url.interceptor.mjs +3 -3
- package/esm2020/http/lib/interceptors/error.interceptor.mjs +3 -3
- package/esm2020/lib/core/services/clipboard.service.mjs +3 -3
- package/esm2020/lib/core/services/exif.service.mjs +3 -3
- package/esm2020/lib/core/services/file-loader.service.mjs +3 -3
- package/esm2020/lib/core/services/image-converter.service.mjs +3 -3
- package/esm2020/lib/core/services/languages.service.mjs +3 -3
- package/esm2020/lib/core/services/network.service.mjs +3 -3
- package/esm2020/lib/core/services/patch.service.mjs +3 -3
- package/esm2020/lib/core/services/platform.service.mjs +3 -3
- package/esm2020/localize/lib/localize.module.mjs +5 -5
- package/esm2020/localize/lib/localize.pipe.mjs +3 -3
- package/esm2020/localize/lib/localize.service.mjs +3 -3
- package/esm2020/localize/lib/views/localize-string/localize-string.component.mjs +3 -3
- package/esm2020/localize/lib/views/localize-template-or-string.directive.mjs +3 -3
- package/esm2020/localize/lib/views/localize-template.directive.mjs +3 -3
- package/esm2020/masking/bravobit-bb-foundation-masking.mjs +5 -0
- package/esm2020/masking/lib/input-mask.directive.mjs +110 -0
- package/esm2020/masking/lib/input-mask.interface.mjs +2 -0
- package/esm2020/masking/lib/masking.module.mjs +16 -0
- package/esm2020/masking/lib/masking.service.mjs +94 -0
- package/esm2020/masking/public_api.mjs +5 -0
- package/esm2020/notifications/lib/notifications-item/notifications-item.component.mjs +3 -3
- package/esm2020/notifications/lib/notifications-list/notifications-list.component.mjs +6 -6
- package/esm2020/notifications/lib/notifications.module.mjs +5 -5
- package/esm2020/notifications/lib/notifications.service.mjs +3 -3
- package/esm2020/recaptcha/lib/recaptcha/recaptcha.component.mjs +3 -3
- package/esm2020/recaptcha/lib/recaptcha-loader.service.mjs +3 -3
- package/esm2020/recaptcha/lib/recaptcha.module.mjs +4 -4
- package/esm2020/rxjs/lib/observables/get-control-value.observable.mjs +6 -0
- package/esm2020/rxjs/public_api.mjs +2 -1
- package/esm2020/storage/lib/storage.service.mjs +8 -8
- package/esm2020/table/lib/components/table/table.component.mjs +14 -14
- package/esm2020/table/lib/components/table-cell/table-cell.component.mjs +3 -3
- package/esm2020/table/lib/components/table-header-cell/table-header-cell.component.mjs +4 -4
- package/esm2020/table/lib/components/table-pager/table-pager.component.mjs +6 -6
- package/esm2020/table/lib/table.module.mjs +5 -5
- package/esm2020/theming/bravobit-bb-foundation-theming.mjs +5 -0
- package/esm2020/theming/lib/themes/checkbox-group.theme.mjs +2 -0
- package/esm2020/theming/lib/themes/checkbox.theme.mjs +2 -0
- package/esm2020/theming/lib/themes/theme.mjs +34 -0
- package/esm2020/theming/lib/theming.interface.mjs +3 -0
- package/esm2020/theming/lib/theming.module.mjs +38 -0
- package/esm2020/theming/lib/theming.service.mjs +77 -0
- package/esm2020/theming/public_api.mjs +7 -0
- package/fesm2015/bravobit-bb-foundation-auth.mjs +33 -33
- package/fesm2015/bravobit-bb-foundation-auth.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-collections.mjs +56 -37
- package/fesm2015/bravobit-bb-foundation-collections.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-controls.mjs +31 -18
- package/fesm2015/bravobit-bb-foundation-controls.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-dashboard.mjs +26 -26
- package/fesm2015/bravobit-bb-foundation-dashboard.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-dialog.mjs +34 -36
- package/fesm2015/bravobit-bb-foundation-dialog.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-elements.mjs +143 -143
- package/fesm2015/bravobit-bb-foundation-elements.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-http.mjs +10 -10
- package/fesm2015/bravobit-bb-foundation-http.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-localize.mjs +19 -19
- package/fesm2015/bravobit-bb-foundation-localize.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-masking.mjs +235 -0
- package/fesm2015/bravobit-bb-foundation-masking.mjs.map +1 -0
- package/fesm2015/bravobit-bb-foundation-notifications.mjs +14 -14
- package/fesm2015/bravobit-bb-foundation-notifications.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-recaptcha.mjs +10 -10
- package/fesm2015/bravobit-bb-foundation-rxjs.mjs +7 -3
- package/fesm2015/bravobit-bb-foundation-rxjs.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-storage.mjs +7 -7
- package/fesm2015/bravobit-bb-foundation-storage.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-table.mjs +27 -27
- package/fesm2015/bravobit-bb-foundation-table.mjs.map +1 -1
- package/fesm2015/bravobit-bb-foundation-theming.mjs +164 -0
- package/fesm2015/bravobit-bb-foundation-theming.mjs.map +1 -0
- package/fesm2015/bravobit-bb-foundation.mjs +24 -24
- package/fesm2020/bravobit-bb-foundation-auth.mjs +33 -33
- package/fesm2020/bravobit-bb-foundation-auth.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-collections.mjs +55 -37
- package/fesm2020/bravobit-bb-foundation-collections.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-controls.mjs +31 -18
- package/fesm2020/bravobit-bb-foundation-controls.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-dashboard.mjs +26 -26
- package/fesm2020/bravobit-bb-foundation-dashboard.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-dialog.mjs +34 -36
- package/fesm2020/bravobit-bb-foundation-dialog.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-elements.mjs +143 -143
- package/fesm2020/bravobit-bb-foundation-elements.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-http.mjs +10 -10
- package/fesm2020/bravobit-bb-foundation-http.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-localize.mjs +19 -19
- package/fesm2020/bravobit-bb-foundation-localize.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-masking.mjs +223 -0
- package/fesm2020/bravobit-bb-foundation-masking.mjs.map +1 -0
- package/fesm2020/bravobit-bb-foundation-notifications.mjs +14 -14
- package/fesm2020/bravobit-bb-foundation-notifications.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-recaptcha.mjs +10 -10
- package/fesm2020/bravobit-bb-foundation-rxjs.mjs +7 -3
- package/fesm2020/bravobit-bb-foundation-rxjs.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-storage.mjs +7 -7
- package/fesm2020/bravobit-bb-foundation-storage.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-table.mjs +27 -27
- package/fesm2020/bravobit-bb-foundation-table.mjs.map +1 -1
- package/fesm2020/bravobit-bb-foundation-theming.mjs +154 -0
- package/fesm2020/bravobit-bb-foundation-theming.mjs.map +1 -0
- package/fesm2020/bravobit-bb-foundation.mjs +24 -24
- package/http/{bravobit-bb-foundation-http.d.ts → index.d.ts} +0 -0
- package/{bravobit-bb-foundation.d.ts → index.d.ts} +0 -0
- package/localize/{bravobit-bb-foundation-localize.d.ts → index.d.ts} +0 -0
- package/localize/lib/localize.pipe.d.ts +1 -1
- package/localize/lib/views/localize-string/localize-string.component.d.ts +1 -1
- package/localize/lib/views/localize-template-or-string.directive.d.ts +1 -1
- package/localize/lib/views/localize-template.directive.d.ts +1 -1
- package/masking/index.d.ts +5 -0
- package/masking/lib/input-mask.directive.d.ts +36 -0
- package/masking/lib/input-mask.interface.d.ts +20 -0
- package/masking/lib/masking.module.d.ts +7 -0
- package/masking/lib/masking.service.d.ts +12 -0
- package/masking/public_api.d.ts +4 -0
- package/notifications/{bravobit-bb-foundation-notifications.d.ts → index.d.ts} +0 -0
- 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/package.json +36 -19
- package/recaptcha/{bravobit-bb-foundation-recaptcha.d.ts → index.d.ts} +0 -0
- package/recaptcha/lib/recaptcha/recaptcha.component.d.ts +1 -1
- package/rxjs/{bravobit-bb-foundation-rxjs.d.ts → index.d.ts} +0 -0
- package/rxjs/lib/observables/get-control-value.observable.d.ts +3 -0
- package/rxjs/public_api.d.ts +1 -0
- package/storage/{bravobit-bb-foundation-storage.d.ts → index.d.ts} +0 -0
- package/table/{bravobit-bb-foundation-table.d.ts → index.d.ts} +0 -0
- package/table/lib/components/table/table.component.d.ts +7 -7
- 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 +1 -1
- package/table/lib/components/table-pager/table-pager.component.d.ts +1 -1
- package/theming/index.d.ts +5 -0
- package/theming/lib/themes/checkbox-group.theme.d.ts +5 -0
- package/theming/lib/themes/checkbox.theme.d.ts +19 -0
- package/theming/lib/themes/theme.d.ts +12 -0
- package/theming/lib/theming.interface.d.ts +15 -0
- package/theming/lib/theming.module.d.ts +13 -0
- package/theming/lib/theming.service.d.ts +22 -0
- package/theming/public_api.d.ts +6 -0
- package/auth/package.json +0 -10
- package/collections/package.json +0 -10
- package/controls/package.json +0 -10
- package/dashboard/package.json +0 -10
- package/dialog/package.json +0 -10
- package/elements/package.json +0 -10
- package/http/package.json +0 -10
- package/localize/package.json +0 -10
- package/notifications/package.json +0 -10
- package/recaptcha/package.json +0 -10
- package/rxjs/package.json +0 -10
- package/storage/package.json +0 -10
- package/table/package.json +0 -10
|
@@ -6,5 +6,5 @@ export declare class BbLocalizeTemplateOrString {
|
|
|
6
6
|
set bbLocalizeTemplateOrString(content: string | TemplateRef<any>);
|
|
7
7
|
constructor(_templateRef: TemplateRef<any>, _viewContainerRef: ViewContainerRef);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbLocalizeTemplateOrString, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbLocalizeTemplateOrString, "[bbLocalizeTemplateOrString]", never, { "bbLocalizeTemplateOrString": "bbLocalizeTemplateOrString"; }, {}, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbLocalizeTemplateOrString, "[bbLocalizeTemplateOrString]", never, { "bbLocalizeTemplateOrString": "bbLocalizeTemplateOrString"; }, {}, never, never, false>;
|
|
10
10
|
}
|
|
@@ -5,5 +5,5 @@ export declare class BbLocalizeTemplate {
|
|
|
5
5
|
name: string | null;
|
|
6
6
|
constructor(templateRef: TemplateRef<any>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbLocalizeTemplate, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbLocalizeTemplate, "[bbLocalizeTemplate]", never, { "name": "bbLocalizeTemplate"; }, {}, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbLocalizeTemplate, "[bbLocalizeTemplate]", never, { "name": "bbLocalizeTemplate"; }, {}, never, never, false>;
|
|
9
9
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ElementRef, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, NgControl, Validator } from '@angular/forms';
|
|
3
|
+
import { InputMaskOptions } from './input-mask.interface';
|
|
4
|
+
import { Platform } from '@angular/cdk/platform';
|
|
5
|
+
import type Inputmask from 'inputmask';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BbInputMask<T = any> implements OnInit, OnDestroy, ControlValueAccessor, Validator {
|
|
8
|
+
private _ngZone;
|
|
9
|
+
private _platform;
|
|
10
|
+
private _renderer;
|
|
11
|
+
private _elementRef;
|
|
12
|
+
private _control?;
|
|
13
|
+
set bbInputMask(mask: InputMaskOptions<T> | null | undefined);
|
|
14
|
+
inputMaskPlugin: Inputmask.Instance | null;
|
|
15
|
+
nativeInputElement: HTMLInputElement | null;
|
|
16
|
+
private _inputMaskOptions;
|
|
17
|
+
private _onChange;
|
|
18
|
+
constructor(_ngZone: NgZone, _platform: Platform, _renderer: Renderer2, _elementRef: ElementRef, _control?: NgControl);
|
|
19
|
+
onInput: (value: any) => void;
|
|
20
|
+
onTouched: () => void;
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
writeValue(value: string): void;
|
|
24
|
+
registerOnChange(fn: (value: T | null) => void): void;
|
|
25
|
+
registerOnTouched(fn: () => void): void;
|
|
26
|
+
setDisabledState(isDisabled: boolean): void;
|
|
27
|
+
validate: (control: AbstractControl) => {
|
|
28
|
+
inputMask: boolean;
|
|
29
|
+
};
|
|
30
|
+
private updateMask;
|
|
31
|
+
private createMask;
|
|
32
|
+
private destroyMask;
|
|
33
|
+
static ngAcceptInputType_bbInputMask: InputMaskOptions<any> | null | undefined;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BbInputMask<any>, [null, null, null, null, { optional: true; self: true; }]>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbInputMask<any>, "input[bbInputMask]", never, { "bbInputMask": "bbInputMask"; }, {}, never, never, false>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type Inputmask from 'inputmask';
|
|
2
|
+
export declare type InputMaskOptions<T> = Inputmask.Options & {
|
|
3
|
+
parser?: (value: any) => T;
|
|
4
|
+
};
|
|
5
|
+
export declare type CurrencyMaskOptions = {
|
|
6
|
+
symbol: string;
|
|
7
|
+
symbolFormat: 'wide' | 'narrow';
|
|
8
|
+
spacer: string;
|
|
9
|
+
digits: number;
|
|
10
|
+
digitsOptional: boolean;
|
|
11
|
+
decimalCharacter: string;
|
|
12
|
+
groupCharacter: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const enum DateMaskFormat {
|
|
15
|
+
DayMonthYear = 0,
|
|
16
|
+
MonthDayYear = 1,
|
|
17
|
+
YearMonthDay = 2,
|
|
18
|
+
YearDayMonth = 3
|
|
19
|
+
}
|
|
20
|
+
export declare const createMask: <T>(options: string | InputMaskOptions<T>) => InputMaskOptions<T>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-mask.directive";
|
|
3
|
+
export declare class MaskingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaskingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaskingModule, [typeof i1.BbInputMask], never, [typeof i1.BbInputMask]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MaskingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CurrencyMaskOptions, DateMaskFormat } from './input-mask.interface';
|
|
2
|
+
import { Localize } from '@bravobit/bb-foundation/localize';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class Masking {
|
|
5
|
+
private _localize?;
|
|
6
|
+
constructor(_localize?: Localize);
|
|
7
|
+
date(format?: DateMaskFormat, separator?: string): import("./input-mask.interface").InputMaskOptions<string>;
|
|
8
|
+
currency(code: string, options?: Partial<CurrencyMaskOptions>): import("./input-mask.interface").InputMaskOptions<unknown>;
|
|
9
|
+
private getDateParts;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Masking, [{ optional: true; }]>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Masking>;
|
|
12
|
+
}
|
|
File without changes
|
|
@@ -30,5 +30,5 @@ export declare class BbNotificationsItem implements OnInit, OnDestroy {
|
|
|
30
30
|
private instance;
|
|
31
31
|
private setTimeout;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbNotificationsItem, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsItem, "bb-notifications-item", never, { "notification": "notification"; "dismissButtonText": "dismissButtonText"; }, {}, never, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsItem, "bb-notifications-item", never, { "notification": "notification"; "dismissButtonText": "dismissButtonText"; }, {}, never, never, false>;
|
|
34
34
|
}
|
|
@@ -12,5 +12,5 @@ export declare class BbNotificationsList {
|
|
|
12
12
|
};
|
|
13
13
|
private get location();
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbNotificationsList, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsList, "bb-notifications-list", never, {}, {}, never, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbNotificationsList, "bb-notifications-list", never, {}, {}, never, never, false>;
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bravobit/bb-foundation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.2",
|
|
4
4
|
"description": "The Angular core foundation of the Bravobit team.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Stan van Heumen",
|
|
@@ -8,12 +8,13 @@
|
|
|
8
8
|
"url": "https://bravobit.nl"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@angular/common": "^
|
|
12
|
-
"@angular/core": "^
|
|
13
|
-
"@angular/cdk": "^
|
|
11
|
+
"@angular/common": "^14.0.0",
|
|
12
|
+
"@angular/core": "^14.0.0",
|
|
13
|
+
"@angular/cdk": "^14.0.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"tslib": "^2.4.0",
|
|
17
|
+
"inputmask": "^5.0.7",
|
|
17
18
|
"@types/grecaptcha": "^3.0.4"
|
|
18
19
|
},
|
|
19
20
|
"module": "fesm2015/bravobit-bb-foundation.mjs",
|
|
@@ -21,13 +22,13 @@
|
|
|
21
22
|
"esm2020": "esm2020/bravobit-bb-foundation.mjs",
|
|
22
23
|
"fesm2020": "fesm2020/bravobit-bb-foundation.mjs",
|
|
23
24
|
"fesm2015": "fesm2015/bravobit-bb-foundation.mjs",
|
|
24
|
-
"typings": "
|
|
25
|
+
"typings": "index.d.ts",
|
|
25
26
|
"exports": {
|
|
26
27
|
"./package.json": {
|
|
27
28
|
"default": "./package.json"
|
|
28
29
|
},
|
|
29
30
|
".": {
|
|
30
|
-
"types": "./
|
|
31
|
+
"types": "./index.d.ts",
|
|
31
32
|
"esm2020": "./esm2020/bravobit-bb-foundation.mjs",
|
|
32
33
|
"es2020": "./fesm2020/bravobit-bb-foundation.mjs",
|
|
33
34
|
"es2015": "./fesm2015/bravobit-bb-foundation.mjs",
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
"default": "./fesm2020/bravobit-bb-foundation.mjs"
|
|
36
37
|
},
|
|
37
38
|
"./auth": {
|
|
38
|
-
"types": "./auth/
|
|
39
|
+
"types": "./auth/index.d.ts",
|
|
39
40
|
"esm2020": "./esm2020/auth/bravobit-bb-foundation-auth.mjs",
|
|
40
41
|
"es2020": "./fesm2020/bravobit-bb-foundation-auth.mjs",
|
|
41
42
|
"es2015": "./fesm2015/bravobit-bb-foundation-auth.mjs",
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
"default": "./fesm2020/bravobit-bb-foundation-auth.mjs"
|
|
44
45
|
},
|
|
45
46
|
"./collections": {
|
|
46
|
-
"types": "./collections/
|
|
47
|
+
"types": "./collections/index.d.ts",
|
|
47
48
|
"esm2020": "./esm2020/collections/bravobit-bb-foundation-collections.mjs",
|
|
48
49
|
"es2020": "./fesm2020/bravobit-bb-foundation-collections.mjs",
|
|
49
50
|
"es2015": "./fesm2015/bravobit-bb-foundation-collections.mjs",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"default": "./fesm2020/bravobit-bb-foundation-collections.mjs"
|
|
52
53
|
},
|
|
53
54
|
"./controls": {
|
|
54
|
-
"types": "./controls/
|
|
55
|
+
"types": "./controls/index.d.ts",
|
|
55
56
|
"esm2020": "./esm2020/controls/bravobit-bb-foundation-controls.mjs",
|
|
56
57
|
"es2020": "./fesm2020/bravobit-bb-foundation-controls.mjs",
|
|
57
58
|
"es2015": "./fesm2015/bravobit-bb-foundation-controls.mjs",
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
"default": "./fesm2020/bravobit-bb-foundation-controls.mjs"
|
|
60
61
|
},
|
|
61
62
|
"./dashboard": {
|
|
62
|
-
"types": "./dashboard/
|
|
63
|
+
"types": "./dashboard/index.d.ts",
|
|
63
64
|
"esm2020": "./esm2020/dashboard/bravobit-bb-foundation-dashboard.mjs",
|
|
64
65
|
"es2020": "./fesm2020/bravobit-bb-foundation-dashboard.mjs",
|
|
65
66
|
"es2015": "./fesm2015/bravobit-bb-foundation-dashboard.mjs",
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"default": "./fesm2020/bravobit-bb-foundation-dashboard.mjs"
|
|
68
69
|
},
|
|
69
70
|
"./dialog": {
|
|
70
|
-
"types": "./dialog/
|
|
71
|
+
"types": "./dialog/index.d.ts",
|
|
71
72
|
"esm2020": "./esm2020/dialog/bravobit-bb-foundation-dialog.mjs",
|
|
72
73
|
"es2020": "./fesm2020/bravobit-bb-foundation-dialog.mjs",
|
|
73
74
|
"es2015": "./fesm2015/bravobit-bb-foundation-dialog.mjs",
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
"default": "./fesm2020/bravobit-bb-foundation-dialog.mjs"
|
|
76
77
|
},
|
|
77
78
|
"./elements": {
|
|
78
|
-
"types": "./elements/
|
|
79
|
+
"types": "./elements/index.d.ts",
|
|
79
80
|
"esm2020": "./esm2020/elements/bravobit-bb-foundation-elements.mjs",
|
|
80
81
|
"es2020": "./fesm2020/bravobit-bb-foundation-elements.mjs",
|
|
81
82
|
"es2015": "./fesm2015/bravobit-bb-foundation-elements.mjs",
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
"default": "./fesm2020/bravobit-bb-foundation-elements.mjs"
|
|
84
85
|
},
|
|
85
86
|
"./http": {
|
|
86
|
-
"types": "./http/
|
|
87
|
+
"types": "./http/index.d.ts",
|
|
87
88
|
"esm2020": "./esm2020/http/bravobit-bb-foundation-http.mjs",
|
|
88
89
|
"es2020": "./fesm2020/bravobit-bb-foundation-http.mjs",
|
|
89
90
|
"es2015": "./fesm2015/bravobit-bb-foundation-http.mjs",
|
|
@@ -91,15 +92,23 @@
|
|
|
91
92
|
"default": "./fesm2020/bravobit-bb-foundation-http.mjs"
|
|
92
93
|
},
|
|
93
94
|
"./localize": {
|
|
94
|
-
"types": "./localize/
|
|
95
|
+
"types": "./localize/index.d.ts",
|
|
95
96
|
"esm2020": "./esm2020/localize/bravobit-bb-foundation-localize.mjs",
|
|
96
97
|
"es2020": "./fesm2020/bravobit-bb-foundation-localize.mjs",
|
|
97
98
|
"es2015": "./fesm2015/bravobit-bb-foundation-localize.mjs",
|
|
98
99
|
"node": "./fesm2015/bravobit-bb-foundation-localize.mjs",
|
|
99
100
|
"default": "./fesm2020/bravobit-bb-foundation-localize.mjs"
|
|
100
101
|
},
|
|
102
|
+
"./masking": {
|
|
103
|
+
"types": "./masking/index.d.ts",
|
|
104
|
+
"esm2020": "./esm2020/masking/bravobit-bb-foundation-masking.mjs",
|
|
105
|
+
"es2020": "./fesm2020/bravobit-bb-foundation-masking.mjs",
|
|
106
|
+
"es2015": "./fesm2015/bravobit-bb-foundation-masking.mjs",
|
|
107
|
+
"node": "./fesm2015/bravobit-bb-foundation-masking.mjs",
|
|
108
|
+
"default": "./fesm2020/bravobit-bb-foundation-masking.mjs"
|
|
109
|
+
},
|
|
101
110
|
"./notifications": {
|
|
102
|
-
"types": "./notifications/
|
|
111
|
+
"types": "./notifications/index.d.ts",
|
|
103
112
|
"esm2020": "./esm2020/notifications/bravobit-bb-foundation-notifications.mjs",
|
|
104
113
|
"es2020": "./fesm2020/bravobit-bb-foundation-notifications.mjs",
|
|
105
114
|
"es2015": "./fesm2015/bravobit-bb-foundation-notifications.mjs",
|
|
@@ -107,7 +116,7 @@
|
|
|
107
116
|
"default": "./fesm2020/bravobit-bb-foundation-notifications.mjs"
|
|
108
117
|
},
|
|
109
118
|
"./recaptcha": {
|
|
110
|
-
"types": "./recaptcha/
|
|
119
|
+
"types": "./recaptcha/index.d.ts",
|
|
111
120
|
"esm2020": "./esm2020/recaptcha/bravobit-bb-foundation-recaptcha.mjs",
|
|
112
121
|
"es2020": "./fesm2020/bravobit-bb-foundation-recaptcha.mjs",
|
|
113
122
|
"es2015": "./fesm2015/bravobit-bb-foundation-recaptcha.mjs",
|
|
@@ -115,7 +124,7 @@
|
|
|
115
124
|
"default": "./fesm2020/bravobit-bb-foundation-recaptcha.mjs"
|
|
116
125
|
},
|
|
117
126
|
"./rxjs": {
|
|
118
|
-
"types": "./rxjs/
|
|
127
|
+
"types": "./rxjs/index.d.ts",
|
|
119
128
|
"esm2020": "./esm2020/rxjs/bravobit-bb-foundation-rxjs.mjs",
|
|
120
129
|
"es2020": "./fesm2020/bravobit-bb-foundation-rxjs.mjs",
|
|
121
130
|
"es2015": "./fesm2015/bravobit-bb-foundation-rxjs.mjs",
|
|
@@ -123,7 +132,7 @@
|
|
|
123
132
|
"default": "./fesm2020/bravobit-bb-foundation-rxjs.mjs"
|
|
124
133
|
},
|
|
125
134
|
"./storage": {
|
|
126
|
-
"types": "./storage/
|
|
135
|
+
"types": "./storage/index.d.ts",
|
|
127
136
|
"esm2020": "./esm2020/storage/bravobit-bb-foundation-storage.mjs",
|
|
128
137
|
"es2020": "./fesm2020/bravobit-bb-foundation-storage.mjs",
|
|
129
138
|
"es2015": "./fesm2015/bravobit-bb-foundation-storage.mjs",
|
|
@@ -131,12 +140,20 @@
|
|
|
131
140
|
"default": "./fesm2020/bravobit-bb-foundation-storage.mjs"
|
|
132
141
|
},
|
|
133
142
|
"./table": {
|
|
134
|
-
"types": "./table/
|
|
143
|
+
"types": "./table/index.d.ts",
|
|
135
144
|
"esm2020": "./esm2020/table/bravobit-bb-foundation-table.mjs",
|
|
136
145
|
"es2020": "./fesm2020/bravobit-bb-foundation-table.mjs",
|
|
137
146
|
"es2015": "./fesm2015/bravobit-bb-foundation-table.mjs",
|
|
138
147
|
"node": "./fesm2015/bravobit-bb-foundation-table.mjs",
|
|
139
148
|
"default": "./fesm2020/bravobit-bb-foundation-table.mjs"
|
|
149
|
+
},
|
|
150
|
+
"./theming": {
|
|
151
|
+
"types": "./theming/index.d.ts",
|
|
152
|
+
"esm2020": "./esm2020/theming/bravobit-bb-foundation-theming.mjs",
|
|
153
|
+
"es2020": "./fesm2020/bravobit-bb-foundation-theming.mjs",
|
|
154
|
+
"es2015": "./fesm2015/bravobit-bb-foundation-theming.mjs",
|
|
155
|
+
"node": "./fesm2015/bravobit-bb-foundation-theming.mjs",
|
|
156
|
+
"default": "./fesm2020/bravobit-bb-foundation-theming.mjs"
|
|
140
157
|
}
|
|
141
158
|
},
|
|
142
159
|
"sideEffects": false
|
|
File without changes
|
|
@@ -42,6 +42,6 @@ export declare class RecaptchaComponent extends BbRecaptchaMixinBase implements
|
|
|
42
42
|
private resetCaptchaElement;
|
|
43
43
|
private initializeProperties;
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaComponent, [null, null, null, { optional: true; }]>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "bb-recaptcha", ["bbRecaptcha"], { "grouped": "grouped"; "id": "id"; "siteKey": "siteKey"; "tabIndex": "tabIndex"; "type": "type"; "size": "size"; "theme": "theme"; "badge": "badge"; "errorMode": "errorMode"; }, { "resolved": "resolved"; "error": "error"; }, never, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "bb-recaptcha", ["bbRecaptcha"], { "grouped": "grouped"; "id": "id"; "siteKey": "siteKey"; "tabIndex": "tabIndex"; "type": "type"; "size": "size"; "theme": "theme"; "badge": "badge"; "errorMode": "errorMode"; }, { "resolved": "resolved"; "error": "error"; }, never, never, false>;
|
|
46
46
|
}
|
|
47
47
|
export {};
|
|
File without changes
|
package/rxjs/public_api.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -6,11 +6,11 @@ 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>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbTableColumnDef, "[bbTableColumnDef]", never, {}, {}, never, never, false>;
|
|
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>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BbTableRowDef, "[bbTableRowDef]", never, {}, {}, never, never, false>;
|
|
14
14
|
}
|
|
15
15
|
export declare class BbTable implements OnInit, OnDestroy {
|
|
16
16
|
tableColumnTemplates: QueryList<TemplateRef<any>>;
|
|
@@ -34,15 +34,15 @@ export declare class BbTable implements OnInit, OnDestroy {
|
|
|
34
34
|
}>;
|
|
35
35
|
isLoading$: Observable<boolean>;
|
|
36
36
|
form: FormGroup;
|
|
37
|
-
queryControl: FormControl
|
|
37
|
+
queryControl: FormControl<string>;
|
|
38
38
|
private _headerCount;
|
|
39
39
|
private _subscription;
|
|
40
40
|
ngOnInit(): void;
|
|
41
41
|
ngOnDestroy(): void;
|
|
42
42
|
get headerCount(): number;
|
|
43
|
-
get sortControl(): FormGroup
|
|
44
|
-
get pageNumberControl(): FormControl
|
|
45
|
-
get pageSizeControl(): FormControl
|
|
43
|
+
get sortControl(): FormGroup<any>;
|
|
44
|
+
get pageNumberControl(): FormControl<number>;
|
|
45
|
+
get pageSizeControl(): FormControl<number>;
|
|
46
46
|
refresh(): void;
|
|
47
47
|
setHeaderCount(amount: -1 | 1): void;
|
|
48
48
|
private updateSizes;
|
|
@@ -52,5 +52,5 @@ export declare class BbTable implements OnInit, OnDestroy {
|
|
|
52
52
|
private getQueryChanges;
|
|
53
53
|
private getFormChanges;
|
|
54
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbTable, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbTable, "bb-table", never, { "identifier": "identifier"; "dataSource": "dataSource"; "queryFields": "queryFields"; "sortingStrategy": "sortingStrategy"; "header": "header"; "footer": "footer"; "sizes": "sizes"; }, {}, ["tableRowTemplate", "tableColumnTemplates"], ["bb-table-header-cell", "*"]>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbTable, "bb-table", never, { "identifier": "identifier"; "dataSource": "dataSource"; "queryFields": "queryFields"; "sortingStrategy": "sortingStrategy"; "header": "header"; "footer": "footer"; "sizes": "sizes"; }, {}, ["tableRowTemplate", "tableColumnTemplates"], ["bb-table-header-cell", "*"], false>;
|
|
56
56
|
}
|
|
@@ -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, ["*"], false>;
|
|
5
5
|
}
|
|
@@ -24,6 +24,6 @@ export declare class BbTableHeaderCell extends BbTableHeaderCellMixinBase implem
|
|
|
24
24
|
private handleSingleSortingStrategy;
|
|
25
25
|
private logWarning;
|
|
26
26
|
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": "disabled"; "sort": "sort"; }, {}, never, ["*"]>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbTableHeaderCell, "bb-table-header-cell", never, { "disabled": "disabled"; "sort": "sort"; }, {}, never, ["*"], false>;
|
|
28
28
|
}
|
|
29
29
|
export {};
|
|
@@ -36,6 +36,6 @@ export declare class BbTablePager extends BbTablePagerMixinBase implements OnIni
|
|
|
36
36
|
private calculatePages;
|
|
37
37
|
private filterActivePages;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<BbTablePager, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbTablePager, "bb-table-pager", never, { "disabled": "disabled"; "amountOfButtons": "amountOfButtons"; "showArrowButtons": "showArrowButtons"; "pageNumber": "pageNumber"; "totalPages": "totalPages"; }, {}, never, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BbTablePager, "bb-table-pager", never, { "disabled": "disabled"; "amountOfButtons": "amountOfButtons"; "showArrowButtons": "showArrowButtons"; "pageNumber": "pageNumber"; "totalPages": "totalPages"; }, {}, never, never, false>;
|
|
40
40
|
}
|
|
41
41
|
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface CheckboxTheme {
|
|
2
|
+
accentColor: string;
|
|
3
|
+
disabledColor: string;
|
|
4
|
+
size: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
borderThickness: string;
|
|
7
|
+
borderRadius: string;
|
|
8
|
+
outlineColor: string;
|
|
9
|
+
outlineThickness: string;
|
|
10
|
+
outlineRadius: string;
|
|
11
|
+
checkColor: string;
|
|
12
|
+
checkThickness: string;
|
|
13
|
+
checkSize: string;
|
|
14
|
+
labelColor: string;
|
|
15
|
+
labelFontSize: string;
|
|
16
|
+
labelFontWeight: string;
|
|
17
|
+
labelLineHeight: string;
|
|
18
|
+
labelOffset: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ThemeData } from '../theming.interface';
|
|
2
|
+
export declare class Theme {
|
|
3
|
+
private _name;
|
|
4
|
+
private _data?;
|
|
5
|
+
private _parsed;
|
|
6
|
+
constructor(_name: string, _data?: ThemeData);
|
|
7
|
+
get name(): string;
|
|
8
|
+
get data(): Record<string, string>;
|
|
9
|
+
update(data: ThemeData): this;
|
|
10
|
+
protected parseData(data: object, scope?: string | null): any;
|
|
11
|
+
protected getFormattedToken(key: string, scope?: string | null): string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CheckboxGroupTheme } from './themes/checkbox-group.theme';
|
|
2
|
+
import { CheckboxTheme } from './themes/checkbox.theme';
|
|
3
|
+
import { Theme } from './themes/theme';
|
|
4
|
+
export declare class ThemingOptions {
|
|
5
|
+
themes: Theme[];
|
|
6
|
+
}
|
|
7
|
+
export declare type ThemeDataRecord = Record<string, string> | string;
|
|
8
|
+
export interface ThemeData {
|
|
9
|
+
accentColor?: string;
|
|
10
|
+
checkbox?: Partial<CheckboxTheme>;
|
|
11
|
+
checkboxGroup?: Partial<CheckboxGroupTheme>;
|
|
12
|
+
custom?: {
|
|
13
|
+
[key: string]: ThemeDataRecord;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { ThemingOptions } from './theming.interface';
|
|
3
|
+
import { Theming } from './theming.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ThemingModule {
|
|
6
|
+
private _parent?;
|
|
7
|
+
constructor(_parent?: ThemingModule);
|
|
8
|
+
static forRoot(options: ThemingOptions): ModuleWithProviders<ThemingModule>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemingModule, [{ optional: true; skipSelf: true; }]>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemingModule, never, never, never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThemingModule>;
|
|
12
|
+
}
|
|
13
|
+
export declare function initializeTheme(_: Theming): () => {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { RendererFactory2 } from '@angular/core';
|
|
2
|
+
import { ThemingOptions } from './theming.interface';
|
|
3
|
+
import { Theme } from './themes/theme';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class Theming {
|
|
6
|
+
private _options;
|
|
7
|
+
private _rendererFactory;
|
|
8
|
+
private _document;
|
|
9
|
+
private readonly _attribute;
|
|
10
|
+
private readonly _renderer;
|
|
11
|
+
private _currentTheme;
|
|
12
|
+
constructor(_options: ThemingOptions, _rendererFactory: RendererFactory2, _document: Document);
|
|
13
|
+
get all(): Theme[];
|
|
14
|
+
get current(): Theme;
|
|
15
|
+
set(name: string): void;
|
|
16
|
+
private setCssVariables;
|
|
17
|
+
private getCssVariables;
|
|
18
|
+
private getThemeContents;
|
|
19
|
+
private setFirstTheme;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Theming, [null, null, { optional: true; }]>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Theming>;
|
|
22
|
+
}
|
package/auth/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/bravobit-bb-foundation-auth.mjs",
|
|
3
|
-
"es2020": "../fesm2020/bravobit-bb-foundation-auth.mjs",
|
|
4
|
-
"esm2020": "../esm2020/auth/bravobit-bb-foundation-auth.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/bravobit-bb-foundation-auth.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/bravobit-bb-foundation-auth.mjs",
|
|
7
|
-
"typings": "bravobit-bb-foundation-auth.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@bravobit/bb-foundation/auth"
|
|
10
|
-
}
|
package/collections/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/bravobit-bb-foundation-collections.mjs",
|
|
3
|
-
"es2020": "../fesm2020/bravobit-bb-foundation-collections.mjs",
|
|
4
|
-
"esm2020": "../esm2020/collections/bravobit-bb-foundation-collections.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/bravobit-bb-foundation-collections.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/bravobit-bb-foundation-collections.mjs",
|
|
7
|
-
"typings": "bravobit-bb-foundation-collections.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@bravobit/bb-foundation/collections"
|
|
10
|
-
}
|
package/controls/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/bravobit-bb-foundation-controls.mjs",
|
|
3
|
-
"es2020": "../fesm2020/bravobit-bb-foundation-controls.mjs",
|
|
4
|
-
"esm2020": "../esm2020/controls/bravobit-bb-foundation-controls.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/bravobit-bb-foundation-controls.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/bravobit-bb-foundation-controls.mjs",
|
|
7
|
-
"typings": "bravobit-bb-foundation-controls.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@bravobit/bb-foundation/controls"
|
|
10
|
-
}
|
package/dashboard/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/bravobit-bb-foundation-dashboard.mjs",
|
|
3
|
-
"es2020": "../fesm2020/bravobit-bb-foundation-dashboard.mjs",
|
|
4
|
-
"esm2020": "../esm2020/dashboard/bravobit-bb-foundation-dashboard.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/bravobit-bb-foundation-dashboard.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/bravobit-bb-foundation-dashboard.mjs",
|
|
7
|
-
"typings": "bravobit-bb-foundation-dashboard.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@bravobit/bb-foundation/dashboard"
|
|
10
|
-
}
|
package/dialog/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/bravobit-bb-foundation-dialog.mjs",
|
|
3
|
-
"es2020": "../fesm2020/bravobit-bb-foundation-dialog.mjs",
|
|
4
|
-
"esm2020": "../esm2020/dialog/bravobit-bb-foundation-dialog.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/bravobit-bb-foundation-dialog.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/bravobit-bb-foundation-dialog.mjs",
|
|
7
|
-
"typings": "bravobit-bb-foundation-dialog.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@bravobit/bb-foundation/dialog"
|
|
10
|
-
}
|
package/elements/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/bravobit-bb-foundation-elements.mjs",
|
|
3
|
-
"es2020": "../fesm2020/bravobit-bb-foundation-elements.mjs",
|
|
4
|
-
"esm2020": "../esm2020/elements/bravobit-bb-foundation-elements.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/bravobit-bb-foundation-elements.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/bravobit-bb-foundation-elements.mjs",
|
|
7
|
-
"typings": "bravobit-bb-foundation-elements.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@bravobit/bb-foundation/elements"
|
|
10
|
-
}
|
package/http/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/bravobit-bb-foundation-http.mjs",
|
|
3
|
-
"es2020": "../fesm2020/bravobit-bb-foundation-http.mjs",
|
|
4
|
-
"esm2020": "../esm2020/http/bravobit-bb-foundation-http.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/bravobit-bb-foundation-http.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/bravobit-bb-foundation-http.mjs",
|
|
7
|
-
"typings": "bravobit-bb-foundation-http.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@bravobit/bb-foundation/http"
|
|
10
|
-
}
|
package/localize/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/bravobit-bb-foundation-localize.mjs",
|
|
3
|
-
"es2020": "../fesm2020/bravobit-bb-foundation-localize.mjs",
|
|
4
|
-
"esm2020": "../esm2020/localize/bravobit-bb-foundation-localize.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/bravobit-bb-foundation-localize.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/bravobit-bb-foundation-localize.mjs",
|
|
7
|
-
"typings": "bravobit-bb-foundation-localize.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@bravobit/bb-foundation/localize"
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/bravobit-bb-foundation-notifications.mjs",
|
|
3
|
-
"es2020": "../fesm2020/bravobit-bb-foundation-notifications.mjs",
|
|
4
|
-
"esm2020": "../esm2020/notifications/bravobit-bb-foundation-notifications.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/bravobit-bb-foundation-notifications.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/bravobit-bb-foundation-notifications.mjs",
|
|
7
|
-
"typings": "bravobit-bb-foundation-notifications.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@bravobit/bb-foundation/notifications"
|
|
10
|
-
}
|