@baloise/ds-angular 19.10.1 → 20.0.0-next.7
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/LICENSE +11 -2
- package/dist/fesm2022/baloise-ds-angular.mjs +2359 -0
- package/dist/fesm2022/baloise-ds-angular.mjs.map +1 -0
- package/dist/package.json +42 -0
- package/dist/types/baloise-ds-angular.d.ts +1192 -0
- package/dist/types/baloise-ds-angular.d.ts.map +1 -0
- package/package.json +29 -22
- package/README.md +0 -37
- package/app-initialize.d.ts +0 -3
- package/bundles.d.ts +0 -27
- package/components/bal-checkbox-group.d.ts +0 -20
- package/components/bal-checkbox.d.ts +0 -21
- package/components/bal-date.d.ts +0 -30
- package/components/bal-dropdown.d.ts +0 -20
- package/components/bal-file-upload.d.ts +0 -28
- package/components/bal-input-date.d.ts +0 -24
- package/components/bal-input-slider.d.ts +0 -24
- package/components/bal-input-stepper.d.ts +0 -27
- package/components/bal-input.d.ts +0 -24
- package/components/bal-number-input.d.ts +0 -25
- package/components/bal-radio-group.d.ts +0 -20
- package/components/bal-segment.d.ts +0 -18
- package/components/bal-select.d.ts +0 -28
- package/components/bal-textarea.d.ts +0 -24
- package/components/bal-time-input.d.ts +0 -26
- package/components/index.d.ts +0 -15
- package/directives/error.component.d.ts +0 -8
- package/directives/focus.directive.d.ts +0 -6
- package/esm2022/app-initialize.mjs +0 -32
- package/esm2022/baloise-ds-angular.mjs +0 -5
- package/esm2022/bundles.mjs +0 -203
- package/esm2022/components/bal-checkbox-group.mjs +0 -55
- package/esm2022/components/bal-checkbox.mjs +0 -59
- package/esm2022/components/bal-date.mjs +0 -55
- package/esm2022/components/bal-dropdown.mjs +0 -61
- package/esm2022/components/bal-file-upload.mjs +0 -55
- package/esm2022/components/bal-input-date.mjs +0 -55
- package/esm2022/components/bal-input-slider.mjs +0 -55
- package/esm2022/components/bal-input-stepper.mjs +0 -60
- package/esm2022/components/bal-input.mjs +0 -55
- package/esm2022/components/bal-number-input.mjs +0 -60
- package/esm2022/components/bal-radio-group.mjs +0 -55
- package/esm2022/components/bal-segment.mjs +0 -59
- package/esm2022/components/bal-select.mjs +0 -55
- package/esm2022/components/bal-textarea.mjs +0 -55
- package/esm2022/components/bal-time-input.mjs +0 -55
- package/esm2022/components/index.mjs +0 -16
- package/esm2022/directives/error.component.mjs +0 -23
- package/esm2022/directives/focus.directive.mjs +0 -15
- package/esm2022/generated/angular-component-lib/utils.mjs +0 -75
- package/esm2022/generated/meta.mjs +0 -48
- package/esm2022/generated/proxies.mjs +0 -2907
- package/esm2022/generated/value-accessor.mjs +0 -149
- package/esm2022/index.mjs +0 -11
- package/esm2022/provide.mjs +0 -68
- package/esm2022/providers/modal.service.mjs +0 -32
- package/esm2022/providers/snackbar.service.mjs +0 -30
- package/esm2022/providers/toast.service.mjs +0 -30
- package/fesm2022/baloise-ds-angular.mjs +0 -4209
- package/fesm2022/baloise-ds-angular.mjs.map +0 -1
- package/generated/angular-component-lib/utils.d.ts +0 -9
- package/generated/meta.d.ts +0 -45
- package/generated/proxies.d.ts +0 -1036
- package/generated/value-accessor.d.ts +0 -41
- package/index.d.ts +0 -11
- package/provide.d.ts +0 -3
- package/providers/modal.service.d.ts +0 -13
- package/providers/snackbar.service.d.ts +0 -10
- package/providers/toast.service.d.ts +0 -10
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, Injector, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ValueAccessor implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
5
|
-
protected injector: Injector;
|
|
6
|
-
protected elementRef: ElementRef;
|
|
7
|
-
private onChange;
|
|
8
|
-
private onTouched;
|
|
9
|
-
protected lastValue: any;
|
|
10
|
-
private statusChanges?;
|
|
11
|
-
constructor(injector: Injector, elementRef: ElementRef);
|
|
12
|
-
writeValue(value: any): void;
|
|
13
|
-
/**
|
|
14
|
-
* Notifies the ControlValueAccessor of a change in the value of the control.
|
|
15
|
-
*
|
|
16
|
-
* This is called by each of the ValueAccessor directives when we want to update
|
|
17
|
-
* the status and validity of the form control. For example with text components this
|
|
18
|
-
* is called when the ionInput event is fired. For select components this is called
|
|
19
|
-
* when the ionChange event is fired.
|
|
20
|
-
*
|
|
21
|
-
* This also updates the Ionic form status classes on the element.
|
|
22
|
-
*
|
|
23
|
-
* @param el The component element.
|
|
24
|
-
* @param value The new value of the control.
|
|
25
|
-
*/
|
|
26
|
-
handleValueChange(ev: CustomEvent<any>): void;
|
|
27
|
-
_handleBlurEvent(el: any): void;
|
|
28
|
-
registerOnChange(fn: (value: any) => void): void;
|
|
29
|
-
registerOnTouched(fn: () => void): void;
|
|
30
|
-
setDisabledState(isDisabled: boolean): void;
|
|
31
|
-
setInvalidState(isInvalid: boolean): void;
|
|
32
|
-
onStatusChange(): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
ngAfterViewInit(): void;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessor, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessor, never, never, {}, {}, never, never, false, never>;
|
|
37
|
-
}
|
|
38
|
-
export declare const findFieldComponent: (element: ElementRef) => {
|
|
39
|
-
disabled: boolean;
|
|
40
|
-
invalid: boolean;
|
|
41
|
-
} | undefined;
|
package/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type { ProxyComponent, BaloiseDesignSystemAngularConfig } from '@baloise/ds-angular-common';
|
|
2
|
-
export { AngularDelegate, BalBreakpointsService, BalConfigService, BalOrientationService, raf, parseCustomEvent, element, BalTokenUserConfig, BalTokenConfig, BalTokenModal, BalTokenBreakpoints, BalTokenBreakpointSubject, BalTokenDevice, BalTokenToast, BalTokenSnackbar, BalTokenOrientationSubject, } from '@baloise/ds-angular-common';
|
|
3
|
-
export { BalModalService } from './providers/modal.service';
|
|
4
|
-
export { BalToastService } from './providers/toast.service';
|
|
5
|
-
export { BalSnackbarService } from './providers/snackbar.service';
|
|
6
|
-
export * from './generated/proxies';
|
|
7
|
-
export * from './components';
|
|
8
|
-
export * from './bundles';
|
|
9
|
-
export { BalNgErrorComponent } from './directives/error.component';
|
|
10
|
-
export { BalAutoFocus } from './directives/focus.directive';
|
|
11
|
-
export { provideBaloiseDesignSystem } from './provide';
|
package/provide.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ComponentFactoryResolver, Injector } from '@angular/core';
|
|
2
|
-
import type { BalModalController, ModalOptions } from '@baloise/ds-core/components';
|
|
3
|
-
import { AngularDelegate, OverlayBaseController } from '@baloise/ds-angular-common';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BalModalService extends OverlayBaseController<ModalOptions, HTMLBalModalElement> {
|
|
6
|
-
private angularDelegate;
|
|
7
|
-
private resolver;
|
|
8
|
-
private injector;
|
|
9
|
-
constructor(angularDelegate: AngularDelegate, resolver: ComponentFactoryResolver, injector: Injector, ctrl: BalModalController);
|
|
10
|
-
create(opts: ModalOptions): Promise<HTMLBalModalElement>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BalModalService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BalModalService>;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { BalSnackbarController, BalSnackbarOptions, Components } from '@baloise/ds-core/components';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BalSnackbarService {
|
|
4
|
-
private ctrl;
|
|
5
|
-
constructor(ctrl: BalSnackbarController);
|
|
6
|
-
create(options: BalSnackbarOptions): Components.BalSnackbar;
|
|
7
|
-
dismissAll(): Promise<void>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BalSnackbarService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BalSnackbarService>;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { BalToastController, BalToastOptions, Components } from '@baloise/ds-core/components';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BalToastService {
|
|
4
|
-
private ctrl;
|
|
5
|
-
constructor(ctrl: BalToastController);
|
|
6
|
-
create(options: BalToastOptions): Components.BalToast;
|
|
7
|
-
dismissAll(): Promise<void>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BalToastService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BalToastService>;
|
|
10
|
-
}
|