@bravobit/bb-foundation 0.54.4 → 0.55.1
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/index.d.ts +267 -5
- package/collections/index.d.ts +350 -5
- package/combobox/index.d.ts +58 -5
- package/dashboard/index.d.ts +104 -5
- package/dialog/index.d.ts +168 -5
- package/elements/index.d.ts +838 -5
- package/fesm2022/bravobit-bb-foundation-auth.mjs +22 -22
- package/fesm2022/bravobit-bb-foundation-auth.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-collections.mjs +44 -44
- package/fesm2022/bravobit-bb-foundation-collections.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-combobox.mjs +15 -15
- package/fesm2022/bravobit-bb-foundation-combobox.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-dashboard.mjs +25 -25
- package/fesm2022/bravobit-bb-foundation-dashboard.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-dialog.mjs +33 -33
- package/fesm2022/bravobit-bb-foundation-dialog.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-elements.mjs +105 -105
- package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-http.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-http.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-localize.mjs +18 -18
- package/fesm2022/bravobit-bb-foundation-localize.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-masking.mjs +16 -16
- package/fesm2022/bravobit-bb-foundation-masking.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-notifications.mjs +15 -15
- package/fesm2022/bravobit-bb-foundation-notifications.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-permissions.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-permissions.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-recaptcha.mjs +11 -12
- package/fesm2022/bravobit-bb-foundation-recaptcha.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-select.mjs +21 -21
- package/fesm2022/bravobit-bb-foundation-select.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-storage.mjs +3 -3
- package/fesm2022/bravobit-bb-foundation-storage.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-table.mjs +22 -22
- package/fesm2022/bravobit-bb-foundation-table.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-tooltip.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-tooltip.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-utils.mjs +16 -16
- package/fesm2022/bravobit-bb-foundation-utils.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation.mjs +25 -25
- package/fesm2022/bravobit-bb-foundation.mjs.map +1 -1
- package/http/index.d.ts +78 -5
- package/index.d.ts +215 -5
- package/localize/index.d.ts +546 -5
- package/masking/index.d.ts +104 -5
- package/notifications/index.d.ts +78 -5
- package/package.json +26 -26
- package/permissions/index.d.ts +89 -5
- package/recaptcha/index.d.ts +92 -5
- package/rxjs/index.d.ts +19 -5
- package/select/index.d.ts +129 -5
- package/storage/index.d.ts +109 -5
- package/table/index.d.ts +197 -5
- package/tooltip/index.d.ts +45 -5
- package/utils/index.d.ts +66 -5
- package/auth/lib/acting.interceptor.d.ts +0 -9
- package/auth/lib/acting.service.d.ts +0 -17
- package/auth/lib/auth.config.d.ts +0 -3
- package/auth/lib/auth.interceptor.d.ts +0 -20
- package/auth/lib/auth.module.d.ts +0 -10
- package/auth/lib/auth.service.d.ts +0 -51
- package/auth/lib/auth.session.d.ts +0 -50
- package/auth/lib/directives/anonymous.directive.d.ts +0 -20
- package/auth/lib/directives/authenticated.directive.d.ts +0 -20
- package/auth/lib/guards/anonymous.guard.d.ts +0 -2
- package/auth/lib/guards/authenticated.guard.d.ts +0 -2
- package/auth/lib/helpers/jwt.helper.d.ts +0 -8
- package/auth/lib/interfaces/config.interface.d.ts +0 -27
- package/auth/lib/interfaces/provider.interface.d.ts +0 -23
- package/auth/lib/interfaces/token.interface.d.ts +0 -11
- package/auth/lib/providers/email.provider.d.ts +0 -9
- package/auth/lib/providers/verify.provider.d.ts +0 -9
- package/auth/lib/tokens/use-authorization.token.d.ts +0 -2
- package/auth/public_api.d.ts +0 -17
- package/collections/lib/classes/array.collection.d.ts +0 -17
- package/collections/lib/collection.d.ts +0 -40
- package/collections/lib/collections.config.d.ts +0 -3
- package/collections/lib/collections.interfaces.d.ts +0 -10
- package/collections/lib/collections.module.d.ts +0 -19
- package/collections/lib/components/collections-actions/collections-actions.component.d.ts +0 -13
- package/collections/lib/components/collections-grid/collections-grid.component.d.ts +0 -18
- package/collections/lib/components/collections-pager/collections-pager.component.d.ts +0 -38
- package/collections/lib/components/collections-table/collections-table.component.d.ts +0 -26
- package/collections/lib/components/collections-table-label/collections-table-label.component.d.ts +0 -11
- package/collections/lib/components/collections-table-sorting/collections-table-sorting.component.d.ts +0 -18
- package/collections/lib/components/collections-viewer/collections-viewer.component.d.ts +0 -16
- package/collections/lib/directives/collections-data-row.directive.d.ts +0 -14
- package/collections/lib/directives/collections-data.directive.d.ts +0 -14
- package/collections/lib/directives/collections-empty.directive.d.ts +0 -14
- package/collections/lib/directives/collections-error.directive.d.ts +0 -14
- package/collections/lib/directives/collections-initial.directive.d.ts +0 -11
- package/collections/lib/directives/collections-item.directive.d.ts +0 -14
- package/collections/lib/interfaces/array-collection.interface.d.ts +0 -6
- package/collections/lib/interfaces/collection.interface.d.ts +0 -32
- package/collections/lib/providers/api-collection.provider.d.ts +0 -19
- package/collections/lib/providers/collection.provider.d.ts +0 -9
- package/collections/lib/providers/local-collection.provider.d.ts +0 -16
- package/collections/public_api.d.ts +0 -23
- package/combobox/combobox/combobox-container.directive.d.ts +0 -28
- package/combobox/combobox/combobox.component.d.ts +0 -37
- package/combobox/combobox-label.directive.d.ts +0 -5
- package/combobox/combobox-option.directive.d.ts +0 -7
- package/combobox/combobox-panel/combobox-panel.animation.d.ts +0 -1
- package/combobox/combobox-panel/combobox-panel.component.d.ts +0 -18
- package/combobox/combobox.interface.d.ts +0 -8
- package/combobox/public_api.d.ts +0 -3
- package/dashboard/lib/dashboard/dashboard.component.d.ts +0 -17
- package/dashboard/lib/dashboard-header/dashboard-header.component.d.ts +0 -9
- package/dashboard/lib/dashboard-menu/dashboard-menu.component.d.ts +0 -9
- package/dashboard/lib/dashboard-menu-item/dashboard-menu-item.component.d.ts +0 -8
- package/dashboard/lib/dashboard-sidebar/dashboard-sidebar.component.d.ts +0 -19
- package/dashboard/lib/dashboard-sidebar-group/dashboard-sidebar-group.component.d.ts +0 -22
- package/dashboard/lib/dashboard-sidebar-item/dashboard-sidebar-item.component.d.ts +0 -16
- package/dashboard/lib/dashboard.module.d.ts +0 -13
- package/dashboard/public_api.d.ts +0 -8
- package/dialog/lib/dialog-actions/dialog-actions.component.d.ts +0 -5
- package/dialog/lib/dialog-confirm/dialog-confirm.component.d.ts +0 -22
- package/dialog/lib/dialog-container/dialog-container.component.d.ts +0 -23
- package/dialog/lib/dialog-header/dialog-header.component.d.ts +0 -13
- package/dialog/lib/dialog-modal/dialog-modal.component.d.ts +0 -16
- package/dialog/lib/dialog-overlay/dialog-overlay.component.d.ts +0 -19
- package/dialog/lib/dialog.config.d.ts +0 -3
- package/dialog/lib/dialog.insertion.d.ts +0 -7
- package/dialog/lib/dialog.interfaces.d.ts +0 -21
- package/dialog/lib/dialog.module.d.ts +0 -17
- package/dialog/lib/dialog.ref.d.ts +0 -8
- package/dialog/lib/dialog.service.d.ts +0 -15
- package/dialog/lib/directives/confirm.directive.d.ts +0 -14
- package/dialog/public_api.d.ts +0 -10
- package/elements/lib/avatar/avatar.component.d.ts +0 -31
- package/elements/lib/button/button.component.d.ts +0 -21
- package/elements/lib/checkbox/checkbox.component.d.ts +0 -36
- package/elements/lib/checkbox-group/checkbox-group.component.d.ts +0 -13
- package/elements/lib/color-picker/color-picker.component.d.ts +0 -18
- package/elements/lib/color-slider/color-slider.component.d.ts +0 -24
- package/elements/lib/date-picker/date-picker.component.d.ts +0 -77
- package/elements/lib/directives/color-picker.directive.d.ts +0 -27
- package/elements/lib/directives/extra-error-controls.directive.d.ts +0 -13
- package/elements/lib/directives/file-drop.directive.d.ts +0 -13
- package/elements/lib/directives/form-submit.directive.d.ts +0 -17
- package/elements/lib/directives/form-submitter.directive.d.ts +0 -9
- package/elements/lib/directives/image-upload.directive.d.ts +0 -25
- package/elements/lib/directives/input.directive.d.ts +0 -16
- package/elements/lib/elements.config.d.ts +0 -3
- package/elements/lib/elements.inject.d.ts +0 -3
- package/elements/lib/elements.interfaces.d.ts +0 -41
- package/elements/lib/elements.module.d.ts +0 -39
- package/elements/lib/file-picker/file-picker.component.d.ts +0 -57
- package/elements/lib/form-control/form-control.component.d.ts +0 -20
- package/elements/lib/form-error/form-error.component.d.ts +0 -36
- package/elements/lib/form-group/form-group.component.d.ts +0 -7
- package/elements/lib/icon/icon.component.d.ts +0 -26
- package/elements/lib/image-control/image-control.component.d.ts +0 -44
- package/elements/lib/image-picker/image-picker.component.d.ts +0 -39
- package/elements/lib/multi-file-control/multi-file-control.component.d.ts +0 -72
- package/elements/lib/pincode-control/pincode-control.component.d.ts +0 -65
- package/elements/lib/pipes/date.pipe.d.ts +0 -9
- package/elements/lib/pipes/file-data-url.pipe.d.ts +0 -12
- package/elements/lib/pipes/file-image.pipe.d.ts +0 -14
- package/elements/lib/pipes/file-size.pipe.d.ts +0 -7
- package/elements/lib/pipes/relative-time.pipe.d.ts +0 -19
- package/elements/lib/radio-button/radio-button.component.d.ts +0 -16
- package/elements/lib/radio-group/radio-group.component.d.ts +0 -38
- package/elements/lib/spinner/spinner.component.d.ts +0 -9
- package/elements/public_api.d.ts +0 -35
- package/http/lib/classes/http.config.d.ts +0 -9
- package/http/lib/classes/http.error.d.ts +0 -7
- package/http/lib/http.config.d.ts +0 -5
- package/http/lib/http.interfaces.d.ts +0 -21
- package/http/lib/http.module.d.ts +0 -11
- package/http/lib/interceptors/base-url.interceptor.d.ts +0 -15
- package/http/lib/interceptors/error.interceptor.d.ts +0 -9
- package/http/public_api.d.ts +0 -7
- package/lib/core/colors/hex.d.ts +0 -18
- package/lib/core/colors/hsl.d.ts +0 -7
- package/lib/core/colors/hsv.d.ts +0 -13
- package/lib/core/colors/rgb.d.ts +0 -7
- package/lib/core/functions/array.utils.d.ts +0 -1
- package/lib/core/functions/date.utils.d.ts +0 -4
- package/lib/core/functions/file.utils.d.ts +0 -3
- package/lib/core/functions/format.utils.d.ts +0 -1
- package/lib/core/functions/password.utils.d.ts +0 -1
- package/lib/core/functions/route-cache.utils.d.ts +0 -10
- package/lib/core/functions/utils.d.ts +0 -1
- package/lib/core/miscellaneous/coercion.d.ts +0 -2
- package/lib/core/miscellaneous/regex.d.ts +0 -5
- package/lib/core/miscellaneous/validator.d.ts +0 -13
- package/lib/core/services/exif.service.d.ts +0 -12
- package/lib/core/services/file-loader.service.d.ts +0 -13
- package/lib/core/services/files.service.d.ts +0 -15
- package/lib/core/services/image-converter.service.d.ts +0 -17
- package/lib/core/services/languages.service.d.ts +0 -15
- package/lib/core/services/network.service.d.ts +0 -13
- package/lib/core/services/patch.service.d.ts +0 -14
- package/lib/core/tokens/accept-language.token.d.ts +0 -2
- package/lib/core/tokens/cookie.token.d.ts +0 -2
- package/lib/core/tokens/global-focus-mode.token.d.ts +0 -4
- package/lib/core/tokens/location.token.d.ts +0 -2
- package/lib/core/tokens/navigator.token.d.ts +0 -2
- package/lib/core/tokens/window.token.d.ts +0 -2
- package/localize/lib/dictionary/dictionary.class.d.ts +0 -28
- package/localize/lib/dictionary/dictionary.context.d.ts +0 -7
- package/localize/lib/dictionary/dictionary.data.d.ts +0 -7
- package/localize/lib/functions/date.function.d.ts +0 -5
- package/localize/lib/functions/lowercase.function.d.ts +0 -5
- package/localize/lib/functions/uppercase.function.d.ts +0 -5
- package/localize/lib/handlers/missing.handler.d.ts +0 -6
- package/localize/lib/interfaces/config.interfaces.d.ts +0 -18
- package/localize/lib/interfaces/functions.interfaces.d.ts +0 -7
- package/localize/lib/interfaces/handlers.interfaces.d.ts +0 -6
- package/localize/lib/interfaces/options.interfaces.d.ts +0 -11
- package/localize/lib/localizations/dutch.localization.d.ts +0 -74
- package/localize/lib/localizations/english.localization.d.ts +0 -74
- package/localize/lib/localizations/papiamento.localization.d.ts +0 -74
- package/localize/lib/localizations/spanish.localization.d.ts +0 -74
- package/localize/lib/localize.config.d.ts +0 -5
- package/localize/lib/localize.module.d.ts +0 -12
- package/localize/lib/localize.pipe.d.ts +0 -12
- package/localize/lib/localize.service.d.ts +0 -43
- package/localize/lib/localize.tokens.d.ts +0 -11
- package/localize/lib/transforms/abstract.transform.d.ts +0 -13
- package/localize/lib/transforms/interpolate.transform.d.ts +0 -13
- package/localize/lib/transforms/plural.transform.d.ts +0 -16
- package/localize/lib/transforms/reference.transform.d.ts +0 -9
- package/localize/lib/views/localize-string/localize-string.component.d.ts +0 -23
- package/localize/lib/views/localize-template.directive.d.ts +0 -9
- package/localize/public_api.d.ts +0 -26
- package/masking/lib/directives/currency-mask.directive.d.ts +0 -17
- package/masking/lib/directives/date-mask.directive.d.ts +0 -17
- package/masking/lib/directives/input-mask.directive.d.ts +0 -38
- package/masking/lib/input-mask.interface.d.ts +0 -19
- package/masking/lib/masking.module.d.ts +0 -9
- package/masking/lib/masking.service.d.ts +0 -12
- package/masking/public_api.d.ts +0 -6
- package/notifications/lib/notifications-item/notifications-item.component.d.ts +0 -33
- package/notifications/lib/notifications-list/notifications-list.component.d.ts +0 -18
- package/notifications/lib/notifications.animations.d.ts +0 -1
- package/notifications/lib/notifications.config.d.ts +0 -3
- package/notifications/lib/notifications.interfaces.d.ts +0 -36
- package/notifications/lib/notifications.module.d.ts +0 -9
- package/notifications/lib/notifications.service.d.ts +0 -30
- package/notifications/public_api.d.ts +0 -4
- package/permissions/lib/directives/permission.directive.d.ts +0 -27
- package/permissions/lib/guards/permission.guard.d.ts +0 -3
- package/permissions/lib/handlers/abstract.handler.d.ts +0 -4
- package/permissions/lib/handlers/local.handler.d.ts +0 -10
- package/permissions/lib/permissions.config.d.ts +0 -3
- package/permissions/lib/permissions.interface.d.ts +0 -13
- package/permissions/lib/permissions.module.d.ts +0 -10
- package/permissions/lib/permissions.service.d.ts +0 -23
- package/permissions/public_api.d.ts +0 -8
- package/public_api.d.ts +0 -27
- package/recaptcha/lib/recaptcha/recaptcha.component.d.ts +0 -47
- package/recaptcha/lib/recaptcha-loader.service.d.ts +0 -19
- package/recaptcha/lib/recaptcha.config.d.ts +0 -3
- package/recaptcha/lib/recaptcha.interface.d.ts +0 -13
- package/recaptcha/lib/recaptcha.module.d.ts +0 -10
- package/recaptcha/public_api.d.ts +0 -5
- package/rxjs/lib/observables/get-control-value.observable.d.ts +0 -3
- package/rxjs/lib/observables/get-route-param.observable.d.ts +0 -3
- package/rxjs/lib/operators/combine-latest-map.operator.d.ts +0 -8
- package/rxjs/lib/operators/filter-nil.operator.d.ts +0 -1
- package/rxjs/public_api.d.ts +0 -4
- package/select/lib/select/select.component.d.ts +0 -94
- package/select/lib/select-label.directive.d.ts +0 -7
- package/select/lib/select-multi-label.directive.d.ts +0 -7
- package/select/lib/select-option-group.directive.d.ts +0 -7
- package/select/lib/select-option.directive.d.ts +0 -7
- package/select/lib/select.config.d.ts +0 -2
- package/select/lib/select.module.d.ts +0 -11
- package/select/public_api.d.ts +0 -7
- package/storage/lib/interfaces/attributes.interface.d.ts +0 -13
- package/storage/lib/interfaces/memory.interface.d.ts +0 -7
- package/storage/lib/interfaces/strategy.interface.d.ts +0 -17
- package/storage/lib/storage.service.d.ts +0 -25
- package/storage/lib/strategies/cookie-storage.strategy.d.ts +0 -20
- package/storage/lib/strategies/memory-storage.strategy.d.ts +0 -11
- package/storage/lib/strategies/polyfill-storage.strategy.d.ts +0 -15
- package/storage/public_api.d.ts +0 -7
- package/table/lib/components/table/table.component.d.ts +0 -57
- package/table/lib/components/table-cell/table-cell.component.d.ts +0 -5
- package/table/lib/components/table-header-cell/table-header-cell.component.d.ts +0 -26
- package/table/lib/components/table-pager/table-pager.component.d.ts +0 -40
- package/table/lib/data/datasource.data.d.ts +0 -14
- package/table/lib/data/generic.data.d.ts +0 -25
- package/table/lib/interfaces/datasource.interface.d.ts +0 -17
- package/table/lib/interfaces/table.interfaces.d.ts +0 -11
- package/table/lib/table.config.d.ts +0 -3
- package/table/lib/table.module.d.ts +0 -10
- package/table/public_api.d.ts +0 -10
- package/tooltip/lib/tooltip-container/tooltip-container.component.d.ts +0 -9
- package/tooltip/lib/tooltip.directive.d.ts +0 -23
- package/tooltip/lib/tooltip.interfaces.d.ts +0 -4
- package/tooltip/lib/tooltip.module.d.ts +0 -7
- package/tooltip/public_api.d.ts +0 -4
- package/utils/lib/directives/autosize.directive.d.ts +0 -19
- package/utils/lib/directives/focus-trap.directive.d.ts +0 -14
- package/utils/lib/directives/focus.directive.d.ts +0 -16
- package/utils/lib/directives/template.directive.d.ts +0 -10
- package/utils/lib/utils.module.d.ts +0 -10
- package/utils/public_api.d.ts +0 -5
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { FormGroupDirective } from '@angular/forms';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BbFormSubmit implements OnInit {
|
|
6
|
-
private _host;
|
|
7
|
-
private _formDirective;
|
|
8
|
-
submitStatus$: Observable<boolean>;
|
|
9
|
-
constructor(_host: ElementRef<HTMLFormElement>, _formDirective: FormGroupDirective);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
submit(): void;
|
|
12
|
-
reset(): void;
|
|
13
|
-
private get nativeElement();
|
|
14
|
-
private reactiveSubmitChanges;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbFormSubmit, [null, { optional: true; self: true; }]>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbFormSubmit, "form", ["bbForm"], {}, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BbFormSubmitter {
|
|
4
|
-
submitted$: BehaviorSubject<boolean>;
|
|
5
|
-
submit(): void;
|
|
6
|
-
reset(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbFormSubmitter, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbFormSubmitter, "[bbFormSubmitter]", ["bbFormSubmitter"], {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BbImageUpload {
|
|
4
|
-
private readonly _files;
|
|
5
|
-
private readonly _platform;
|
|
6
|
-
private readonly _renderer;
|
|
7
|
-
width: number | null;
|
|
8
|
-
height: number | null;
|
|
9
|
-
mode: 'aspect-fit' | 'aspect-fill';
|
|
10
|
-
type: 'png' | 'jpg';
|
|
11
|
-
onDataUri: EventEmitter<string>;
|
|
12
|
-
onFile: EventEmitter<File>;
|
|
13
|
-
onClick(): Promise<void>;
|
|
14
|
-
private openFilePicker;
|
|
15
|
-
private toDataUri;
|
|
16
|
-
private toImage;
|
|
17
|
-
private scaleImage;
|
|
18
|
-
private getExportType;
|
|
19
|
-
private getScaleByMode;
|
|
20
|
-
private getFileName;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbImageUpload, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbImageUpload, "button[bbImageUpload]", never, { "width": { "alias": "bbImageUploadWidth"; "required": false; }; "height": { "alias": "bbImageUploadHeight"; "required": false; }; "mode": { "alias": "bbImageUploadMode"; "required": false; }; "type": { "alias": "bbImageUploadType"; "required": false; }; }, { "onDataUri": "onDataUri"; "onFile": "onFile"; }, never, never, true, never>;
|
|
23
|
-
static ngAcceptInputType_width: unknown;
|
|
24
|
-
static ngAcceptInputType_height: unknown;
|
|
25
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { BbFormControl } from '../form-control/form-control.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BbInput {
|
|
5
|
-
private _elementRef;
|
|
6
|
-
private _formControl;
|
|
7
|
-
constructor(_elementRef: ElementRef, _formControl: BbFormControl);
|
|
8
|
-
focus(): any;
|
|
9
|
-
get id(): string;
|
|
10
|
-
get required(): boolean;
|
|
11
|
-
set required(value: boolean);
|
|
12
|
-
private _required;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbInput, [null, { optional: true; host: true; }]>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbInput, "input[bbInput],textarea[bbInput],select[bbInput]", never, { "required": { "alias": "required"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
static ngAcceptInputType_required: unknown;
|
|
16
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare const ELEMENTS_CONFIG: InjectionToken<ElementsConfig>;
|
|
3
|
-
export declare const ELEMENTS_ICONS: InjectionToken<ElementsIcon[]>;
|
|
4
|
-
export declare const ELEMENTS_ERRORS: InjectionToken<ElementsError[]>;
|
|
5
|
-
export type ElementsIcon = ElementsIconFont | ElementsIconImage | ElementsIconUrl | ElementsIconUnknown;
|
|
6
|
-
export type ElementsError = {
|
|
7
|
-
[error: string]: (data?: any) => string | {
|
|
8
|
-
token: string;
|
|
9
|
-
data?: any;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export interface ElementsIconFont {
|
|
13
|
-
namespace: string;
|
|
14
|
-
className: string;
|
|
15
|
-
uses: 'content' | 'data-attribute';
|
|
16
|
-
type: 'font';
|
|
17
|
-
}
|
|
18
|
-
export interface ElementsIconImage {
|
|
19
|
-
namespace: string;
|
|
20
|
-
name: string;
|
|
21
|
-
src: string;
|
|
22
|
-
type: 'image';
|
|
23
|
-
}
|
|
24
|
-
export interface ElementsIconUrl {
|
|
25
|
-
namespace: string;
|
|
26
|
-
url: string;
|
|
27
|
-
type: 'url';
|
|
28
|
-
}
|
|
29
|
-
export interface ElementsIconUnknown {
|
|
30
|
-
type: 'unknown';
|
|
31
|
-
}
|
|
32
|
-
export interface ElementsConfig {
|
|
33
|
-
useMaterialDesignIcons?: boolean;
|
|
34
|
-
iconFonts?: ElementsIcon[];
|
|
35
|
-
errors?: ElementsError;
|
|
36
|
-
defaultDisplayUnit?: ElementsDisplayUnit;
|
|
37
|
-
allowedFileTypes?: string[];
|
|
38
|
-
maxFileSize?: number;
|
|
39
|
-
maxTotalFileSize?: number;
|
|
40
|
-
}
|
|
41
|
-
export type ElementsDisplayUnit = 'rem' | 'px';
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { ElementsConfig } from './elements.interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./form-error/form-error.component";
|
|
5
|
-
import * as i2 from "./directives/form-submit.directive";
|
|
6
|
-
import * as i3 from "./directives/form-submitter.directive";
|
|
7
|
-
import * as i4 from "./directives/input.directive";
|
|
8
|
-
import * as i5 from "./directives/image-upload.directive";
|
|
9
|
-
import * as i6 from "./directives/extra-error-controls.directive";
|
|
10
|
-
import * as i7 from "./directives/file-drop.directive";
|
|
11
|
-
import * as i8 from "./directives/color-picker.directive";
|
|
12
|
-
import * as i9 from "./pipes/file-size.pipe";
|
|
13
|
-
import * as i10 from "./pipes/file-image.pipe";
|
|
14
|
-
import * as i11 from "./pipes/relative-time.pipe";
|
|
15
|
-
import * as i12 from "./pipes/date.pipe";
|
|
16
|
-
import * as i13 from "./button/button.component";
|
|
17
|
-
import * as i14 from "./spinner/spinner.component";
|
|
18
|
-
import * as i15 from "./icon/icon.component";
|
|
19
|
-
import * as i16 from "./form-control/form-control.component";
|
|
20
|
-
import * as i17 from "./form-group/form-group.component";
|
|
21
|
-
import * as i18 from "./checkbox/checkbox.component";
|
|
22
|
-
import * as i19 from "./checkbox-group/checkbox-group.component";
|
|
23
|
-
import * as i20 from "./radio-group/radio-group.component";
|
|
24
|
-
import * as i21 from "./radio-button/radio-button.component";
|
|
25
|
-
import * as i22 from "./avatar/avatar.component";
|
|
26
|
-
import * as i23 from "./multi-file-control/multi-file-control.component";
|
|
27
|
-
import * as i24 from "./file-picker/file-picker.component";
|
|
28
|
-
import * as i25 from "./image-picker/image-picker.component";
|
|
29
|
-
import * as i26 from "./date-picker/date-picker.component";
|
|
30
|
-
import * as i27 from "./color-slider/color-slider.component";
|
|
31
|
-
import * as i28 from "./color-picker/color-picker.component";
|
|
32
|
-
import * as i29 from "./image-control/image-control.component";
|
|
33
|
-
import * as i30 from "./pincode-control/pincode-control.component";
|
|
34
|
-
export declare class ElementsModule {
|
|
35
|
-
static forRoot(config?: ElementsConfig): ModuleWithProviders<ElementsModule>;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElementsModule, never>;
|
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementsModule, never, [typeof i1.BbFormError, typeof i2.BbFormSubmit, typeof i3.BbFormSubmitter, typeof i4.BbInput, typeof i5.BbImageUpload, typeof i6.BbExtraErrorControls, typeof i7.BbFileDrop, typeof i8.ColorPickerDirective, typeof i9.BbFileSize, typeof i10.BbFileImage, typeof i11.BbRelativeTime, typeof i12.BbDate, typeof i13.BbButton, typeof i13.BbAnchor, typeof i14.BbSpinner, typeof i15.BbIcon, typeof i16.BbFormControl, typeof i17.BbFormGroup, typeof i18.BbCheckbox, typeof i19.BbCheckboxGroup, typeof i20.BbRadioGroup, typeof i21.BbRadioButton, typeof i22.BbAvatar, typeof i23.BbMultiFileControl, typeof i24.BbFilePicker, typeof i25.BbImagePicker, typeof i26.BbDatePicker, typeof i27.BbColorSlider, typeof i28.BbColorPicker, typeof i29.BbImageControl, typeof i30.BbPincodeControl], [typeof i1.BbFormError, typeof i2.BbFormSubmit, typeof i3.BbFormSubmitter, typeof i4.BbInput, typeof i5.BbImageUpload, typeof i6.BbExtraErrorControls, typeof i7.BbFileDrop, typeof i8.ColorPickerDirective, typeof i9.BbFileSize, typeof i10.BbFileImage, typeof i11.BbRelativeTime, typeof i12.BbDate, typeof i13.BbButton, typeof i13.BbAnchor, typeof i14.BbSpinner, typeof i15.BbIcon, typeof i16.BbFormControl, typeof i17.BbFormGroup, typeof i18.BbCheckbox, typeof i19.BbCheckboxGroup, typeof i20.BbRadioGroup, typeof i21.BbRadioButton, typeof i22.BbAvatar, typeof i23.BbMultiFileControl, typeof i24.BbFilePicker, typeof i25.BbImagePicker, typeof i26.BbDatePicker, typeof i27.BbColorSlider, typeof i28.BbColorPicker, typeof i29.BbImageControl, typeof i30.BbPincodeControl]>;
|
|
38
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ElementsModule>;
|
|
39
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BbFilePicker implements ControlValueAccessor {
|
|
6
|
-
readonly labelId: string;
|
|
7
|
-
fileInput: ElementRef<HTMLInputElement>;
|
|
8
|
-
extraTemplate: TemplateRef<any>;
|
|
9
|
-
label: string | TemplateRef<any> | null;
|
|
10
|
-
hint: string | TemplateRef<any> | null;
|
|
11
|
-
accept: string;
|
|
12
|
-
maxFileSize: number;
|
|
13
|
-
showImages: boolean;
|
|
14
|
-
grouped: boolean;
|
|
15
|
-
required: boolean;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
hideErrors: boolean;
|
|
18
|
-
error: boolean;
|
|
19
|
-
value$: BehaviorSubject<{
|
|
20
|
-
file?: File;
|
|
21
|
-
}>;
|
|
22
|
-
onTouchedCallback: () => void;
|
|
23
|
-
onChangeCallback: (_: File | null) => void;
|
|
24
|
-
get value(): File | null;
|
|
25
|
-
valueChange: EventEmitter<File>;
|
|
26
|
-
set value(value: File | null);
|
|
27
|
-
onButtonPressed(file?: File): void;
|
|
28
|
-
openFilePicker(): void;
|
|
29
|
-
onFileChange(event: Event): void;
|
|
30
|
-
writeValue(value: File | null): void;
|
|
31
|
-
registerOnChange(method: (_: File | null) => void): void;
|
|
32
|
-
registerOnTouched(method: () => void): void;
|
|
33
|
-
setDisabledState(isDisabled: boolean): void;
|
|
34
|
-
onErrorChange(error: {
|
|
35
|
-
token: string;
|
|
36
|
-
data?: any;
|
|
37
|
-
} | null): void;
|
|
38
|
-
validate({ value }: FormControl<File>): {
|
|
39
|
-
invalidFileType: boolean;
|
|
40
|
-
maxFileSize?: undefined;
|
|
41
|
-
} | {
|
|
42
|
-
maxFileSize: {
|
|
43
|
-
maxSize: string;
|
|
44
|
-
};
|
|
45
|
-
invalidFileType?: undefined;
|
|
46
|
-
};
|
|
47
|
-
saveFile(files: File[]): void;
|
|
48
|
-
private getFilesFromEvent;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbFilePicker, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbFilePicker, "bb-file-picker", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "showImages": { "alias": "showImages"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, ["extraTemplate"], never, true, never>;
|
|
51
|
-
static ngAcceptInputType_maxFileSize: unknown;
|
|
52
|
-
static ngAcceptInputType_showImages: unknown;
|
|
53
|
-
static ngAcceptInputType_grouped: unknown;
|
|
54
|
-
static ngAcceptInputType_required: unknown;
|
|
55
|
-
static ngAcceptInputType_disabled: unknown;
|
|
56
|
-
static ngAcceptInputType_hideErrors: unknown;
|
|
57
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BbFormControl {
|
|
5
|
-
readonly labelId: string;
|
|
6
|
-
ngControl: NgControl;
|
|
7
|
-
label: string | TemplateRef<any> | null;
|
|
8
|
-
hint: string | TemplateRef<any> | null;
|
|
9
|
-
grouped: boolean;
|
|
10
|
-
hideErrors: boolean;
|
|
11
|
-
error: boolean;
|
|
12
|
-
onErrorChange(error: {
|
|
13
|
-
token: string;
|
|
14
|
-
data?: any;
|
|
15
|
-
} | null): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbFormControl, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbFormControl, "bb-form-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; }, {}, ["ngControl"], ["[bbPrefix]", "[bbInput]", "[bbSuffix]"], true, never>;
|
|
18
|
-
static ngAcceptInputType_grouped: unknown;
|
|
19
|
-
static ngAcceptInputType_hideErrors: unknown;
|
|
20
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { BbExtraErrorControls } from '../directives/extra-error-controls.directive';
|
|
3
|
-
import { BbFormSubmitter } from '../directives/form-submitter.directive';
|
|
4
|
-
import { ElementsError } from '../elements.interfaces';
|
|
5
|
-
import { BbFormSubmit } from '../directives/form-submit.directive';
|
|
6
|
-
import { NgControl } from '@angular/forms';
|
|
7
|
-
import { Observable } from 'rxjs';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class BbFormError implements OnInit {
|
|
10
|
-
private _form?;
|
|
11
|
-
private _ngControl?;
|
|
12
|
-
private _formSubmitter?;
|
|
13
|
-
private _extraErrorControls?;
|
|
14
|
-
private _errors?;
|
|
15
|
-
readonly errorsMap: ElementsError;
|
|
16
|
-
control: NgControl | null;
|
|
17
|
-
errorChange: EventEmitter<{
|
|
18
|
-
token: string;
|
|
19
|
-
data?: any;
|
|
20
|
-
}>;
|
|
21
|
-
error$: Observable<{
|
|
22
|
-
token: string;
|
|
23
|
-
data?: any;
|
|
24
|
-
} | null>;
|
|
25
|
-
constructor(_form?: BbFormSubmit, _ngControl?: NgControl, _formSubmitter?: BbFormSubmitter, _extraErrorControls?: BbExtraErrorControls, _errors?: ElementsError[]);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
private setControl;
|
|
28
|
-
private setError;
|
|
29
|
-
private formatError;
|
|
30
|
-
private submitStatusChanges;
|
|
31
|
-
private getNativeFormSubmit;
|
|
32
|
-
private getManualFormSubmit;
|
|
33
|
-
private getErrors;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbFormError, [{ optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbFormError, "bb-form-error", never, { "control": { "alias": "control"; "required": false; }; }, { "errorChange": "errorChange"; }, never, never, true, never>;
|
|
36
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BbFormGroup {
|
|
3
|
-
grouped: boolean;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbFormGroup, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbFormGroup, "bb-form-group", never, { "grouped": { "alias": "grouped"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
|
-
static ngAcceptInputType_grouped: unknown;
|
|
7
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ElementsConfig, ElementsDisplayUnit, ElementsIcon } from '../elements.interfaces';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BbIcon {
|
|
5
|
-
private _config?;
|
|
6
|
-
private _registry?;
|
|
7
|
-
private _src;
|
|
8
|
-
state$: BehaviorSubject<any>;
|
|
9
|
-
alt: string | null;
|
|
10
|
-
size: number;
|
|
11
|
-
ariaHidden: boolean;
|
|
12
|
-
unit: ElementsDisplayUnit | null;
|
|
13
|
-
set src(newValue: string | null);
|
|
14
|
-
get src(): string | null;
|
|
15
|
-
get sizes(): string;
|
|
16
|
-
constructor(_config?: ElementsConfig, _registry?: ElementsIcon[]);
|
|
17
|
-
private convert;
|
|
18
|
-
private findImageIcon;
|
|
19
|
-
private findUrlIcon;
|
|
20
|
-
private findFontIcon;
|
|
21
|
-
private warn;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbIcon, [{ optional: true; }, { optional: true; }]>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbIcon, "bb-icon", never, { "alt": { "alias": "alt"; "required": false; }; "size": { "alias": "size"; "required": false; }; "ariaHidden": { "alias": "ariaHidden"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
-
static ngAcceptInputType_size: unknown;
|
|
25
|
-
static ngAcceptInputType_ariaHidden: unknown;
|
|
26
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BbImageControl implements ControlValueAccessor {
|
|
5
|
-
private readonly _changeDetectorRef;
|
|
6
|
-
readonly labelId: string;
|
|
7
|
-
label: string | TemplateRef<any> | null;
|
|
8
|
-
hint: string | TemplateRef<any> | null;
|
|
9
|
-
buttonLabel: string | null;
|
|
10
|
-
imageUrl: string | null;
|
|
11
|
-
mode: 'aspect-fit' | 'aspect-fill';
|
|
12
|
-
type: 'png' | 'jpg';
|
|
13
|
-
cropWidth: number;
|
|
14
|
-
visualMaxWidth: number | null;
|
|
15
|
-
aspectRatio: number;
|
|
16
|
-
grouped: boolean;
|
|
17
|
-
required: boolean;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
hideErrors: boolean;
|
|
20
|
-
delete: EventEmitter<void>;
|
|
21
|
-
value: File | null;
|
|
22
|
-
error: boolean;
|
|
23
|
-
onTouchedCallback: () => void;
|
|
24
|
-
onChangeCallback: (_: File | null) => void;
|
|
25
|
-
onFile(file: File): void;
|
|
26
|
-
onDelete(): Promise<void>;
|
|
27
|
-
writeValue(value: File | null): void;
|
|
28
|
-
registerOnChange(method: (_: File | null) => void): void;
|
|
29
|
-
registerOnTouched(method: () => void): void;
|
|
30
|
-
setDisabledState(isDisabled: boolean): void;
|
|
31
|
-
onErrorChange(error: {
|
|
32
|
-
token: string;
|
|
33
|
-
data?: any;
|
|
34
|
-
} | null): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbImageControl, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbImageControl, "bb-image-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cropWidth": { "alias": "cropWidth"; "required": false; }; "visualMaxWidth": { "alias": "visualMaxWidth"; "required": false; }; "aspectRatio": { "alias": "aspectRatio"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; }, { "delete": "delete"; }, never, ["[suffix]"], true, never>;
|
|
37
|
-
static ngAcceptInputType_cropWidth: unknown;
|
|
38
|
-
static ngAcceptInputType_visualMaxWidth: unknown;
|
|
39
|
-
static ngAcceptInputType_aspectRatio: unknown;
|
|
40
|
-
static ngAcceptInputType_grouped: unknown;
|
|
41
|
-
static ngAcceptInputType_required: unknown;
|
|
42
|
-
static ngAcceptInputType_disabled: unknown;
|
|
43
|
-
static ngAcceptInputType_hideErrors: unknown;
|
|
44
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { ImageConverter } from '@bravobit/bb-foundation';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BbImagePicker implements ControlValueAccessor {
|
|
6
|
-
private _converter;
|
|
7
|
-
fileInput: ElementRef<HTMLInputElement>;
|
|
8
|
-
label: string | null;
|
|
9
|
-
placeholder: string | null;
|
|
10
|
-
styleDimensions: {
|
|
11
|
-
width: string;
|
|
12
|
-
height: string;
|
|
13
|
-
} | null;
|
|
14
|
-
cropDimensions: {
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
} | null;
|
|
18
|
-
buttonClass: string | null;
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
grouped: boolean;
|
|
21
|
-
onTouchedCallback: () => void;
|
|
22
|
-
onChangeCallback: (_: string | null) => void;
|
|
23
|
-
private _value$;
|
|
24
|
-
constructor(_converter: ImageConverter);
|
|
25
|
-
get value(): string | null;
|
|
26
|
-
valueChange: EventEmitter<string>;
|
|
27
|
-
set value(value: string | null);
|
|
28
|
-
get image(): import("rxjs").Observable<string>;
|
|
29
|
-
onFileChange(event: any): Promise<void>;
|
|
30
|
-
openFilePicker(): void;
|
|
31
|
-
writeValue(value: string | null): void;
|
|
32
|
-
registerOnChange(method: (_: string | null) => void): void;
|
|
33
|
-
registerOnTouched(method: () => void): void;
|
|
34
|
-
setDisabledState(isDisabled: boolean): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbImagePicker, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbImagePicker, "bb-image-picker", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "styleDimensions": { "alias": "styleDimensions"; "required": false; }; "cropDimensions": { "alias": "cropDimensions"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
37
|
-
static ngAcceptInputType_disabled: unknown;
|
|
38
|
-
static ngAcceptInputType_grouped: unknown;
|
|
39
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BbMultiFileControl implements ControlValueAccessor {
|
|
5
|
-
private readonly _files;
|
|
6
|
-
private readonly _changeDetectorRef;
|
|
7
|
-
readonly labelId: string;
|
|
8
|
-
fileInput: ElementRef<HTMLInputElement>;
|
|
9
|
-
label: string | TemplateRef<any> | null;
|
|
10
|
-
hint: string | TemplateRef<any> | null;
|
|
11
|
-
accept: string;
|
|
12
|
-
maxFileSize: number;
|
|
13
|
-
maxTotalFileSize: number;
|
|
14
|
-
grouped: boolean;
|
|
15
|
-
required: boolean;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
hideErrors: boolean;
|
|
18
|
-
items: {
|
|
19
|
-
id: number;
|
|
20
|
-
label: string;
|
|
21
|
-
url: string;
|
|
22
|
-
}[];
|
|
23
|
-
delete: EventEmitter<{
|
|
24
|
-
id: number;
|
|
25
|
-
label: string;
|
|
26
|
-
url: string;
|
|
27
|
-
}>;
|
|
28
|
-
value: File[];
|
|
29
|
-
error: boolean;
|
|
30
|
-
onTouchedCallback: () => void;
|
|
31
|
-
onChangeCallback: (_: File[] | null) => void;
|
|
32
|
-
get showList(): boolean;
|
|
33
|
-
downloadFile(file: File): void;
|
|
34
|
-
openFileDialog(): void;
|
|
35
|
-
onFileChange(event: Event): void;
|
|
36
|
-
deleteFile(index: number): void;
|
|
37
|
-
writeValue(value: File[] | null): void;
|
|
38
|
-
registerOnChange(method: (_: File[] | null) => void): void;
|
|
39
|
-
registerOnTouched(method: () => void): void;
|
|
40
|
-
setDisabledState(isDisabled: boolean): void;
|
|
41
|
-
onErrorChange(error: {
|
|
42
|
-
token: string;
|
|
43
|
-
data?: any;
|
|
44
|
-
} | null): void;
|
|
45
|
-
validate(control: FormControl<File[]>): {
|
|
46
|
-
invalidFiles: Record<number, boolean>;
|
|
47
|
-
maxFileSize?: undefined;
|
|
48
|
-
maxTotalFileSize?: undefined;
|
|
49
|
-
} | {
|
|
50
|
-
maxFileSize: {
|
|
51
|
-
maxSize: string;
|
|
52
|
-
};
|
|
53
|
-
invalidFiles?: undefined;
|
|
54
|
-
maxTotalFileSize?: undefined;
|
|
55
|
-
} | {
|
|
56
|
-
maxTotalFileSize: {
|
|
57
|
-
max: string;
|
|
58
|
-
current: string;
|
|
59
|
-
};
|
|
60
|
-
invalidFiles?: undefined;
|
|
61
|
-
maxFileSize?: undefined;
|
|
62
|
-
};
|
|
63
|
-
addFiles(files: File[]): void;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbMultiFileControl, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbMultiFileControl, "bb-multi-file-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "maxTotalFileSize": { "alias": "maxTotalFileSize"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "delete": "delete"; }, never, never, true, never>;
|
|
66
|
-
static ngAcceptInputType_maxFileSize: unknown;
|
|
67
|
-
static ngAcceptInputType_maxTotalFileSize: unknown;
|
|
68
|
-
static ngAcceptInputType_grouped: unknown;
|
|
69
|
-
static ngAcceptInputType_required: unknown;
|
|
70
|
-
static ngAcceptInputType_disabled: unknown;
|
|
71
|
-
static ngAcceptInputType_hideErrors: unknown;
|
|
72
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl, Validator } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BbPincodeControl implements OnInit, OnDestroy, ControlValueAccessor, Validator {
|
|
6
|
-
private readonly _platform;
|
|
7
|
-
private readonly _changeDetectorRef;
|
|
8
|
-
htmlInputElementRef: ElementRef<HTMLInputElement>;
|
|
9
|
-
label: string | TemplateRef<any> | null;
|
|
10
|
-
hint: string | TemplateRef<any> | null;
|
|
11
|
-
placeholder: string | null;
|
|
12
|
-
autoFocus: boolean;
|
|
13
|
-
required: boolean;
|
|
14
|
-
readonly: boolean;
|
|
15
|
-
grouped: boolean;
|
|
16
|
-
digits: number;
|
|
17
|
-
get value(): string | null;
|
|
18
|
-
valueChange: EventEmitter<string>;
|
|
19
|
-
set value(value: string | null);
|
|
20
|
-
data$: Observable<{
|
|
21
|
-
items?: {
|
|
22
|
-
index: number;
|
|
23
|
-
value: string;
|
|
24
|
-
active: boolean;
|
|
25
|
-
}[];
|
|
26
|
-
}>;
|
|
27
|
-
control: FormControl<string>;
|
|
28
|
-
error: boolean;
|
|
29
|
-
onTouchedCallback: () => void;
|
|
30
|
-
onChangeCallback: (_: string | null) => void;
|
|
31
|
-
private _subscription;
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
writeValue(value: string | null): void;
|
|
35
|
-
registerOnChange(method: (_: string | null) => void): void;
|
|
36
|
-
registerOnTouched(method: () => void): void;
|
|
37
|
-
setDisabledState(isDisabled: boolean): void;
|
|
38
|
-
onErrorChange(error: {
|
|
39
|
-
token: string;
|
|
40
|
-
data?: any;
|
|
41
|
-
} | null): void;
|
|
42
|
-
validate(control: FormControl): {
|
|
43
|
-
maxlength: {
|
|
44
|
-
actualLength: any;
|
|
45
|
-
requiredLength: number;
|
|
46
|
-
};
|
|
47
|
-
minlength?: undefined;
|
|
48
|
-
} | {
|
|
49
|
-
minlength: {
|
|
50
|
-
actualLength: any;
|
|
51
|
-
requiredLength: number;
|
|
52
|
-
};
|
|
53
|
-
maxlength?: undefined;
|
|
54
|
-
};
|
|
55
|
-
private setData;
|
|
56
|
-
private handleValueChanges;
|
|
57
|
-
private handleAutoFocus;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbPincodeControl, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbPincodeControl, "bb-pincode-control", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "digits": { "alias": "digits"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
60
|
-
static ngAcceptInputType_autoFocus: unknown;
|
|
61
|
-
static ngAcceptInputType_required: unknown;
|
|
62
|
-
static ngAcceptInputType_readonly: unknown;
|
|
63
|
-
static ngAcceptInputType_grouped: unknown;
|
|
64
|
-
static ngAcceptInputType_digits: unknown;
|
|
65
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BbDate implements PipeTransform {
|
|
4
|
-
private readonly _localize;
|
|
5
|
-
private readonly _localeId;
|
|
6
|
-
transform(value: string | number | Date, format?: string): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbDate, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BbDate, "bbDate", true>;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BbFileDataUrl implements PipeTransform {
|
|
4
|
-
private readonly _platform;
|
|
5
|
-
private readonly _exif;
|
|
6
|
-
private readonly _fileLoader;
|
|
7
|
-
transform(input: File | Blob): Promise<string>;
|
|
8
|
-
private stripExif;
|
|
9
|
-
private isFileLike;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbFileDataUrl, never>;
|
|
11
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BbFileDataUrl, "bbFileDataUrl", true>;
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ImageConverter } from '@bravobit/bb-foundation';
|
|
2
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
import { PipeTransform } from '@angular/core';
|
|
4
|
-
import { Platform } from '@angular/cdk/platform';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BbFileImage implements PipeTransform {
|
|
7
|
-
private _platform;
|
|
8
|
-
private _image;
|
|
9
|
-
private _sanitizer;
|
|
10
|
-
constructor(_platform: Platform, _image: ImageConverter, _sanitizer: DomSanitizer);
|
|
11
|
-
transform(file: File): Promise<any>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbFileImage, never>;
|
|
13
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BbFileImage, "bbFileImage", true>;
|
|
14
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BbFileSize implements PipeTransform {
|
|
4
|
-
transform(value: number): string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbFileSize, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BbFileSize, "bbFileSize", true>;
|
|
7
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { Localize } from '@bravobit/bb-foundation/localize';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BbRelativeTime implements PipeTransform {
|
|
5
|
-
private _localeId;
|
|
6
|
-
private _localize?;
|
|
7
|
-
constructor(_localeId: string, _localize?: Localize);
|
|
8
|
-
transform(value: string | number | Date): string | number | Date;
|
|
9
|
-
private format;
|
|
10
|
-
private formatString;
|
|
11
|
-
private get locale();
|
|
12
|
-
private isValidDate;
|
|
13
|
-
private parseAsDate;
|
|
14
|
-
private isToday;
|
|
15
|
-
private isYesterday;
|
|
16
|
-
private isTomorrow;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbRelativeTime, [null, { optional: true; }]>;
|
|
18
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<BbRelativeTime, "bbRelativeTime", true>;
|
|
19
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BbRadioButton<T> {
|
|
3
|
-
private readonly _radioGroup?;
|
|
4
|
-
value: T | null;
|
|
5
|
-
hideText: boolean;
|
|
6
|
-
set disabled(value: boolean);
|
|
7
|
-
get disabled(): boolean;
|
|
8
|
-
private _disabled;
|
|
9
|
-
onClick(): void;
|
|
10
|
-
onSpacePressed(): void;
|
|
11
|
-
get selected(): boolean;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbRadioButton<any>, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbRadioButton<any>, "bb-radio-button", never, { "value": { "alias": "value"; "required": false; }; "hideText": { "alias": "hideText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
14
|
-
static ngAcceptInputType_hideText: unknown;
|
|
15
|
-
static ngAcceptInputType_disabled: unknown;
|
|
16
|
-
}
|