@agendar/shared 0.6.0 → 0.8.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.
Files changed (52) hide show
  1. package/assets/illustrations/appointments-empty-state.svg +16 -0
  2. package/assets/illustrations/client-packages-empty-state.svg +16 -0
  3. package/assets/illustrations/client-tabs-empty-state.svg +17 -0
  4. package/assets/illustrations/clients-empty-state.svg +17 -0
  5. package/assets/illustrations/clients-search-empty-state.svg +20 -0
  6. package/assets/illustrations/filter-empty-state.svg +14 -0
  7. package/assets/illustrations/load-error-state.svg +15 -0
  8. package/assets/illustrations/package-sales-empty-state.svg +23 -0
  9. package/assets/illustrations/packages-empty-state.svg +22 -0
  10. package/assets/illustrations/packages-search-empty-state.svg +16 -0
  11. package/assets/illustrations/product-categories-empty-state.svg +17 -0
  12. package/assets/illustrations/products-empty-state.svg +21 -0
  13. package/assets/illustrations/products-search-empty-state.svg +21 -0
  14. package/assets/illustrations/professional-empty-state.svg +18 -0
  15. package/assets/illustrations/professional-paid-empty-state.svg +16 -0
  16. package/assets/illustrations/professional-payables-empty-state.svg +17 -0
  17. package/assets/illustrations/professional-vouchers-empty-state.svg +16 -0
  18. package/assets/illustrations/professionals-search-empty-state.svg +26 -0
  19. package/assets/illustrations/service-categories-empty-state.svg +17 -0
  20. package/assets/illustrations/services-empty-state.svg +24 -0
  21. package/assets/illustrations/services-search-empty-state.svg +21 -0
  22. package/assets/illustrations/specializations-empty-state.svg +17 -0
  23. package/dist/{chunk-6MEQXAPW.js → chunk-QEH5GJ35.js} +894 -47
  24. package/dist/chunk-QEH5GJ35.js.map +1 -0
  25. package/dist/{chunk-NGCGPQ4L.js → chunk-T5C3WAMB.js} +896 -49
  26. package/dist/chunk-T5C3WAMB.js.map +1 -0
  27. package/dist/{chunk-Y2LPIEBZ.js → chunk-ZNSMR2PQ.js} +895 -48
  28. package/dist/chunk-ZNSMR2PQ.js.map +1 -0
  29. package/dist/i18n/en.cjs +892 -45
  30. package/dist/i18n/en.cjs.map +1 -1
  31. package/dist/i18n/en.d.cts +879 -36
  32. package/dist/i18n/en.d.ts +879 -36
  33. package/dist/i18n/en.js +1 -1
  34. package/dist/i18n/es.cjs +893 -46
  35. package/dist/i18n/es.cjs.map +1 -1
  36. package/dist/i18n/es.d.cts +879 -36
  37. package/dist/i18n/es.d.ts +879 -36
  38. package/dist/i18n/es.js +1 -1
  39. package/dist/i18n/index.cjs +2679 -138
  40. package/dist/i18n/index.cjs.map +1 -1
  41. package/dist/i18n/index.js +3 -3
  42. package/dist/i18n/pt.cjs +894 -47
  43. package/dist/i18n/pt.cjs.map +1 -1
  44. package/dist/i18n/pt.d.cts +879 -36
  45. package/dist/i18n/pt.d.ts +879 -36
  46. package/dist/i18n/pt.js +1 -1
  47. package/dist/tracking/events.d.cts +18 -0
  48. package/dist/tracking/events.d.ts +18 -0
  49. package/package.json +5 -3
  50. package/dist/chunk-6MEQXAPW.js.map +0 -1
  51. package/dist/chunk-NGCGPQ4L.js.map +0 -1
  52. package/dist/chunk-Y2LPIEBZ.js.map +0 -1
package/dist/i18n/pt.js CHANGED
@@ -1,3 +1,3 @@
1
- export { appPT } from '../chunk-NGCGPQ4L.js';
1
+ export { appPT } from '../chunk-T5C3WAMB.js';
2
2
  //# sourceMappingURL=pt.js.map
3
3
  //# sourceMappingURL=pt.js.map
@@ -12,6 +12,16 @@ interface AnonymousTrackingEventMap {
12
12
  message: string;
13
13
  fatal: boolean;
14
14
  };
15
+ /** The update prompt opened; `required` blocks the app until it updates. */
16
+ app_update_prompted: {
17
+ currentVersion: string;
18
+ latestVersion: string | null;
19
+ required: boolean;
20
+ };
21
+ app_update_store_opened: {
22
+ currentVersion: string;
23
+ required: boolean;
24
+ };
15
25
  }
16
26
  /** Attached to the identified User. */
17
27
  interface BehavioralTrackingEventMap {
@@ -41,6 +51,14 @@ interface BehavioralTrackingEventMap {
41
51
  feature_used: {
42
52
  featureId: string;
43
53
  };
54
+ /** Opened from a home screen quick action (long press on the app icon). */
55
+ quick_action_used: {
56
+ actionId: "new_appointment" | "planner";
57
+ };
58
+ /** The OS store review prompt was requested after a success moment. */
59
+ store_review_requested: {
60
+ source: "tab_closed" | "cash_register_closed";
61
+ };
44
62
  }
45
63
  type AnonymousTrackingEventName = keyof AnonymousTrackingEventMap;
46
64
  type BehavioralTrackingEventName = keyof BehavioralTrackingEventMap;
@@ -12,6 +12,16 @@ interface AnonymousTrackingEventMap {
12
12
  message: string;
13
13
  fatal: boolean;
14
14
  };
15
+ /** The update prompt opened; `required` blocks the app until it updates. */
16
+ app_update_prompted: {
17
+ currentVersion: string;
18
+ latestVersion: string | null;
19
+ required: boolean;
20
+ };
21
+ app_update_store_opened: {
22
+ currentVersion: string;
23
+ required: boolean;
24
+ };
15
25
  }
16
26
  /** Attached to the identified User. */
17
27
  interface BehavioralTrackingEventMap {
@@ -41,6 +51,14 @@ interface BehavioralTrackingEventMap {
41
51
  feature_used: {
42
52
  featureId: string;
43
53
  };
54
+ /** Opened from a home screen quick action (long press on the app icon). */
55
+ quick_action_used: {
56
+ actionId: "new_appointment" | "planner";
57
+ };
58
+ /** The OS store review prompt was requested after a success moment. */
59
+ store_review_requested: {
60
+ source: "tab_closed" | "cash_register_closed";
61
+ };
44
62
  }
45
63
  type AnonymousTrackingEventName = keyof AnonymousTrackingEventMap;
46
64
  type BehavioralTrackingEventName = keyof BehavioralTrackingEventMap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agendar/shared",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -330,10 +330,12 @@
330
330
  "types": "./dist/tracking/events.d.ts",
331
331
  "import": "./dist/tracking/events.js",
332
332
  "require": "./dist/tracking/events.cjs"
333
- }
333
+ },
334
+ "./illustrations/*": "./assets/illustrations/*"
334
335
  },
335
336
  "files": [
336
- "dist"
337
+ "dist",
338
+ "assets"
337
339
  ],
338
340
  "scripts": {
339
341
  "build": "tsup",