@shiva004/surveys 0.12.1 → 0.12.4

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 (42) hide show
  1. package/dist/elements.js +6508 -6254
  2. package/dist/flags/client/client.d.ts +34 -0
  3. package/dist/flags/client/context.d.ts +19 -0
  4. package/dist/flags/client/events.d.ts +18 -0
  5. package/dist/flags/client/index.d.ts +4 -0
  6. package/dist/flags/client/status.d.ts +17 -0
  7. package/dist/flags/client/types.d.ts +77 -0
  8. package/dist/flags/context/index.d.ts +1 -0
  9. package/dist/flags/context/use-context-mutator.d.ts +27 -0
  10. package/dist/flags/declarative/FeatureFlag.d.ts +52 -0
  11. package/dist/flags/declarative/index.d.ts +1 -0
  12. package/dist/flags/evaluation/index.d.ts +1 -0
  13. package/dist/flags/evaluation/use-feature-flag.d.ts +43 -0
  14. package/dist/flags/internal/context.d.ts +21 -0
  15. package/dist/flags/internal/errors.d.ts +3 -0
  16. package/dist/flags/internal/hook-flag-query.d.ts +16 -0
  17. package/dist/flags/internal/index.d.ts +4 -0
  18. package/dist/flags/internal/is-equal.d.ts +11 -0
  19. package/dist/flags/internal/options.d.ts +15 -0
  20. package/dist/flags/internal/suspense.d.ts +18 -0
  21. package/dist/flags/internal/use.d.ts +18 -0
  22. package/dist/flags/options.d.ts +43 -0
  23. package/dist/flags/provider/index.d.ts +5 -0
  24. package/dist/flags/provider/provider.d.ts +27 -0
  25. package/dist/flags/provider/use-flags-backend.d.ts +8 -0
  26. package/dist/flags/provider/use-flags-client-status.d.ts +7 -0
  27. package/dist/flags/provider/use-flags-client.d.ts +7 -0
  28. package/dist/flags/provider/use-when-flags-ready.d.ts +13 -0
  29. package/dist/flags/query/index.d.ts +1 -0
  30. package/dist/flags/query/query.d.ts +45 -0
  31. package/dist/flags/sdk.d.ts +8 -0
  32. package/dist/flags/tracking/index.d.ts +1 -0
  33. package/dist/flags/tracking/use-track.d.ts +16 -0
  34. package/dist/index.d.ts +1 -2
  35. package/dist/index.js +6445 -6191
  36. package/dist/recorder/RouteRecorderWatcher.d.ts +7 -10
  37. package/dist/recorder/sessionStore.d.ts +7 -3
  38. package/dist/style.css +1 -1
  39. package/package.json +8 -5
  40. package/dist/recorder/capture.d.ts +0 -30
  41. package/dist/recorder/db.d.ts +0 -6
  42. package/dist/recorder/recorder.d.ts +0 -45
@@ -1,45 +0,0 @@
1
- import { type Level } from '../logs/data';
2
- import { type RecForm, type RecNet, type RecStore } from './capture';
3
- export interface RecLog {
4
- at: number;
5
- l: Level;
6
- m: string;
7
- src?: string;
8
- }
9
- export type { RecForm, RecNet, RecStore };
10
- export interface RecPage {
11
- at: number;
12
- label: string;
13
- }
14
- export interface RecMeta {
15
- id: string;
16
- name: string;
17
- startedAt: number;
18
- durationMs: number;
19
- size: number;
20
- mime: string;
21
- pages: RecPage[];
22
- logs: RecLog[];
23
- network?: RecNet[];
24
- storage?: RecStore[];
25
- forms?: RecForm[];
26
- }
27
- export type RecStatus = 'idle' | 'starting' | 'recording';
28
- export interface RecSnapshot {
29
- status: RecStatus;
30
- elapsedMs: number;
31
- error: string;
32
- recordings: RecMeta[];
33
- loaded: boolean;
34
- }
35
- export declare const getRecorderState: () => RecSnapshot;
36
- export declare const useRecorder: () => RecSnapshot;
37
- export declare const refreshRecordings: () => Promise<void>;
38
- export declare const deleteRecording: (id: string) => Promise<void>;
39
- export declare const deleteAllRecordings: () => Promise<void>;
40
- /** The app calls this when the visible module / tab changes so the video gets a page marker. */
41
- export declare const setRecorderPage: (label: string) => void;
42
- export declare function startRecording(): Promise<void>;
43
- export declare function stopRecording(): void;
44
- export declare const start: typeof startRecording;
45
- export declare const stop: typeof stopRecording;