@bereasoftware/time-guard 2.7.2 → 2.9.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/README.en.md +5 -1
  2. package/README.md +5 -1
  3. package/dist/adapters/temporal.adapter.d.ts +6 -2
  4. package/dist/angular/index.cjs +1 -148
  5. package/dist/angular/index.es.js +63 -112
  6. package/dist/calendars/index.cjs +1 -357
  7. package/dist/calendars/index.es.js +66 -99
  8. package/dist/chunk-C6qsp3rV.cjs +1 -0
  9. package/dist/core-BDQnStek.cjs +1 -0
  10. package/dist/core-GHK7isoa.js +1200 -0
  11. package/dist/core.d.ts +27 -1
  12. package/dist/index.d.ts +4 -2
  13. package/dist/locales/index.cjs +1 -7
  14. package/dist/locales/index.d.ts +11 -0
  15. package/dist/locales/index.es.js +3 -3
  16. package/dist/{locales-CGdn0DJN.cjs → locales-Dwe5oGoy.js} +201 -82
  17. package/dist/locales-bc-5kDuZ.cjs +1 -0
  18. package/dist/native/index.cjs +1 -48
  19. package/dist/native/index.es.js +8 -18
  20. package/dist/plugins/advanced-format/index.d.ts +8 -0
  21. package/dist/plugins/advanced-format.cjs +1 -105
  22. package/dist/plugins/advanced-format.es.js +48 -63
  23. package/dist/plugins/duration/index.d.ts +6 -0
  24. package/dist/plugins/duration.cjs +1 -258
  25. package/dist/plugins/duration.es.js +63 -165
  26. package/dist/plugins/manager.d.ts +6 -2
  27. package/dist/plugins/relative-time/index.d.ts +6 -0
  28. package/dist/plugins/relative-time.cjs +1 -166
  29. package/dist/plugins/relative-time.es.js +39 -74
  30. package/dist/qwik/index.cjs +1 -104
  31. package/dist/qwik/index.es.js +36 -94
  32. package/dist/qwik.d.ts +5 -1
  33. package/dist/react/index.cjs +1 -112
  34. package/dist/react/index.es.js +57 -91
  35. package/dist/solid/index.cjs +1 -127
  36. package/dist/solid/index.es.js +36 -116
  37. package/dist/solid.d.ts +5 -2
  38. package/dist/svelte/index.cjs +1 -398
  39. package/dist/svelte/index.es.js +85 -344
  40. package/dist/time-guard.cjs +3 -7359
  41. package/dist/time-guard.es.js +3412 -3625
  42. package/dist/time-guard.iife.js +3 -13549
  43. package/dist/time-guard.umd.js +3 -13550
  44. package/dist/types/index.d.ts +10 -0
  45. package/dist/vue/index.cjs +1 -143
  46. package/dist/vue/index.es.js +62 -116
  47. package/dist/vue.d.ts +5 -3
  48. package/package.json +3 -4
  49. package/dist/chunk-S8Y6Ng9i.cjs +0 -36
  50. package/dist/core-BIDjudpO.cjs +0 -1892
  51. package/dist/core-DWPXk3rz.js +0 -1809
  52. package/dist/locales-BUE_aq8K.js +0 -3514
package/README.en.md CHANGED
@@ -180,9 +180,13 @@ console.log(inTokyo.format("YYYY-MM-DD HH:mm:ss Z"));
180
180
 
181
181
  ### 3. Localization
182
182
 
