@ruc-lib/tour-guide 3.2.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,3 +1,253 @@
1
- export * from './lib/ruclib-tour-guide.module';
2
- export * from './lib/ruclib-tour-guide/ruclib-tour-guide.component';
3
- export * from './lib/model/tour-guide.model';
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, OnDestroy, OnChanges, EventEmitter, ElementRef, Renderer2, SimpleChanges } from '@angular/core';
3
+
4
+ interface TourGuideConfig {
5
+ /**
6
+ * Defines the type of tour guide.
7
+ * - 'simple': Displays a single popup with navigation buttons.
8
+ * - 'advance': Highlights specific elements on the page and guides the user through them.
9
+ */
10
+ type: 'simple' | 'advance';
11
+ /**
12
+ * Whether to display a skip button in the tour guide.
13
+ */
14
+ showSkipButton?: boolean;
15
+ /**
16
+ * Font size for the buttons in the tour guide.
17
+ */
18
+ buttonsFontSize?: string;
19
+ /**
20
+ * Font size for the title of the tour guide.
21
+ */
22
+ titleFontSize?: string;
23
+ /**
24
+ * Font size for the content of the tour guide.
25
+ */
26
+ contentFontSize?: string;
27
+ /**
28
+ * Alignment of the buttons within the tour guide modal.
29
+ */
30
+ buttonsAlignment?: 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly';
31
+ /**
32
+ * Alignment of the step count within the tour guide modal.
33
+ */
34
+ stepCountAlignment?: 'start' | 'center' | 'end';
35
+ /**
36
+ * Text for the start of the step count (e.g., "Step").
37
+ */
38
+ stepCountStartText?: string;
39
+ /**
40
+ * Text for the middle of the step count (e.g., "of").
41
+ */
42
+ stepCountMiddleText?: string;
43
+ /**
44
+ * Text for the skip button.
45
+ */
46
+ skipButtonText?: string;
47
+ /**
48
+ * Text for the previous button.
49
+ */
50
+ prevButtonText?: string;
51
+ /**
52
+ * Text for the next button.
53
+ */
54
+ nextButtonText?: string;
55
+ /**
56
+ * Text for the finish button.
57
+ */
58
+ finishButtonText?: string;
59
+ /**
60
+ * Border color for the highlighted element in 'advance' mode.
61
+ */
62
+ highlightBorderColor?: string;
63
+ /**
64
+ * Border radius for the highlighted element in 'advance' mode.
65
+ */
66
+ highlightBorderRadius?: string;
67
+ /**
68
+ * Width of the border for the highlighted element in 'advance' mode.
69
+ */
70
+ highlightBorderWidth?: string;
71
+ /**
72
+ * Default width for the tour guide popup.
73
+ */
74
+ defaultPopupWidth?: string;
75
+ }
76
+ interface TourGuideData {
77
+ /**
78
+ * title for feature slide
79
+ */
80
+ title?: string;
81
+ /**
82
+ * description of selected feature in slide
83
+ */
84
+ content: string;
85
+ /**
86
+ * The element to which the tour guide will point.
87
+ * Only required for 'advance' type tour guide
88
+ */
89
+ selector?: string;
90
+ /**
91
+ * Position of the tour guide popup relative to the highlighted element.
92
+ */
93
+ position?: 'top' | 'bottom' | 'left' | 'right' | 'auto';
94
+ /**
95
+ * Defines the shape of the modal around the selected element.
96
+ * - 'rounded': A rectangle with rounded corner modal.
97
+ * - 'rectangle': A rectangular modal.
98
+ * - 'circle': A circular modal.
99
+ */
100
+ shape?: '' | 'rounded' | 'rectangle' | 'circle';
101
+ /**
102
+ * Defines the width of modal for current slide.
103
+ */
104
+ width?: string;
105
+ }
106
+
107
+ declare class RuclibTourGuideComponent implements OnInit, OnDestroy, OnChanges {
108
+ private renderer;
109
+ rucEvent: EventEmitter<any>;
110
+ rucInputData: TourGuideConfig;
111
+ customTheme: string | undefined;
112
+ showStartButton: boolean;
113
+ dataSource: Array<TourGuideData>;
114
+ overlayRef: ElementRef;
115
+ currentStepIndex: number;
116
+ private currentElement?;
117
+ popupStyle: {
118
+ top: string;
119
+ left: string;
120
+ };
121
+ private originalParent?;
122
+ showTour: boolean;
123
+ startTourButtonLabel: string;
124
+ private resizeListener;
125
+ config: TourGuideConfig;
126
+ /**
127
+ * class constructor
128
+ * @param tourGuideService
129
+ * @param renderer
130
+ */
131
+ constructor(renderer: Renderer2);
132
+ /**
133
+ * handling input data changes
134
+ * updating default config with user provided config
135
+ * @param changes
136
+ */
137
+ ngOnChanges(changes: SimpleChanges): void;
138
+ /**
139
+ * handling change on component initilization
140
+ */
141
+ ngOnInit(): void;
142
+ /**
143
+ * this method handle the start of tour guide fetaure
144
+ */
145
+ startTour(): void;
146
+ /**
147
+ * this method handle the navigation to next tour guide feature
148
+ */
149
+ nextStep(): void;
150
+ /**
151
+ * this method allow us to navigate back to previous tour guide feature
152
+ */
153
+ previousStep(): void;
154
+ /**
155
+ * method to skip the tour guide thats in progress
156
+ */
157
+ skip(): void;
158
+ /**
159
+ * method to highlight feature area and changin details popup based on provide config
160
+ * @returns
161
+ */
162
+ private highlightElement;
163
+ /**
164
+ * Finds an element by its selector, scrolls it into view, and waits for the scroll to complete.
165
+ * @param selector The CSS selector for the target element.
166
+ * @returns A promise that resolves to the HTMLElement or undefined if not found.
167
+ */
168
+ private findElementAndScroll;
169
+ /**
170
+ * Applies CSS classes and styles to visually highlight the target element.
171
+ * @param element The element to highlight.
172
+ */
173
+ private applyHighlightStyles;
174
+ /**
175
+ * Calculates the optimal position for the tour popup and applies it.
176
+ * @param element The highlighted element.
177
+ * @param position The desired position ('auto', 'top', 'bottom', 'left', 'right').
178
+ */
179
+ private calculateAndApplyPopupPosition;
180
+ /**
181
+ * Determines the best placement for the popup when position is 'auto'.
182
+ * @param position The configured position.
183
+ * @param rect The BoundingClientRect of the target element.
184
+ * @returns The calculated final position.
185
+ */
186
+ private determineAutoPosition;
187
+ /**
188
+ * Computes the top and left coordinates for the popup based on the target element and desired position.
189
+ * @param position The final position for the popup.
190
+ * @param offset The absolute offset of the target element.
191
+ * @param element The target element.
192
+ * @returns An object with top and left coordinates.
193
+ */
194
+ private computePopupCoordinates;
195
+ /**
196
+ * Clamps the popup's coordinates to ensure it stays within the visible viewport.
197
+ * @param coords The calculated top and left coordinates.
198
+ * @returns The adjusted coordinates.
199
+ */
200
+ private clampPopupCoordinates;
201
+ /**
202
+ * If the popup is rendered inside a scrollable container, this ensures it's scrolled into view.
203
+ */
204
+ private scrollPopupIntoView;
205
+ /**
206
+ * method to execute highlight process after scroll
207
+ * @returns
208
+ */
209
+ private waitForScroll;
210
+ /**
211
+ * method to create transparent hole in overlay for visibility of highlighted area
212
+ */
213
+ private createTransparentHole;
214
+ /**
215
+ * method to get absolute offset
216
+ * @param element
217
+ * @returns
218
+ */
219
+ private getAbsoluteOffset;
220
+ /**
221
+ * method to lock scroll when tour guide is active
222
+ */
223
+ private lockScroll;
224
+ /**
225
+ * method to unlock scroll when tour guide is not active
226
+ */
227
+ private unlockScroll;
228
+ /**
229
+ * method to remove highlight when tour is skipped or done
230
+ */
231
+ private removeHighlight;
232
+ /**
233
+ * method to navigate between tour slides or skip tour using left, right and skip key
234
+ * @param event
235
+ * @returns
236
+ */
237
+ private handleKey;
238
+ /**
239
+ * debounce method for smooth operation
240
+ * @param fn
241
+ * @param delay
242
+ * @returns
243
+ */
244
+ private debounce;
245
+ /**
246
+ * handling change on component destroy
247
+ */
248
+ ngOnDestroy(): void;
249
+ static ɵfac: i0.ɵɵFactoryDeclaration<RuclibTourGuideComponent, never>;
250
+ static ɵcmp: i0.ɵɵComponentDeclaration<RuclibTourGuideComponent, "uxp-ruclib-tour-guide", never, { "rucInputData": { "alias": "rucInputData"; "required": false; }; "customTheme": { "alias": "customTheme"; "required": false; }; "showStartButton": { "alias": "showStartButton"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, { "rucEvent": "rucEvent"; }, never, never, true, never>;
251
+ }
252
+
253
+ export { RuclibTourGuideComponent };
package/package.json CHANGED
@@ -1,26 +1,18 @@
1
1
  {
2
2
  "name": "@ruc-lib/tour-guide",
3
- "version": "3.2.0",
4
- "license": "MIT",
3
+ "version": "4.0.0",
5
4
  "peerDependencies": {
6
- "@angular/core": ">=15.0.0 <18.0.0",
7
- "@angular/common": ">=15.0.0 <18.0.0",
8
- "@angular/material": "^15.2.0",
9
- "rxjs": ">=6.5.0 <8.0.0",
10
- "zone.js": ">=0.11.4 <0.14.0"
5
+ "@angular/common": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
6
+ "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
7
+ "@angular/material": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
8
+ "rxjs": ">=7.5.0 <8.0.0",
9
+ "zone.js": "^0.13.0 || ^0.14.0"
11
10
  },
12
11
  "dependencies": {
13
12
  "tslib": "^2.3.0"
14
13
  },
15
- "publishConfig": {
16
- "access": "public"
17
- },
18
14
  "sideEffects": false,
19
- "module": "fesm2015/ruc-lib-tour-guide.mjs",
20
- "es2020": "fesm2020/ruc-lib-tour-guide.mjs",
21
- "esm2020": "esm2020/ruc-lib-tour-guide.mjs",
22
- "fesm2020": "fesm2020/ruc-lib-tour-guide.mjs",
23
- "fesm2015": "fesm2015/ruc-lib-tour-guide.mjs",
15
+ "module": "fesm2022/ruc-lib-tour-guide.mjs",
24
16
  "typings": "index.d.ts",
25
17
  "exports": {
26
18
  "./package.json": {
@@ -28,11 +20,7 @@
28
20
  },
29
21
  ".": {
30
22
  "types": "./index.d.ts",
31
- "esm2020": "./esm2020/ruc-lib-tour-guide.mjs",
32
- "es2020": "./fesm2020/ruc-lib-tour-guide.mjs",
33
- "es2015": "./fesm2015/ruc-lib-tour-guide.mjs",
34
- "node": "./fesm2015/ruc-lib-tour-guide.mjs",
35
- "default": "./fesm2020/ruc-lib-tour-guide.mjs"
23
+ "default": "./fesm2022/ruc-lib-tour-guide.mjs"
36
24
  }
37
25
  }
38
26
  }
package/esm2020/index.mjs DELETED
@@ -1,4 +0,0 @@
1
- export * from './lib/ruclib-tour-guide.module';
2
- export * from './lib/ruclib-tour-guide/ruclib-tour-guide.component';
3
- export * from './lib/model/tour-guide.model';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLHFEQUFxRCxDQUFDO0FBQ3BFLGNBQWMsOEJBQThCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9ydWNsaWItdG91ci1ndWlkZS5tb2R1bGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9ydWNsaWItdG91ci1ndWlkZS9ydWNsaWItdG91ci1ndWlkZS5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9tb2RlbC90b3VyLWd1aWRlLm1vZGVsJzsiXX0=
@@ -1,26 +0,0 @@
1
- export const defaultTourGuideConfig = {
2
- type: "advance",
3
- showSkipButton: true,
4
- buttonsFontSize: "14px",
5
- titleFontSize: '16px',
6
- contentFontSize: '14px',
7
- buttonsAlignment: 'end',
8
- stepCountAlignment: 'start',
9
- stepCountStartText: 'Step',
10
- stepCountMiddleText: 'of',
11
- skipButtonText: 'Skip',
12
- prevButtonText: 'Back',
13
- nextButtonText: 'Next',
14
- finishButtonText: 'Finish',
15
- highlightBorderColor: '#007bff',
16
- highlightBorderWidth: '2px',
17
- defaultPopupWidth: '250px',
18
- };
19
- export const DEFAULT_VALUES = {
20
- arrowRight: 'ArrowRight',
21
- arrowLeft: 'ArrowLeft',
22
- escape: 'Escape',
23
- popup: { width: 300, height: 150, top: 0, left: 0, padding: 10, safeMargin: 64 },
24
- startTourButtonLabel: 'Start Tour Guide'
25
- };
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1jb25maWcubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL21v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