@bravobit/bb-foundation 0.54.3 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/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-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-dashboard.mjs +25 -25
- 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 +102 -102
- package/fesm2022/bravobit-bb-foundation-elements.mjs.map +1 -1
- package/fesm2022/bravobit-bb-foundation-http.mjs +10 -10
- 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-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-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-table.mjs +22 -22
- package/fesm2022/bravobit-bb-foundation-tooltip.mjs +10 -10
- package/fesm2022/bravobit-bb-foundation-utils.mjs +16 -16
- 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 +21 -21
- 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,36 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export interface Notification {
|
|
4
|
-
content: string | TemplateRef<any>;
|
|
5
|
-
type: NotificationType;
|
|
6
|
-
id?: number;
|
|
7
|
-
timeout?: number;
|
|
8
|
-
localize?: boolean;
|
|
9
|
-
dismiss?: boolean;
|
|
10
|
-
dismissText?: string;
|
|
11
|
-
actions?: NotificationAction[];
|
|
12
|
-
color?: string;
|
|
13
|
-
backgroundColor?: string;
|
|
14
|
-
destroy?: () => void;
|
|
15
|
-
}
|
|
16
|
-
export interface NotificationAction {
|
|
17
|
-
title: string;
|
|
18
|
-
callback?: () => any;
|
|
19
|
-
type?: 'default' | 'cancel';
|
|
20
|
-
}
|
|
21
|
-
export declare enum NotificationType {
|
|
22
|
-
Success = "success",
|
|
23
|
-
Error = "error",
|
|
24
|
-
Warning = "warning",
|
|
25
|
-
Info = "info",
|
|
26
|
-
Custom = "custom"
|
|
27
|
-
}
|
|
28
|
-
export declare class NotificationsConfig {
|
|
29
|
-
mode?: 'append' | 'prepend';
|
|
30
|
-
timeout?: number;
|
|
31
|
-
dismiss?: boolean;
|
|
32
|
-
localize?: boolean;
|
|
33
|
-
dismissText?: string;
|
|
34
|
-
}
|
|
35
|
-
export declare const NOTIFICATIONS_DATA: InjectionToken<Observable<Notification[]>>;
|
|
36
|
-
export declare const NOTIFICATIONS_CONFIG: InjectionToken<NotificationsConfig>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NotificationsConfig } from './notifications.interfaces';
|
|
2
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NotificationsModule {
|
|
5
|
-
static forRoot(config?: NotificationsConfig): ModuleWithProviders<NotificationsModule>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationsModule, never, never, never>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NotificationsModule>;
|
|
9
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { Notification, NotificationAction } from './notifications.interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class Notifications {
|
|
5
|
-
private _platform;
|
|
6
|
-
private _applicationRef;
|
|
7
|
-
private _environmentInjector;
|
|
8
|
-
private _localize?;
|
|
9
|
-
private _config?;
|
|
10
|
-
private _document?;
|
|
11
|
-
private _componentRef;
|
|
12
|
-
private readonly _defaultMode;
|
|
13
|
-
private readonly _defaultTimeout;
|
|
14
|
-
private readonly _defaultLocalize;
|
|
15
|
-
private readonly _defaultDismiss;
|
|
16
|
-
private readonly _defaultDismissText;
|
|
17
|
-
private _notifications$;
|
|
18
|
-
constructor();
|
|
19
|
-
success(content: string | TemplateRef<any>, actions?: NotificationAction[], timeout?: number): Notification;
|
|
20
|
-
error(content: string | TemplateRef<any>, actions?: NotificationAction[], timeout?: number): Notification;
|
|
21
|
-
warn(content: string | TemplateRef<any>, actions?: NotificationAction[], timeout?: number): Notification;
|
|
22
|
-
info(content: string | TemplateRef<any>, actions?: NotificationAction[], timeout?: number): Notification;
|
|
23
|
-
create(notification: Notification): Notification;
|
|
24
|
-
private push;
|
|
25
|
-
private pull;
|
|
26
|
-
private compose;
|
|
27
|
-
private createElement;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Notifications, never>;
|
|
29
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Notifications>;
|
|
30
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { PermissionsMode } from '../permissions.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BbPermission implements OnInit, OnDestroy {
|
|
5
|
-
private readonly _permissions;
|
|
6
|
-
private readonly _templateRef;
|
|
7
|
-
private readonly _viewContainerRef;
|
|
8
|
-
private _elseTemplateRef;
|
|
9
|
-
private _thenViewRef;
|
|
10
|
-
private _elseViewRef;
|
|
11
|
-
private _valid;
|
|
12
|
-
private _permission$;
|
|
13
|
-
private _mode$;
|
|
14
|
-
set bbPermission(value: string | string[]);
|
|
15
|
-
set bbPermissionElse(templateRef: TemplateRef<any>);
|
|
16
|
-
set bbPermissionMode(mode: PermissionsMode);
|
|
17
|
-
private _subscription;
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
private updateView;
|
|
21
|
-
private assertTemplate;
|
|
22
|
-
static ngAcceptInputType_bbPermission: string | string[];
|
|
23
|
-
static ngAcceptInputType_bbPermissionElse: TemplateRef<any>;
|
|
24
|
-
static ngAcceptInputType_bbPermissionMode: PermissionsMode;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbPermission, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbPermission, "ng-template[bbPermission]", never, { "bbPermission": { "alias": "bbPermission"; "required": false; }; "bbPermissionElse": { "alias": "bbPermissionElse"; "required": false; }; "bbPermissionMode": { "alias": "bbPermissionMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { LocalPermissionsData } from '../permissions.interface';
|
|
2
|
-
import { PermissionsHandler } from './abstract.handler';
|
|
3
|
-
import { Auth } from '@bravobit/bb-foundation/auth';
|
|
4
|
-
export declare class LocalPermissionsHandler extends PermissionsHandler {
|
|
5
|
-
protected auth: Auth;
|
|
6
|
-
protected localPermissions: LocalPermissionsData;
|
|
7
|
-
constructor(auth: Auth, localPermissions: LocalPermissionsData);
|
|
8
|
-
get(): import("rxjs").Observable<any[]>;
|
|
9
|
-
protected getPermissionsForRole(role: string): any[];
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
2
|
-
import { InjectionToken, Provider } from '@angular/core';
|
|
3
|
-
export declare class PermissionsConfig {
|
|
4
|
-
provider?: Provider;
|
|
5
|
-
localPermissions?: LocalPermissionsData;
|
|
6
|
-
onPermissionDenied?: (router: Router, snapshot: ActivatedRouteSnapshot, state: RouterStateSnapshot) => UrlTree;
|
|
7
|
-
}
|
|
8
|
-
export interface PermissionsOptions {
|
|
9
|
-
mode?: PermissionsMode;
|
|
10
|
-
}
|
|
11
|
-
export type PermissionsMode = 'and' | 'or' | 'not';
|
|
12
|
-
export type LocalPermissionsData<T extends string = any> = Record<string, T[] | '*'>;
|
|
13
|
-
export declare const PERMISSIONS_CONFIG: InjectionToken<PermissionsConfig>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { PermissionsConfig } from './permissions.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./directives/permission.directive";
|
|
5
|
-
export declare class PermissionsModule {
|
|
6
|
-
static forRoot(config?: PermissionsConfig): ModuleWithProviders<PermissionsModule>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PermissionsModule, never, [typeof i1.BbPermission], [typeof i1.BbPermission]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PermissionsModule>;
|
|
10
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { PermissionsHandler } from './handlers/abstract.handler';
|
|
2
|
-
import { PermissionsOptions } from './permissions.interface';
|
|
3
|
-
import { OnDestroy } from '@angular/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class Permissions implements OnDestroy {
|
|
6
|
-
private _handler;
|
|
7
|
-
private _activePermissions$;
|
|
8
|
-
private _subscription;
|
|
9
|
-
constructor(_handler: PermissionsHandler);
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
all(): import("rxjs").Observable<string[]>;
|
|
12
|
-
allSync(): string[];
|
|
13
|
-
has(value: string | string[], options?: PermissionsOptions): import("rxjs").Observable<boolean>;
|
|
14
|
-
hasSync(value: string | string[], options?: PermissionsOptions): boolean;
|
|
15
|
-
private hasPermission;
|
|
16
|
-
private verifyModeAnd;
|
|
17
|
-
private verifyModeNot;
|
|
18
|
-
private verifyModeOr;
|
|
19
|
-
private getRequiredPermissions;
|
|
20
|
-
private trackPermissions;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Permissions, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Permissions>;
|
|
23
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './lib/handlers/abstract.handler';
|
|
2
|
-
export * from './lib/handlers/local.handler';
|
|
3
|
-
export * from './lib/directives/permission.directive';
|
|
4
|
-
export * from './lib/guards/permission.guard';
|
|
5
|
-
export * from './lib/permissions.interface';
|
|
6
|
-
export * from './lib/permissions.service';
|
|
7
|
-
export * from './lib/permissions.config';
|
|
8
|
-
export * from './lib/permissions.module';
|
package/public_api.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export * from './lib/core/services/image-converter.service';
|
|
2
|
-
export * from './lib/core/services/file-loader.service';
|
|
3
|
-
export * from './lib/core/services/files.service';
|
|
4
|
-
export * from './lib/core/services/languages.service';
|
|
5
|
-
export * from './lib/core/services/network.service';
|
|
6
|
-
export * from './lib/core/services/patch.service';
|
|
7
|
-
export * from './lib/core/services/exif.service';
|
|
8
|
-
export * from './lib/core/tokens/accept-language.token';
|
|
9
|
-
export * from './lib/core/tokens/cookie.token';
|
|
10
|
-
export * from './lib/core/tokens/window.token';
|
|
11
|
-
export * from './lib/core/tokens/navigator.token';
|
|
12
|
-
export * from './lib/core/tokens/location.token';
|
|
13
|
-
export * from './lib/core/tokens/global-focus-mode.token';
|
|
14
|
-
export * from './lib/core/miscellaneous/regex';
|
|
15
|
-
export * from './lib/core/miscellaneous/validator';
|
|
16
|
-
export * from './lib/core/miscellaneous/coercion';
|
|
17
|
-
export * from './lib/core/colors/hex';
|
|
18
|
-
export * from './lib/core/colors/hsl';
|
|
19
|
-
export * from './lib/core/colors/hsv';
|
|
20
|
-
export * from './lib/core/colors/rgb';
|
|
21
|
-
export * from './lib/core/functions/utils';
|
|
22
|
-
export * from './lib/core/functions/date.utils';
|
|
23
|
-
export * from './lib/core/functions/password.utils';
|
|
24
|
-
export * from './lib/core/functions/array.utils';
|
|
25
|
-
export * from './lib/core/functions/file.utils';
|
|
26
|
-
export * from './lib/core/functions/format.utils';
|
|
27
|
-
export * from './lib/core/functions/route-cache.utils';
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RecaptchaComponent implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
5
|
-
private readonly _zone;
|
|
6
|
-
private readonly _platform;
|
|
7
|
-
private readonly _renderer;
|
|
8
|
-
private readonly _elementRef;
|
|
9
|
-
private readonly _loader;
|
|
10
|
-
private readonly _localizeId;
|
|
11
|
-
private readonly _config?;
|
|
12
|
-
id: string;
|
|
13
|
-
siteKey: string | null;
|
|
14
|
-
tabIndex: number | null;
|
|
15
|
-
type: ReCaptchaV2.Type | null;
|
|
16
|
-
size: ReCaptchaV2.Size | null;
|
|
17
|
-
theme: ReCaptchaV2.Theme | null;
|
|
18
|
-
badge: ReCaptchaV2.Badge | null;
|
|
19
|
-
errorMode: 'handled' | 'default';
|
|
20
|
-
grouped: boolean;
|
|
21
|
-
resolved: EventEmitter<string>;
|
|
22
|
-
error: EventEmitter<[]>;
|
|
23
|
-
private _widgetId;
|
|
24
|
-
private _grecaptcha;
|
|
25
|
-
private _executeRequested;
|
|
26
|
-
private _onChange;
|
|
27
|
-
private _onTouched;
|
|
28
|
-
private _subscriptions;
|
|
29
|
-
constructor();
|
|
30
|
-
ngAfterViewInit(): void;
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
execute(): void;
|
|
33
|
-
reset(): void;
|
|
34
|
-
writeValue(value: string): void;
|
|
35
|
-
registerOnChange(fn: (value: string) => void): void;
|
|
36
|
-
registerOnTouched(fn: () => void): void;
|
|
37
|
-
onResolve(event: string): void;
|
|
38
|
-
private renderCaptchaElement;
|
|
39
|
-
private resetCaptchaElement;
|
|
40
|
-
private initializeProperties;
|
|
41
|
-
private handleOnLoad;
|
|
42
|
-
private handleLocaleChanges;
|
|
43
|
-
private onLocaleChanged;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "bb-recaptcha", ["bbRecaptcha"], { "id": { "alias": "id"; "required": false; }; "siteKey": { "alias": "siteKey"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "errorMode": { "alias": "errorMode"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; }, { "resolved": "resolved"; "error": "error"; }, never, never, true, never>;
|
|
46
|
-
static ngAcceptInputType_grouped: unknown;
|
|
47
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RecaptchaLoader {
|
|
4
|
-
private readonly _platform;
|
|
5
|
-
private readonly _rendererFactory;
|
|
6
|
-
private readonly _config;
|
|
7
|
-
private readonly _localize;
|
|
8
|
-
private readonly _localeId;
|
|
9
|
-
private readonly _document;
|
|
10
|
-
private readonly _renderer;
|
|
11
|
-
readonly ready$: BehaviorSubject<ReCaptchaV2.ReCaptcha | null> | null;
|
|
12
|
-
private readonly _windowLoadFn;
|
|
13
|
-
constructor();
|
|
14
|
-
private createScript;
|
|
15
|
-
private getUrl;
|
|
16
|
-
private getQueryParams;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaLoader, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RecaptchaLoader>;
|
|
19
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare const RECAPTCHA_CONFIG: InjectionToken<RecaptchaConfig>;
|
|
3
|
-
export interface RecaptchaConfig {
|
|
4
|
-
baseUrl?: string;
|
|
5
|
-
nonce?: string;
|
|
6
|
-
siteKey?: string;
|
|
7
|
-
theme?: ReCaptchaV2.Theme;
|
|
8
|
-
type?: ReCaptchaV2.Type;
|
|
9
|
-
size?: ReCaptchaV2.Size;
|
|
10
|
-
badge?: ReCaptchaV2.Badge;
|
|
11
|
-
}
|
|
12
|
-
export type NeverUndefined<T> = T extends undefined ? never : T;
|
|
13
|
-
export type RecaptchaErrorParameters = Parameters<NeverUndefined<ReCaptchaV2.Parameters['error-callback']>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { RecaptchaConfig } from './recaptcha.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./recaptcha/recaptcha.component";
|
|
5
|
-
export declare class RecaptchaModule {
|
|
6
|
-
static forRoot(config?: RecaptchaConfig): ModuleWithProviders<RecaptchaModule>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RecaptchaModule, never, [typeof i1.RecaptchaComponent], [typeof i1.RecaptchaComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RecaptchaModule>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
type ExtractObservableType<A> = A extends Observable<infer B> ? B : never;
|
|
3
|
-
export declare function combineLatestMap<TIn extends {
|
|
4
|
-
[key: string]: Observable<any>;
|
|
5
|
-
}, TOut extends {
|
|
6
|
-
[K in keyof TIn]: ExtractObservableType<TIn[K]>;
|
|
7
|
-
}>(observables: TIn): Observable<TOut>;
|
|
8
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function filterNil<T>(): import("rxjs").MonoTypeOperatorFunction<T>;
|
package/rxjs/public_api.d.ts
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NgSelectComponent } from '@ng-select/ng-select';
|
|
3
|
-
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BbSelect<T> implements ControlValueAccessor, OnInit, OnDestroy {
|
|
7
|
-
private readonly _elementRef;
|
|
8
|
-
private readonly _window?;
|
|
9
|
-
private readonly _document?;
|
|
10
|
-
readonly labelId: string;
|
|
11
|
-
readonly control: FormControl<any>;
|
|
12
|
-
optionTemplate: TemplateRef<any>;
|
|
13
|
-
optionGroupTemplate: TemplateRef<any>;
|
|
14
|
-
labelTemplate: TemplateRef<any>;
|
|
15
|
-
multiLabelTemplate: TemplateRef<any>;
|
|
16
|
-
selectComponent: NgSelectComponent;
|
|
17
|
-
label: string | TemplateRef<any> | null;
|
|
18
|
-
hint: string | TemplateRef<any> | null;
|
|
19
|
-
data: Observable<T[]> | null;
|
|
20
|
-
required: boolean;
|
|
21
|
-
readonly: boolean;
|
|
22
|
-
grouped: boolean;
|
|
23
|
-
hideErrors: boolean;
|
|
24
|
-
loading: boolean;
|
|
25
|
-
multiple: boolean;
|
|
26
|
-
clearable: boolean;
|
|
27
|
-
searchable: boolean;
|
|
28
|
-
virtualScroll: boolean;
|
|
29
|
-
closeOnSelect: boolean;
|
|
30
|
-
selectableGroup: boolean;
|
|
31
|
-
selectableGroupAsModel: boolean;
|
|
32
|
-
hideArrow: boolean;
|
|
33
|
-
selectOnTab: boolean;
|
|
34
|
-
hideSelected: boolean;
|
|
35
|
-
maxSelectedItems: number | null;
|
|
36
|
-
disablePanelScrolling: boolean;
|
|
37
|
-
bindLabel: string | null;
|
|
38
|
-
bindValue: string | null;
|
|
39
|
-
placeholder: string | null;
|
|
40
|
-
typeahead: Subject<string> | null;
|
|
41
|
-
trackByFn: any | null;
|
|
42
|
-
minTermLength: number;
|
|
43
|
-
groupBy: string | null;
|
|
44
|
-
isOpen: boolean;
|
|
45
|
-
clearSearchOnAdd: boolean;
|
|
46
|
-
addTag: boolean | ((term: string) => any | Promise<any>);
|
|
47
|
-
appendTo: string | null;
|
|
48
|
-
set disabled(value: boolean);
|
|
49
|
-
get disabled(): boolean;
|
|
50
|
-
get value(): any | null;
|
|
51
|
-
valueChange: EventEmitter<any>;
|
|
52
|
-
onBlur: EventEmitter<FocusEvent>;
|
|
53
|
-
onChange: EventEmitter<any>;
|
|
54
|
-
set value(value: any | null);
|
|
55
|
-
error: boolean;
|
|
56
|
-
private _disabled;
|
|
57
|
-
onTouchedCallback: () => void;
|
|
58
|
-
onChangeCallback: (_: T | null) => void;
|
|
59
|
-
private _subscription;
|
|
60
|
-
ngOnInit(): void;
|
|
61
|
-
ngOnDestroy(): void;
|
|
62
|
-
writeValue(value: T | null): void;
|
|
63
|
-
registerOnChange(method: (_: T | null) => void): void;
|
|
64
|
-
registerOnTouched(method: () => void): void;
|
|
65
|
-
setDisabledState(isDisabled: boolean): void;
|
|
66
|
-
onErrorChange(error: {
|
|
67
|
-
token: string;
|
|
68
|
-
data?: any;
|
|
69
|
-
} | null): void;
|
|
70
|
-
private handleValueChanges;
|
|
71
|
-
private handleScrolling;
|
|
72
|
-
private getScrollableContainer;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelect<any>, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BbSelect<any>, "bb-select", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "data": { "alias": "data"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "hideErrors": { "alias": "hideErrors"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "selectableGroup": { "alias": "selectableGroup"; "required": false; }; "selectableGroupAsModel": { "alias": "selectableGroupAsModel"; "required": false; }; "hideArrow": { "alias": "hideArrow"; "required": false; }; "selectOnTab": { "alias": "selectOnTab"; "required": false; }; "hideSelected": { "alias": "hideSelected"; "required": false; }; "maxSelectedItems": { "alias": "maxSelectedItems"; "required": false; }; "disablePanelScrolling": { "alias": "disablePanelScrolling"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "minTermLength": { "alias": "minTermLength"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "onBlur": "onBlur"; "onChange": "onChange"; }, ["optionTemplate", "optionGroupTemplate", "labelTemplate", "multiLabelTemplate"], never, true, never>;
|
|
75
|
-
static ngAcceptInputType_data: unknown;
|
|
76
|
-
static ngAcceptInputType_required: unknown;
|
|
77
|
-
static ngAcceptInputType_readonly: unknown;
|
|
78
|
-
static ngAcceptInputType_grouped: unknown;
|
|
79
|
-
static ngAcceptInputType_hideErrors: unknown;
|
|
80
|
-
static ngAcceptInputType_loading: unknown;
|
|
81
|
-
static ngAcceptInputType_multiple: unknown;
|
|
82
|
-
static ngAcceptInputType_clearable: unknown;
|
|
83
|
-
static ngAcceptInputType_searchable: unknown;
|
|
84
|
-
static ngAcceptInputType_virtualScroll: unknown;
|
|
85
|
-
static ngAcceptInputType_closeOnSelect: unknown;
|
|
86
|
-
static ngAcceptInputType_selectableGroup: unknown;
|
|
87
|
-
static ngAcceptInputType_selectableGroupAsModel: unknown;
|
|
88
|
-
static ngAcceptInputType_hideArrow: unknown;
|
|
89
|
-
static ngAcceptInputType_selectOnTab: unknown;
|
|
90
|
-
static ngAcceptInputType_hideSelected: unknown;
|
|
91
|
-
static ngAcceptInputType_maxSelectedItems: unknown;
|
|
92
|
-
static ngAcceptInputType_disablePanelScrolling: unknown;
|
|
93
|
-
static ngAcceptInputType_disabled: unknown;
|
|
94
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BbSelectLabel {
|
|
4
|
-
template: TemplateRef<any>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectLabel, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectLabel, "ng-template[bbSelectLabel]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BbSelectMultiLabel {
|
|
4
|
-
template: TemplateRef<any>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectMultiLabel, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectMultiLabel, "ng-template[bbSelectMultiLabel]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BbSelectOptionGroup {
|
|
4
|
-
template: TemplateRef<any>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectOptionGroup, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectOptionGroup, "ng-template[bbSelectOptionGroup]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BbSelectOption {
|
|
4
|
-
template: TemplateRef<any>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BbSelectOption, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BbSelectOption, "ng-template[bbSelectOption]", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./select/select.component";
|
|
3
|
-
import * as i2 from "./select-label.directive";
|
|
4
|
-
import * as i3 from "./select-option.directive";
|
|
5
|
-
import * as i4 from "./select-option-group.directive";
|
|
6
|
-
import * as i5 from "./select-multi-label.directive";
|
|
7
|
-
export declare class SelectModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, never, [typeof i1.BbSelect, typeof i2.BbSelectLabel, typeof i3.BbSelectOption, typeof i4.BbSelectOptionGroup, typeof i5.BbSelectMultiLabel], [typeof i1.BbSelect, typeof i2.BbSelectLabel, typeof i3.BbSelectOption, typeof i4.BbSelectOptionGroup, typeof i5.BbSelectMultiLabel]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
|
|
11
|
-
}
|
package/select/public_api.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './lib/select-option-group.directive';
|
|
2
|
-
export * from './lib/select/select.component';
|
|
3
|
-
export * from './lib/select-option.directive';
|
|
4
|
-
export * from './lib/select-label.directive';
|
|
5
|
-
export * from './lib/select-multi-label.directive';
|
|
6
|
-
export * from './lib/select.config';
|
|
7
|
-
export * from './lib/select.module';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface StorageAttributes {
|
|
2
|
-
expires?: Date | number;
|
|
3
|
-
}
|
|
4
|
-
export interface CookieStorageAttributes extends StorageAttributes {
|
|
5
|
-
domain?: string;
|
|
6
|
-
path?: string;
|
|
7
|
-
secure?: boolean;
|
|
8
|
-
sameSite?: 'None' | 'Lax' | 'Strict';
|
|
9
|
-
}
|
|
10
|
-
export interface PolyfillStorageAttributes extends StorageAttributes {
|
|
11
|
-
}
|
|
12
|
-
export interface MemoryStorageAttributes extends StorageAttributes {
|
|
13
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { StorageAttributes } from './attributes.interface';
|
|
2
|
-
export interface StorageStrategy {
|
|
3
|
-
get<T = any>(token: string): T | undefined;
|
|
4
|
-
set<T = any>(token: string, value: T): void;
|
|
5
|
-
set<T = any>(token: string, value: T, attributes?: StorageAttributes): void;
|
|
6
|
-
remove(token: string): void;
|
|
7
|
-
remove(token: string, attributes?: StorageAttributes): void;
|
|
8
|
-
clear(): void;
|
|
9
|
-
clear(attributes?: StorageAttributes): void;
|
|
10
|
-
isSupported(): boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare enum StorageOption {
|
|
13
|
-
Local = "local",
|
|
14
|
-
Cookie = "cookie",
|
|
15
|
-
Session = "session",
|
|
16
|
-
Memory = "memory"
|
|
17
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { StorageOption, StorageStrategy } from './interfaces/strategy.interface';
|
|
2
|
-
import { StorageAttributes } from './interfaces/attributes.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class Storage implements StorageStrategy {
|
|
5
|
-
private readonly _platform;
|
|
6
|
-
private readonly _cookieString?;
|
|
7
|
-
private readonly _strategies;
|
|
8
|
-
private readonly _current;
|
|
9
|
-
constructor();
|
|
10
|
-
select(option: StorageOption | StorageOption[]): StorageStrategy;
|
|
11
|
-
get local(): StorageStrategy;
|
|
12
|
-
get cookie(): StorageStrategy;
|
|
13
|
-
get session(): StorageStrategy;
|
|
14
|
-
get memory(): StorageStrategy;
|
|
15
|
-
get<T = any>(token: string): T;
|
|
16
|
-
set<T = any>(token: string, value: T, attributes?: StorageAttributes): void;
|
|
17
|
-
remove(token: string, attributes?: StorageAttributes): void;
|
|
18
|
-
clear(attributes?: StorageAttributes): void;
|
|
19
|
-
isSupported(): boolean;
|
|
20
|
-
private findBestStorageStrategy;
|
|
21
|
-
private getLocalStorage;
|
|
22
|
-
private getSessionStorage;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Storage, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Storage>;
|
|
25
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { CookieStorageAttributes } from '../interfaces/attributes.interface';
|
|
2
|
-
import { StorageStrategy } from '../interfaces/strategy.interface';
|
|
3
|
-
export declare class CookieStorage implements StorageStrategy {
|
|
4
|
-
private _isBrowser;
|
|
5
|
-
private _cookieString?;
|
|
6
|
-
private readonly _isSupported;
|
|
7
|
-
constructor(_isBrowser: boolean, _cookieString?: string);
|
|
8
|
-
get<T = any>(token: string): T;
|
|
9
|
-
set<T = any>(token: string, value: T, attributes?: CookieStorageAttributes): void;
|
|
10
|
-
remove(token: string, attributes?: CookieStorageAttributes): void;
|
|
11
|
-
clear(attributes?: CookieStorageAttributes): void;
|
|
12
|
-
isSupported(): boolean;
|
|
13
|
-
private all;
|
|
14
|
-
private encode;
|
|
15
|
-
private decode;
|
|
16
|
-
private jsonParse;
|
|
17
|
-
private stringifyCookie;
|
|
18
|
-
private stringifyAttribute;
|
|
19
|
-
private testIfSupported;
|
|
20
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MemoryStorageAttributes } from '../interfaces/attributes.interface';
|
|
2
|
-
import { StorageStrategy } from '../interfaces/strategy.interface';
|
|
3
|
-
export declare class MemoryStorage implements StorageStrategy {
|
|
4
|
-
private _storage;
|
|
5
|
-
get<T = any>(token: string): T;
|
|
6
|
-
set<T = any>(token: string, value: T, attributes?: MemoryStorageAttributes): void;
|
|
7
|
-
remove(token: string): void;
|
|
8
|
-
clear(): void;
|
|
9
|
-
isSupported(): boolean;
|
|
10
|
-
private encode;
|
|
11
|
-
}
|