@wirekyt/angular 0.0.25 → 0.0.28

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.
Files changed (30) hide show
  1. package/dist/fesm2022/wirekyt-angular-date-input.mjs +0 -1
  2. package/dist/fesm2022/wirekyt-angular-date-input.mjs.map +1 -1
  3. package/dist/fesm2022/wirekyt-angular-drawer.mjs +0 -2
  4. package/dist/fesm2022/wirekyt-angular-drawer.mjs.map +1 -1
  5. package/dist/fesm2022/wirekyt-angular-editable.mjs +499 -0
  6. package/dist/fesm2022/wirekyt-angular-editable.mjs.map +1 -0
  7. package/dist/fesm2022/wirekyt-angular-file-upload.mjs +604 -0
  8. package/dist/fesm2022/wirekyt-angular-file-upload.mjs.map +1 -0
  9. package/dist/fesm2022/wirekyt-angular-floating-panel.mjs +0 -36
  10. package/dist/fesm2022/wirekyt-angular-floating-panel.mjs.map +1 -1
  11. package/dist/fesm2022/wirekyt-angular-hover-card.mjs +430 -0
  12. package/dist/fesm2022/wirekyt-angular-hover-card.mjs.map +1 -0
  13. package/dist/package.json +13 -1
  14. package/dist/types/wirekyt-angular-checkbox.d.ts +1 -1
  15. package/dist/types/wirekyt-angular-color-picker.d.ts +1 -1
  16. package/dist/types/wirekyt-angular-combobox.d.ts +1 -1
  17. package/dist/types/wirekyt-angular-date-input.d.ts +0 -1
  18. package/dist/types/wirekyt-angular-date-input.d.ts.map +1 -1
  19. package/dist/types/wirekyt-angular-date-picker.d.ts +1 -1
  20. package/dist/types/wirekyt-angular-drawer.d.ts +0 -2
  21. package/dist/types/wirekyt-angular-drawer.d.ts.map +1 -1
  22. package/dist/types/wirekyt-angular-editable.d.ts +153 -0
  23. package/dist/types/wirekyt-angular-editable.d.ts.map +1 -0
  24. package/dist/types/wirekyt-angular-file-upload.d.ts +182 -0
  25. package/dist/types/wirekyt-angular-file-upload.d.ts.map +1 -0
  26. package/dist/types/wirekyt-angular-floating-panel.d.ts +0 -36
  27. package/dist/types/wirekyt-angular-floating-panel.d.ts.map +1 -1
  28. package/dist/types/wirekyt-angular-hover-card.d.ts +122 -0
  29. package/dist/types/wirekyt-angular-hover-card.d.ts.map +1 -0
  30. package/package.json +14 -2
