@wirekyt/angular 0.0.6 → 0.0.8

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.
@@ -0,0 +1,162 @@
1
+ import { AnatomyInstance } from '@wirekyt/dom/anatomy';
2
+ import * as carousel from '@wirekyt/dom/machines/carousel';
3
+ import { ElementIds, IntlTranslations, PageChangeDetails, DragStatusDetails, AutoplayStatusDetails, ItemProps } from '@wirekyt/dom/machines/carousel';
4
+ export { Api as CarouselApi, AutoplayStatusDetails as CarouselAutoplayStatusDetails, DragStatusDetails as CarouselDragStatusDetails, ElementIds as CarouselElementIds, IndicatorProps as CarouselIndicatorProps, IntlTranslations as CarouselIntlTranslations, ItemProps as CarouselItemProps, Machine as CarouselMachine, Props as CarouselMachineProps, PageChangeDetails as CarouselPageChangeDetails, ProgressTextDetails as CarouselProgressTextDetails, Service as CarouselService } from '@wirekyt/dom/machines/carousel';
5
+ import * as i0 from '@angular/core';
6
+ import { InjectionToken, InputSignal, ModelSignal, InputSignalWithTransform, OutputEmitterRef, Signal, AfterContentInit } from '@angular/core';
7
+ import { UseMachineReturn } from '@wirekyt/angular';
8
+
9
+ declare const carouselAnatomy: AnatomyInstance<"root" | "itemGroup" | "item" | "control" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "indicator" | "autoplayTrigger" | "progressText" | "autoplayIndicator">;
10
+
11
+ type OptionalId<T extends {
12
+ id?: string | undefined;
13
+ }> = Omit<T, "id"> & {
14
+ id?: string;
15
+ };
16
+ interface UseCarouselProps extends OptionalId<Omit<carousel.Props, "dir" | "getRootNode" | "slideCount">> {
17
+ slideCount?: number | undefined;
18
+ }
19
+ type UseCarouselReturn = UseMachineReturn<carousel.Service["state"], carousel.Api, carousel.Service>;
20
+ interface UseCarouselOptions {
21
+ context: () => UseCarouselProps;
22
+ }
23
+ declare function useCarousel(options: UseCarouselOptions): UseCarouselReturn;
24
+
25
+ declare const CAROUSEL_CONTEXT: InjectionToken<UseCarouselReturn>;
26
+ declare function injectCarouselContext(): UseCarouselReturn;
27
+
28
+ declare class CarouselRoot implements UseCarouselReturn {
29
+ readonly id: InputSignal<string | undefined>;
30
+ readonly ids: InputSignal<ElementIds | undefined>;
31
+ readonly page: ModelSignal<number | undefined>;
32
+ readonly defaultPage: InputSignal<number | undefined>;
33
+ readonly slideCount: InputSignal<number>;
34
+ readonly slidesPerPage: InputSignal<number | undefined>;
35
+ readonly slidesPerMove: InputSignal<number | "auto" | undefined>;
36
+ readonly autoSize: InputSignalWithTransform<boolean, unknown>;
37
+ readonly loop: InputSignalWithTransform<boolean, unknown>;
38
+ readonly allowMouseDrag: InputSignalWithTransform<boolean, unknown>;
39
+ readonly autoplay: InputSignalWithTransform<boolean | {
40
+ delay: number;
41
+ } | undefined, unknown>;
42
+ readonly orientation: InputSignal<carousel.Props["orientation"]>;
43
+ readonly spacing: InputSignal<string | undefined>;
44
+ readonly padding: InputSignal<string | undefined>;
45
+ readonly inViewThreshold: InputSignal<number | number[] | undefined>;
46
+ readonly snapType: InputSignal<carousel.Props["snapType"]>;
47
+ readonly translations: InputSignal<IntlTranslations | undefined>;
48
+ readonly pageDetailsChange: OutputEmitterRef<PageChangeDetails>;
49
+ readonly dragStatusChange: OutputEmitterRef<DragStatusDetails>;
50
+ readonly autoplayStatusChange: OutputEmitterRef<AutoplayStatusDetails>;
51
+ private readonly machine;
52
+ readonly state: Signal<carousel.Service["state"]>;
53
+ readonly api: Signal<carousel.Api>;
54
+ readonly service: carousel.Service;
55
+ readonly send: carousel.Service["send"];
56
+ constructor();
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselRoot, never>;
58
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselRoot, "[carouselRoot]", ["carouselRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "ids": { "alias": "ids"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "defaultPage": { "alias": "defaultPage"; "required": false; "isSignal": true; }; "slideCount": { "alias": "slideCount"; "required": false; "isSignal": true; }; "slidesPerPage": { "alias": "slidesPerPage"; "required": false; "isSignal": true; }; "slidesPerMove": { "alias": "slidesPerMove"; "required": false; "isSignal": true; }; "autoSize": { "alias": "autoSize"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; "allowMouseDrag": { "alias": "allowMouseDrag"; "required": false; "isSignal": true; }; "autoplay": { "alias": "autoplay"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "spacing": { "alias": "spacing"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "inViewThreshold": { "alias": "inViewThreshold"; "required": false; "isSignal": true; }; "snapType": { "alias": "snapType"; "required": false; "isSignal": true; }; "translations": { "alias": "translations"; "required": false; "isSignal": true; }; }, { "page": "pageChange"; "pageDetailsChange": "pageDetailsChange"; "dragStatusChange": "dragStatusChange"; "autoplayStatusChange": "autoplayStatusChange"; }, never, never, true, never>;
59
+ }
60
+
61
+ declare class CarouselRootProvider implements UseCarouselReturn {
62
+ readonly value: InputSignal<UseCarouselReturn>;
63
+ readonly state: Signal<carousel.Service["state"]>;
64
+ readonly api: Signal<carousel.Api>;
65
+ readonly send: carousel.Service["send"];
66
+ get service(): carousel.Service;
67
+ constructor();
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselRootProvider, never>;
69
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselRootProvider, "[carouselRootProvider]", ["carouselRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
70
+ }
71
+
72
+ declare class CarouselItemGroup {
73
+ constructor();
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselItemGroup, never>;
75
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselItemGroup, "[carouselItemGroup]", ["carouselItemGroup"], {}, {}, never, never, true, never>;
76
+ }
77
+
78
+ declare class CarouselItem {
79
+ readonly index: InputSignal<number>;
80
+ readonly snapAlign: InputSignal<ItemProps["snapAlign"]>;
81
+ constructor();
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselItem, never>;
83
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselItem, "[carouselItem]", ["carouselItem"], { "index": { "alias": "index"; "required": true; "isSignal": true; }; "snapAlign": { "alias": "snapAlign"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
84
+ }
85
+
86
+ declare class CarouselControl {
87
+ constructor();
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselControl, never>;
89
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselControl, "[carouselControl]", ["carouselControl"], {}, {}, never, never, true, never>;
90
+ }
91
+
92
+ declare class CarouselPrevTrigger {
93
+ constructor();
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselPrevTrigger, never>;
95
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselPrevTrigger, "[carouselPrevTrigger]", ["carouselPrevTrigger"], {}, {}, never, never, true, never>;
96
+ }
97
+
98
+ declare class CarouselNextTrigger {
99
+ constructor();
100
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselNextTrigger, never>;
101
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselNextTrigger, "[carouselNextTrigger]", ["carouselNextTrigger"], {}, {}, never, never, true, never>;
102
+ }
103
+
104
+ declare class CarouselIndicatorGroup {
105
+ constructor();
106
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselIndicatorGroup, never>;
107
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselIndicatorGroup, "[carouselIndicatorGroup]", ["carouselIndicatorGroup"], {}, {}, never, never, true, never>;
108
+ }
109
+
110
+ declare class CarouselIndicator {
111
+ readonly index: InputSignal<number>;
112
+ readonly readOnly: InputSignalWithTransform<boolean, unknown>;
113
+ constructor();
114
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselIndicator, never>;
115
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselIndicator, "[carouselIndicator]", ["carouselIndicator"], { "index": { "alias": "index"; "required": true; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
116
+ }
117
+
118
+ declare class CarouselAutoplayTrigger {
119
+ constructor();
120
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselAutoplayTrigger, never>;
121
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselAutoplayTrigger, "[carouselAutoplayTrigger]", ["carouselAutoplayTrigger"], {}, {}, never, never, true, never>;
122
+ }
123
+
124
+ declare class CarouselAutoplayIndicator implements AfterContentInit {
125
+ readonly label: InputSignal<string | undefined>;
126
+ readonly fallback: InputSignal<string | undefined>;
127
+ private readonly elementRef;
128
+ private readonly renderer;
129
+ private readonly ownsTextContent;
130
+ constructor();
131
+ ngAfterContentInit(): void;
132
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselAutoplayIndicator, never>;
133
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselAutoplayIndicator, "[carouselAutoplayIndicator]", ["carouselAutoplayIndicator"], { "label": { "alias": "label"; "required": false; "isSignal": true; }; "fallback": { "alias": "fallback"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
134
+ }
135
+
136
+ declare class CarouselProgressText implements AfterContentInit {
137
+ private readonly elementRef;
138
+ private readonly renderer;
139
+ private readonly ownsTextContent;
140
+ constructor();
141
+ ngAfterContentInit(): void;
142
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselProgressText, never>;
143
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselProgressText, "[carouselProgressText]", ["carouselProgressText"], {}, {}, never, never, true, never>;
144
+ }
145
+
146
+ interface CarouselContextTemplate {
147
+ $implicit: UseCarouselReturn["api"];
148
+ api: UseCarouselReturn["api"];
149
+ }
150
+ declare class CarouselContext {
151
+ static ngTemplateContextGuard(_directive: CarouselContext, context: unknown): context is CarouselContextTemplate;
152
+ private readonly carousel;
153
+ private readonly templateRef;
154
+ private readonly viewContainer;
155
+ constructor();
156
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselContext, never>;
157
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselContext, "[carouselContext]", ["carouselContext"], {}, {}, never, never, true, never>;
158
+ }
159
+
160
+ export { CAROUSEL_CONTEXT, CarouselAutoplayIndicator, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselProgressText, CarouselRoot, CarouselRootProvider, carouselAnatomy, injectCarouselContext, useCarousel };
161
+ export type { CarouselContextTemplate, UseCarouselOptions, UseCarouselProps, UseCarouselReturn };
162
+ //# sourceMappingURL=wirekyt-angular-carousel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wirekyt-angular-carousel.d.ts","sources":["../../src/components/carousel/anatomy.ts","../../src/components/carousel/use.ts","../../src/components/carousel/use-context.ts","../../src/components/carousel/root.ts","../../src/components/carousel/root-provider.ts","../../src/components/carousel/item-group.ts","../../src/components/carousel/item.ts","../../src/components/carousel/control.ts","../../src/components/carousel/prev-trigger.ts","../../src/components/carousel/next-trigger.ts","../../src/components/carousel/indicator-group.ts","../../src/components/carousel/indicator.ts","../../src/components/carousel/autoplay-trigger.ts","../../src/components/carousel/autoplay-indicator.ts","../../src/components/carousel/progress-text.ts","../../src/components/carousel/context.ts"],"mappings":";;;;;;;;AAIA,cAAa,eAAe,EAAE,eAAe;;ACM7C,KAAK,UAAU;AAAa;AAAyB,KAAI,IAAI;;;UAE5C,gBAAiB,SAAQ,UAAU,CAClD,IAAI,CAAC,QAAQ,CAAC,KAAK;AAEnB;AACD;AAEK,KAAM,iBAAiB,GAAG,gBAAgB,CAC9C,QAAQ,CAAC,OAAO,WAChB,QAAQ,CAAC,GAAG,EACZ,QAAQ,CAAC,OAAO;UAGD,kBAAkB;mBAClB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AW,CAACC,SAAiB;;yCAFtC,YAAY;2CAAZ,YAAY;AAkBxB;;ACjCD,cAKa,eAAe;;yCAAf,eAAe;2CAAf,eAAe;AAU3B;;ACfD,cAKa,mBAAmB;;yCAAnB,mBAAmB;2CAAnB,mBAAmB;AAU/B;;ACfD,cAKa,mBAAmB;;yCAAnB,mBAAmB;2CAAnB,mBAAmB;AAU/B;;ACfD,cAKa,sBAAsB;;yCAAtB,sBAAsB;2CAAtB,sBAAsB;AAUlC;;ACLD,cAKa,iBAAiB;AAC5B,oBAAgB,WAAW;uBACR,wBAAwB;;yCAFhC,iBAAiB;2CAAjB,iBAAiB;AAmB7B;;AClCD,cAKa,uBAAuB;;yCAAvB,uBAAuB;2CAAvB,uBAAuB;AAUnC;;ACHD,cAKa,yBAA0B,YAAW,gBAAgB;oBAChD,WAAW;uBACR,WAAW;AAE9B;AACA;AACA;;AAqBA;yCA3BW,yBAAyB;2CAAzB,yBAAyB;AA8BrC;;ACtCD,cAKa,oBAAqB,YAAW,gBAAgB;AAC3D;AACA;AACA;;AAqBA;yCAxBW,oBAAoB;2CAApB,oBAAoB;AA2BhC;;UCjCgB,uBAAuB;AACtC,eAAW,iBAAiB;AAC5B,SAAK,iBAAiB;AACvB;AAED,cAKa,eAAe;AAC1B,8CACc,eAAe,gCAEf,uBAAuB;AAKrC;AACA;AACA;;yCAXW,eAAe;2CAAf,eAAe;AA0B3B;;;;","names":["CarouselElementIds","CarouselIntlTranslations","CarouselPageChangeDetails","CarouselDragStatusDetails","CarouselAutoplayStatusDetails","CarouselItemProps"]}
@@ -0,0 +1,200 @@
1
+ import * as _wirekyt_dom_anatomy from '@wirekyt/dom/anatomy';
2
+ import { UseMachineReturn } from '@wirekyt/angular';
3
+ import * as checkbox from '@wirekyt/dom/machines/checkbox';
4
+ import { Props, ElementIds, CheckedState, CheckedChangeDetails } from '@wirekyt/dom/machines/checkbox';
5
+ export { Api as CheckboxApi, CheckedChangeDetails as CheckboxCheckedChangeDetails, CheckedState as CheckboxCheckedState, ElementIds as CheckboxElementIds, Machine as CheckboxMachine, Props as CheckboxMachineProps, Service as CheckboxService } from '@wirekyt/dom/machines/checkbox';
6
+ import * as i0 from '@angular/core';
7
+ import { Signal, InputSignal, ModelSignal, InputSignalWithTransform, OutputEmitterRef, InjectionToken } from '@angular/core';
8
+ import { ControlValueAccessor } from '@angular/forms';
9
+
10
+ declare const checkboxAnatomy: _wirekyt_dom_anatomy.AnatomyInstance<"root" | "label" | "control" | "indicator" | "group">;
11
+
12
+ type OptionalId<T extends {
13
+ id: string;
14
+ }> = Omit<T, "id"> & {
15
+ id?: string;
16
+ };
17
+ interface UseCheckboxProps extends OptionalId<Omit<Props, "dir" | "getRootNode">> {
18
+ }
19
+ type UseCheckboxReturn = UseMachineReturn<checkbox.Service["state"], checkbox.Api, checkbox.Service>;
20
+ interface UseCheckboxOptions {
21
+ context: () => UseCheckboxProps;
22
+ }
23
+ declare function useCheckbox(options?: UseCheckboxOptions): UseCheckboxReturn;
24
+
25
+ interface CheckboxContextTemplate {
26
+ $implicit: UseCheckboxReturn["api"];
27
+ api: UseCheckboxReturn["api"];
28
+ }
29
+ declare class CheckboxContext {
30
+ static ngTemplateContextGuard(_directive: CheckboxContext, context: unknown): context is CheckboxContextTemplate;
31
+ private readonly checkbox;
32
+ private readonly templateRef;
33
+ private readonly viewContainer;
34
+ constructor();
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxContext, never>;
36
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxContext, "[checkboxContext]", ["checkboxContext"], {}, {}, never, never, true, never>;
37
+ }
38
+
39
+ declare class CheckboxControl {
40
+ constructor();
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxControl, never>;
42
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxControl, "[checkboxControl]", ["checkboxControl"], {}, {}, never, never, true, never>;
43
+ }
44
+
45
+ interface UseCheckboxGroupProps {
46
+ defaultValue?: string[] | undefined;
47
+ value?: string[] | undefined;
48
+ name?: string | undefined;
49
+ onValueChange?: ((value: string[]) => void) | undefined;
50
+ disabled?: boolean | undefined;
51
+ readOnly?: boolean | undefined;
52
+ invalid?: boolean | undefined;
53
+ maxSelectedValues?: number | undefined;
54
+ }
55
+ interface CheckboxGroupItemProps {
56
+ value: string | undefined;
57
+ }
58
+ interface CheckboxGroupItemContext {
59
+ checked: boolean | undefined;
60
+ onCheckedChange: () => void;
61
+ name: string | undefined;
62
+ disabled: boolean | undefined;
63
+ readOnly: boolean | undefined;
64
+ invalid: boolean | undefined;
65
+ }
66
+ interface UseCheckboxGroupReturn {
67
+ readonly value: Signal<string[]>;
68
+ readonly name: Signal<string | undefined>;
69
+ readonly disabled: Signal<boolean>;
70
+ readonly readOnly: Signal<boolean>;
71
+ readonly invalid: Signal<boolean>;
72
+ isChecked(value: string | undefined): boolean;
73
+ setValue(value: string[]): void;
74
+ addValue(value: string): void;
75
+ removeValue(value: string): void;
76
+ toggleValue(value: string): void;
77
+ getItemProps(props: CheckboxGroupItemProps): CheckboxGroupItemContext;
78
+ }
79
+ interface UseCheckboxGroupOptions {
80
+ context: () => UseCheckboxGroupProps;
81
+ }
82
+ declare function useCheckboxGroup(options?: UseCheckboxGroupOptions): UseCheckboxGroupReturn;
83
+
84
+ declare class CheckboxGroup implements UseCheckboxGroupReturn {
85
+ readonly defaultValue: InputSignal<string[] | undefined>;
86
+ readonly valueModel: ModelSignal<string[] | undefined>;
87
+ readonly nameInput: InputSignal<string | undefined>;
88
+ readonly disabledInput: InputSignalWithTransform<boolean, unknown>;
89
+ readonly readOnlyInput: InputSignalWithTransform<boolean, unknown>;
90
+ readonly invalidInput: InputSignalWithTransform<boolean, unknown>;
91
+ readonly maxSelectedValues: InputSignal<number | undefined>;
92
+ private readonly group;
93
+ readonly value: Signal<string[]>;
94
+ readonly name: Signal<string | undefined>;
95
+ readonly disabled: Signal<boolean>;
96
+ readonly readOnly: Signal<boolean>;
97
+ readonly invalid: Signal<boolean>;
98
+ isChecked(value: string | undefined): boolean;
99
+ setValue(value: string[]): void;
100
+ addValue(value: string): void;
101
+ removeValue(value: string): void;
102
+ toggleValue(value: string): void;
103
+ getItemProps(props: Parameters<UseCheckboxGroupReturn["getItemProps"]>[0]): ReturnType<UseCheckboxGroupReturn["getItemProps"]>;
104
+ constructor();
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroup, never>;
106
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxGroup, "[checkboxGroup]", ["checkboxGroup"], { "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "valueModel": { "alias": "value"; "required": false; "isSignal": true; }; "nameInput": { "alias": "name"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnlyInput": { "alias": "readOnly"; "required": false; "isSignal": true; }; "invalidInput": { "alias": "invalid"; "required": false; "isSignal": true; }; "maxSelectedValues": { "alias": "maxSelectedValues"; "required": false; "isSignal": true; }; }, { "valueModel": "valueChange"; }, never, never, true, never>;
107
+ }
108
+
109
+ declare class CheckboxGroupProvider implements UseCheckboxGroupReturn {
110
+ readonly groupValue: InputSignal<UseCheckboxGroupReturn>;
111
+ get value(): Signal<string[]>;
112
+ get name(): Signal<string | undefined>;
113
+ get disabled(): Signal<boolean>;
114
+ get readOnly(): Signal<boolean>;
115
+ get invalid(): Signal<boolean>;
116
+ isChecked(value: string | undefined): boolean;
117
+ setValue(value: string[]): void;
118
+ addValue(value: string): void;
119
+ removeValue(value: string): void;
120
+ toggleValue(value: string): void;
121
+ getItemProps(props: Parameters<UseCheckboxGroupReturn["getItemProps"]>[0]): ReturnType<UseCheckboxGroupReturn["getItemProps"]>;
122
+ constructor();
123
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroupProvider, never>;
124
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxGroupProvider, "[checkboxGroupProvider]", ["checkboxGroupProvider"], { "groupValue": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
125
+ }
126
+
127
+ declare class CheckboxHiddenInput {
128
+ constructor();
129
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxHiddenInput, never>;
130
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxHiddenInput, "[checkboxHiddenInput]", ["checkboxHiddenInput"], {}, {}, never, never, true, never>;
131
+ }
132
+
133
+ declare class CheckboxIndicator {
134
+ readonly indeterminate: InputSignalWithTransform<boolean, unknown>;
135
+ constructor();
136
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxIndicator, never>;
137
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxIndicator, "[checkboxIndicator]", ["checkboxIndicator"], { "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
138
+ }
139
+
140
+ declare class CheckboxLabel {
141
+ constructor();
142
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxLabel, never>;
143
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxLabel, "[checkboxLabel]", ["checkboxLabel"], {}, {}, never, never, true, never>;
144
+ }
145
+
146
+ declare class CheckboxRoot implements ControlValueAccessor, UseCheckboxReturn {
147
+ readonly id: InputSignal<string | undefined>;
148
+ readonly elementIds: InputSignal<ElementIds | undefined>;
149
+ readonly checked: ModelSignal<CheckedState | undefined>;
150
+ readonly defaultChecked: InputSignalWithTransform<CheckedState | undefined, unknown>;
151
+ readonly disabled: InputSignalWithTransform<boolean, unknown>;
152
+ readonly invalid: InputSignalWithTransform<boolean, unknown>;
153
+ readonly required: InputSignalWithTransform<boolean, unknown>;
154
+ readonly readOnly: InputSignalWithTransform<boolean, unknown>;
155
+ readonly name: InputSignal<string | undefined>;
156
+ readonly form: InputSignal<string | undefined>;
157
+ readonly value: InputSignal<string | undefined>;
158
+ readonly checkedDetailsChange: OutputEmitterRef<CheckedChangeDetails>;
159
+ private readonly group;
160
+ private readonly disabledFromForm;
161
+ private pendingInternalWrites;
162
+ private hasExternalCheckedBinding;
163
+ private hasReceivedFormWrite;
164
+ private readonly cva;
165
+ private readonly machine;
166
+ readonly state: Signal<checkbox.Service["state"]>;
167
+ readonly api: Signal<checkbox.Api>;
168
+ readonly service: checkbox.Service;
169
+ readonly send: checkbox.Service["send"];
170
+ constructor();
171
+ markTouched(): void;
172
+ writeValue(value: CheckedState | null): void;
173
+ registerOnChange(fn: (value: CheckedState | undefined) => void): void;
174
+ registerOnTouched(fn: () => void): void;
175
+ setDisabledState(disabled: boolean): void;
176
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxRoot, never>;
177
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxRoot, "[checkboxRoot]", ["checkboxRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "elementIds": { "alias": "ids"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "defaultChecked": { "alias": "defaultChecked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "checkedDetailsChange": "checkedDetailsChange"; }, never, never, true, never>;
178
+ }
179
+
180
+ declare class CheckboxRootProvider implements UseCheckboxReturn {
181
+ readonly value: InputSignal<UseCheckboxReturn>;
182
+ get state(): Signal<checkbox.Service["state"]>;
183
+ get api(): Signal<checkbox.Api>;
184
+ get service(): checkbox.Service;
185
+ get send(): checkbox.Service["send"];
186
+ constructor();
187
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxRootProvider, never>;
188
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxRootProvider, "[checkboxRootProvider]", ["checkboxRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
189
+ }
190
+
191
+ declare const CHECKBOX_CONTEXT: InjectionToken<UseCheckboxReturn>;
192
+ declare function injectCheckboxContext(): UseCheckboxReturn;
193
+
194
+ declare const CHECKBOX_GROUP_CONTEXT: InjectionToken<UseCheckboxGroupReturn>;
195
+ declare function injectCheckboxGroupContext(): UseCheckboxGroupReturn;
196
+ declare function injectCheckboxGroupContextOptional(): UseCheckboxGroupReturn | null;
197
+
198
+ export { CHECKBOX_CONTEXT, CHECKBOX_GROUP_CONTEXT, CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxGroupProvider, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, injectCheckboxContext, injectCheckboxGroupContext, injectCheckboxGroupContextOptional, useCheckbox, useCheckboxGroup };
199
+ export type { CheckboxContextTemplate, CheckboxGroupItemContext, CheckboxGroupItemProps, UseCheckboxGroupOptions, UseCheckboxGroupProps, UseCheckboxGroupReturn, UseCheckboxOptions, UseCheckboxProps, UseCheckboxReturn };
200
+ //# sourceMappingURL=wirekyt-angular-checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wirekyt-angular-checkbox.d.ts","sources":["../../src/components/checkbox/anatomy.ts","../../src/components/checkbox/use.ts","../../src/components/checkbox/context.ts","../../src/components/checkbox/control.ts","../../src/components/checkbox/use-group.ts","../../src/components/checkbox/group.ts","../../src/components/checkbox/group-provider.ts","../../src/components/checkbox/hidden-input.ts","../../src/components/checkbox/indicator.ts","../../src/components/checkbox/label.ts","../../src/components/checkbox/root.ts","../../src/components/checkbox/root-provider.ts","../../src/components/checkbox/use-context.ts","../../src/components/checkbox/use-group-context.ts"],"mappings":";;;;;;;;;AAEA,cAAa,eAAe,EAAA,oBAAA,CAAA,eAAA;;ACc5B,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,gBAAiB,SAAQ,U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,QAAQ,CAAC,OAAO;;yCAZjB,oBAAoB;2CAApB,oBAAoB;AAwBhC;;AC7CD,cAAa,gBAAgB,EAAA,cAAA,CAAA,iBAAA;AAE7B,iBAAgB,qBAAqB,IAAI,iBAAiB;;ACF1D,cAAa,sBAAsB,EAAA,cAAA,CAAA,sBAAA;AAInC,iBAAgB,0BAA0B,IAAI,sBAAsB;AAIpE,iBAAgB,kCAAkC,IAAI,sBAAsB;;;;","names":["CheckboxMachineProps","CheckboxElementIds","CheckboxCheckedState","CheckboxCheckedChangeDetails"]}
@@ -0,0 +1,14 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { TemplateRef } from '@angular/core';
3
+
4
+ declare class ClientOnly {
5
+ readonly fallback: _angular_core.InputSignal<TemplateRef<unknown> | null>;
6
+ readonly clientTemplate: _angular_core.InputSignal<TemplateRef<unknown> | null>;
7
+ protected readonly isClient: _angular_core.WritableSignal<boolean>;
8
+ constructor();
9
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClientOnly, never>;
10
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClientOnly, "client-only", never, { "fallback": { "alias": "fallback"; "required": false; "isSignal": true; }; "clientTemplate": { "alias": "clientTemplate"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
11
+ }
12
+
13
+ export { ClientOnly };
14
+ //# sourceMappingURL=wirekyt-angular-client-only.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wirekyt-angular-client-only.d.ts","sources":["../../src/components/client-only/client-only.ts"],"mappings":";;;AAUA,cAkBa,UAAU;uBACJ,aAAA,CAAA,WAAA,CAAA,WAAA;6BACM,aAAA,CAAA,WAAA,CAAA,WAAA;AACvB,iCAA2B,aAAA,CAAA,cAAA;;oDAHhB,UAAU;sDAAV,UAAU;AAUtB;;;;","names":[]}
@@ -0,0 +1,111 @@
1
+ import * as clipboard from '@wirekyt/dom/machines/clipboard';
2
+ import { Props, ElementIds, IntlTranslations, CopyStatusDetails } from '@wirekyt/dom/machines/clipboard';
3
+ export { Api as ClipboardApi, CopyStatusDetails as ClipboardCopyStatusDetails, ElementIds as ClipboardElementIds, IndicatorProps as ClipboardIndicatorProps, IntlTranslations as ClipboardIntlTranslations, Machine as ClipboardMachine, Props as ClipboardMachineProps, Service as ClipboardService, ValueChangeDetails as ClipboardValueChangeDetails, anatomy as clipboardAnatomy } from '@wirekyt/dom/machines/clipboard';
4
+ import * as i0 from '@angular/core';
5
+ import { InjectionToken, InputSignal, ModelSignal, OutputEmitterRef, Signal } from '@angular/core';
6
+ import { UseMachineReturn } from '@wirekyt/angular';
7
+
8
+ type OptionalId<T extends {
9
+ id: string;
10
+ }> = Omit<T, "id"> & {
11
+ id?: string;
12
+ };
13
+ interface UseClipboardProps extends OptionalId<Omit<Props, "getRootNode">> {
14
+ }
15
+ type UseClipboardReturn = UseMachineReturn<clipboard.Service["state"], clipboard.Api, clipboard.Service>;
16
+ interface UseClipboardOptions {
17
+ context: () => UseClipboardProps;
18
+ }
19
+ declare function useClipboard(options?: UseClipboardOptions): UseClipboardReturn;
20
+
21
+ declare const CLIPBOARD_CONTEXT: InjectionToken<UseClipboardReturn>;
22
+ declare function injectClipboardContext(): UseClipboardReturn;
23
+
24
+ declare class ClipboardRoot implements UseClipboardReturn {
25
+ readonly id: InputSignal<string | undefined>;
26
+ readonly ids: InputSignal<Partial<ElementIds> | undefined>;
27
+ readonly translations: InputSignal<IntlTranslations | undefined>;
28
+ readonly value: ModelSignal<string | undefined>;
29
+ readonly defaultValue: InputSignal<string | undefined>;
30
+ readonly timeout: InputSignal<number | undefined>;
31
+ readonly statusChange: OutputEmitterRef<CopyStatusDetails>;
32
+ private readonly stableIds;
33
+ private prevIds;
34
+ private readonly machine;
35
+ readonly state: Signal<clipboard.Service["state"]>;
36
+ readonly api: Signal<clipboard.Api>;
37
+ readonly service: clipboard.Service;
38
+ readonly send: clipboard.Service["send"];
39
+ private stabilizeIds;
40
+ constructor();
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardRoot, never>;
42
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClipboardRoot, "[clipboardRoot]", ["clipboardRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "ids": { "alias": "ids"; "required": false; "isSignal": true; }; "translations": { "alias": "translations"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "timeout": { "alias": "timeout"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "statusChange": "statusChange"; }, never, never, true, never>;
43
+ }
44
+
45
+ declare class ClipboardRootProvider implements UseClipboardReturn {
46
+ readonly value: InputSignal<UseClipboardReturn>;
47
+ readonly state: Signal<clipboard.Service["state"]>;
48
+ readonly api: Signal<clipboard.Api>;
49
+ readonly send: clipboard.Service["send"];
50
+ get service(): clipboard.Service;
51
+ resolveValue(): UseClipboardReturn;
52
+ constructor();
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardRootProvider, never>;
54
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClipboardRootProvider, "[clipboardRootProvider]", ["clipboardRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
55
+ }
56
+
57
+ declare class ClipboardLabel {
58
+ constructor();
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardLabel, never>;
60
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClipboardLabel, "[clipboardLabel]", ["clipboardLabel"], {}, {}, never, never, true, never>;
61
+ }
62
+
63
+ declare class ClipboardControl {
64
+ constructor();
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardControl, never>;
66
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClipboardControl, "[clipboardControl]", ["clipboardControl"], {}, {}, never, never, true, never>;
67
+ }
68
+
69
+ interface ClipboardContextTemplate {
70
+ $implicit: UseClipboardReturn["api"];
71
+ api: UseClipboardReturn["api"];
72
+ }
73
+ declare class ClipboardContext {
74
+ static ngTemplateContextGuard(_directive: ClipboardContext, context: unknown): context is ClipboardContextTemplate;
75
+ private readonly clipboard;
76
+ private readonly templateRef;
77
+ private readonly viewContainer;
78
+ constructor();
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardContext, never>;
80
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClipboardContext, "[clipboardContext]", ["clipboardContext"], {}, {}, never, never, true, never>;
81
+ }
82
+
83
+ declare class ClipboardInput {
84
+ constructor();
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardInput, never>;
86
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClipboardInput, "input[clipboardInput]", ["clipboardInput"], {}, {}, never, never, true, never>;
87
+ }
88
+
89
+ declare class ClipboardTrigger {
90
+ constructor();
91
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardTrigger, never>;
92
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClipboardTrigger, "[clipboardTrigger]", ["clipboardTrigger"], {}, {}, never, never, true, never>;
93
+ }
94
+
95
+ declare class ClipboardIndicator {
96
+ readonly copied: Signal<boolean>;
97
+ constructor();
98
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardIndicator, never>;
99
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClipboardIndicator, "[clipboardIndicator]", ["clipboardIndicator"], {}, {}, never, never, true, never>;
100
+ }
101
+
102
+ declare class ClipboardValueText {
103
+ private readonly context;
104
+ readonly value: Signal<string>;
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardValueText, never>;
106
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClipboardValueText, "[clipboardValueText]", ["clipboardValueText"], {}, {}, never, never, true, never>;
107
+ }
108
+
109
+ export { CLIPBOARD_CONTEXT, ClipboardContext, ClipboardControl, ClipboardIndicator, ClipboardInput, ClipboardLabel, ClipboardRoot, ClipboardRootProvider, ClipboardTrigger, ClipboardValueText, injectClipboardContext, useClipboard };
110
+ export type { ClipboardContextTemplate, UseClipboardOptions, UseClipboardProps, UseClipboardReturn };
111
+ //# sourceMappingURL=wirekyt-angular-clipboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wirekyt-angular-clipboard.d.ts","sources":["../../src/components/clipboard/use.ts","../../src/components/clipboard/use-context.ts","../../src/components/clipboard/root.ts","../../src/components/clipboard/root-provider.ts","../../src/components/clipboard/label.ts","../../src/components/clipboard/control.ts","../../src/components/clipboard/context.ts","../../src/components/clipboard/input.ts","../../src/components/clipboard/trigger.ts","../../src/components/clipboard/indicator.ts","../../src/components/clipboard/value-text.ts"],"mappings":";;;;;;;AAOA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,iBAAkB,SAAQ,UAAU,CAAC,IAAI,CAACA,KAAqB;AAAoB;AAE9F,KAAM,kBAAkB,GAAG,gBAAgB,CAC/C,SAAS,CAAC,OAAO,WACjB,SAAS,CAAC,GAAG,EACb,SAAS,CAAC,OAAO;UAGF,mBAAmB;mBACnB,iBAAiB;AACjC;AAKD,iBAAgB,YAAY,WACjB,mBAA6C,GACrD,kBAAkB;;ACtBrB,cAAa,iBAAiB,EAAA,cAAA,CAAA,kBAAA;AAI9B,iBAAgB,sBAAsB,IAAI,kBAAkB;;ACqB5D,cAMa,aAAc,YAAW,kBAAkB;iBACzC,WAAW;AACxB,kBAAc,WAAW,CAAC,OAAO,CAACC,UAAmB;2BAG9B,WAAW,CAACC,gBAAyB;oBAG5C,WAAW;2BACJ,WAAW;sBAChB,WAAW;AAC7B,2BAAuB,gBAAgB,CAACC,iBAA0B;AAElE;;AAGA;AAaA,oBAAgB,MAAM,CAAC,SAAS,CAAC,OAAO;kBAC1B,MAAM,CAAC,SAAS,CAAC,GAAG;AAClC,sBAAkB,SAAS,CAAC,OAAO;mBACpB,SAAS,CAAC,OAAO;AAEhC;;yCAlCW,aAAa;2CAAb,aAAa;AAgEzB;;AC/ED,cAMa,qBAAsB,YAAW,kBAAkB;AAC9D,oBAAgB,WAAW,CAAC,kBAAkB;AAC9C,oBAAgB,MAAM,CAAC,SAAS,CAAC,OAAO;kBAC1B,MAAM,CAAC,SAAS,CAAC,GAAG;mBACnB,SAAS,CAAC,OAAO;AAEhC,mBAAe,SAAS,CAAC,OAAO;AAIhC,oBAAgB,kBAAkB;;yCAVvB,qBAAqB;2CAArB,qBAAqB;AAsBjC;;AC3CD,cAKa,cAAc;;yCAAd,cAAc;2CAAd,cAAc;AAU1B;;ACfD,cAKa,gBAAgB;;yCAAhB,gBAAgB;2CAAhB,gBAAgB;AAU5B;;UCPgB,wBAAwB;AACvC,eAAW,kBAAkB;AAC7B,SAAK,kBAAkB;AACxB;AAED,cAKa,gBAAgB;AAC3B,8CACc,gBAAgB,gCAEhB,wBAAwB;AAKtC;AACA;AACA;;yCAXW,gBAAgB;2CAAhB,gBAAgB;AA0B5B;;AC5CD,cAKa,cAAc;;yCAAd,cAAc;2CAAd,cAAc;AAU1B;;ACfD,cAKa,gBAAgB;;yCAAhB,gBAAgB;2CAAhB,gBAAgB;AAU5B;;ACPD,cAKa,kBAAkB;AAC7B,qBAAiB,MAAM;;yCADZ,kBAAkB;2CAAlB,kBAAkB;AAgB9B;;AC9BD,cAKa,kBAAkB;AAC7B;AACA,oBAAgB,MAAM;yCAFX,kBAAkB;2CAAlB,kBAAkB;AAG9B;;;;","names":["ClipboardMachineProps","ClipboardElementIds","ClipboardIntlTranslations","ClipboardCopyStatusDetails"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirekyt/angular",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "Angular adapter for Wirekyt",
5
5
  "files": [
6
6
  "dist"
@@ -26,6 +26,22 @@
26
26
  "types": "./dist/types/wirekyt-angular-avatar.d.ts",
27
27
  "default": "./dist/fesm2022/wirekyt-angular-avatar.mjs"
28
28
  },
29
+ "./carousel": {
30
+ "types": "./dist/types/wirekyt-angular-carousel.d.ts",
31
+ "default": "./dist/fesm2022/wirekyt-angular-carousel.mjs"
32
+ },
33
+ "./checkbox": {
34
+ "types": "./dist/types/wirekyt-angular-checkbox.d.ts",
35
+ "default": "./dist/fesm2022/wirekyt-angular-checkbox.mjs"
36
+ },
37
+ "./clipboard": {
38
+ "types": "./dist/types/wirekyt-angular-clipboard.d.ts",
39
+ "default": "./dist/fesm2022/wirekyt-angular-clipboard.mjs"
40
+ },
41
+ "./client-only": {
42
+ "types": "./dist/types/wirekyt-angular-client-only.d.ts",
43
+ "default": "./dist/fesm2022/wirekyt-angular-client-only.mjs"
44
+ },
29
45
  "./collapsible": {
30
46
  "types": "./dist/types/wirekyt-angular-collapsible.d.ts",
31
47
  "default": "./dist/fesm2022/wirekyt-angular-collapsible.mjs"
@@ -48,7 +64,7 @@
48
64
  "@internationalized/date": "^3.12.3",
49
65
  "@internationalized/number": "^3.6.7",
50
66
  "tslib": "^2.8.1",
51
- "@wirekyt/dom": "0.0.6"
67
+ "@wirekyt/dom": "0.0.8"
52
68
  },
53
69
  "peerDependencies": {
54
70
  "@angular/common": ">=22.0.0",