@wirekyt/angular 0.0.34 → 0.0.35

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 (98) hide show
  1. package/dist/fesm2022/wirekyt-angular-json-tree-view.mjs +0 -5
  2. package/dist/fesm2022/wirekyt-angular-json-tree-view.mjs.map +1 -1
  3. package/dist/fesm2022/wirekyt-angular-listbox.mjs +627 -0
  4. package/dist/fesm2022/wirekyt-angular-listbox.mjs.map +1 -0
  5. package/dist/fesm2022/wirekyt-angular-menu.mjs +0 -6
  6. package/dist/fesm2022/wirekyt-angular-menu.mjs.map +1 -1
  7. package/dist/fesm2022/wirekyt-angular-number-input.mjs +467 -0
  8. package/dist/fesm2022/wirekyt-angular-number-input.mjs.map +1 -0
  9. package/dist/fesm2022/wirekyt-angular-password-input.mjs +437 -0
  10. package/dist/fesm2022/wirekyt-angular-password-input.mjs.map +1 -0
  11. package/dist/fesm2022/wirekyt-angular-pin-input.mjs +485 -0
  12. package/dist/fesm2022/wirekyt-angular-pin-input.mjs.map +1 -0
  13. package/dist/fesm2022/wirekyt-angular-progress.mjs +337 -0
  14. package/dist/fesm2022/wirekyt-angular-progress.mjs.map +1 -0
  15. package/dist/fesm2022/wirekyt-angular-qr-code.mjs +0 -11
  16. package/dist/fesm2022/wirekyt-angular-qr-code.mjs.map +1 -1
  17. package/dist/fesm2022/wirekyt-angular-radio-group.mjs +461 -0
  18. package/dist/fesm2022/wirekyt-angular-radio-group.mjs.map +1 -0
  19. package/dist/fesm2022/wirekyt-angular-rating-group.mjs +435 -0
  20. package/dist/fesm2022/wirekyt-angular-rating-group.mjs.map +1 -0
  21. package/dist/fesm2022/wirekyt-angular-scroll-area.mjs +276 -0
  22. package/dist/fesm2022/wirekyt-angular-scroll-area.mjs.map +1 -0
  23. package/dist/fesm2022/wirekyt-angular-segment-group.mjs +506 -0
  24. package/dist/fesm2022/wirekyt-angular-segment-group.mjs.map +1 -0
  25. package/dist/fesm2022/wirekyt-angular-signature-pad.mjs +382 -0
  26. package/dist/fesm2022/wirekyt-angular-signature-pad.mjs.map +1 -0
  27. package/dist/fesm2022/wirekyt-angular-slider.mjs +574 -0
  28. package/dist/fesm2022/wirekyt-angular-slider.mjs.map +1 -0
  29. package/dist/fesm2022/wirekyt-angular-splitter.mjs +303 -0
  30. package/dist/fesm2022/wirekyt-angular-splitter.mjs.map +1 -0
  31. package/dist/fesm2022/wirekyt-angular-steps.mjs +465 -0
  32. package/dist/fesm2022/wirekyt-angular-steps.mjs.map +1 -0
  33. package/dist/fesm2022/wirekyt-angular-swap.mjs +192 -0
  34. package/dist/fesm2022/wirekyt-angular-swap.mjs.map +1 -0
  35. package/dist/fesm2022/wirekyt-angular-switch.mjs +340 -0
  36. package/dist/fesm2022/wirekyt-angular-switch.mjs.map +1 -0
  37. package/dist/fesm2022/wirekyt-angular-tags-input.mjs +645 -0
  38. package/dist/fesm2022/wirekyt-angular-tags-input.mjs.map +1 -0
  39. package/dist/fesm2022/wirekyt-angular-timer.mjs +294 -0
  40. package/dist/fesm2022/wirekyt-angular-timer.mjs.map +1 -0
  41. package/dist/fesm2022/wirekyt-angular-toggle-group.mjs +194 -0
  42. package/dist/fesm2022/wirekyt-angular-toggle-group.mjs.map +1 -0
  43. package/dist/fesm2022/wirekyt-angular-toggle.mjs +170 -0
  44. package/dist/fesm2022/wirekyt-angular-toggle.mjs.map +1 -0
  45. package/dist/fesm2022/wirekyt-angular-tour.mjs +806 -0
  46. package/dist/fesm2022/wirekyt-angular-tour.mjs.map +1 -0
  47. package/dist/package.json +81 -1
  48. package/dist/types/wirekyt-angular-checkbox.d.ts +1 -1
  49. package/dist/types/wirekyt-angular-color-picker.d.ts +1 -1
  50. package/dist/types/wirekyt-angular-combobox.d.ts +1 -1
  51. package/dist/types/wirekyt-angular-date-picker.d.ts +1 -1
  52. package/dist/types/wirekyt-angular-json-tree-view.d.ts +0 -5
  53. package/dist/types/wirekyt-angular-json-tree-view.d.ts.map +1 -1
  54. package/dist/types/wirekyt-angular-listbox.d.ts +206 -0
  55. package/dist/types/wirekyt-angular-listbox.d.ts.map +1 -0
  56. package/dist/types/wirekyt-angular-menu.d.ts +0 -23
  57. package/dist/types/wirekyt-angular-menu.d.ts.map +1 -1
  58. package/dist/types/wirekyt-angular-number-input.d.ts +143 -0
  59. package/dist/types/wirekyt-angular-number-input.d.ts.map +1 -0
  60. package/dist/types/wirekyt-angular-password-input.d.ts +124 -0
  61. package/dist/types/wirekyt-angular-password-input.d.ts.map +1 -0
  62. package/dist/types/wirekyt-angular-pin-input.d.ts +131 -0
  63. package/dist/types/wirekyt-angular-pin-input.d.ts.map +1 -0
  64. package/dist/types/wirekyt-angular-progress.d.ts +129 -0
  65. package/dist/types/wirekyt-angular-progress.d.ts.map +1 -0
  66. package/dist/types/wirekyt-angular-qr-code.d.ts +0 -11
  67. package/dist/types/wirekyt-angular-qr-code.d.ts.map +1 -1
  68. package/dist/types/wirekyt-angular-radio-group.d.ts +149 -0
  69. package/dist/types/wirekyt-angular-radio-group.d.ts.map +1 -0
  70. package/dist/types/wirekyt-angular-rating-group.d.ts +136 -0
  71. package/dist/types/wirekyt-angular-rating-group.d.ts.map +1 -0
  72. package/dist/types/wirekyt-angular-scroll-area.d.ts +106 -0
  73. package/dist/types/wirekyt-angular-scroll-area.d.ts.map +1 -0
  74. package/dist/types/wirekyt-angular-segment-group.d.ts +152 -0
  75. package/dist/types/wirekyt-angular-segment-group.d.ts.map +1 -0
  76. package/dist/types/wirekyt-angular-signature-pad.d.ts +120 -0
  77. package/dist/types/wirekyt-angular-signature-pad.d.ts.map +1 -0
  78. package/dist/types/wirekyt-angular-slider.d.ts +176 -0
  79. package/dist/types/wirekyt-angular-slider.d.ts.map +1 -0
  80. package/dist/types/wirekyt-angular-splitter.d.ts +116 -0
  81. package/dist/types/wirekyt-angular-splitter.d.ts.map +1 -0
  82. package/dist/types/wirekyt-angular-steps.d.ts +160 -0
  83. package/dist/types/wirekyt-angular-steps.d.ts.map +1 -0
  84. package/dist/types/wirekyt-angular-swap.d.ts +86 -0
  85. package/dist/types/wirekyt-angular-swap.d.ts.map +1 -0
  86. package/dist/types/wirekyt-angular-switch.d.ts +110 -0
  87. package/dist/types/wirekyt-angular-switch.d.ts.map +1 -0
  88. package/dist/types/wirekyt-angular-tags-input.d.ts +193 -0
  89. package/dist/types/wirekyt-angular-tags-input.d.ts.map +1 -0
  90. package/dist/types/wirekyt-angular-timer.d.ts +109 -0
  91. package/dist/types/wirekyt-angular-timer.d.ts.map +1 -0
  92. package/dist/types/wirekyt-angular-toggle-group.d.ts +81 -0
  93. package/dist/types/wirekyt-angular-toggle-group.d.ts.map +1 -0
  94. package/dist/types/wirekyt-angular-toggle.d.ts +69 -0
  95. package/dist/types/wirekyt-angular-toggle.d.ts.map +1 -0
  96. package/dist/types/wirekyt-angular-tour.d.ts +209 -0
  97. package/dist/types/wirekyt-angular-tour.d.ts.map +1 -0
  98. package/package.json +82 -3
