@agorapulse/ui-components 18.0.41 → 18.0.43
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/agorapulse-ui-components-18.0.43.tgz +0 -0
- package/directives/checkbox.directive.d.ts +15 -43
- package/esm2022/directives/checkbox.directive.mjs +94 -253
- package/esm2022/nav-selector/utils/nav-selector.folding.mjs +3 -3
- package/esm2022/nav-selector/utils/nav-selector.single-select.mjs +5 -2
- package/fesm2022/agorapulse-ui-components-directives.mjs +96 -254
- package/fesm2022/agorapulse-ui-components-directives.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs +6 -3
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs.map +1 -1
- package/package.json +1 -1
- package/agorapulse-ui-components-18.0.41.tgz +0 -0
|
Binary file
|
|
@@ -1,60 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare
|
|
5
|
-
provide: import("@angular/core").InjectionToken<readonly ControlValueAccessor[]>;
|
|
6
|
-
useExisting: import("@angular/core").Type<any>;
|
|
7
|
-
multi: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare class CheckboxDirective implements ControlValueAccessor, OnInit, OnDestroy {
|
|
10
|
-
private readonly symbolRegistry;
|
|
3
|
+
export declare class CheckboxDirective implements OnInit, OnDestroy {
|
|
11
4
|
private readonly elementRef;
|
|
12
5
|
private readonly renderer;
|
|
13
|
-
private readonly viewContainer;
|
|
14
|
-
ariaLabel?: string;
|
|
15
|
-
ariaLabelledby?: string;
|
|
16
|
-
ariaDescribedby?: string;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
set indeterminate(indeterminate: boolean);
|
|
19
|
-
get indeterminate(): boolean;
|
|
20
|
-
set checked(checked: boolean);
|
|
21
|
-
get checked(): boolean;
|
|
22
|
-
required: boolean;
|
|
23
|
-
set name(name: string);
|
|
24
|
-
get name(): string;
|
|
25
|
-
readonly change: EventEmitter<boolean>;
|
|
26
6
|
private _checked;
|
|
27
7
|
private _indeterminate;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
8
|
+
checked: import("@angular/core").Signal<boolean>;
|
|
9
|
+
indeterminate: import("@angular/core").Signal<boolean>;
|
|
10
|
+
set checkedInput(checked: boolean);
|
|
11
|
+
set indeterminateInput(indeterminate: boolean);
|
|
12
|
+
private updateNativeElementSync;
|
|
31
13
|
private listeners;
|
|
32
14
|
private styleElement;
|
|
33
|
-
private
|
|
34
|
-
private
|
|
35
|
-
|
|
36
|
-
private
|
|
15
|
+
private checkmarkSvg;
|
|
16
|
+
private indeterminateBar;
|
|
17
|
+
constructor();
|
|
18
|
+
private readonly checkSvgContent;
|
|
37
19
|
ngOnInit(): void;
|
|
38
20
|
ngOnDestroy(): void;
|
|
39
21
|
private createCheckboxStructure;
|
|
40
|
-
private
|
|
41
|
-
private
|
|
22
|
+
private createOverlayElement;
|
|
23
|
+
private createCheckmarkSvg;
|
|
42
24
|
private createIndeterminateBar;
|
|
43
25
|
private updateCheckmarkVisibility;
|
|
44
26
|
private setupEventListeners;
|
|
45
27
|
private applyCheckboxStyles;
|
|
46
|
-
onBlur(): void;
|
|
47
28
|
private onValueChange;
|
|
48
|
-
writeValue(value: boolean): void;
|
|
49
|
-
registerOnChange(fn: (value: boolean) => void): void;
|
|
50
|
-
registerOnTouched(fn: () => void): void;
|
|
51
|
-
setDisabledState(isDisabled: boolean): void;
|
|
52
|
-
validate(): false | {
|
|
53
|
-
invalid: boolean;
|
|
54
|
-
};
|
|
55
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxDirective, never>;
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxDirective, "input[type=\"checkbox\"][apCheckbox]", never, { "
|
|
57
|
-
static
|
|
58
|
-
static ngAcceptInputType_indeterminate: unknown;
|
|
59
|
-
static ngAcceptInputType_required: unknown;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxDirective, "input[type=\"checkbox\"][apCheckbox]", never, { "checkedInput": { "alias": "checked"; "required": false; }; "indeterminateInput": { "alias": "indeterminate"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
+
static ngAcceptInputType_indeterminateInput: unknown;
|
|
60
32
|
}
|