yukit-web 0.10.5 → 0.10.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/fesm2022/yukit-web-chart.mjs +807 -552
- package/fesm2022/yukit-web-chart.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-accordion.mjs +271 -100
- package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-alert-dialog.mjs +675 -243
- package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-alert.mjs +199 -91
- package/fesm2022/yukit-web-helm-alert.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs +77 -43
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-attachment.mjs +552 -205
- package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-autocomplete.mjs +913 -288
- package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-avatar.mjs +298 -137
- package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-badge.mjs +78 -44
- package/fesm2022/yukit-web-helm-badge.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-breadcrumb.mjs +466 -183
- package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-bubble.mjs +297 -118
- package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-button-group.mjs +179 -83
- package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-button.mjs +137 -67
- package/fesm2022/yukit-web-helm-button.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-calendar.mjs +957 -230
- package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-card.mjs +318 -136
- package/fesm2022/yukit-web-helm-card.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-carousel.mjs +563 -233
- package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-checkbox.mjs +367 -101
- package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-collapsible.mjs +155 -61
- package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-combobox.mjs +1572 -481
- package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-command.mjs +752 -260
- package/fesm2022/yukit-web-helm-command.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-context-menu.mjs +161 -63
- package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-date-picker.mjs +2322 -932
- package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-dialog.mjs +625 -240
- package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-drawer.mjs +539 -222
- package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs +1295 -493
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-empty.mjs +280 -121
- package/fesm2022/yukit-web-helm-empty.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-field.mjs +670 -301
- package/fesm2022/yukit-web-helm-field.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-hover-card.mjs +198 -99
- package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input-group.mjs +357 -165
- package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input-otp.mjs +306 -114
- package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input.mjs +62 -30
- package/fesm2022/yukit-web-helm-input.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-item.mjs +545 -227
- package/fesm2022/yukit-web-helm-item.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-kbd.mjs +85 -44
- package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-label.mjs +60 -28
- package/fesm2022/yukit-web-helm-label.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-marker.mjs +165 -74
- package/fesm2022/yukit-web-helm-marker.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-menubar.mjs +207 -82
- package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-message.mjs +277 -112
- package/fesm2022/yukit-web-helm-message.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-native-select.mjs +363 -129
- package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-navigation-menu.mjs +398 -166
- package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-pagination.mjs +1444 -460
- package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-popover.mjs +358 -133
- package/fesm2022/yukit-web-helm-popover.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-progress.mjs +126 -58
- package/fesm2022/yukit-web-helm-progress.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-radio-group.mjs +420 -144
- package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-resizable.mjs +210 -91
- package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-scroll-area.mjs +64 -34
- package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-select.mjs +1059 -351
- package/fesm2022/yukit-web-helm-select.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-separator.mjs +61 -31
- package/fesm2022/yukit-web-helm-separator.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sheet.mjs +590 -231
- package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sidebar.mjs +1781 -757
- package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-skeleton.mjs +45 -27
- package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-slider.mjs +139 -59
- package/fesm2022/yukit-web-helm-slider.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sonner.mjs +350 -62
- package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-spinner.mjs +118 -44
- package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-switch.mjs +326 -94
- package/fesm2022/yukit-web-helm-switch.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-table.mjs +374 -177
- package/fesm2022/yukit-web-helm-table.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-tabs.mjs +549 -173
- package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-textarea.mjs +62 -30
- package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-toggle-group.mjs +291 -89
- package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-toggle.mjs +132 -57
- package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-tooltip.mjs +84 -54
- package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-typography.mjs +461 -202
- package/fesm2022/yukit-web-helm-typography.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-utils.mjs +131 -253
- package/fesm2022/yukit-web-helm-utils.mjs.map +1 -1
- package/fesm2022/yukit-web.mjs +24457 -9655
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +9 -9
- package/types/yukit-web-chart.d.ts +184 -125
- package/types/yukit-web-helm-accordion.d.ts +49 -28
- package/types/yukit-web-helm-alert-dialog.d.ts +127 -73
- package/types/yukit-web-helm-alert.d.ts +30 -32
- package/types/yukit-web-helm-aspect-ratio.d.ts +17 -15
- package/types/yukit-web-helm-attachment.d.ts +97 -69
- package/types/yukit-web-helm-autocomplete.d.ts +205 -79
- package/types/yukit-web-helm-avatar.d.ts +44 -39
- package/types/yukit-web-helm-badge.d.ts +18 -17
- package/types/yukit-web-helm-breadcrumb.d.ts +69 -45
- package/types/yukit-web-helm-bubble.d.ts +54 -40
- package/types/yukit-web-helm-button-group.d.ts +29 -22
- package/types/yukit-web-helm-button.d.ts +41 -31
- package/types/yukit-web-helm-calendar.d.ts +157 -85
- package/types/yukit-web-helm-card.d.ts +38 -42
- package/types/yukit-web-helm-carousel.d.ts +105 -73
- package/types/yukit-web-helm-checkbox.d.ts +117 -58
- package/types/yukit-web-helm-collapsible.d.ts +34 -19
- package/types/yukit-web-helm-combobox.d.ts +355 -150
- package/types/yukit-web-helm-command.d.ts +140 -73
- package/types/yukit-web-helm-context-menu.d.ts +48 -27
- package/types/yukit-web-helm-date-picker.d.ts +852 -556
- package/types/yukit-web-helm-dialog.d.ts +106 -78
- package/types/yukit-web-helm-drawer.d.ts +90 -61
- package/types/yukit-web-helm-dropdown-menu.d.ts +278 -158
- package/types/yukit-web-helm-empty.d.ts +38 -42
- package/types/yukit-web-helm-field.d.ts +122 -91
- package/types/yukit-web-helm-hover-card.d.ts +39 -27
- package/types/yukit-web-helm-input-group.d.ts +63 -41
- package/types/yukit-web-helm-input-otp.d.ts +38 -35
- package/types/yukit-web-helm-input.d.ts +19 -12
- package/types/yukit-web-helm-item.d.ts +90 -82
- package/types/yukit-web-helm-kbd.d.ts +10 -15
- package/types/yukit-web-helm-label.d.ts +14 -11
- package/types/yukit-web-helm-marker.d.ts +26 -27
- package/types/yukit-web-helm-menubar.d.ts +61 -32
- package/types/yukit-web-helm-message.d.ts +34 -38
- package/types/yukit-web-helm-native-select.d.ts +102 -61
- package/types/yukit-web-helm-navigation-menu.d.ts +76 -42
- package/types/yukit-web-helm-pagination.d.ts +344 -166
- package/types/yukit-web-helm-popover.d.ts +62 -42
- package/types/yukit-web-helm-progress.d.ts +27 -20
- package/types/yukit-web-helm-radio-group.d.ts +121 -63
- package/types/yukit-web-helm-resizable.d.ts +46 -24
- package/types/yukit-web-helm-scroll-area.d.ts +6 -10
- package/types/yukit-web-helm-select.d.ts +231 -114
- package/types/yukit-web-helm-separator.d.ts +15 -12
- package/types/yukit-web-helm-sheet.d.ts +94 -65
- package/types/yukit-web-helm-sidebar.d.ts +322 -232
- package/types/yukit-web-helm-skeleton.d.ts +6 -10
- package/types/yukit-web-helm-slider.d.ts +33 -13
- package/types/yukit-web-helm-sonner.d.ts +112 -51
- package/types/yukit-web-helm-spinner.d.ts +24 -17
- package/types/yukit-web-helm-switch.d.ts +89 -51
- package/types/yukit-web-helm-table.d.ts +38 -42
- package/types/yukit-web-helm-tabs.d.ts +116 -60
- package/types/yukit-web-helm-textarea.d.ts +19 -12
- package/types/yukit-web-helm-toggle-group.d.ts +81 -32
- package/types/yukit-web-helm-toggle.d.ts +39 -21
- package/types/yukit-web-helm-tooltip.d.ts +21 -16
- package/types/yukit-web-helm-typography.d.ts +62 -77
- package/types/yukit-web-helm-utils.d.ts +8 -11
- package/types/yukit-web.d.ts +5092 -2351
|
@@ -1,79 +1,111 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { EmblaOptionsType, EmblaPluginType
|
|
4
|
-
import { EmblaCarouselDirective } from
|
|
5
|
-
import * as i1 from
|
|
6
|
-
import { ClassValue } from
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { InputSignal, Signal } from "@angular/core";
|
|
3
|
+
import { EmblaEventType, EmblaOptionsType, EmblaPluginType } from "embla-carousel";
|
|
4
|
+
import { EmblaCarouselDirective } from "embla-carousel-angular";
|
|
5
|
+
import * as i1 from "yukit-web/helm/button";
|
|
6
|
+
import { ClassValue } from "clsx";
|
|
7
|
+
export declare class HlmCarousel {
|
|
8
|
+
protected readonly _emblaCarousel: Signal<EmblaCarouselDirective>;
|
|
9
|
+
private readonly _dir;
|
|
10
|
+
readonly orientation: InputSignal<"horizontal" | "vertical">;
|
|
11
|
+
readonly options: InputSignal<Omit<EmblaOptionsType, 'axis'> | undefined>;
|
|
12
|
+
readonly plugins: InputSignal<EmblaPluginType[]>;
|
|
13
|
+
protected readonly _emblaOptions: Signal<EmblaOptionsType>;
|
|
14
|
+
private readonly _canScrollPrev;
|
|
15
|
+
readonly canScrollPrev: Signal<boolean>;
|
|
16
|
+
private readonly _canScrollNext;
|
|
17
|
+
readonly canScrollNext: Signal<boolean>;
|
|
18
|
+
private readonly _currentSlide;
|
|
19
|
+
readonly currentSlide: Signal<number>;
|
|
20
|
+
private readonly _slideCount;
|
|
21
|
+
readonly slideCount: Signal<number>;
|
|
22
|
+
constructor();
|
|
23
|
+
protected onEmblaEvent(event: EmblaEventType): void;
|
|
24
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
25
|
+
scrollPrev(): void;
|
|
26
|
+
scrollNext(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmCarousel, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmCarousel, "hlm-carousel", never, {
|
|
29
|
+
"orientation": {
|
|
30
|
+
"alias": "orientation";
|
|
31
|
+
"required": false;
|
|
32
|
+
"isSignal": true;
|
|
33
|
+
};
|
|
34
|
+
"options": {
|
|
35
|
+
"alias": "options";
|
|
36
|
+
"required": false;
|
|
37
|
+
"isSignal": true;
|
|
38
|
+
};
|
|
39
|
+
"plugins": {
|
|
40
|
+
"alias": "plugins";
|
|
41
|
+
"required": false;
|
|
42
|
+
"isSignal": true;
|
|
43
|
+
};
|
|
44
|
+
}, {}, never, ["[hlmCarouselContent],hlm-carousel-content", "*"], true, never>;
|
|
30
45
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCarouselContent, "[hlmCarouselContent],hlm-carousel-content", never, {}, {}, never, never, true, never>;
|
|
46
|
+
export declare class HlmCarouselContent {
|
|
47
|
+
private readonly _orientation;
|
|
48
|
+
constructor();
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmCarouselContent, never>;
|
|
50
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCarouselContent, "[hlmCarouselContent],hlm-carousel-content", never, {}, {}, never, never, true, never>;
|
|
37
51
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCarouselItem, "[hlmCarouselItem],hlm-carousel-item", never, {}, {}, never, never, true, never>;
|
|
52
|
+
export declare class HlmCarouselItem {
|
|
53
|
+
private readonly _orientation;
|
|
54
|
+
constructor();
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmCarouselItem, never>;
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCarouselItem, "[hlmCarouselItem],hlm-carousel-item", never, {}, {}, never, never, true, never>;
|
|
44
57
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
58
|
+
export declare class HlmCarouselNext {
|
|
59
|
+
private readonly _button;
|
|
60
|
+
protected readonly _carousel: HlmCarousel;
|
|
61
|
+
private readonly _computedClass;
|
|
62
|
+
protected readonly isDisabled: () => boolean;
|
|
63
|
+
constructor();
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmCarouselNext, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmCarouselNext, "button[hlm-carousel-next], button[hlmCarouselNext]", never, {}, {}, never, never, true, [{
|
|
66
|
+
directive: typeof i1.HlmButton;
|
|
67
|
+
inputs: {
|
|
68
|
+
"variant": "variant";
|
|
69
|
+
"size": "size";
|
|
70
|
+
};
|
|
71
|
+
outputs: {};
|
|
72
|
+
}]>;
|
|
54
73
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
74
|
+
export declare class HlmCarouselPrevious {
|
|
75
|
+
private readonly _button;
|
|
76
|
+
protected readonly _carousel: HlmCarousel;
|
|
77
|
+
private readonly _computedClass;
|
|
78
|
+
protected readonly isDisabled: () => boolean;
|
|
79
|
+
constructor();
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmCarouselPrevious, never>;
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmCarouselPrevious, "button[hlm-carousel-previous], button[hlmCarouselPrevious]", never, {}, {}, never, never, true, [{
|
|
82
|
+
directive: typeof i1.HlmButton;
|
|
83
|
+
inputs: {
|
|
84
|
+
"variant": "variant";
|
|
85
|
+
"size": "size";
|
|
86
|
+
};
|
|
87
|
+
outputs: {};
|
|
88
|
+
}]>;
|
|
64
89
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
90
|
+
export declare class HlmCarouselSlideDisplay {
|
|
91
|
+
protected readonly _carousel: HlmCarousel;
|
|
92
|
+
protected readonly _currentSlide: import("@angular/core").Signal<number>;
|
|
93
|
+
readonly slideClass: import("@angular/core").InputSignal<ClassValue>;
|
|
94
|
+
/** Screen reader only text for the slide display */
|
|
95
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
96
|
+
protected readonly _labelContent: import("@angular/core").Signal<string>;
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmCarouselSlideDisplay, never>;
|
|
98
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmCarouselSlideDisplay, "hlm-carousel-slide-display", never, {
|
|
99
|
+
"slideClass": {
|
|
100
|
+
"alias": "slideClass";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"label": {
|
|
105
|
+
"alias": "label";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
}, {}, never, never, true, never>;
|
|
75
110
|
}
|
|
76
|
-
|
|
77
|
-
declare const HlmCarouselImports: readonly [typeof HlmCarousel, typeof HlmCarouselContent, typeof HlmCarouselItem, typeof HlmCarouselPrevious, typeof HlmCarouselNext, typeof HlmCarouselSlideDisplay];
|
|
78
|
-
|
|
79
|
-
export { HlmCarousel, HlmCarouselContent, HlmCarouselImports, HlmCarouselItem, HlmCarouselNext, HlmCarouselPrevious, HlmCarouselSlideDisplay };
|
|
111
|
+
export declare const HlmCarouselImports: readonly [typeof HlmCarousel, typeof HlmCarouselContent, typeof HlmCarouselItem, typeof HlmCarouselPrevious, typeof HlmCarouselNext, typeof HlmCarouselSlideDisplay];
|
|
@@ -1,60 +1,119 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as i1 from
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
multi: boolean;
|
|
1
|
+
import { BooleanInput } from "@angular/cdk/coercion";
|
|
2
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
+
import { ChangeFn, TouchFn } from "@spartan-ng/brain/forms";
|
|
4
|
+
import { ClassValue } from "clsx";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@spartan-ng/brain/field";
|
|
7
|
+
export declare const HLM_CHECKBOX_VALUE_ACCESSOR: {
|
|
8
|
+
provide: import("@angular/core").InjectionToken<readonly ControlValueAccessor[]>;
|
|
9
|
+
useExisting: import("@angular/core").Type<any>;
|
|
10
|
+
multi: boolean;
|
|
12
11
|
};
|
|
13
|
-
declare class HlmCheckbox implements ControlValueAccessor {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
12
|
+
export declare class HlmCheckbox implements ControlValueAccessor {
|
|
13
|
+
readonly userClass: import("@angular/core").InputSignal<ClassValue>;
|
|
14
|
+
protected readonly _computedClass: import("@angular/core").Signal<string>;
|
|
15
|
+
/** Used to set the id on the underlying brn element. */
|
|
16
|
+
readonly inputId: import("@angular/core").InputSignal<string | null>;
|
|
17
|
+
/** Used to set the aria-label attribute on the underlying brn element. */
|
|
18
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
|
|
19
|
+
/** Used to set the aria-labelledby attribute on the underlying brn element. */
|
|
20
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | null>;
|
|
21
|
+
/** Used to set the aria-describedby attribute on the underlying brn element. */
|
|
22
|
+
readonly ariaDescribedby: import("@angular/core").InputSignal<string | null>;
|
|
23
|
+
/** The checked state of the checkbox. */
|
|
24
|
+
readonly checkedInput: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
|
25
|
+
readonly checked: import("@angular/core").WritableSignal<boolean>;
|
|
26
|
+
/** Emits when checked state changes. */
|
|
27
|
+
readonly checkedChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
28
|
+
/**
|
|
29
|
+
* The indeterminate state of the checkbox.
|
|
30
|
+
* For example, a "select all/deselect all" checkbox may be in the indeterminate state when some but not all of its sub-controls are checked.
|
|
31
|
+
*/
|
|
32
|
+
readonly indeterminate: import("@angular/core").ModelSignal<boolean>;
|
|
33
|
+
/** The name attribute of the checkbox. */
|
|
34
|
+
readonly name: import("@angular/core").InputSignal<string | null>;
|
|
35
|
+
/** Whether the checkbox is required. */
|
|
36
|
+
readonly required: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
|
37
|
+
/** Whether the checkbox is disabled. */
|
|
38
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
|
39
|
+
/** Whether to force the checkbox into an invalid state. */
|
|
40
|
+
readonly forceInvalid: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
|
41
|
+
protected readonly _disabled: import("@angular/core").WritableSignal<boolean>;
|
|
42
|
+
private readonly _brnCheckbox;
|
|
43
|
+
private readonly _spartanInvalid;
|
|
44
|
+
protected readonly _errorStateClass: import("@angular/core").Signal<"" | "border-destructive focus-visible:border-destructive focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40">;
|
|
45
|
+
protected _onChange?: ChangeFn<boolean>;
|
|
46
|
+
protected _onTouched?: TouchFn;
|
|
47
|
+
protected _handleChange(value: boolean): void;
|
|
48
|
+
/** CONTROL VALUE ACCESSOR */
|
|
49
|
+
writeValue(value: boolean): void;
|
|
50
|
+
registerOnChange(fn: ChangeFn<boolean>): void;
|
|
51
|
+
registerOnTouched(fn: TouchFn): void;
|
|
52
|
+
setDisabledState(isDisabled: boolean): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmCheckbox, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HlmCheckbox, "hlm-checkbox", never, {
|
|
55
|
+
"userClass": {
|
|
56
|
+
"alias": "class";
|
|
57
|
+
"required": false;
|
|
58
|
+
"isSignal": true;
|
|
59
|
+
};
|
|
60
|
+
"inputId": {
|
|
61
|
+
"alias": "inputId";
|
|
62
|
+
"required": false;
|
|
63
|
+
"isSignal": true;
|
|
64
|
+
};
|
|
65
|
+
"ariaLabel": {
|
|
66
|
+
"alias": "aria-label";
|
|
67
|
+
"required": false;
|
|
68
|
+
"isSignal": true;
|
|
69
|
+
};
|
|
70
|
+
"ariaLabelledby": {
|
|
71
|
+
"alias": "aria-labelledby";
|
|
72
|
+
"required": false;
|
|
73
|
+
"isSignal": true;
|
|
74
|
+
};
|
|
75
|
+
"ariaDescribedby": {
|
|
76
|
+
"alias": "aria-describedby";
|
|
77
|
+
"required": false;
|
|
78
|
+
"isSignal": true;
|
|
79
|
+
};
|
|
80
|
+
"checkedInput": {
|
|
81
|
+
"alias": "checked";
|
|
82
|
+
"required": false;
|
|
83
|
+
"isSignal": true;
|
|
84
|
+
};
|
|
85
|
+
"indeterminate": {
|
|
86
|
+
"alias": "indeterminate";
|
|
87
|
+
"required": false;
|
|
88
|
+
"isSignal": true;
|
|
89
|
+
};
|
|
90
|
+
"name": {
|
|
91
|
+
"alias": "name";
|
|
92
|
+
"required": false;
|
|
93
|
+
"isSignal": true;
|
|
94
|
+
};
|
|
95
|
+
"required": {
|
|
96
|
+
"alias": "required";
|
|
97
|
+
"required": false;
|
|
98
|
+
"isSignal": true;
|
|
99
|
+
};
|
|
100
|
+
"disabled": {
|
|
101
|
+
"alias": "disabled";
|
|
102
|
+
"required": false;
|
|
103
|
+
"isSignal": true;
|
|
104
|
+
};
|
|
105
|
+
"forceInvalid": {
|
|
106
|
+
"alias": "forceInvalid";
|
|
107
|
+
"required": false;
|
|
108
|
+
"isSignal": true;
|
|
109
|
+
};
|
|
110
|
+
}, {
|
|
111
|
+
"checkedChange": "checkedChange";
|
|
112
|
+
"indeterminate": "indeterminateChange";
|
|
113
|
+
}, never, never, true, [{
|
|
114
|
+
directive: typeof i1.BrnFieldControlDescribedBy;
|
|
115
|
+
inputs: {};
|
|
116
|
+
outputs: {};
|
|
117
|
+
}]>;
|
|
56
118
|
}
|
|
57
|
-
|
|
58
|
-
declare const HlmCheckboxImports: readonly [typeof HlmCheckbox];
|
|
59
|
-
|
|
60
|
-
export { HLM_CHECKBOX_VALUE_ACCESSOR, HlmCheckbox, HlmCheckboxImports };
|
|
119
|
+
export declare const HlmCheckboxImports: readonly [typeof HlmCheckbox];
|
|
@@ -1,22 +1,37 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import * as i1 from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@spartan-ng/brain/collapsible";
|
|
3
|
+
export declare class HlmCollapsible {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmCollapsible, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCollapsible, "[hlmCollapsible],hlm-collapsible", never, {}, {}, never, never, true, [{
|
|
6
|
+
directive: typeof i1.BrnCollapsible;
|
|
7
|
+
inputs: {
|
|
8
|
+
"expanded": "expanded";
|
|
9
|
+
"disabled": "disabled";
|
|
10
|
+
};
|
|
11
|
+
outputs: {
|
|
12
|
+
"expandedChange": "expandedChange";
|
|
13
|
+
};
|
|
14
|
+
}]>;
|
|
7
15
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
export declare class HlmCollapsibleContent {
|
|
17
|
+
constructor();
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmCollapsibleContent, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCollapsibleContent, "[hlmCollapsibleContent],hlm-collapsible-content", never, {}, {}, never, never, true, [{
|
|
20
|
+
directive: typeof i1.BrnCollapsibleContent;
|
|
21
|
+
inputs: {
|
|
22
|
+
"id": "id";
|
|
23
|
+
};
|
|
24
|
+
outputs: {};
|
|
25
|
+
}]>;
|
|
13
26
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
27
|
+
export declare class HlmCollapsibleTrigger {
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HlmCollapsibleTrigger, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HlmCollapsibleTrigger, "button[hlmCollapsibleTrigger]", never, {}, {}, never, never, true, [{
|
|
30
|
+
directive: typeof i1.BrnCollapsibleTrigger;
|
|
31
|
+
inputs: {
|
|
32
|
+
"type": "type";
|
|
33
|
+
};
|
|
34
|
+
outputs: {};
|
|
35
|
+
}]>;
|
|
18
36
|
}
|
|
19
|
-
|
|
20
|
-
declare const HlmCollapsibleImports: readonly [typeof HlmCollapsible, typeof HlmCollapsibleContent, typeof HlmCollapsibleTrigger];
|
|
21
|
-
|
|
22
|
-
export { HlmCollapsible, HlmCollapsibleContent, HlmCollapsibleImports, HlmCollapsibleTrigger };
|
|
37
|
+
export declare const HlmCollapsibleImports: readonly [typeof HlmCollapsible, typeof HlmCollapsibleContent, typeof HlmCollapsibleTrigger];
|