@@ -1 +1 @@
1
- {"version":3,"file":"wirekyt-angular-drawer.d.ts","sources":["../../src/components/drawer/use.ts","../../src/components/drawer/use-context.ts","../../src/components/drawer/use-stack-context.ts","../../src/components/drawer/root.ts","../../src/components/drawer/root-provider.ts","../../src/components/drawer/trigger.ts","../../src/components/drawer/backdrop.ts","../../src/components/drawer/positioner.ts","../../src/components/drawer/content.ts","../../src/components/drawer/title.ts","../../src/components/drawer/description.ts","../../src/components/drawer/close-trigger.ts","../../src/components/drawer/grabber.ts","../../src/components/drawer/grabber-indicator.ts","../../src/components/drawer/swipe-area.ts","../../src/components/drawer/indent.ts","../../src/components/drawer/indent-background.ts","../../src/components/drawer/stack.ts","../../src/components/drawer/context.ts"],"mappings":";;;;;;;;;AAaA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,cAAe,SAAQ,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK;AAA4B;AAE1F,KAAM,eAAe,GAAG,gBAAgB,CAAC,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,OAAO;UAEjF,gBAAgB;mBAChB,cAAc;AAC9B;AAKD,iBAAgB,SAAS,UAAU,gBAAgB,GAAG,eAAe;;ACpBrE,cAAa,cAAc,EAAA,cAAA,CAAA,eAAA;AAE3B,iBAAgB,mBAAmB,IAAI,eAAe;AAItD,cAAa,sBAAsB,EAAA,cAAA,CAAA,cAAA,CAAA,eAAA;AAInC,iBAAgB,0BAA0B,IAAI,cAAc,CAAC,eAAe;UAI3D,2BAA2B;AAC1C,wBAAoB,MAAM;AAC1B,4BAAwB,MAAM;AAC/B;AAED,cAAa,8BAA8B,EAAA,cAAA,CAAA,2BAAA;AAI3C,iBAAgB,iCAAiC,IAAI,2BAA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AMa,WAAW;AACtB;AACA;AACA;AAIA,sBAAkB,qBAAqB;;yCAP5B,WAAW;2CAAX,WAAW;AAevB;;UCdgB,qBAAqB;AACpC,eAAW,eAAe;AAC1B,SAAK,eAAe;AACrB;AAED,cAKa,aAAa;AACxB,8CACc,aAAa,gCAEb,qBAAqB;AAKnC;AACA;AACA;;yCAXW,aAAa;2CAAb,aAAa;AA0BzB;;;;","names":["DrawerStack","DrawerElementIds","DrawerSnapPoint","DrawerSwipeDirection","DrawerFocusOutsideEvent","DrawerInteractOutsideEvent","DrawerPointerDownOutsideEvent","DrawerOpenChangeDetails","DrawerTriggerValueChangeDetails","DrawerSnapPointChangeDetails"]}
1
+ {"version":3,"file":"wirekyt-angular-drawer.d.ts","sources":["../../src/components/drawer/use.ts","../../src/components/drawer/use-context.ts","../../src/components/drawer/use-stack-context.ts","../../src/components/drawer/root.ts","../../src/components/drawer/root-provider.ts","../../src/components/drawer/trigger.ts","../../src/components/drawer/backdrop.ts","../../src/components/drawer/positioner.ts","../../src/components/drawer/content.ts","../../src/components/drawer/title.ts","../../src/components/drawer/description.ts","../../src/components/drawer/close-trigger.ts","../../src/components/drawer/grabber.ts","../../src/components/drawer/grabber-indicator.ts","../../src/components/drawer/swipe-area.ts","../../src/components/drawer/indent.ts","../../src/components/drawer/indent-background.ts","../../src/components/drawer/stack.ts","../../src/components/drawer/context.ts"],"mappings":";;;;;;;;;AAaA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,cAAe,SAAQ,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK;AAA4B;AAE1F,KAAM,eAAe,GAAG,gBAAgB,CAAC,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,OAAO;UAEjF,gBAAgB;mBAChB,cAAc;AAC9B;AAKD,iBAAgB,SAAS,UAAU,gBAAgB,GAAG,eAAe;;ACpBrE,cAAa,cAAc,EAAA,cAAA,CAAA,eAAA;AAE3B,iBA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;yCAAtB,sBAAsB;2CAAtB,sBAAsB;AAUlC;;ACHD,cAKa,eAAe;uBACP,wBAAwB;6BAGlB,WAAW,CAACN,cAAoB;;yCAJ9C,eAAe;2CAAf,eAAe;AAoB3B;;ACrCD,cAKa,YAAY;;yCAAZ,YAAY;2CAAZ,YAAY;AAUxB;;ACfD,cAKa,sBAAsB;;yCAAtB,sBAAsB;2CAAtB,sBAAsB;AAUlC;;ACdD,cAMa,WAAW;AACtB;AACA;AACA;AAIA,sBAAkB,qBAAqB;;yCAP5B,WAAW;2CAAX,WAAW;AAevB;;UCdgB,qBAAqB;AACpC,eAAW,eAAe;AAC1B,SAAK,eAAe;AACrB;AAED,cAKa,aAAa;AACxB,8CACc,aAAa,gCAEb,qBAAqB;AAKnC;AACA;AACA;;yCAXW,aAAa;2CAAb,aAAa;AA0BzB;;;;","names":["DrawerStack","DrawerElementIds","DrawerSnapPoint","DrawerSwipeDirection","DrawerFocusOutsideEvent","DrawerInteractOutsideEvent","DrawerPointerDownOutsideEvent","DrawerOpenChangeDetails","DrawerTriggerValueChangeDetails","DrawerSnapPointChangeDetails"]}
@@ -0,0 +1,153 @@
1
+ import * as editable from '@wirekyt/dom/machines/editable';
2
+ import { Props, ElementIds, EditChangeDetails, ValueChangeDetails, FocusOutsideEvent, PointerDownOutsideEvent, InteractOutsideEvent } from '@wirekyt/dom/machines/editable';
3
+ export { ActivationMode as EditableActivationMode, Api as EditableApi, EditChangeDetails as EditableEditChangeDetails, ElementIds as EditableElementIds, FocusOutsideEvent as EditableFocusOutsideEvent, InteractOutsideEvent as EditableInteractOutsideEvent, IntlTranslations as EditableIntlTranslations, Machine as EditableMachine, Props as EditableMachineProps, PointerDownOutsideEvent as EditablePointerDownOutsideEvent, Service as EditableService, SubmitMode as EditableSubmitMode, ValueChangeDetails as EditableValueChangeDetails, anatomy as editableAnatomy } from '@wirekyt/dom/machines/editable';
4
+ import * as i0 from '@angular/core';
5
+ import { InjectionToken, InputSignal, ModelSignal, InputSignalWithTransform, OutputEmitterRef, Signal, AfterContentInit } from '@angular/core';
6
+ import { UseMachineReturn } from '@wirekyt/angular';
7
+ import { ControlValueAccessor } from '@angular/forms';
8
+
9
+ type OptionalId<T extends {
10
+ id: string;
11
+ }> = Omit<T, "id"> & {
12
+ id?: string;
13
+ };
14
+ interface UseEditableProps extends OptionalId<Omit<Props, "dir" | "getRootNode">> {
15
+ }
16
+ type UseEditableReturn = UseMachineReturn<editable.Service["state"], editable.Api, editable.Service>;
17
+ interface UseEditableOptions {
18
+ context: () => UseEditableProps;
19
+ }
20
+ declare function useEditable(options?: UseEditableOptions): UseEditableReturn;
21
+
22
+ declare const EDITABLE_CONTEXT: InjectionToken<UseEditableReturn>;
23
+ declare function injectEditableContext(): UseEditableReturn;
24
+
25
+ declare class EditableRoot implements ControlValueAccessor, UseEditableReturn {
26
+ readonly id: InputSignal<string | undefined>;
27
+ readonly elementIds: InputSignal<ElementIds | undefined>;
28
+ readonly value: ModelSignal<string | undefined>;
29
+ readonly defaultValue: InputSignal<string | undefined>;
30
+ readonly edit: ModelSignal<boolean | undefined>;
31
+ readonly defaultEdit: InputSignalWithTransform<boolean, unknown>;
32
+ readonly disabled: InputSignalWithTransform<boolean, unknown>;
33
+ readonly readOnly: InputSignalWithTransform<boolean, unknown>;
34
+ readonly invalid: InputSignalWithTransform<boolean, unknown>;
35
+ readonly required: InputSignalWithTransform<boolean, unknown>;
36
+ readonly placeholder: InputSignal<string | {
37
+ edit: string;
38
+ preview: string;
39
+ } | undefined>;
40
+ readonly name: InputSignal<string | undefined>;
41
+ readonly form: InputSignal<string | undefined>;
42
+ readonly maxLength: InputSignal<number | undefined>;
43
+ readonly activationMode: InputSignal<editable.ActivationMode | undefined>;
44
+ readonly submitMode: InputSignal<editable.SubmitMode | undefined>;
45
+ readonly autoResize: InputSignalWithTransform<boolean, unknown>;
46
+ readonly selectOnFocus: InputSignalWithTransform<boolean, unknown>;
47
+ readonly translations: InputSignal<editable.IntlTranslations | undefined>;
48
+ readonly finalFocusEl: InputSignal<(() => HTMLElement | null) | undefined>;
49
+ readonly editDetailsChange: OutputEmitterRef<EditChangeDetails>;
50
+ readonly valueDetailsChange: OutputEmitterRef<ValueChangeDetails>;
51
+ readonly valueCommit: OutputEmitterRef<ValueChangeDetails>;
52
+ readonly valueRevert: OutputEmitterRef<ValueChangeDetails>;
53
+ readonly focusOutside: OutputEmitterRef<FocusOutsideEvent>;
54
+ readonly pointerDownOutside: OutputEmitterRef<PointerDownOutsideEvent>;
55
+ readonly interactOutside: OutputEmitterRef<InteractOutsideEvent>;
56
+ private readonly _disabledFromForm;
57
+ private _pendingInternalWrites;
58
+ private _hasExternalBinding;
59
+ private _hasReceivedFormWrite;
60
+ private readonly cva;
61
+ private readonly machine;
62
+ readonly state: Signal<editable.Service["state"]>;
63
+ readonly api: Signal<editable.Api>;
64
+ readonly service: editable.Service;
65
+ readonly send: editable.Service["send"];
66
+ constructor();
67
+ writeValue(value: string | null): void;
68
+ registerOnChange(fn: (value: string | undefined) => void): void;
69
+ registerOnTouched(fn: () => void): void;
70
+ setDisabledState(disabled: boolean): void;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableRoot, never>;
72
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditableRoot, "[editable-root]", ["editableRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "elementIds": { "alias": "ids"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "edit": { "alias": "edit"; "required": false; "isSignal": true; }; "defaultEdit": { "alias": "defaultEdit"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "activationMode": { "alias": "activationMode"; "required": false; "isSignal": true; }; "submitMode": { "alias": "submitMode"; "required": false; "isSignal": true; }; "autoResize": { "alias": "autoResize"; "required": false; "isSignal": true; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; "isSignal": true; }; "translations": { "alias": "translations"; "required": false; "isSignal": true; }; "finalFocusEl": { "alias": "finalFocusEl"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "edit": "editChange"; "editDetailsChange": "editDetailsChange"; "valueDetailsChange": "valueDetailsChange"; "valueCommit": "valueCommit"; "valueRevert": "valueRevert"; "focusOutside": "focusOutside"; "pointerDownOutside": "pointerDownOutside"; "interactOutside": "interactOutside"; }, never, never, true, never>;
73
+ }
74
+
75
+ declare class EditableRootProvider implements UseEditableReturn {
76
+ readonly value: InputSignal<UseEditableReturn>;
77
+ get state(): Signal<editable.Service["state"]>;
78
+ get api(): Signal<editable.Api>;
79
+ get service(): editable.Service;
80
+ get send(): editable.Service["send"];
81
+ constructor();
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableRootProvider, never>;
83
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditableRootProvider, "[editable-root-provider]", ["editableRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
84
+ }
85
+
86
+ declare class EditableArea {
87
+ constructor();
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableArea, never>;
89
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditableArea, "[editable-area]", ["editableArea"], {}, {}, never, never, true, never>;
90
+ }
91
+
92
+ declare class EditableInput {
93
+ constructor();
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableInput, never>;
95
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditableInput, "[editable-input]", ["editableInput"], {}, {}, never, never, true, never>;
96
+ }
97
+
98
+ declare class EditablePreview implements AfterContentInit {
99
+ private readonly ownsTextContent;
100
+ private readonly elementRef;
101
+ constructor();
102
+ ngAfterContentInit(): void;
103
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditablePreview, never>;
104
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditablePreview, "[editable-preview]", ["editablePreview"], {}, {}, never, never, true, never>;
105
+ }
106
+
107
+ declare class EditableLabel {
108
+ constructor();
109
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableLabel, never>;
110
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditableLabel, "[editable-label]", ["editableLabel"], {}, {}, never, never, true, never>;
111
+ }
112
+
113
+ declare class EditableControl {
114
+ constructor();
115
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableControl, never>;
116
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditableControl, "[editable-control]", ["editableControl"], {}, {}, never, never, true, never>;
117
+ }
118
+
119
+ declare class EditableEditTrigger {
120
+ constructor();
121
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableEditTrigger, never>;
122
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditableEditTrigger, "[editable-edit-trigger]", ["editableEditTrigger"], {}, {}, never, never, true, never>;
123
+ }
124
+
125
+ declare class EditableSubmitTrigger {
126
+ constructor();
127
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableSubmitTrigger, never>;
128
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditableSubmitTrigger, "[editable-submit-trigger]", ["editableSubmitTrigger"], {}, {}, never, never, true, never>;
129
+ }
130
+
131
+ declare class EditableCancelTrigger {
132
+ constructor();
133
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableCancelTrigger, never>;
134
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditableCancelTrigger, "[editable-cancel-trigger]", ["editableCancelTrigger"], {}, {}, never, never, true, never>;
135
+ }
136
+
137
+ interface EditableContextTemplate {
138
+ $implicit: UseEditableReturn["api"];
139
+ api: UseEditableReturn["api"];
140
+ }
141
+ declare class EditableContext {
142
+ static ngTemplateContextGuard(_directive: EditableContext, context: unknown): context is EditableContextTemplate;
143
+ private readonly editable;
144
+ private readonly templateRef;
145
+ private readonly viewContainer;
146
+ constructor();
147
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableContext, never>;
148
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditableContext, "[editable-context]", ["editableContext"], {}, {}, never, never, true, never>;
149
+ }
150
+
151
+ export { EDITABLE_CONTEXT, EditableArea, EditableCancelTrigger, EditableContext, EditableControl, EditableEditTrigger, EditableInput, EditableLabel, EditablePreview, EditableRoot, EditableRootProvider, EditableSubmitTrigger, injectEditableContext, useEditable };
152
+ export type { EditableContextTemplate, UseEditableOptions, UseEditableProps, UseEditableReturn };
153
+ //# sourceMappingURL=wirekyt-angular-editable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wirekyt-angular-editable.d.ts","sources":["../../src/components/editable/use.ts","../../src/components/editable/use-context.ts","../../src/components/editable/root.ts","../../src/components/editable/root-provider.ts","../../src/components/editable/area.ts","../../src/components/editable/input.ts","../../src/components/editable/preview.ts","../../src/components/editable/label.ts","../../src/components/editable/control.ts","../../src/components/editable/edit-trigger.ts","../../src/components/editable/submit-trigger.ts","../../src/components/editable/cancel-trigger.ts","../../src/components/editable/context.ts"],"mappings":";;;;;;;;AAcA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,gBAAiB,SAAQ,UAAU,CAClD,IAAI,CAACA,KAAoB;AACvB;AAEE,KAAM,iBAAiB,GAAG,gBAAgB,CAC9C,QAAQ,CAAC,OAAO,WAChB,QAAQ,CAAC,GAAG,EACZ,QAAQ,CAAC,OAAO;UAGD,kBAAkB;mBAClB,gBAAgB;AAChC;AAKD,iBAAgB,WAAW,WAChB,kBAA4C,GACpD,iBAAiB;;AC/BpB,cAAa,gBAAgB,EAAA,cAAA,CAAA,iBAAA;AAE7B,iBAAgB,qBAAqB,IAAI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AC5CD,cAKa,YAAY;;yCAAZ,YAAY;2CAAZ,YAAY;AAUxB;;ACdD,cAKa,aAAa;;yCAAb,aAAa;2CAAb,aAAa;AAuBzB;;ACpBD,cAKa,eAAgB,YAAW,gBAAgB;AACtD;AACA;;AAgCA;yCAlCW,eAAe;2CAAf,eAAe;AAqC3B;;ACnDD,cAKa,aAAa;;yCAAb,aAAa;2CAAb,aAAa;AAUzB;;ACfD,cAKa,eAAe;;yCAAf,eAAe;2CAAf,eAAe;AAU3B;;ACfD,cAKa,mBAAmB;;yCAAnB,mBAAmB;2CAAnB,mBAAmB;AAU/B;;ACfD,cAKa,qBAAqB;;yCAArB,qBAAqB;2CAArB,qBAAqB;AAUjC;;ACfD,cAKa,qBAAqB;;yCAArB,qBAAqB;2CAArB,qBAAqB;AAUjC;;UCPgB,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":["EditableMachineProps","EditableElementIds","EditableEditChangeDetails","EditableValueChangeDetails","EditableFocusOutsideEvent","EditablePointerDownOutsideEvent","EditableInteractOutsideEvent"]}
@@ -0,0 +1,182 @@
1
+ import * as fileUpload from '@wirekyt/dom/machines/file-upload';
2
+ import { Props, ItemType, ElementIds, IntlTranslations, FileMimeType, FileValidateDetails, FileError, FileChangeDetails, FileAcceptDetails, FileRejectDetails } from '@wirekyt/dom/machines/file-upload';
3
+ export { FileAcceptDetails, FileChangeDetails, FileError, FileMimeType, FileRejectDetails, FileRejection, Api as FileUploadApi, DropzoneProps as FileUploadDropzoneProps, ElementIds as FileUploadElementIds, FileAcceptDetails as FileUploadFileAcceptDetails, FileChangeDetails as FileUploadFileChangeDetails, FileError as FileUploadFileError, FileMimeType as FileUploadFileMimeType, FileRejectDetails as FileUploadFileRejectDetails, FileRejection as FileUploadFileRejection, FileValidateDetails as FileUploadFileValidateDetails, IntlTranslations as FileUploadIntlTranslations, ItemGroupProps as FileUploadItemGroupProps, ItemPreviewImageProps as FileUploadItemPreviewImageProps, ItemProps as FileUploadItemProps, ItemType as FileUploadItemType, ItemTypeProps as FileUploadItemTypeProps, Machine as FileUploadMachine, Props as FileUploadMachineProps, Service as FileUploadService, FileValidateDetails, anatomy as fileUploadAnatomy } from '@wirekyt/dom/machines/file-upload';
4
+ import { UseMachineReturn } from '@wirekyt/angular';
5
+ import * as i0 from '@angular/core';
6
+ import { InjectionToken, Signal, InputSignal, InputSignalWithTransform, ModelSignal, OutputEmitterRef } from '@angular/core';
7
+
8
+ type OptionalId<T extends {
9
+ id: string;
10
+ }> = Omit<T, "id"> & {
11
+ id?: string;
12
+ };
13
+ interface UseFileUploadProps extends OptionalId<Omit<Props, "dir" | "getRootNode">> {
14
+ }
15
+ type UseFileUploadReturn = UseMachineReturn<fileUpload.Service["state"], fileUpload.Api, fileUpload.Service>;
16
+ interface UseFileUploadOptions {
17
+ context: () => UseFileUploadProps;
18
+ }
19
+ declare function useFileUpload(options: UseFileUploadOptions): UseFileUploadReturn;
20
+
21
+ interface FileUploadContextTemplate {
22
+ $implicit: UseFileUploadReturn["api"];
23
+ api: UseFileUploadReturn["api"];
24
+ }
25
+ declare class FileUploadContext {
26
+ static ngTemplateContextGuard(_directive: FileUploadContext, context: unknown): context is FileUploadContextTemplate;
27
+ private readonly fileUpload;
28
+ private readonly templateRef;
29
+ private readonly viewContainer;
30
+ constructor();
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadContext, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadContext, "[file-upload-context]", ["fileUploadContext"], {}, {}, never, never, true, never>;
33
+ }
34
+
35
+ declare const FILE_UPLOAD_CONTEXT: InjectionToken<UseFileUploadReturn>;
36
+ declare function injectFileUploadContext(): UseFileUploadReturn;
37
+
38
+ interface FileUploadItemContext {
39
+ file: Signal<File>;
40
+ type: Signal<ItemType | undefined>;
41
+ }
42
+ declare const FILE_UPLOAD_ITEM_CONTEXT: InjectionToken<FileUploadItemContext>;
43
+ declare function injectFileUploadItemContext(): FileUploadItemContext;
44
+
45
+ declare class FileUploadRoot implements UseFileUploadReturn {
46
+ readonly id: InputSignal<string | undefined>;
47
+ readonly elementIds: InputSignal<ElementIds | undefined>;
48
+ readonly translations: InputSignal<IntlTranslations | undefined>;
49
+ readonly name: InputSignal<string | undefined>;
50
+ readonly accept: InputSignal<Record<string, string[]> | FileMimeType | FileMimeType[] | undefined>;
51
+ readonly disabled: InputSignalWithTransform<boolean, unknown>;
52
+ readonly required: InputSignalWithTransform<boolean, unknown>;
53
+ readonly invalid: InputSignalWithTransform<boolean, unknown>;
54
+ readonly readOnly: InputSignalWithTransform<boolean, unknown>;
55
+ readonly allowDrop: InputSignalWithTransform<boolean | undefined, unknown>;
56
+ readonly maxFileSize: InputSignalWithTransform<number | undefined, unknown>;
57
+ readonly minFileSize: InputSignalWithTransform<number | undefined, unknown>;
58
+ readonly maxFiles: InputSignalWithTransform<number | undefined, unknown>;
59
+ readonly preventDocumentDrop: InputSignalWithTransform<boolean | undefined, unknown>;
60
+ readonly validate: InputSignal<((file: File, details: FileValidateDetails) => FileError[] | null) | undefined>;
61
+ readonly defaultAcceptedFiles: InputSignal<File[] | undefined>;
62
+ readonly acceptedFiles: ModelSignal<File[] | undefined>;
63
+ readonly capture: InputSignal<"user" | "environment" | undefined>;
64
+ readonly directory: InputSignalWithTransform<boolean | undefined, unknown>;
65
+ readonly transformFiles: InputSignal<((files: File[]) => Promise<File[]>) | undefined>;
66
+ readonly locale: InputSignal<string | undefined>;
67
+ readonly fileChange: OutputEmitterRef<FileChangeDetails>;
68
+ readonly fileAccept: OutputEmitterRef<FileAcceptDetails>;
69
+ readonly fileReject: OutputEmitterRef<FileRejectDetails>;
70
+ private readonly machine;
71
+ readonly state: Signal<fileUpload.Service["state"]>;
72
+ readonly api: Signal<fileUpload.Api>;
73
+ readonly service: fileUpload.Service;
74
+ readonly send: fileUpload.Service["send"];
75
+ constructor();
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadRoot, never>;
77
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadRoot, "[file-upload-root]", ["fileUploadRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "elementIds": { "alias": "ids"; "required": false; "isSignal": true; }; "translations": { "alias": "translations"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "allowDrop": { "alias": "allowDrop"; "required": false; "isSignal": true; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; "isSignal": true; }; "minFileSize": { "alias": "minFileSize"; "required": false; "isSignal": true; }; "maxFiles": { "alias": "maxFiles"; "required": false; "isSignal": true; }; "preventDocumentDrop": { "alias": "preventDocumentDrop"; "required": false; "isSignal": true; }; "validate": { "alias": "validate"; "required": false; "isSignal": true; }; "defaultAcceptedFiles": { "alias": "defaultAcceptedFiles"; "required": false; "isSignal": true; }; "acceptedFiles": { "alias": "acceptedFiles"; "required": false; "isSignal": true; }; "capture": { "alias": "capture"; "required": false; "isSignal": true; }; "directory": { "alias": "directory"; "required": false; "isSignal": true; }; "transformFiles": { "alias": "transformFiles"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; }, { "acceptedFiles": "acceptedFilesChange"; "fileChange": "fileChange"; "fileAccept": "fileAccept"; "fileReject": "fileReject"; }, never, never, true, never>;
78
+ }
79
+
80
+ declare class FileUploadRootProvider implements UseFileUploadReturn {
81
+ readonly value: InputSignal<UseFileUploadReturn>;
82
+ readonly state: Signal<fileUpload.Service["state"]>;
83
+ readonly api: Signal<fileUpload.Api>;
84
+ readonly send: fileUpload.Service["send"];
85
+ get service(): fileUpload.Service;
86
+ resolveValue(): UseFileUploadReturn;
87
+ constructor();
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadRootProvider, never>;
89
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadRootProvider, "[file-upload-root-provider]", ["fileUploadRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
90
+ }
91
+
92
+ declare class FileUploadLabel {
93
+ constructor();
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadLabel, never>;
95
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadLabel, "[file-upload-label]", ["fileUploadLabel"], {}, {}, never, never, true, never>;
96
+ }
97
+
98
+ declare class FileUploadTrigger {
99
+ constructor();
100
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadTrigger, never>;
101
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadTrigger, "[file-upload-trigger]", ["fileUploadTrigger"], {}, {}, never, never, true, never>;
102
+ }
103
+
104
+ declare class FileUploadDropzone {
105
+ readonly disableClick: InputSignalWithTransform<boolean | undefined, unknown>;
106
+ constructor();
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadDropzone, never>;
108
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadDropzone, "[file-upload-dropzone]", ["fileUploadDropzone"], { "disableClick": { "alias": "disableClick"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
109
+ }
110
+
111
+ declare class FileUploadHiddenInput {
112
+ constructor();
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadHiddenInput, never>;
114
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadHiddenInput, "input[file-upload-hidden-input]", ["fileUploadHiddenInput"], {}, {}, never, never, true, never>;
115
+ }
116
+
117
+ declare class FileUploadClearTrigger {
118
+ constructor();
119
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadClearTrigger, never>;
120
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadClearTrigger, "[file-upload-clear-trigger]", ["fileUploadClearTrigger"], {}, {}, never, never, true, never>;
121
+ }
122
+
123
+ interface FileUploadItemGroupContext {
124
+ type: Signal<ItemType | undefined>;
125
+ }
126
+ declare const FILE_UPLOAD_ITEM_GROUP_CONTEXT: InjectionToken<FileUploadItemGroupContext>;
127
+ declare function injectFileUploadItemGroupContextOptional(): FileUploadItemGroupContext | null;
128
+ declare class FileUploadItemGroup implements FileUploadItemGroupContext {
129
+ readonly type: InputSignal<ItemType | undefined>;
130
+ constructor();
131
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadItemGroup, never>;
132
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadItemGroup, "[file-upload-item-group]", ["fileUploadItemGroup"], { "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
133
+ }
134
+
135
+ declare class FileUploadItem implements FileUploadItemContext {
136
+ readonly file: InputSignal<File>;
137
+ private readonly group;
138
+ readonly type: Signal<ItemType | undefined>;
139
+ constructor();
140
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadItem, never>;
141
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadItem, "[file-upload-item]", ["fileUploadItem"], { "file": { "alias": "file"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
142
+ }
143
+
144
+ declare class FileUploadItemName {
145
+ constructor();
146
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadItemName, never>;
147
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadItemName, "[file-upload-item-name]", ["fileUploadItemName"], {}, {}, never, never, true, never>;
148
+ }
149
+
150
+ declare class FileUploadItemSizeText {
151
+ constructor();
152
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadItemSizeText, never>;
153
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadItemSizeText, "[file-upload-item-size-text]", ["fileUploadItemSizeText"], {}, {}, never, never, true, never>;
154
+ }
155
+
156
+ declare class FileUploadItemPreview {
157
+ readonly type: InputSignal<string | undefined>;
158
+ private readonly context;
159
+ private readonly item;
160
+ readonly matches: Signal<boolean>;
161
+ constructor();
162
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadItemPreview, never>;
163
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadItemPreview, "[file-upload-item-preview]", ["fileUploadItemPreview"], { "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
164
+ }
165
+
166
+ declare class FileUploadItemPreviewImage {
167
+ private readonly urlSignal;
168
+ readonly url: Signal<string | undefined>;
169
+ constructor();
170
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadItemPreviewImage, never>;
171
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadItemPreviewImage, "img[file-upload-item-preview-image]", ["fileUploadItemPreviewImage"], {}, {}, never, never, true, never>;
172
+ }
173
+
174
+ declare class FileUploadItemDeleteTrigger {
175
+ constructor();
176
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadItemDeleteTrigger, never>;
177
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadItemDeleteTrigger, "[file-upload-item-delete-trigger]", ["fileUploadItemDeleteTrigger"], {}, {}, never, never, true, never>;
178
+ }
179
+
180
+ export { FILE_UPLOAD_CONTEXT, FILE_UPLOAD_ITEM_CONTEXT, FILE_UPLOAD_ITEM_GROUP_CONTEXT, FileUploadClearTrigger, FileUploadContext, FileUploadDropzone, FileUploadHiddenInput, FileUploadItem, FileUploadItemDeleteTrigger, FileUploadItemGroup, FileUploadItemName, FileUploadItemPreview, FileUploadItemPreviewImage, FileUploadItemSizeText, FileUploadLabel, FileUploadRoot, FileUploadRootProvider, FileUploadTrigger, injectFileUploadContext, injectFileUploadItemContext, injectFileUploadItemGroupContextOptional, useFileUpload };
181
+ export type { FileUploadContextTemplate, FileUploadItemContext, FileUploadItemGroupContext, UseFileUploadOptions, UseFileUploadProps, UseFileUploadReturn };
182
+ //# sourceMappingURL=wirekyt-angular-file-upload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wirekyt-angular-file-upload.d.ts","sources":["../../src/components/file-upload/use.ts","../../src/components/file-upload/context.ts","../../src/components/file-upload/use-context.ts","../../src/components/file-upload/use-item-context.ts","../../src/components/file-upload/root.ts","../../src/components/file-upload/root-provider.ts","../../src/components/file-upload/label.ts","../../src/components/file-upload/trigger.ts","../../src/components/file-upload/dropzone.ts","../../src/components/file-upload/hidden-input.ts","../../src/components/file-upload/clear-trigger.ts","../../src/components/file-upload/item-group.ts","../../src/components/file-upload/item.ts","../../src/components/file-upload/item-name.ts","../../src/components/file-upload/item-size-text.ts","../../src/components/file-upload/item-preview.ts","../../src/components/file-upload/item-preview-image.ts","../../src/components/file-upload/item-delete-trigger.ts"],"mappings":";;;;;;;AAcA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,kBAAmB,SAAQ,UAAU,CACpD,IAAI,CAACA,KAAsB;AACzB;AAEE,KAAM,mBAAmB,GAAG,gBAAgB,CAChD,UAAU,CAAC,OAAO,WAClB,UAAU,CAAC,GAAG,EACd,UAAU,CAAC,OAAO;UAGH,oBAAoB;mBACpB,kBAAkB;AAClC;AAiBD,iBAAgB,aAAa,UAAU,oBAAoB,GAAG,mBAAmB;;UChChE,yBAAyB;AACxC,eAAW,mBAAmB;AAC9B,SAAK,mBAAmB;AACzB;AAED,cAKa,iBAAiB;AAC5B,8CACc,iBAAiB,gCAEjB,yBAAyB;AAKvC;AACA;AACA;;yCAXW,iBAAiB;2CAAjB,iBAAiB;AA0B7B;;AC7CD,cAAa,mBAAmB,EAAA,cAAA,CAAA,mBAAA;AAIhC,iBAAgB,uBAAuB,IAAI,mBAAmB;;UCJ7C,qBAAqB;AACpC,UAAM,MAAM,CAAC,IAAI;AACjB,UAAM,MAAM,CAACC,QAAkB;AAChC;AAED,cAAa,wBAAwB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Ka,iBAAiB;;yCAAjB,iBAAiB;2CAAjB,iBAAiB;AAU7B;;ACND,cAKa,kBAAkB;2BACN,wBAAwB;;yCADpC,kBAAkB;2CAAlB,kBAAkB;AAkB9B;;AC/BD,cAKa,qBAAqB;;yCAArB,qBAAqB;2CAArB,qBAAqB;AAcjC;;ACpBD,cAKa,sBAAsB;;yCAAtB,sBAAsB;2CAAtB,sBAAsB;AAUlC;;UCDgB,0BAA0B;AACzC,UAAM,MAAM,CAACF,QAAkB;AAChC;AAED,cAAa,8BAA8B,EAAA,cAAA,CAAA,0BAAA;AAI3C,iBAAgB,wCAAwC,IAAI,0BAA0B;AAItF,cAQa,mBAAoB,YAAW,0BAA0B;mBACrD,WAAW,CAACA,QAAkB;;yCADlC,mBAAmB;2CAAnB,mBAAmB;AAe/B;;AClCD,cAMa,cAAe,YAAW,qBAAqB;AAC1D,mBAAe,WAAW,CAAC,IAAI;AAE/B;mBACe,MAAM,CAACA,QAAkB;;yCAJ7B,cAAc;2CAAd,cAAc;AAe1B;;ACnCD,cAKa,kBAAkB;;yCAAlB,kBAAkB;2CAAlB,kBAAkB;AAyB9B;;AC9BD,cAKa,sBAAsB;;yCAAtB,sBAAsB;2CAAtB,sBAAsB;AAyBlC;;ACpBD,cAKa,qBAAqB;mBACjB,WAAW;AAE1B;AACA;AAEA,sBAAkB,MAAM;;yCANb,qBAAqB;2CAArB,qBAAqB;AAoCjC;;ACzCD,cAKa,0BAA0B;AACrC;kBACc,MAAM;;yCAFT,0BAA0B;2CAA1B,0BAA0B;AAsCtC;;ACrDD,cAKa,2BAA2B;;yCAA3B,2BAA2B;2CAA3B,2BAA2B;AAYvC;;;;","names":["FileUploadMachineProps","FileUploadItemType","FileUploadElementIds","FileUploadIntlTranslations"]}
@@ -32,67 +32,36 @@ declare const FLOATING_PANEL_RENDER_STRATEGY_CONTEXT: InjectionToken<FloatingPan
32
32
  declare function injectFloatingPanelRenderStrategyContext(): FloatingPanelRenderStrategyContext;
33
33
 
34
34
  declare class FloatingPanelRoot extends PresenceBase implements UseFloatingPanelReturn {
35
- /** The unique identifier of the floating panel. */
36
35
  readonly id: InputSignal<string | undefined>;
37
- /** The ids of the floating panel elements. Useful for composition. */
38
36
  readonly ids: InputSignal<Partial<ElementIds> | undefined>;
39
- /** The controlled open state of the floating panel. */
40
37
  readonly open: ModelSignal<boolean | undefined>;
41
- /** The initial open state of the floating panel when uncontrolled. */
42
38
  readonly defaultOpen: InputSignalWithTransform<boolean, unknown>;
43
- /** The controlled position of the floating panel. */
44
39
  readonly position: ModelSignal<Point | undefined>;
45
- /** The initial position of the floating panel when uncontrolled. */
46
40
  readonly defaultPosition: InputSignal<Point | undefined>;
47
- /** The controlled size of the floating panel. */
48
41
  readonly size: ModelSignal<Size | undefined>;
49
- /** The initial size of the floating panel when uncontrolled. */
50
42
  readonly defaultSize: InputSignal<Size | undefined>;
51
- /** The minimum size of the floating panel. */
52
43
  readonly minSize: InputSignal<Size | undefined>;
53
- /** The maximum size of the floating panel. */
54
44
  readonly maxSize: InputSignal<Size | undefined>;
55
- /** The positioning strategy to use. */
56
45
  readonly strategy: InputSignal<floatingPanel.Props["strategy"]>;
57
- /** Whether the panel may overflow the boundary while dragging. */
58
46
  readonly allowOverflow: InputSignalWithTransform<boolean, unknown>;
59
- /** Whether the floating panel is draggable. */
60
47
  readonly draggable: InputSignalWithTransform<boolean, unknown>;
61
- /** Whether the floating panel is resizable. */
62
48
  readonly resizable: InputSignalWithTransform<boolean, unknown>;
63
- /** Whether resizing locks the panel to its aspect ratio. */
64
49
  readonly lockAspectRatio: InputSignalWithTransform<boolean, unknown>;
65
- /** Whether the floating panel closes when the escape key is pressed. */
66
50
  readonly closeOnEscape: InputSignalWithTransform<boolean, unknown>;
67
- /** Whether focus should be restored when the floating panel closes. */
68
51
  readonly restoreFocus: InputSignalWithTransform<boolean, unknown>;
69
- /** Whether the floating panel is disabled. */
70
52
  readonly disabled: InputSignalWithTransform<boolean, unknown>;
71
- /** Whether size and position should be preserved when the floating panel closes. */
72
53
  readonly persistRect: InputSignalWithTransform<boolean, unknown>;
73
- /** The snap grid for dragging and keyboard movement. */
74
54
  readonly gridSize: InputSignal<number | undefined>;
75
- /** Localized strings for control labels. */
76
55
  readonly translations: InputSignal<IntlTranslations | undefined>;
77
- /** Function that returns the initial panel position when opened. */
78
56
  readonly getAnchorPosition: InputSignal<((details: AnchorPositionDetails) => Point) | undefined>;
79
- /** Function that returns the boundary element for dragging and resizing. */
80
57
  readonly getBoundaryEl: InputSignal<(() => HTMLElement | null) | undefined>;
81
- /** Element to receive focus when the floating panel opens. */
82
58
  readonly initialFocusEl: InputSignal<(() => HTMLElement | null) | undefined>;
83
- /** Element to receive focus when the floating panel closes. */
84
59
  readonly finalFocusEl: InputSignal<(() => HTMLElement | null) | undefined>;
85
- /** Emits details when the panel open state changes. */
86
60
  readonly openChangeDetails: OutputEmitterRef<OpenChangeDetails>;
87
- /** Emits details when the panel position changes via dragging or API calls. */
88
61
  readonly positionDetailsChange: OutputEmitterRef<PositionChangeDetails>;
89
- /** Emits details when a position-changing drag interaction ends. */
90
62
  readonly positionChangeEnd: OutputEmitterRef<PositionChangeDetails>;
91
- /** Emits details when the panel size changes via resizing or API calls. */
92
63
  readonly sizeDetailsChange: OutputEmitterRef<SizeChangeDetails>;
93
- /** Emits details when a size-changing resize interaction ends. */
94
64
  readonly sizeChangeEnd: OutputEmitterRef<SizeChangeDetails>;
95
- /** Emits details when the panel stage changes. */
96
65
  readonly stageChange: OutputEmitterRef<StageChangeDetails>;
97
66
  private lastPositionDetails;
98
67
  private lastPositionEndDetails;
@@ -106,14 +75,12 @@ declare class FloatingPanelRoot extends PresenceBase implements UseFloatingPanel
106
75
  readonly send: floatingPanel.Service["send"];
107
76
  readonly presence: _wirekyt_angular_presence.UsePresenceReturn;
108
77
  protected readonly contextCarrier: ContextCarrier<FloatingPanelRoot>;
109
- /** @internal Exposed for floating panel part directives to consume through portals. */
110
78
  getContextCarrier(): ContextCarrier<FloatingPanelRoot>;
111
79
  static ɵfac: i0.ɵɵFactoryDeclaration<FloatingPanelRoot, never>;
112
80
  static ɵdir: i0.ɵɵDirectiveDeclaration<FloatingPanelRoot, "[floating-panel-root]", ["floatingPanelRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "ids": { "alias": "ids"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "defaultPosition": { "alias": "defaultPosition"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "defaultSize": { "alias": "defaultSize"; "required": false; "isSignal": true; }; "minSize": { "alias": "minSize"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "strategy": { "alias": "strategy"; "required": false; "isSignal": true; }; "allowOverflow": { "alias": "allowOverflow"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "lockAspectRatio": { "alias": "lockAspectRatio"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "persistRect": { "alias": "persistRect"; "required": false; "isSignal": true; }; "gridSize": { "alias": "gridSize"; "required": false; "isSignal": true; }; "translations": { "alias": "translations"; "required": false; "isSignal": true; }; "getAnchorPosition": { "alias": "getAnchorPosition"; "required": false; "isSignal": true; }; "getBoundaryEl": { "alias": "getBoundaryEl"; "required": false; "isSignal": true; }; "initialFocusEl": { "alias": "initialFocusEl"; "required": false; "isSignal": true; }; "finalFocusEl": { "alias": "finalFocusEl"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "position": "positionChange"; "size": "sizeChange"; "openChangeDetails": "openChangeDetails"; "positionDetailsChange": "positionDetailsChange"; "positionChangeEnd": "positionChangeEnd"; "sizeDetailsChange": "sizeDetailsChange"; "sizeChangeEnd": "sizeChangeEnd"; "stageChange": "stageChange"; }, never, never, true, never>;
113
81
  }
114
82
 
115
83
  declare class FloatingPanelRootProvider extends PresenceBase implements UseFloatingPanelReturn {
116
- /** The floating panel machine returned by useFloatingPanel(). */
117
84
  readonly value: InputSignal<UseFloatingPanelReturn>;
118
85
  readonly state: Signal<floatingPanel.Service["state"]>;
119
86
  readonly api: Signal<floatingPanel.Api>;
@@ -121,7 +88,6 @@ declare class FloatingPanelRootProvider extends PresenceBase implements UseFloat
121
88
  get service(): floatingPanel.Service;
122
89
  readonly presence: _wirekyt_angular_presence.UsePresenceReturn;
123
90
  protected readonly contextCarrier: ContextCarrier<FloatingPanelRootProvider>;
124
- /** @internal Exposed for floating panel part directives to consume through portals. */
125
91
  getContextCarrier(): ContextCarrier<FloatingPanelRootProvider>;
126
92
  static ɵfac: i0.ɵɵFactoryDeclaration<FloatingPanelRootProvider, never>;
127
93
  static ɵdir: i0.ɵɵDirectiveDeclaration<FloatingPanelRootProvider, "[floating-panel-root-provider]", ["floatingPanelRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -182,7 +148,6 @@ declare class FloatingPanelDragTrigger {
182
148
  }
183
149
 
184
150
  declare class FloatingPanelResizeTrigger {
185
- /** The axis of the resize handle. */
186
151
  readonly axis: InputSignal<ResizeTriggerAxis>;
187
152
  constructor();
188
153
  static ɵfac: i0.ɵɵFactoryDeclaration<FloatingPanelResizeTrigger, never>;
@@ -190,7 +155,6 @@ declare class FloatingPanelResizeTrigger {
190
155
  }
191
156
 
192
157
  declare class FloatingPanelStageTrigger {
193
- /** The stage to apply when the trigger is clicked. */
194
158
  readonly stage: InputSignal<Stage>;
195
159
  constructor();
196
160
  static ɵfac: i0.ɵɵFactoryDeclaration<FloatingPanelStageTrigger, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"wirekyt-angular-floating-panel.d.ts","sources":["../../src/components/floating-panel/use.ts","../../src/components/floating-panel/use-context.ts","../../src/components/floating-panel/root.ts","../../src/components/floating-panel/root-provider.ts","../../src/components/floating-panel/trigger.ts","../../src/components/floating-panel/positioner.ts","../../src/components/floating-panel/content.ts","../../src/components/floating-panel/control.ts","../../src/components/floating-panel/header.ts","../../src/components/floating-panel/body.ts","../../src/components/floating-panel/title.ts","../../src/components/floating-panel/close-trigger.ts","../../src/components/floating-panel/drag-trigger.ts","../../src/components/floating-panel/resize-trigger.ts","../../src/components/floating-panel/stage-trigger.ts","../../src/components/floating-panel/context.ts"],"mappings":";;;;;;;;;AAWA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,qBAAsB,SAAQ,UAAU,CACvD,IAAI,CAAC,aAAa,CAAC,KAAK;AACtB;AAEE,KAAM,sBAAsB,GAAG,gBAAgB,CACnD,aAAa,CAAC,OAAO,WACrB,aAAa,CAAC,GAAG,EACjB,aAAa,CAAC,OAAO;UAGN,uBAAuB;mBACvB,qBAAqB;AACrC;AAKD,iBAAgB,gBAAgB,UAAU,uBAAuB,GAAG,sBAAsB;;ACxB1F,cAAa,sBAAsB,EAAA,cAAA,CAAA,sBAAA;AAInC,iBAAgB,0BAA0B,IAAI,sBAAsB;AAIpE,cAAa,8BAA8B,EAAA,cAAA,CAAA,cAAA,CAAA,sBAAA;AAI3C,iBAAgB,iCAAiC,IAAI,cAAc,CAAC,sBAAsB;UAIzE,kCAAkC;AACjD,wBAAoB,MAAM;AAC1B,4BAAwB,MAAM;AAC/B;AAED,cAAa,sCAAsC,EAAA,cAAA,CAAA,kCAAA;AAKnD,iBAAgB,wCAAwC,IAAI,kCAAkC;;ACmB9F,cAsBa,iBAAkB,SAAQ,YAAa,YAAW,sBAAsB;;iBAEtE,WAAW;;AAExB,kBAAc,WAAW,CAAC,OAAO,CAACA,UAAuB;;mBAI1C,WAAW;;0BAEJ,wBAAwB;;uBAI3B,WAAW,CAACC,KAAkB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PositionDetails","FloatingPanelOpenChangeDetails","FloatingPanelPositionChangeDetails","FloatingPanelSizeChangeDetails","FloatingPanelStageChangeDetails","FloatingPanelResizeTriggerAxis","FloatingPanelStage"]}
1
+ {"version":3,"file":"wirekyt-angular-floating-panel.d.ts","sources":["../../src/components/floating-panel/use.ts","../../src/components/floating-panel/use-context.ts","../../src/components/floating-panel/root.ts","../../src/components/floating-panel/root-provider.ts","../../src/components/floating-panel/trigger.ts","../../src/components/floating-panel/positioner.ts","../../src/components/floating-panel/content.ts","../../src/components/floating-panel/control.ts","../../src/components/floating-panel/header.ts","../../src/components/floating-panel/body.ts","../../src/components/floating-panel/title.ts","../../src/components/floating-panel/close-trigger.ts","../../src/components/floating-panel/drag-trigger.ts","../../src/components/floating-panel/resize-trigger.ts","../../src/components/floating-panel/stage-trigger.ts","../../src/components/floating-panel/context.ts"],"mappings":";;;;;;;;;AAWA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,qBAAsB,SAAQ,UAAU,CACvD,IAAI,CAAC,aAAa,CAAC,KAAK;AACtB;AAEE,KAAM,sBAAsB,GAAG,gBAAgB,CACnD,aAAa,CAAC,OAAO,WACrB,aAAa,CAAC,GAAG,EACjB,aAAa,CAAC,OAAO;UAGN,uBAAuB;mBACvB,qBAAqB;AACrC;AAKD,iBAAgB,gBAAgB,UAAU,uBAAuB,GAAG,sBAAsB;;ACxB1F,cAAa,sBAAsB,EAAA,cAAA,CAAA,sBAAA;AAInC,iBAAgB,0BAA0B,IAAI,sBAAsB;AAIpE,cAAa,8BAA8B,EAAA,cAAA,CAAA,cAAA,CAAA,sBAAA;AAI3C,iBAAgB,iCAAiC,IAAI,cAAc,CAAC,sBAAsB;UAIzE,kCAAkC;AACjD,wBAAoB,MAAM;AAC1B,4BAAwB,MAAM;AAC/B;AAED,cAAa,sCAAsC,EAAA,cAAA,CAAA,kCAAA;AAKnD,iBAAgB,wCAAwC,IAAI,kCAAkC;;ACmB9F,cAsBa,iBAAkB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oB;2CAApB,oBAAoB;AAwBhC;;;;","names":["FloatingPanelElementIds","FloatingPanelPoint","FloatingPanelSize","FloatingPanelIntlTranslations","FloatingPanelAnchorPositionDetails","FloatingPanelOpenChangeDetails","FloatingPanelPositionChangeDetails","FloatingPanelSizeChangeDetails","FloatingPanelStageChangeDetails","FloatingPanelResizeTriggerAxis","FloatingPanelStage"]}