@@ -0,0 +1,109 @@
1
+ import * as timer from '@wirekyt/dom/machines/timer';
2
+ import { ElementIds, IntlTranslations, TickDetails, TimePart, TimerAction } from '@wirekyt/dom/machines/timer';
3
+ export { TimerAction, ActionTriggerProps as TimerActionTriggerMachineProps, Api as TimerApi, ElementIds as TimerElementIds, IntlTranslations as TimerIntlTranslations, ItemProps as TimerItemMachineProps, Machine as TimerMachine, Props as TimerMachineProps, Service as TimerService, TickDetails as TimerTickDetails, Time as TimerTime, TimePart as TimerTimePart, anatomy as timerAnatomy } from '@wirekyt/dom/machines/timer';
4
+ import * as i0 from '@angular/core';
5
+ import { InjectionToken, InputSignal, InputSignalWithTransform, OutputEmitterRef, Signal, AfterContentInit } 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 UseTimerProps extends OptionalId<Omit<timer.Props, "dir" | "getRootNode">> {
14
+ }
15
+ type UseTimerReturn = UseMachineReturn<timer.Service["state"], timer.Api, timer.Service>;
16
+ interface UseTimerOptions {
17
+ context: () => UseTimerProps;
18
+ }
19
+ declare function useTimer(options?: UseTimerOptions): UseTimerReturn;
20
+
21
+ declare const TIMER_CONTEXT: InjectionToken<UseTimerReturn>;
22
+ declare function injectTimerContext(): UseTimerReturn;
23
+
24
+ declare class TimerRoot implements UseTimerReturn {
25
+ readonly id: InputSignal<string | undefined>;
26
+ readonly ids: InputSignal<Partial<ElementIds> | undefined>;
27
+ readonly autoStart: InputSignalWithTransform<boolean, unknown>;
28
+ readonly countdown: InputSignalWithTransform<boolean, unknown>;
29
+ readonly interval: InputSignal<number | undefined>;
30
+ readonly startMs: InputSignal<number | undefined>;
31
+ readonly targetMs: InputSignal<number | undefined>;
32
+ readonly translations: InputSignal<IntlTranslations | undefined>;
33
+ readonly complete: OutputEmitterRef<void>;
34
+ readonly tick: OutputEmitterRef<TickDetails>;
35
+ private hasAutoStarted;
36
+ private readonly machine;
37
+ readonly state: Signal<timer.Service["state"]>;
38
+ readonly api: Signal<timer.Api>;
39
+ readonly service: timer.Service;
40
+ readonly send: timer.Service["send"];
41
+ constructor();
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimerRoot, never>;
43
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TimerRoot, "[timer-root]", ["timerRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "ids": { "alias": "ids"; "required": false; "isSignal": true; }; "autoStart": { "alias": "autoStart"; "required": false; "isSignal": true; }; "countdown": { "alias": "countdown"; "required": false; "isSignal": true; }; "interval": { "alias": "interval"; "required": false; "isSignal": true; }; "startMs": { "alias": "startMs"; "required": false; "isSignal": true; }; "targetMs": { "alias": "targetMs"; "required": false; "isSignal": true; }; "translations": { "alias": "translations"; "required": false; "isSignal": true; }; }, { "complete": "complete"; "tick": "tick"; }, never, never, true, never>;
44
+ }
45
+
46
+ declare class TimerRootProvider implements UseTimerReturn {
47
+ readonly value: InputSignal<UseTimerReturn>;
48
+ readonly state: Signal<timer.Service["state"]>;
49
+ readonly api: Signal<timer.Api>;
50
+ readonly send: timer.Service["send"];
51
+ get service(): timer.Service;
52
+ resolveValue(): UseTimerReturn;
53
+ constructor();
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimerRootProvider, never>;
55
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TimerRootProvider, "[timer-root-provider]", ["timerRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
56
+ }
57
+
58
+ declare class TimerArea {
59
+ constructor();
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimerArea, never>;
61
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TimerArea, "[timer-area]", ["timerArea"], {}, {}, never, never, true, never>;
62
+ }
63
+
64
+ declare class TimerItem implements AfterContentInit {
65
+ readonly type: InputSignal<TimePart>;
66
+ private readonly ownsTextContent;
67
+ private readonly elementRef;
68
+ constructor();
69
+ ngAfterContentInit(): void;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimerItem, never>;
71
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TimerItem, "[timer-item]", ["timerItem"], { "type": { "alias": "type"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
72
+ }
73
+
74
+ declare class TimerSeparator {
75
+ constructor();
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimerSeparator, never>;
77
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TimerSeparator, "[timer-separator]", ["timerSeparator"], {}, {}, never, never, true, never>;
78
+ }
79
+
80
+ declare class TimerControl {
81
+ constructor();
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimerControl, never>;
83
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TimerControl, "[timer-control]", ["timerControl"], {}, {}, never, never, true, never>;
84
+ }
85
+
86
+ declare class TimerActionTrigger {
87
+ readonly action: InputSignal<TimerAction>;
88
+ constructor();
89
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimerActionTrigger, never>;
90
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TimerActionTrigger, "[timer-action-trigger]", ["timerActionTrigger"], { "action": { "alias": "action"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
91
+ }
92
+
93
+ interface TimerContextTemplate {
94
+ $implicit: UseTimerReturn["api"];
95
+ api: UseTimerReturn["api"];
96
+ }
97
+ declare class TimerContext {
98
+ static ngTemplateContextGuard(_directive: TimerContext, context: unknown): context is TimerContextTemplate;
99
+ private readonly timer;
100
+ private readonly templateRef;
101
+ private readonly viewContainer;
102
+ constructor();
103
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimerContext, never>;
104
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TimerContext, "[timer-context]", ["timerContext"], {}, {}, never, never, true, never>;
105
+ }
106
+
107
+ export { TIMER_CONTEXT, TimerActionTrigger, TimerArea, TimerContext, TimerControl, TimerItem, TimerRoot, TimerRootProvider, TimerSeparator, injectTimerContext, useTimer };
108
+ export type { TimerContextTemplate, UseTimerOptions, UseTimerProps, UseTimerReturn };
109
+ //# sourceMappingURL=wirekyt-angular-timer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wirekyt-angular-timer.d.ts","sources":["../../src/components/timer/use.ts","../../src/components/timer/use-context.ts","../../src/components/timer/root.ts","../../src/components/timer/root-provider.ts","../../src/components/timer/area.ts","../../src/components/timer/item.ts","../../src/components/timer/separator.ts","../../src/components/timer/control.ts","../../src/components/timer/action-trigger.ts","../../src/components/timer/context.ts"],"mappings":";;;;;;;AAWA,KAAK,UAAU;;AAAyB,KAAI,IAAI;;;AAE1C,UAAW,aAAc,SAAQ,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK;AAA4B;AAExF,KAAM,cAAc,GAAG,gBAAgB,CAAC,KAAK,CAAC,OAAO,WAAW,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,OAAO;UAE7E,eAAe;mBACf,aAAa;AAC7B;AAKD,iBAAgB,QAAQ,WAAU,eAAyC,GAAG,cAAc;;ACpB5F,cAAa,aAAa,EAAA,cAAA,CAAA,cAAA;AAE1B,iBAAgB,kBAAkB,IAAI,cAAc;;ACmBpD,cAMa,SAAU,YAAW,cAAc;iBACjC,WAAW;AACxB,kBAAc,WAAW,CAAC,OAAO,CAACA,UAAe;wBAG7B,wBAAwB;wBAGxB,wBAAwB;uBAGzB,WAAW;sBACZ,WAAW;uBACV,WAAW;2BACP,WAAW,CAACC,gBAAqB;AAIxD,uBAAmB,gBAAgB;AACnC,mBAAe,gBAAgB,CAACC,WAAgB;;AAIhD;AAkBA,oBAAgB,MAAM,CAAC,KAAK,CAAC,OAAO;kBACtB,MAAM,CAAC,KAAK,CAAC,GAAG;AAC9B,sBAAkB,KAAK,CAAC,OAAO;mBAChB,KAAK,CAAC,OAAO;;yCA5CjB,SAAS;2CAAT,SAAS;AA4DrB;;ACvED,cAMa,iBAAkB,YAAW,cAAc;AACtD,oBAAgB,WAAW,CAAC,cAAc;AAC1C,oBAAgB,MAAM,CAAC,KAAK,CAAC,OAAO;kBACtB,MAAM,CAAC,KAAK,CAAC,GAAG;mBACf,KAAK,CAAC,OAAO;AAE5B,mBAAe,KAAK,CAAC,OAAO;AAI5B,oBAAgB,cAAc;;yCAVnB,iBAAiB;2CAAjB,iBAAiB;AAsB7B;;AC3CD,cAKa,SAAS;;yCAAT,SAAS;2CAAT,SAAS;AAUrB;;ACFD,cAKa,SAAU,YAAW,gBAAgB;AAChD,mBAAe,WAAW,CAACC,QAAa;AAExC;AACA;;AAuBA;yCA3BW,SAAS;2CAAT,SAAS;AA8BrB;;AChDD,cAKa,cAAc;;yCAAd,cAAc;2CAAd,cAAc;AAU1B;;ACfD,cAKa,YAAY;;yCAAZ,YAAY;2CAAZ,YAAY;AAUxB;;ACLD,cAKa,kBAAkB;AAC7B,qBAAiB,WAAW,CAAC,WAAW;;yCAD7B,kBAAkB;2CAAlB,kBAAkB;AAY9B;;UCnBgB,oBAAoB;AACnC,eAAW,cAAc;AACzB,SAAK,cAAc;AACpB;AAED,cAKa,YAAY;AACvB,8CACc,YAAY,gCAEZ,oBAAoB;AAKlC;AACA;AACA;;yCAXW,YAAY;2CAAZ,YAAY;AA0BxB;;;;","names":["TimerElementIds","TimerIntlTranslations","TimerTickDetails","TimerTimePart"]}
@@ -0,0 +1,81 @@
1
+ import * as toggleGroup from '@wirekyt/dom/machines/toggle-group';
2
+ import { Props, ElementIds, Orientation, ValueChangeDetails } from '@wirekyt/dom/machines/toggle-group';
3
+ export { Api as ToggleGroupApi, ElementIds as ToggleGroupElementIds, ItemProps as ToggleGroupItemProps, ItemState as ToggleGroupItemState, Machine as ToggleGroupMachine, Props as ToggleGroupMachineProps, Orientation as ToggleGroupOrientation, Service as ToggleGroupService, ValueChangeDetails as ToggleGroupValueChangeDetails, anatomy as toggleGroupAnatomy } from '@wirekyt/dom/machines/toggle-group';
4
+ import { UseMachineReturn } from '@wirekyt/angular';
5
+ import * as i0 from '@angular/core';
6
+ import { InputSignal, InputSignalWithTransform, ModelSignal, OutputEmitterRef, Signal, InjectionToken } from '@angular/core';
7
+
8
+ type OptionalId<T extends {
9
+ id?: string | undefined;
10
+ }> = Omit<T, "id"> & {
11
+ id?: string;
12
+ };
13
+ interface UseToggleGroupProps extends OptionalId<Omit<Props, "dir" | "getRootNode">> {
14
+ }
15
+ type UseToggleGroupReturn = UseMachineReturn<toggleGroup.Service["state"], toggleGroup.Api, toggleGroup.Service>;
16
+ interface UseToggleGroupOptions {
17
+ context: () => UseToggleGroupProps;
18
+ }
19
+ declare function useToggleGroup(options: UseToggleGroupOptions): UseToggleGroupReturn;
20
+
21
+ interface ToggleGroupContextTemplate {
22
+ $implicit: UseToggleGroupReturn["api"];
23
+ api: UseToggleGroupReturn["api"];
24
+ }
25
+ declare class ToggleGroupContext {
26
+ static ngTemplateContextGuard(_directive: ToggleGroupContext, context: unknown): context is ToggleGroupContextTemplate;
27
+ private readonly toggleGroup;
28
+ private readonly templateRef;
29
+ private readonly viewContainer;
30
+ constructor();
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleGroupContext, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleGroupContext, "[toggle-group-context]", ["toggleGroupContext"], {}, {}, never, never, true, never>;
33
+ }
34
+
35
+ declare class ToggleGroupItem {
36
+ readonly value: InputSignal<string>;
37
+ readonly disabled: InputSignalWithTransform<boolean, unknown>;
38
+ constructor();
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleGroupItem, never>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleGroupItem, "[toggle-group-item]", ["toggleGroupItem"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
41
+ }
42
+
43
+ declare class ToggleGroupRoot implements UseToggleGroupReturn {
44
+ readonly id: InputSignal<string | undefined>;
45
+ readonly elementIds: InputSignal<ElementIds | undefined>;
46
+ readonly value: ModelSignal<string[] | undefined>;
47
+ readonly defaultValue: InputSignal<string[] | undefined>;
48
+ readonly disabled: InputSignalWithTransform<boolean, unknown>;
49
+ readonly loopFocus: InputSignalWithTransform<boolean, unknown>;
50
+ readonly rovingFocus: InputSignalWithTransform<boolean, unknown>;
51
+ readonly multiple: InputSignalWithTransform<boolean, unknown>;
52
+ readonly deselectable: InputSignalWithTransform<boolean, unknown>;
53
+ readonly orientation: InputSignal<Orientation | undefined>;
54
+ readonly valueDetailsChange: OutputEmitterRef<ValueChangeDetails>;
55
+ private readonly machine;
56
+ readonly state: Signal<toggleGroup.Service["state"]>;
57
+ readonly api: Signal<toggleGroup.Api>;
58
+ readonly service: toggleGroup.Service;
59
+ readonly send: toggleGroup.Service["send"];
60
+ constructor();
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleGroupRoot, never>;
62
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleGroupRoot, "[toggle-group-root]", ["toggleGroupRoot"], { "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; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loopFocus": { "alias": "loopFocus"; "required": false; "isSignal": true; }; "rovingFocus": { "alias": "rovingFocus"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "deselectable": { "alias": "deselectable"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueDetailsChange": "valueDetailsChange"; }, never, never, true, never>;
63
+ }
64
+
65
+ declare class ToggleGroupRootProvider implements UseToggleGroupReturn {
66
+ readonly value: InputSignal<UseToggleGroupReturn>;
67
+ get state(): Signal<toggleGroup.Service["state"]>;
68
+ get api(): Signal<toggleGroup.Api>;
69
+ get service(): toggleGroup.Service;
70
+ get send(): toggleGroup.Service["send"];
71
+ constructor();
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleGroupRootProvider, never>;
73
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleGroupRootProvider, "[toggle-group-root-provider]", ["toggleGroupRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
74
+ }
75
+
76
+ declare const TOGGLE_GROUP_CONTEXT: InjectionToken<UseToggleGroupReturn>;
77
+ declare function injectToggleGroupContext(): UseToggleGroupReturn;
78
+
79
+ export { TOGGLE_GROUP_CONTEXT, ToggleGroupContext, ToggleGroupItem, ToggleGroupRoot, ToggleGroupRootProvider, injectToggleGroupContext, useToggleGroup };
80
+ export type { ToggleGroupContextTemplate, UseToggleGroupOptions, UseToggleGroupProps, UseToggleGroupReturn };
81
+ //# sourceMappingURL=wirekyt-angular-toggle-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wirekyt-angular-toggle-group.d.ts","sources":["../../src/components/toggle-group/use.ts","../../src/components/toggle-group/context.ts","../../src/components/toggle-group/item.ts","../../src/components/toggle-group/root.ts","../../src/components/toggle-group/root-provider.ts","../../src/components/toggle-group/use-context.ts"],"mappings":";;;;;;;AAaA,KAAK,UAAU;AAAa;AAAyB,KAAI,IAAI;;;AAEvD,UAAW,mBAAoB,SAAQ,UAAU,CACrD,IAAI,CAACA,KAAuB;AAC1B;AAEE,KAAM,oBAAoB,GAAG,gBAAgB,CACjD,WAAW,CAAC,OAAO,WACnB,WAAW,CAAC,GAAG,EACf,WAAW,CAAC,OAAO;UAGJ,qBAAqB;mBACrB,mBAAmB;AACnC;AAID,iBAAgB,cAAc,UAAU,qBAAqB,GAAG,oBAAoB;;UClBnE,0BAA0B;AACzC,eAAW,oBAAoB;AAC/B,SAAK,oBAAoB;AAC1B;AAED,cAKa,kBAAkB;AAC7B,8CACc,kBAAkB,gCAElB,0BAA0B;AAKxC;AACA;AACA;;yCAXW,kBAAkB;2CAAlB,kBAAkB;AA0B9B;;AClCD,cAKa,eAAe;AAC1B,oBAAgB,WAAW;uBACR,wBAAwB;;yCAFhC,eAAe;2CAAf,eAAe;AAmB3B;;ACTD,cAMa,eAAgB,YAAW,oBAAoB;iBAC7C,WAAW;yBACH,WAAW,CAACC,UAAqB;oBAGtC,WAAW;2BACJ,WAAW;uBACf,wBAAwB;wBAGvB,wBAAwB;0BAGtB,wBAAwB;uBAG3B,wBAAwB;2BAGpB,wBAAwB;0BAGzB,WAAW,CAACC,WAAsB;AAGxD,iCAA6B,gBAAgB,CAACC,kBAA6B;AAG3E;AAmBA,oBAAgB,MAAM,CAAC,WAAW,CAAC,OAAO;kBAC5B,MAAM,CAAC,WAAW,CAAC,GAAG;AACpC,sBAAkB,WAAW,CAAC,OAAO;mBACtB,WAAW,CAAC,OAAO;;yCAlDvB,eAAe;2CAAf,eAAe;AA4D3B;;AC7ED,cAQa,uBAAwB,YAAW,oBAAoB;AAClE,oBAAgB,WAAW,CAAC,oBAAoB;iBAEnC,MAAM,CAAC,WAAW,CAAC,OAAO;eAG5B,MAAM,CAAC,WAAW,CAAC,GAAG;AAGjC,mBAAe,WAAW,CAAC,OAAO;gBAGtB,WAAW,CAAC,OAAO;;yCAZpB,uBAAuB;2CAAvB,uBAAuB;AAwBnC;;AC/CD,cAAa,oBAAoB,EAAA,cAAA,CAAA,oBAAA;AAIjC,iBAAgB,wBAAwB,IAAI,oBAAoB;;;;","names":["ToggleGroupMachineProps","ToggleGroupElementIds","ToggleGroupOrientation","ToggleGroupValueChangeDetails"]}
@@ -0,0 +1,69 @@
1
+ import * as toggle from '@wirekyt/dom/machines/toggle';
2
+ import { Props } from '@wirekyt/dom/machines/toggle';
3
+ export { Api as ToggleApi, Machine as ToggleMachine, Props as ToggleMachineProps, Service as ToggleService, anatomy as toggleAnatomy } from '@wirekyt/dom/machines/toggle';
4
+ import { UseMachineReturn } from '@wirekyt/angular';
5
+ import * as i0 from '@angular/core';
6
+ import { InputSignal, TemplateRef, InputSignalWithTransform, ModelSignal, Signal, InjectionToken } from '@angular/core';
7
+ import * as _wirekyt_angular_toggle from '@wirekyt/angular/toggle';
8
+
9
+ interface UseToggleProps extends Props {
10
+ }
11
+ type UseToggleReturn = UseMachineReturn<toggle.Service["state"], toggle.Api, toggle.Service>;
12
+ interface UseToggleOptions {
13
+ context: () => UseToggleProps;
14
+ }
15
+ declare function useToggle(options?: UseToggleOptions): UseToggleReturn;
16
+
17
+ interface ToggleContextTemplate {
18
+ $implicit: UseToggleReturn["api"];
19
+ api: UseToggleReturn["api"];
20
+ }
21
+ declare class ToggleContext {
22
+ static ngTemplateContextGuard(_directive: ToggleContext, context: unknown): context is ToggleContextTemplate;
23
+ private readonly toggle;
24
+ private readonly templateRef;
25
+ private readonly viewContainer;
26
+ constructor();
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleContext, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleContext, "[toggle-context]", ["toggleContext"], {}, {}, never, never, true, never>;
29
+ }
30
+
31
+ declare class ToggleIndicator {
32
+ readonly fallback: InputSignal<TemplateRef<unknown> | null>;
33
+ protected readonly toggle: _wirekyt_angular_toggle.UseToggleReturn;
34
+ constructor();
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleIndicator, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleIndicator, "[toggle-indicator]", ["toggleIndicator"], { "fallback": { "alias": "fallback"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
37
+ }
38
+
39
+ declare class ToggleRoot implements UseToggleReturn {
40
+ readonly disabled: InputSignalWithTransform<boolean, unknown>;
41
+ readonly pressed: ModelSignal<boolean | undefined>;
42
+ readonly defaultPressed: InputSignalWithTransform<boolean, unknown>;
43
+ private readonly machine;
44
+ readonly state: Signal<toggle.Service["state"]>;
45
+ readonly api: Signal<toggle.Api>;
46
+ readonly service: toggle.Service;
47
+ readonly send: toggle.Service["send"];
48
+ constructor();
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleRoot, never>;
50
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleRoot, "[toggle-root]", ["toggleRoot"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "defaultPressed": { "alias": "defaultPressed"; "required": false; "isSignal": true; }; }, { "pressed": "pressedChange"; }, never, never, true, never>;
51
+ }
52
+
53
+ declare class ToggleRootProvider implements UseToggleReturn {
54
+ readonly value: InputSignal<UseToggleReturn>;
55
+ get state(): Signal<toggle.Service["state"]>;
56
+ get api(): Signal<toggle.Api>;
57
+ get service(): toggle.Service;
58
+ get send(): toggle.Service["send"];
59
+ constructor();
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleRootProvider, never>;
61
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleRootProvider, "[toggle-root-provider]", ["toggleRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
62
+ }
63
+
64
+ declare const TOGGLE_CONTEXT: InjectionToken<UseToggleReturn>;
65
+ declare function injectToggleContext(): UseToggleReturn;
66
+
67
+ export { TOGGLE_CONTEXT, ToggleContext, ToggleIndicator, ToggleRoot, ToggleRootProvider, injectToggleContext, useToggle };
68
+ export type { ToggleContextTemplate, UseToggleOptions, UseToggleProps, UseToggleReturn };
69
+ //# sourceMappingURL=wirekyt-angular-toggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wirekyt-angular-toggle.d.ts","sources":["../../src/components/toggle/use.ts","../../src/components/toggle/context.ts","../../src/components/toggle/indicator.ts","../../src/components/toggle/root.ts","../../src/components/toggle/root-provider.ts","../../src/components/toggle/use-context.ts"],"mappings":";;;;;;;;AAOM,UAAW,cAAe,SAAQA,KAAkB;AAAG;AAEvD,KAAM,eAAe,GAAG,gBAAgB,CAAC,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,OAAO;UAEjF,gBAAgB;mBAChB,cAAc;AAC9B;AAID,iBAAgB,SAAS,WAAU,gBAA0C,GAAG,eAAe;;UCJ9E,qBAAqB;AACpC,eAAW,eAAe;AAC1B,SAAK,eAAe;AACrB;AAED,cAKa,aAAa;AACxB,8CACc,aAAa,gCAEb,qBAAqB;AAKnC;AACA;AACA;;yCAXW,aAAa;2CAAb,aAAa;AA0BzB;;ACjCD,cAca,eAAe;AAC1B,uBAAmB,WAAW,CAAC,WAAW;AAI1C,+BAAyB,uBAAA,CAAA,eAAA;;yCALd,eAAe;2CAAf,eAAe;AAe3B;;ACxBD,cAMa,UAAW,YAAW,eAAe;uBAC7B,wBAAwB;sBAGzB,WAAW;6BACJ,wBAAwB;AAIjD;AASA,oBAAgB,MAAM,CAAC,MAAM,CAAC,OAAO;kBACvB,MAAM,CAAC,MAAM,CAAC,GAAG;AAC/B,sBAAkB,MAAM,CAAC,OAAO;mBACjB,MAAM,CAAC,OAAO;;yCArBlB,UAAU;2CAAV,UAAU;AA+BtB;;ACvCD,cAMa,kBAAmB,YAAW,eAAe;AACxD,oBAAgB,WAAW,CAAC,eAAe;iBAE9B,MAAM,CAAC,MAAM,CAAC,OAAO;eAGvB,MAAM,CAAC,MAAM,CAAC,GAAG;AAG5B,mBAAe,MAAM,CAAC,OAAO;gBAGjB,MAAM,CAAC,OAAO;;yCAZf,kBAAkB;2CAAlB,kBAAkB;AAwB9B;;AC7CD,cAAa,cAAc,EAAA,cAAA,CAAA,eAAA;AAE3B,iBAAgB,mBAAmB,IAAI,eAAe;;;;","names":["ToggleMachineProps"]}
@@ -0,0 +1,209 @@
1
+ import { AnatomyInstance } from '@wirekyt/dom/anatomy';
2
+ import * as tour from '@wirekyt/dom/machines/tour';
3
+ import { ElementIds, StepDetails, Point, IntlTranslations, FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent, StatusChangeDetails, StepChangeDetails, StepsChangeDetails, StepAction } from '@wirekyt/dom/machines/tour';
4
+ export { Api as TourApi, ElementIds as TourElementIds, FocusOutsideEvent as TourFocusOutsideEvent, InteractOutsideEvent as TourInteractOutsideEvent, IntlTranslations as TourIntlTranslations, Machine as TourMachine, Props as TourMachineProps, Point as TourPoint, PointerDownOutsideEvent as TourPointerDownOutsideEvent, ProgressTextDetails as TourProgressTextDetails, Service as TourService, StatusChangeDetails as TourStatusChangeDetails, StepAction as TourStepAction, StepActionFn as TourStepActionFn, StepActionMap as TourStepActionMap, StepActionTriggerProps as TourStepActionTriggerProps, StepActionType as TourStepActionType, StepBaseDetails as TourStepBaseDetails, StepChangeDetails as TourStepChangeDetails, StepDetails as TourStepDetails, StepEffectArgs as TourStepEffectArgs, StepEffectCleanup as TourStepEffectCleanup, StepPlacement as TourStepPlacement, StepStatus as TourStepStatus, StepType as TourStepType, StepsChangeDetails as TourStepsChangeDetails, WaitOptions, waitForElement, waitForElementValue, waitForPromise } from '@wirekyt/dom/machines/tour';
5
+ import { UseMachineReturn, ContextCarrier } from '@wirekyt/angular';
6
+ import * as i0 from '@angular/core';
7
+ import { InjectionToken, Signal, InputSignal, ModelSignal, InputSignalWithTransform, OutputEmitterRef, AfterContentInit } from '@angular/core';
8
+ import * as _wirekyt_angular_presence from '@wirekyt/angular/presence';
9
+ import { PresenceBase } from '@wirekyt/angular/presence';
10
+
11
+ declare const tourAnatomy: AnatomyInstance<"content" | "actionTrigger" | "closeTrigger" | "progressText" | "title" | "description" | "positioner" | "arrow" | "arrowTip" | "backdrop" | "spotlight" | "control">;
12
+
13
+ type OptionalId<T extends {
14
+ id: string;
15
+ }> = Omit<T, "id"> & {
16
+ id?: string;
17
+ };
18
+ interface UseTourProps extends OptionalId<Omit<tour.Props, "dir" | "getRootNode">> {
19
+ }
20
+ type UseTourReturn = UseMachineReturn<tour.Service["state"], tour.Api, tour.Service>;
21
+ interface UseTourOptions {
22
+ context: () => UseTourProps;
23
+ }
24
+ declare function useTour(options: UseTourOptions): UseTourReturn;
25
+
26
+ declare const TOUR_CONTEXT: InjectionToken<UseTourReturn>;
27
+ declare function injectTourContext(): UseTourReturn;
28
+ declare const TOUR_CONTEXT_CARRIER: InjectionToken<ContextCarrier<UseTourReturn>>;
29
+ declare function injectTourContextCarrier(): ContextCarrier<UseTourReturn>;
30
+ interface TourRenderStrategyContext {
31
+ readonly lazyMount: Signal<boolean>;
32
+ readonly unmountOnExit: Signal<boolean>;
33
+ }
34
+ declare const TOUR_RENDER_STRATEGY_CONTEXT: InjectionToken<TourRenderStrategyContext>;
35
+ declare function injectTourRenderStrategyContext(): TourRenderStrategyContext;
36
+
37
+ type WaitForEventReturn<K extends keyof HTMLElementEventMap> = [
38
+ Promise<HTMLElementEventMap[K]>,
39
+ VoidFunction
40
+ ];
41
+ interface WaitForEventOptions<T extends HTMLElement = HTMLElement> extends AddEventListenerOptions {
42
+ predicate?: (element: T) => boolean;
43
+ }
44
+ declare function waitForEvent<T extends HTMLElement = HTMLElement, K extends keyof HTMLElementEventMap = keyof HTMLElementEventMap>(target: (() => HTMLElement | null) | undefined, event: K, options?: WaitForEventOptions<T>): WaitForEventReturn<K>;
45
+
46
+ declare class TourRoot extends PresenceBase implements UseTourReturn {
47
+ readonly id: InputSignal<string | undefined>;
48
+ readonly ids: InputSignal<ElementIds | undefined>;
49
+ readonly steps: InputSignal<StepDetails[] | undefined>;
50
+ readonly stepId: ModelSignal<string | null | undefined>;
51
+ readonly closeOnInteractOutside: InputSignalWithTransform<boolean, unknown>;
52
+ readonly closeOnEscape: InputSignalWithTransform<boolean, unknown>;
53
+ readonly keyboardNavigation: InputSignalWithTransform<boolean, unknown>;
54
+ readonly preventInteraction: InputSignalWithTransform<boolean, unknown>;
55
+ readonly spotlightOffset: InputSignal<Point | undefined>;
56
+ readonly spotlightRadius: InputSignal<number | undefined>;
57
+ readonly translations: InputSignal<IntlTranslations | undefined>;
58
+ readonly focusOutside: OutputEmitterRef<FocusOutsideEvent>;
59
+ readonly interactOutside: OutputEmitterRef<InteractOutsideEvent>;
60
+ readonly pointerDownOutside: OutputEmitterRef<PointerDownOutsideEvent>;
61
+ readonly statusChange: OutputEmitterRef<StatusChangeDetails>;
62
+ readonly stepChange: OutputEmitterRef<StepChangeDetails>;
63
+ readonly stepsChange: OutputEmitterRef<StepsChangeDetails>;
64
+ private readonly machine;
65
+ readonly state: Signal<tour.Service["state"]>;
66
+ readonly api: Signal<tour.Api>;
67
+ readonly service: tour.Service;
68
+ readonly send: tour.Service["send"];
69
+ readonly presence: _wirekyt_angular_presence.UsePresenceReturn;
70
+ protected readonly contextCarrier: ContextCarrier<TourRoot>;
71
+ getContextCarrier(): ContextCarrier<TourRoot>;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourRoot, never>;
73
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourRoot, "[tour-root]", ["tourRoot"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "ids": { "alias": "ids"; "required": false; "isSignal": true; }; "steps": { "alias": "steps"; "required": false; "isSignal": true; }; "stepId": { "alias": "stepId"; "required": false; "isSignal": true; }; "closeOnInteractOutside": { "alias": "closeOnInteractOutside"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "keyboardNavigation": { "alias": "keyboardNavigation"; "required": false; "isSignal": true; }; "preventInteraction": { "alias": "preventInteraction"; "required": false; "isSignal": true; }; "spotlightOffset": { "alias": "spotlightOffset"; "required": false; "isSignal": true; }; "spotlightRadius": { "alias": "spotlightRadius"; "required": false; "isSignal": true; }; "translations": { "alias": "translations"; "required": false; "isSignal": true; }; }, { "stepId": "stepIdChange"; "focusOutside": "focusOutside"; "interactOutside": "interactOutside"; "pointerDownOutside": "pointerDownOutside"; "statusChange": "statusChange"; "stepChange": "stepChange"; "stepsChange": "stepsChange"; }, never, never, true, never>;
74
+ }
75
+
76
+ declare class TourRootProvider extends PresenceBase implements UseTourReturn {
77
+ readonly value: InputSignal<UseTourReturn>;
78
+ readonly state: Signal<tour.Service["state"]>;
79
+ readonly api: Signal<tour.Api>;
80
+ readonly send: tour.Service["send"];
81
+ get service(): tour.Service;
82
+ readonly presence: _wirekyt_angular_presence.UsePresenceReturn;
83
+ protected readonly contextCarrier: ContextCarrier<TourRootProvider>;
84
+ getContextCarrier(): ContextCarrier<TourRootProvider>;
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourRootProvider, never>;
86
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourRootProvider, "[tour-root-provider]", ["tourRootProvider"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
87
+ }
88
+
89
+ declare class TourPositioner {
90
+ constructor();
91
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourPositioner, never>;
92
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourPositioner, "[tour-positioner]", ["tourPositioner"], {}, {}, never, never, true, never>;
93
+ }
94
+
95
+ declare class TourContent {
96
+ constructor();
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourContent, never>;
98
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourContent, "[tour-content]", ["tourContent"], {}, {}, never, never, true, never>;
99
+ }
100
+
101
+ declare class TourTitle implements AfterContentInit {
102
+ private readonly elementRef;
103
+ private readonly renderer;
104
+ private readonly ownsTextContent;
105
+ constructor();
106
+ ngAfterContentInit(): void;
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourTitle, never>;
108
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourTitle, "[tour-title]", ["tourTitle"], {}, {}, never, never, true, never>;
109
+ }
110
+
111
+ declare class TourDescription implements AfterContentInit {
112
+ private readonly elementRef;
113
+ private readonly renderer;
114
+ private readonly ownsTextContent;
115
+ constructor();
116
+ ngAfterContentInit(): void;
117
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourDescription, never>;
118
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourDescription, "[tour-description]", ["tourDescription"], {}, {}, never, never, true, never>;
119
+ }
120
+
121
+ declare class TourCloseTrigger {
122
+ constructor();
123
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourCloseTrigger, never>;
124
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourCloseTrigger, "[tour-close-trigger]", ["tourCloseTrigger"], {}, {}, never, never, true, never>;
125
+ }
126
+
127
+ declare class TourActionTrigger implements AfterContentInit {
128
+ readonly action: InputSignal<StepAction>;
129
+ private readonly elementRef;
130
+ private readonly renderer;
131
+ private readonly ownsTextContent;
132
+ constructor();
133
+ ngAfterContentInit(): void;
134
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourActionTrigger, never>;
135
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourActionTrigger, "[tour-action-trigger]", ["tourActionTrigger"], { "action": { "alias": "action"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
136
+ }
137
+
138
+ interface TourActionsTemplate {
139
+ $implicit: StepAction[];
140
+ actions: StepAction[];
141
+ }
142
+ declare class TourActions {
143
+ static ngTemplateContextGuard(_directive: TourActions, context: unknown): context is TourActionsTemplate;
144
+ private readonly tour;
145
+ private readonly templateRef;
146
+ private readonly viewContainer;
147
+ constructor();
148
+ private createContext;
149
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourActions, never>;
150
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourActions, "[tour-actions]", ["tourActions"], {}, {}, never, never, true, never>;
151
+ }
152
+
153
+ declare class TourControl {
154
+ constructor();
155
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourControl, never>;
156
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourControl, "[tour-control]", ["tourControl"], {}, {}, never, never, true, never>;
157
+ }
158
+
159
+ declare class TourProgressText implements AfterContentInit {
160
+ private readonly elementRef;
161
+ private readonly renderer;
162
+ private readonly ownsTextContent;
163
+ constructor();
164
+ ngAfterContentInit(): void;
165
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourProgressText, never>;
166
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourProgressText, "[tour-progress-text]", ["tourProgressText"], {}, {}, never, never, true, never>;
167
+ }
168
+
169
+ declare class TourBackdrop {
170
+ constructor();
171
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourBackdrop, never>;
172
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourBackdrop, "[tour-backdrop]", ["tourBackdrop"], {}, {}, never, never, true, never>;
173
+ }
174
+
175
+ declare class TourSpotlight {
176
+ constructor();
177
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourSpotlight, never>;
178
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourSpotlight, "[tour-spotlight]", ["tourSpotlight"], {}, {}, never, never, true, never>;
179
+ }
180
+
181
+ declare class TourArrow {
182
+ constructor();
183
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourArrow, never>;
184
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourArrow, "[tour-arrow]", ["tourArrow"], {}, {}, never, never, true, never>;
185
+ }
186
+
187
+ declare class TourArrowTip {
188
+ constructor();
189
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourArrowTip, never>;
190
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourArrowTip, "[tour-arrow-tip]", ["tourArrowTip"], {}, {}, never, never, true, never>;
191
+ }
192
+
193
+ interface TourContextTemplate {
194
+ $implicit: UseTourReturn["api"];
195
+ api: UseTourReturn["api"];
196
+ }
197
+ declare class TourContext {
198
+ static ngTemplateContextGuard(_directive: TourContext, context: unknown): context is TourContextTemplate;
199
+ private readonly tour;
200
+ private readonly templateRef;
201
+ private readonly viewContainer;
202
+ constructor();
203
+ static ɵfac: i0.ɵɵFactoryDeclaration<TourContext, never>;
204
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TourContext, "[tour-context]", ["tourContext"], {}, {}, never, never, true, never>;
205
+ }
206
+
207
+ export { TOUR_CONTEXT, TOUR_CONTEXT_CARRIER, TOUR_RENDER_STRATEGY_CONTEXT, TourActionTrigger, TourActions, TourArrow, TourArrowTip, TourBackdrop, TourCloseTrigger, TourContent, TourContext, TourControl, TourDescription, TourPositioner, TourProgressText, TourRoot, TourRootProvider, TourSpotlight, TourTitle, injectTourContext, injectTourContextCarrier, injectTourRenderStrategyContext, tourAnatomy, useTour, waitForEvent };
208
+ export type { TourActionsTemplate, TourContextTemplate, TourRenderStrategyContext, UseTourOptions, UseTourProps, UseTourReturn, WaitForEventOptions };
209
+ //# sourceMappingURL=wirekyt-angular-tour.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wirekyt-angular-tour.d.ts","sources":["../../src/components/tour/anatomy.ts","../../src/components/tour/use.ts","../../src/components/tour/use-context.ts","../../src/components/tour/wait-for-event.ts","../../src/components/tour/root.ts","../../src/components/tour/root-provider.ts","../../src/components/tour/positioner.ts","../../src/components/tour/content.ts","../../src/components/tour/title.ts","../../src/components/tour/description.ts","../../src/components/tour/close-trigger.ts","../../src/components/tour/action-trigger.ts","../../src/components/tour/actions.ts","../../src/components/tour/control.ts","../../src/components/tour/progress-text.ts","../../src/components/tour/backdrop.ts","../../src/components/tour/spotlight.ts","../../src/components/tour/arrow.ts","../../src/components/tour/arrow-tip.ts","../../src/components/tour/context.ts"],"mappings":"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","names":["TourElementIds","TourStepDetails","TourPoint","TourIntlTranslations","TourFocusOutsideEvent","TourInteractOutsideEvent","TourPointerDownOutsideEvent","TourStatusChangeDetails","TourStepChangeDetails","TourStepsChangeDetails","TourStepAction"]}