183
- Support for 40+ languages and locales:
183
+ Support for 40+ languages and locales. The core only registers `en`/`es` by default — call `loadAllLocales()` once (or register just the ones you use via `/locales`, see [Modular Bundle](#modular-bundle)):
184
184
 
185
185
  ```typescript
186
+ import { TimeGuard, loadAllLocales } from "@bereasoftware/time-guard";
187
+
188
+ loadAllLocales(); // once, at app startup
189
+
186
190
  const date = TimeGuard.from("2024-03-13");
187
191
 
188
192
  date.locale("en").format("MMMM DD, YYYY"); // March 13, 2024
package/README.md CHANGED
@@ -197,9 +197,13 @@ console.log(inTokyo.format('YYYY-MM-DD HH:mm:ss Z'));
197
197
 
198
198
  ### 3. Localización
199
199
 
200
- Soporte para 40+ idiomas y locales:
200
+ Soporte para 40+ idiomas y locales. El core solo trae `en`/`es` registrados; llama `loadAllLocales()` una vez (o registra solo los que uses vía `/locales`, ver [Bundle Modular](#bundle-modular)):
201
201
 
202
202
  ```typescript
203
+ import { TimeGuard, loadAllLocales } from '@bereasoftware/time-guard';
204
+
205
+ loadAllLocales(); // una sola vez, al iniciar tu app
206
+
203
207
  const date = TimeGuard.from('2024-03-13');
204
208
 
205
209
  date.locale('en').format('MMMM DD, YYYY'); // March 13, 2024
@@ -57,9 +57,13 @@ export declare class TemporalAdapter {
57
57
  */
58
58
  static now(): TemporalPlainDateTime;
59
59
  /**
60
- * Get current time as ZonedDateTime with timezone
60
+ * Get current time as a ZonedDateTime, carrying real offset/zone info.
61
+ * With no `timezone`, uses the system's own default zone (still a real
62
+ * zone, not the offset-naive PlainDateTime `now()` above returns) —
63
+ * this is what TimeGuard.now() uses, so toISOString()/getOffset() can
64
+ * perform a genuine conversion instead of mislabeling local time as UTC.
61
65
  */
62
- static nowInTimezone(timezone: string): TemporalZonedDateTime;
66
+ static nowInTimezone(timezone?: string): TemporalZonedDateTime;
63
67
  /**
64
68
  * Compare two Temporal.PlainDateTime objects
65
69
  * Returns: -1 if dt1 < dt2, 0 if equal, 1 if dt1 > dt2
@@ -1,148 +1 @@
1
- /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_core = require("../core-BIDjudpO.cjs");
4
- let _angular_core = require("@angular/core");
5
- let rxjs = require("rxjs");
6
- //#region src/angular.ts
7
- /**
8
- * Angular Injection Token to register global/default TimeGuard configurations.
9
- */
10
- var TIME_GUARD_CONFIG = new _angular_core.InjectionToken("TIME_GUARD_CONFIG");
11
- /**
12
- * Angular Pipe to format a date/time using TimeGuard.
13
- * Supports global configuration overrides via DI.
14
- * Usage: `{{ date | timeGuardFormat:'YYYY-MM-DD':'es' }}`
15
- */
16
- var TimeGuardFormatPipe = class {
17
- globalConfig = (0, _angular_core.inject)(TIME_GUARD_CONFIG, { optional: true });
18
- transform(value, pattern = "YYYY-MM-DD HH:mm:ss", locale) {
19
- if (!value) return "";
20
- try {
21
- const tg = require_core.TimeGuard.from(value);
22
- const activeLocale = locale || this.globalConfig?.locale;
23
- if (activeLocale) return tg.locale(activeLocale).format(pattern);
24
- return tg.format(pattern);
25
- } catch {
26
- return String(value);
27
- }
28
- }
29
- };
30
- /**
31
- * Angular Pipe for dynamic relative time humanization.
32
- * Supports global configuration overrides via DI.
33
- * Usage: `{{ date | timeGuardRelative:'es':'auto' }}`
34
- */
35
- var TimeGuardRelativePipe = class {
36
- globalConfig = (0, _angular_core.inject)(TIME_GUARD_CONFIG, { optional: true });
37
- transform(value, locale, numeric) {
38
- if (!value) return "";
39
- try {
40
- const tg = require_core.TimeGuard.from(value);
41
- const now = require_core.TimeGuard.now();
42
- const activeLocale = locale || this.globalConfig?.locale;
43
- return tg.since(now).humanize({
44
- locale: activeLocale,
45
- numeric
46
- });
47
- } catch {
48
- return String(value);
49
- }
50
- }
51
- };
52
- /**
53
- * Injectable Service to interact with TimeGuard.
54
- * Provides a high-performance reactive Observable of the current time
55
- * running outside Angular zone to optimize change detection ticks.
56
- * Supports global configuration overrides via DI.
57
- */
58
- var TimeGuardService = class {
59
- ngZone = (0, _angular_core.inject)(_angular_core.NgZone);
60
- globalConfig = (0, _angular_core.inject)(TIME_GUARD_CONFIG, { optional: true });
61
- /**
62
- * Get an Observable of the current time, ticking on the specified interval.
63
- */
64
- getCurrentTime(intervalMs = 1e3, config) {
65
- const activeConfig = config ?? this.globalConfig ?? void 0;
66
- return new rxjs.Observable((subscriber) => {
67
- return this.ngZone.runOutsideAngular(() => {
68
- subscriber.next(require_core.TimeGuard.now(activeConfig));
69
- const intervalId = setInterval(() => {
70
- this.ngZone.run(() => {
71
- subscriber.next(require_core.TimeGuard.now(activeConfig));
72
- });
73
- }, intervalMs);
74
- return () => {
75
- clearInterval(intervalId);
76
- };
77
- });
78
- }).pipe((0, rxjs.shareReplay)(1));
79
- }
80
- };
81
- /**
82
- * Angular Pipe to dynamically tick and format dates at a custom interval.
83
- * Highly optimized, impure pipe utilizing TimeGuardService and ChangeDetectorRef.
84
- * Usage:
85
- * - Real-time clock: `{{ 'now' | timeGuardLiveFormat:'HH:mm:ss':1000 }}`
86
- * - Ticking static date: `{{ date | timeGuardLiveFormat:'YYYY-MM-DD HH:mm:ss':5000 }}`
87
- */
88
- var TimeGuardLiveFormatPipe = class {
89
- latestValue = "";
90
- subscription;
91
- lastInput;
92
- lastPattern;
93
- lastInterval;
94
- lastLocale;
95
- cdr = (0, _angular_core.inject)(_angular_core.ChangeDetectorRef);
96
- timeGuardService = (0, _angular_core.inject)(TimeGuardService);
97
- globalConfig = (0, _angular_core.inject)(TIME_GUARD_CONFIG, { optional: true });
98
- transform(value, pattern = "YYYY-MM-DD HH:mm:ss", intervalMs = 1e3, locale) {
99
- if (!value) return "";
100
- if (value !== this.lastInput || pattern !== this.lastPattern || intervalMs !== this.lastInterval || locale !== this.lastLocale) {
101
- this.ngOnDestroy();
102
- this.lastInput = value;
103
- this.lastPattern = pattern;
104
- this.lastInterval = intervalMs;
105
- this.lastLocale = locale;
106
- const activeLocale = locale || this.globalConfig?.locale;
107
- if (value === "now") this.subscription = this.timeGuardService.getCurrentTime(intervalMs).subscribe((now) => {
108
- this.latestValue = activeLocale ? now.locale(activeLocale).format(pattern) : now.format(pattern);
109
- this.cdr.markForCheck();
110
- });
111
- else this.subscription = this.timeGuardService.getCurrentTime(intervalMs).subscribe(() => {
112
- try {
113
- const tg = require_core.TimeGuard.from(value);
114
- this.latestValue = activeLocale ? tg.locale(activeLocale).format(pattern) : tg.format(pattern);
115
- this.cdr.markForCheck();
116
- } catch {
117
- this.latestValue = String(value);
118
- }
119
- });
120
- }
121
- return this.latestValue;
122
- }
123
- ngOnDestroy() {
124
- if (this.subscription) {
125
- this.subscription.unsubscribe();
126
- this.subscription = void 0;
127
- }
128
- }
129
- };
130
- (0, _angular_core.Pipe)({
131
- name: "timeGuardFormat",
132
- pure: true
133
- })(TimeGuardFormatPipe);
134
- (0, _angular_core.Pipe)({
135
- name: "timeGuardRelative",
136
- pure: false
137
- })(TimeGuardRelativePipe);
138
- (0, _angular_core.Injectable)({ providedIn: "root" })(TimeGuardService);
139
- (0, _angular_core.Pipe)({
140
- name: "timeGuardLiveFormat",
141
- pure: false
142
- })(TimeGuardLiveFormatPipe);
143
- //#endregion
144
- exports.TIME_GUARD_CONFIG = TIME_GUARD_CONFIG;
145
- exports.TimeGuardFormatPipe = TimeGuardFormatPipe;
146
- exports.TimeGuardLiveFormatPipe = TimeGuardLiveFormatPipe;
147
- exports.TimeGuardRelativePipe = TimeGuardRelativePipe;
148
- exports.TimeGuardService = TimeGuardService;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../core-BDQnStek.cjs");let t=require("@angular/core"),n=require("rxjs");var r=new t.InjectionToken(`TIME_GUARD_CONFIG`),i=class{globalConfig=(0,t.inject)(r,{optional:!0});transform(t,n=`YYYY-MM-DD HH:mm:ss`,r){if(!t)return``;try{let i=e.i.from(t),a=r||this.globalConfig?.locale;return a?i.locale(a).format(n):i.format(n)}catch{return String(t)}}},a=class{globalConfig=(0,t.inject)(r,{optional:!0});transform(t,n,r){if(!t)return``;try{let i=e.i.from(t),a=e.i.now(),o=n||this.globalConfig?.locale;return i.since(a).humanize({locale:o,numeric:r})}catch{return String(t)}}},o=class{ngZone=(0,t.inject)(t.NgZone);globalConfig=(0,t.inject)(r,{optional:!0});getCurrentTime(t=1e3,r){let i=r??this.globalConfig??void 0;return new n.Observable(n=>this.ngZone.runOutsideAngular(()=>{n.next(e.i.now(i));let r=setInterval(()=>{this.ngZone.run(()=>{n.next(e.i.now(i))})},t);return()=>{clearInterval(r)}})).pipe((0,n.shareReplay)(1))}},s=@((0,t.Pipe)({name:`timeGuardLiveFormat`,pure:!1})) class{latestValue=``;subscription;lastInput;lastPattern;lastInterval;lastLocale;cdr=(0,t.inject)(t.ChangeDetectorRef);timeGuardService=(0,t.inject)(o);globalConfig=(0,t.inject)(r,{optional:!0});transform(t,n=`YYYY-MM-DD HH:mm:ss`,r=1e3,i){if(!t)return``;if(t!==this.lastInput||n!==this.lastPattern||r!==this.lastInterval||i!==this.lastLocale){this.ngOnDestroy(),this.lastInput=t,this.lastPattern=n,this.lastInterval=r,this.lastLocale=i;let a=i||this.globalConfig?.locale;t===`now`?this.subscription=this.timeGuardService.getCurrentTime(r).subscribe(e=>{this.latestValue=a?e.locale(a).format(n):e.format(n),this.cdr.markForCheck()}):this.subscription=this.timeGuardService.getCurrentTime(r).subscribe(()=>{try{let r=e.i.from(t);this.latestValue=a?r.locale(a).format(n):r.format(n),this.cdr.markForCheck()}catch{this.latestValue=String(t)}})}return this.latestValue}ngOnDestroy(){this.subscription&&=(this.subscription.unsubscribe(),void 0)}};(0,t.Pipe)({name:`timeGuardFormat`,pure:!0})(i),(0,t.Pipe)({name:`timeGuardRelative`,pure:!1})(a),(0,t.Injectable)({providedIn:`root`})(o),(0,t.Pipe)({name:`timeGuardLiveFormat`,pure:!1})(s),exports.TIME_GUARD_CONFIG=r,exports.TimeGuardFormatPipe=i,exports.TimeGuardLiveFormatPipe=s,exports.TimeGuardRelativePipe=a,exports.TimeGuardService=o;
@@ -1,143 +1,94 @@
1
- /*! time-guard v2.7.2 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
- import { n as TimeGuard } from "../core-DWPXk3rz.js";
3
- import { ChangeDetectorRef, Injectable, InjectionToken, NgZone, Pipe, inject } from "@angular/core";
4
- import { Observable, shareReplay } from "rxjs";
1
+ /*! time-guard v2.9.0 | (c) 2026 Berea-Soft | MIT License | https://github.com/Berea-Soft/time-guard */
2
+ import { i as e } from "../core-GHK7isoa.js";
3
+ import { ChangeDetectorRef as t, Injectable as n, InjectionToken as r, NgZone as i, Pipe as a, inject as o } from "@angular/core";
4
+ import { Observable as s, shareReplay as c } from "rxjs";
5
5
  //#region src/angular.ts
6
- /**
7
- * Angular Injection Token to register global/default TimeGuard configurations.
8
- */
9
- var TIME_GUARD_CONFIG = new InjectionToken("TIME_GUARD_CONFIG");
10
- /**
11
- * Angular Pipe to format a date/time using TimeGuard.
12
- * Supports global configuration overrides via DI.
13
- * Usage: `{{ date | timeGuardFormat:'YYYY-MM-DD':'es' }}`
14
- */
15
- var TimeGuardFormatPipe = class {
16
- globalConfig = inject(TIME_GUARD_CONFIG, { optional: true });
17
- transform(value, pattern = "YYYY-MM-DD HH:mm:ss", locale) {
18
- if (!value) return "";
6
+ var l = new r("TIME_GUARD_CONFIG"), u = class {
7
+ globalConfig = o(l, { optional: !0 });
8
+ transform(t, n = "YYYY-MM-DD HH:mm:ss", r) {
9
+ if (!t) return "";
19
10
  try {
20
- const tg = TimeGuard.from(value);
21
- const activeLocale = locale || this.globalConfig?.locale;
22
- if (activeLocale) return tg.locale(activeLocale).format(pattern);
23
- return tg.format(pattern);
11
+ let i = e.from(t), a = r || this.globalConfig?.locale;
12
+ return a ? i.locale(a).format(n) : i.format(n);
24
13
  } catch {
25
- return String(value);
14
+ return String(t);
26
15
  }
27
16
  }
28
- };
29
- /**
30
- * Angular Pipe for dynamic relative time humanization.
31
- * Supports global configuration overrides via DI.
32
- * Usage: `{{ date | timeGuardRelative:'es':'auto' }}`
33
- */
34
- var TimeGuardRelativePipe = class {
35
- globalConfig = inject(TIME_GUARD_CONFIG, { optional: true });
36
- transform(value, locale, numeric) {
37
- if (!value) return "";
17
+ }, d = class {
18
+ globalConfig = o(l, { optional: !0 });
19
+ transform(t, n, r) {
20
+ if (!t) return "";
38
21
  try {
39
- const tg = TimeGuard.from(value);
40
- const now = TimeGuard.now();
41
- const activeLocale = locale || this.globalConfig?.locale;
42
- return tg.since(now).humanize({
43
- locale: activeLocale,
44
- numeric
22
+ let i = e.from(t), a = e.now(), o = n || this.globalConfig?.locale;
23
+ return i.since(a).humanize({
24
+ locale: o,
25
+ numeric: r
45
26
  });
46
27
  } catch {
47
- return String(value);
28
+ return String(t);
48
29
  }
49
30
  }
50
- };
51
- /**
52
- * Injectable Service to interact with TimeGuard.
53
- * Provides a high-performance reactive Observable of the current time
54
- * running outside Angular zone to optimize change detection ticks.
55
- * Supports global configuration overrides via DI.
56
- */
57
- var TimeGuardService = class {
58
- ngZone = inject(NgZone);
59
- globalConfig = inject(TIME_GUARD_CONFIG, { optional: true });
60
- /**
61
- * Get an Observable of the current time, ticking on the specified interval.
62
- */
63
- getCurrentTime(intervalMs = 1e3, config) {
64
- const activeConfig = config ?? this.globalConfig ?? void 0;
65
- return new Observable((subscriber) => {
66
- return this.ngZone.runOutsideAngular(() => {
67
- subscriber.next(TimeGuard.now(activeConfig));
68
- const intervalId = setInterval(() => {
69
- this.ngZone.run(() => {
70
- subscriber.next(TimeGuard.now(activeConfig));
71
- });
72
- }, intervalMs);
73
- return () => {
74
- clearInterval(intervalId);
75
- };
76
- });
77
- }).pipe(shareReplay(1));
31
+ }, f = class {
32
+ ngZone = o(i);
33
+ globalConfig = o(l, { optional: !0 });
34
+ getCurrentTime(t = 1e3, n) {
35
+ let r = n ?? this.globalConfig ?? void 0;
36
+ return new s((n) => this.ngZone.runOutsideAngular(() => {
37
+ n.next(e.now(r));
38
+ let i = setInterval(() => {
39
+ this.ngZone.run(() => {
40
+ n.next(e.now(r));
41
+ });
42
+ }, t);
43
+ return () => {
44
+ clearInterval(i);
45
+ };
46
+ })).pipe(c(1));
78
47
  }
79
- };
80
- /**
81
- * Angular Pipe to dynamically tick and format dates at a custom interval.
82
- * Highly optimized, impure pipe utilizing TimeGuardService and ChangeDetectorRef.
83
- * Usage:
84
- * - Real-time clock: `{{ 'now' | timeGuardLiveFormat:'HH:mm:ss':1000 }}`
85
- * - Ticking static date: `{{ date | timeGuardLiveFormat:'YYYY-MM-DD HH:mm:ss':5000 }}`
86
- */
87
- var TimeGuardLiveFormatPipe = class {
48
+ }, p = @a({
49
+ name: "timeGuardLiveFormat",
50
+ pure: !1
51
+ }) class {
88
52
  latestValue = "";
89
53
  subscription;
90
54
  lastInput;
91
55
  lastPattern;
92
56
  lastInterval;
93
57
  lastLocale;
94
- cdr = inject(ChangeDetectorRef);
95
- timeGuardService = inject(TimeGuardService);
96
- globalConfig = inject(TIME_GUARD_CONFIG, { optional: true });
97
- transform(value, pattern = "YYYY-MM-DD HH:mm:ss", intervalMs = 1e3, locale) {
98
- if (!value) return "";
99
- if (value !== this.lastInput || pattern !== this.lastPattern || intervalMs !== this.lastInterval || locale !== this.lastLocale) {
100
- this.ngOnDestroy();
101
- this.lastInput = value;
102
- this.lastPattern = pattern;
103
- this.lastInterval = intervalMs;
104
- this.lastLocale = locale;
105
- const activeLocale = locale || this.globalConfig?.locale;
106
- if (value === "now") this.subscription = this.timeGuardService.getCurrentTime(intervalMs).subscribe((now) => {
107
- this.latestValue = activeLocale ? now.locale(activeLocale).format(pattern) : now.format(pattern);
108
- this.cdr.markForCheck();
109
- });
110
- else this.subscription = this.timeGuardService.getCurrentTime(intervalMs).subscribe(() => {
58
+ cdr = o(t);
59
+ timeGuardService = o(f);
60
+ globalConfig = o(l, { optional: !0 });
61
+ transform(t, n = "YYYY-MM-DD HH:mm:ss", r = 1e3, i) {
62
+ if (!t) return "";
63
+ if (t !== this.lastInput || n !== this.lastPattern || r !== this.lastInterval || i !== this.lastLocale) {
64
+ this.ngOnDestroy(), this.lastInput = t, this.lastPattern = n, this.lastInterval = r, this.lastLocale = i;
65
+ let a = i || this.globalConfig?.locale;
66
+ t === "now" ? this.subscription = this.timeGuardService.getCurrentTime(r).subscribe((e) => {
67
+ this.latestValue = a ? e.locale(a).format(n) : e.format(n), this.cdr.markForCheck();
68
+ }) : this.subscription = this.timeGuardService.getCurrentTime(r).subscribe(() => {
111
69
  try {
112
- const tg = TimeGuard.from(value);
113
- this.latestValue = activeLocale ? tg.locale(activeLocale).format(pattern) : tg.format(pattern);
114
- this.cdr.markForCheck();
70
+ let r = e.from(t);
71
+ this.latestValue = a ? r.locale(a).format(n) : r.format(n), this.cdr.markForCheck();
115
72
  } catch {
116
- this.latestValue = String(value);
73
+ this.latestValue = String(t);
117
74
  }
118
75
  });
119
76
  }
120
77
  return this.latestValue;
121
78
  }
122
79
  ngOnDestroy() {
123
- if (this.subscription) {
124
- this.subscription.unsubscribe();
125
- this.subscription = void 0;
126
- }
80
+ this.subscription &&= (this.subscription.unsubscribe(), void 0);
127
81
  }
128
82
  };
129
- Pipe({
83
+ a({
130
84
  name: "timeGuardFormat",
131
- pure: true
132
- })(TimeGuardFormatPipe);
133
- Pipe({
85
+ pure: !0
86
+ })(u), a({
134
87
  name: "timeGuardRelative",
135
- pure: false
136
- })(TimeGuardRelativePipe);
137
- Injectable({ providedIn: "root" })(TimeGuardService);
138
- Pipe({
88
+ pure: !1
89
+ })(d), n({ providedIn: "root" })(f), a({
139
90
  name: "timeGuardLiveFormat",
140
- pure: false
141
- })(TimeGuardLiveFormatPipe);
91
+ pure: !1
92
+ })(p);
142
93
  //#endregion
143
- export { TIME_GUARD_CONFIG, TimeGuardFormatPipe, TimeGuardLiveFormatPipe, TimeGuardRelativePipe, TimeGuardService };
94
+ export { l as TIME_GUARD_CONFIG, u as TimeGuardFormatPipe, p as TimeGuardLiveFormatPipe, d as TimeGuardRelativePipe, f as TimeGuardService };