@acorex/core 20.1.14 → 20.1.15

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 (34) hide show
  1. package/date-time/index.d.ts +22 -1
  2. package/fesm2022/acorex-core-components.mjs +3 -3
  3. package/fesm2022/acorex-core-components.mjs.map +1 -1
  4. package/fesm2022/acorex-core-config.mjs +3 -3
  5. package/fesm2022/acorex-core-config.mjs.map +1 -1
  6. package/fesm2022/acorex-core-date-time.mjs +105 -58
  7. package/fesm2022/acorex-core-date-time.mjs.map +1 -1
  8. package/fesm2022/acorex-core-events.mjs +3 -3
  9. package/fesm2022/acorex-core-events.mjs.map +1 -1
  10. package/fesm2022/acorex-core-file.mjs +10 -10
  11. package/fesm2022/acorex-core-file.mjs.map +1 -1
  12. package/fesm2022/acorex-core-format.mjs +19 -19
  13. package/fesm2022/acorex-core-format.mjs.map +1 -1
  14. package/fesm2022/acorex-core-icon.mjs +3 -3
  15. package/fesm2022/acorex-core-icon.mjs.map +1 -1
  16. package/fesm2022/acorex-core-image.mjs +3 -3
  17. package/fesm2022/acorex-core-image.mjs.map +1 -1
  18. package/fesm2022/acorex-core-locale.mjs +11 -11
  19. package/fesm2022/acorex-core-locale.mjs.map +1 -1
  20. package/fesm2022/acorex-core-network.mjs +4 -4
  21. package/fesm2022/acorex-core-network.mjs.map +1 -1
  22. package/fesm2022/acorex-core-pipes.mjs +3 -3
  23. package/fesm2022/acorex-core-pipes.mjs.map +1 -1
  24. package/fesm2022/acorex-core-platform.mjs +4 -4
  25. package/fesm2022/acorex-core-platform.mjs.map +1 -1
  26. package/fesm2022/acorex-core-storage.mjs +9 -9
  27. package/fesm2022/acorex-core-storage.mjs.map +1 -1
  28. package/fesm2022/acorex-core-translation.mjs +16 -16
  29. package/fesm2022/acorex-core-translation.mjs.map +1 -1
  30. package/fesm2022/acorex-core-utils.mjs +3 -3
  31. package/fesm2022/acorex-core-utils.mjs.map +1 -1
  32. package/fesm2022/acorex-core-validation.mjs +40 -40
  33. package/fesm2022/acorex-core-validation.mjs.map +1 -1
  34. package/package.json +1 -1
@@ -105,6 +105,27 @@ declare class AXDateTime {
105
105
  private pad;
106
106
  equal(value: Date | AXDateTime, unit?: TimeUnit): boolean;
107
107
  compare(value: Date | AXDateTime, unit?: TimeUnit): number;
108
+ /**
109
+ * Checks if the current date is after the provided date.
110
+ * @param value The date to compare against.
111
+ * @param unit The unit of measurement for comparison (e.g., 'day', 'hour'). Defaults to 'ms' for precise comparison.
112
+ * @returns `true` if the current date is after the provided date, otherwise `false`.
113
+ */
114
+ isAfter(value: AXDateTime | Date, unit?: TimeUnit): boolean;
115
+ /**
116
+ * Checks if the current date is before the provided date.
117
+ * @param value The date to compare against.
118
+ * @param unit The unit of measurement for comparison (e.g., 'day', 'hour'). Defaults to 'ms' for precise comparison.
119
+ * @returns `true` if the current date is before the provided date, otherwise `false`.
120
+ */
121
+ isBefore(value: AXDateTime | Date, unit?: TimeUnit): boolean;
122
+ /**
123
+ * Checks if the current date is the same as the provided date, up to a specified unit.
124
+ * @param value The date to compare against.
125
+ * @param unit The unit of measurement for comparison (e.g., 'day', 'hour'). Defaults to 'ms' for precise comparison.
126
+ * @returns `true` if the dates are the same for the given unit, otherwise `false`.
127
+ */
128
+ isSame(value: AXDateTime | Date, unit?: TimeUnit): boolean;
108
129
  }
109
130
  declare class AXCalendarMonth {
110
131
  private _range;
@@ -142,7 +163,7 @@ declare class AXDateTimeRange {
142
163
  get endTime(): AXDateTime;
143
164
  constructor(startTime: AXDateTime, endTime: AXDateTime);
144
165
  duration(): AXTimeSpan;
145
- enumurate(unit?: TimeUnit, amount?: number): AXDateTime[];
166
+ enumerate(unit?: TimeUnit, amount?: number): AXDateTime[];
146
167
  }
147
168
 
148
169
  interface AXDateTimeFormatterOptions extends AXFormatOptions {
@@ -20,10 +20,10 @@ class AXComponentService {
20
20
  async createFromTemplate(content) {
21
21
  return this.getRootViewContainerRef().createEmbeddedView(content);
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
24
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXComponentService, providedIn: 'root' }); }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
24
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXComponentService, providedIn: 'root' }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXComponentService, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXComponentService, decorators: [{
27
27
  type: Injectable,
28
28
  args: [{
29
29
  providedIn: 'root',
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-core-components.mjs","sources":["../tmp-esm2022/components/lib/component.service.js","../tmp-esm2022/components/acorex-core-components.js"],"sourcesContent":["import { ApplicationRef, inject, Injectable, ViewContainerRef, } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXComponentService {\n constructor() {\n this.appRef = inject(ApplicationRef);\n }\n getRootViewContainerRef() {\n // Get all components in the application\n const components = this.appRef.components;\n if (components.length > 0) {\n const rootComponentRef = components[0];\n return rootComponentRef.injector.get(ViewContainerRef, null);\n }\n return null;\n }\n async createFromComponent(content) {\n return this.getRootViewContainerRef().createComponent(content);\n }\n async createFromTemplate(content) {\n return this.getRootViewContainerRef().createEmbeddedView(content);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.0.4\", ngImport: i0, type: AXComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.0.4\", ngImport: i0, type: AXComponentService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.0.4\", ngImport: i0, type: AXComponentService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb3JlL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsY0FBYyxFQUdkLE1BQU0sRUFDTixVQUFVLEVBRVYsZ0JBQWdCLEdBQ2pCLE1BQU0sZUFBZSxDQUFDOztBQU12QixNQUFNLE9BQU8sa0JBQWtCO0lBSC9CO1FBSVUsV0FBTSxHQUFHLE1BQU0sQ0FBQyxjQUFjLENBQUMsQ0FBQztLQXFCekM7SUFuQlMsdUJBQXVCO1FBQzdCLHdDQUF3QztRQUN4QyxNQUFNLFVBQVUsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsQ0FBQztRQUUxQyxJQUFJLFVBQVUsQ0FBQyxNQUFNLEdBQUcsQ0FBQyxFQUFFLENBQUM7WUFDMUIsTUFBTSxnQkFBZ0IsR0FBc0IsVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUFDO1lBQzFELE9BQU8sZ0JBQWdCLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyxnQkFBZ0IsRUFBRSxJQUFJLENBQUMsQ0FBQztRQUMvRCxDQUFDO1FBRUQsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0lBRUQsS0FBSyxDQUFDLG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BpZiAoY29tcG9uZW50cy5sZW5ndGggPiAwKSB7XG4gICAgICBjb25zdCByb290Q29tcG9uZW50UmVmOiBDb21wb25lbnRSZWY8YW55PiA9IGNvbXBvbmVudHNbMF07XG4gICAgICByZXR1cm4gcm9vdENvbXBvbmVudFJlZi5pbmplY3Rvci5nZXQoVmlld0NvbnRhaW5lclJlZiwgbnVsbCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIG51bGw7XG4gIH1cblxuICBhc3luYyBjcmVhdGVGcm9tQ29tcG9uZW50PFQ+KGNvbnRlbnQ6IEFYQ29tcG9uZW50VHlwZTxUPik6IFByb21pc2U8Q29tcG9uZW50UmVmPFQ+PiB7XG4gICAgcmV0dXJuIHRoaXMuZ2V0Um9vdFZpZXdDb250YWluZXJSZWYoKS5jcmVhdGVDb21wb25lbnQ8VD4oY29udGVudCk7XG4gIH1cblxuICBhc3luYyBjcmVhdGVGcm9tVGVtcGxhdGU8VD4oY29udGVudDogVGVtcGxhdGVSZWY8VD4pOiBQcm9taXNlPEVtYmVkZGVkVmlld1JlZjxUPj4ge1xuICAgIHJldHVybiB0aGlzLmdldFJvb3RWaWV3Q29udGFpbmVyUmVmKCkuY3JlYXRlRW1iZWRkZWRWaWV3KGNvbnRlbnQpO1xuICB9XG59XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvcmUtY29tcG9uZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvcmUvY29tcG9uZW50cy9zcmMvYWNvcmV4LWNvcmUtY29tcG9uZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQ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AAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC;AAC5J;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAC;AAC5H,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,MAAM;AACtC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC7Bb;AACA;AACA;;;;"}
1
+ {"version":3,"file":"acorex-core-components.mjs","sources":["../tmp-esm2022/components/lib/component.service.js","../tmp-esm2022/components/acorex-core-components.js"],"sourcesContent":["import { ApplicationRef, inject, Injectable, ViewContainerRef, } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXComponentService {\n constructor() {\n this.appRef = inject(ApplicationRef);\n }\n getRootViewContainerRef() {\n // Get all components in the application\n const components = this.appRef.components;\n if (components.length > 0) {\n const rootComponentRef = components[0];\n return rootComponentRef.injector.get(ViewContainerRef, null);\n }\n return null;\n }\n async createFromComponent(content) {\n return this.getRootViewContainerRef().createComponent(content);\n }\n async createFromTemplate(content) {\n return this.getRootViewContainerRef().createEmbeddedView(content);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AXComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AXComponentService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AXComponentService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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Bhc3luYyBjcmVhdGVGcm9tQ29tcG9uZW50PFQ+KGNvbnRlbnQ6IEFYQ29tcG9uZW50VHlwZTxUPik6IFByb21pc2U8Q29tcG9uZW50UmVmPFQ+PiB7XG4gICAgcmV0dXJuIHRoaXMuZ2V0Um9vdFZpZXdDb250YWluZXJSZWYoKS5jcmVhdGVDb21wb25lbnQ8VD4oY29udGVudCk7XG4gIH1cblxuICBhc3luYyBjcmVhdGVGcm9tVGVtcGxhdGU8VD4oY29udGVudDogVGVtcGxhdGVSZWY8VD4pOiBQcm9taXNlPEVtYmVkZGVkVmlld1JlZjxUPj4ge1xuICAgIHJldHVybiB0aGlzLmdldFJvb3RWaWV3Q29udGFpbmVyUmVmKCkuY3JlYXRlRW1iZWRkZWRWaWV3KGNvbnRlbnQpO1xuICB9XG59XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvcmUtY29tcG9uZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvcmUvY29tcG9uZW50cy9zcmMvYWNvcmV4LWNvcmUtY29tcG9uZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;;AAEO,MAAM,kBAAkB,CAAC;AAChC,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,cAAc,CAAC;AAC5C;AACA,IAAI,uBAAuB,GAAG;AAC9B;AACA,QAAQ,MAAM,U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oBAAoB,UAAU,EAAE,MAAM;AACtC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC7Bb;AACA;AACA;;;;"}
@@ -20,10 +20,10 @@ class AXConfigService {
20
20
  const v2 = this.injector.get(providerToken);
21
21
  return get(v2, parts[parts.length - 1], defaultValue);
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
24
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXConfigService, providedIn: 'root' }); }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
24
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXConfigService, providedIn: 'root' }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXConfigService, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXConfigService, decorators: [{
27
27
  type: Injectable,
28
28
  args: [{ providedIn: 'root' }]
29
29
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-core-config.mjs","sources":["../tmp-esm2022/config/lib/configs.js","../tmp-esm2022/config/lib/configs.service.js","../tmp-esm2022/config/acorex-core-config.js"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nexport const AXGlobalDefaultConfig = {};\nexport const AX_GLOBAL_CONFIG = new InjectionToken('AX_GLOBAL_CONFIG', {\n providedIn: 'root',\n factory: () => AXGlobalDefaultConfig,\n});\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlncy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvcmUvY29uZmlnL3NyYy9saWIvY29uZmlncy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBTS9DLE1BQU0sQ0FBQyxNQUFNLHFCQUFxQixHQUFtQixFQUFFLENBQUM7QUFFeEQsTUFBTSxDQUFDLE1BQU0sZ0JBQWdCLEdBQUcsSUFBSSxjQUFjLENBQWlCLGtCQUFrQixFQUFFO0lBQ3JGLFVBQVUsRUFBRSxNQUFNO0lBQ2xCLE9BQU8sRUFBRSxHQUFHLEVBQUUsQ0FBQyxxQkFBcUI7Q0FDckMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuZXhwb3J0IHR5cGUgQVhHbG9iYWxDb25maWcgPSB7XG4gIFtrZXk6IHN0cmluZ106IHVua25vd247XG59O1xuXG5leHBvcnQgY29uc3QgQVhHbG9iYWxEZWZhdWx0Q29uZmlnOiBBWEdsb2JhbENvbmZpZyA9IHt9O1xuXG5leHBvcnQgY29uc3QgQVhfR0xPQkFMX0NPTkZJRyA9IG5ldyBJbmplY3Rpb25Ub2tlbjxBWEdsb2JhbENvbmZpZz4oJ0FYX0dMT0JBTF9DT05GSUcnLCB7XG4gIHByb3ZpZGVkSW46ICdyb290JyxcbiAgZmFjdG9yeTogKCkgPT4gQVhHbG9iYWxEZWZhdWx0Q29uZmlnLFxufSk7XG4iXX0=","import { Injectable, Injector, inject } from '@angular/core';\nimport { get } from 'lodash-es';\nimport { AX_GLOBAL_CONFIG } from './configs';\nimport * as i0 from \"@angular/core\";\nexport class AXConfigService {\n constructor() {\n this.injector = inject(Injector);\n }\n get(key, defaultValue) {\n const v1 = this.injector.get(AX_GLOBAL_CONFIG);\n const parts = key.split('.');\n const tokenName = parts.slice(0, parts.length - 1).join('.');\n const providerToken = get(v1, tokenName);\n const v2 = this.injector.get(providerToken);\n return get(v2, parts[parts.length - 1], defaultValue);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.0.4\", ngImport: i0, type: AXConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.0.4\", ngImport: i0, type: AXConfigService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.0.4\", ngImport: i0, type: AXConfigService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlncy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29yZS9jb25maWcvc3JjL2xpYi9jb25maWdzLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBa0IsUUFBUSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RSxPQUFPLEVBQUUsR0FBRyxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQ2hDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLFdBQVcsQ0FBQzs7QUFHN0MsTUFBTSxPQUFPLGVBQWU7SUFENUI7UUFFVSxhQUFRLEdBQUcsTUFBTSxDQUFDLFFBQVEsQ0FBQyxDQUFDO0tBVXJDO0lBUlEsR0FBRyxDQUFhLEdBQVcsRUFBRSxZQUFnQjtRQUNsRCxNQUFNLEVBQUUsR0FBRyxJQUFJLENBQUMsUUF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EluamVjdG9yKTtcblxuICBwdWJsaWMgZ2V0PFQgPSBzdHJpbmc+KGtleTogc3RyaW5nLCBkZWZhdWx0VmFsdWU/OiBUKSB7XG4gICAgY29uc3QgdjEgPSB0aGlzLmluamVjdG9yLmdldChBWF9HTE9CQUxfQ09ORklHKTtcbiAgICBjb25zdCBwYXJ0cyA9IGtleS5zcGxpdCgnLicpO1xuICAgIGNvbnN0IHRva2VuTmFtZSA9IHBhcnRzLnNsaWNlKDAsIHBhcnRzLmxlbmd0aCAtIDEpLmpvaW4oJy4nKTtcbiAgICBjb25zdCBwcm92aWRlclRva2VuID0gZ2V0KHYxLCB0b2tlbk5hbWUpO1xuICAgIGNvbnN0IHYyID0gdGhpcy5pbmplY3Rvci5nZXQocHJvdmlkZXJUb2tlbiBhcyBJbmplY3Rpb25Ub2tlbjx1bmtub3duPik7XG4gICAgcmV0dXJuIGdldCh2MiwgcGFydHNbcGFydHMubGVuZ3RoIC0gMV0sIGRlZmF1bHRWYWx1ZSk7XG4gIH1cbn1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvcmUtY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29yZS9jb25maWcvc3JjL2Fjb3JleC1jb3JlLWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;;;AACY,MAAC,qBAAqB,GAAG;AACzB,MAAC,gBAAgB,GAAG,IAAI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,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC;AACzJ;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC;AACzH,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE;AACzC,SAAS,CAAC,EAAE,CAAC;;ACtBb;AACA;AACA;;;;"}
1
+ {"version":3,"file":"acorex-core-config.mjs","sources":["../tmp-esm2022/config/lib/configs.js","../tmp-esm2022/config/lib/configs.service.js","../tmp-esm2022/config/acorex-core-config.js"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nexport const AXGlobalDefaultConfig = {};\nexport const AX_GLOBAL_CONFIG = new InjectionToken('AX_GLOBAL_CONFIG', {\n providedIn: 'root',\n factory: () => AXGlobalDefaultConfig,\n});\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlncy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvcmUvY29uZmlnL3NyYy9saWIvY29uZmlncy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBTS9DLE1BQU0sQ0FBQyxNQUFNLHFCQUFxQixHQUFtQixFQUFFLENBQUM7QUFFeEQsTUFBTSxDQUFDLE1BQU0sZ0JBQWdCLEdBQUcsSUFBSSxjQUFjLENBQWlCLGtCQUFrQixFQUFFO0lBQ3JGLFVBQVUsRUFBRSxNQUFNO0lBQ2xCLE9BQU8sRUFBRSxHQUFHLEVBQUUsQ0FBQyxxQkFBcUI7Q0FDckMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0aW9uVG9rZW4gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuZXhwb3J0IHR5cGUgQVhHbG9iYWxDb25maWcgPSB7XG4gIFtrZXk6IHN0cmluZ106IHVua25vd247XG59O1xuXG5leHBvcnQgY29uc3QgQVhHbG9iYWxEZWZhdWx0Q29uZmlnOiBBWEdsb2JhbENvbmZpZyA9IHt9O1xuXG5leHBvcnQgY29uc3QgQVhfR0xPQkFMX0NPTkZJRyA9IG5ldyBJbmplY3Rpb25Ub2tlbjxBWEdsb2JhbENvbmZpZz4oJ0FYX0dMT0JBTF9DT05GSUcnLCB7XG4gIHByb3ZpZGVkSW46ICdyb290JyxcbiAgZmFjdG9yeTogKCkgPT4gQVhHbG9iYWxEZWZhdWx0Q29uZmlnLFxufSk7XG4iXX0=","import { Injectable, Injector, inject } from '@angular/core';\nimport { get } from 'lodash-es';\nimport { AX_GLOBAL_CONFIG } from './configs';\nimport * as i0 from \"@angular/core\";\nexport class AXConfigService {\n constructor() {\n this.injector = inject(Injector);\n }\n get(key, defaultValue) {\n const v1 = this.injector.get(AX_GLOBAL_CONFIG);\n const parts = key.split('.');\n const tokenName = parts.slice(0, parts.length - 1).join('.');\n const providerToken = get(v1, tokenName);\n const v2 = this.injector.get(providerToken);\n return get(v2, parts[parts.length - 1], defaultValue);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AXConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AXConfigService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.2\", ngImport: i0, type: AXConfigService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n//#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jx1bmtub3duPik7XG4gICAgcmV0dXJuIGdldCh2MiwgcGFydHNbcGFydHMubGVuZ3RoIC0gMV0sIGRlZmF1bHRWYWx1ZSk7XG4gIH1cbn1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvcmUtY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29yZS9jb25maWcvc3JjL2Fjb3JleC1jb3JlLWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;;;AACY,MAAC,qBAAqB,GAAG;AACzB,MAAC,gBAAgB,GAAG,IAAI,cAAc,CAAC,kBAAkB,EAAE;AACvE,IAAI,UAAU,EAAE,MAAM;AACtB,IAAI,OAAO,EAAE,MAAM,qBAAqB;AACxC,CAAC;;ACDM,MAAM,eAAe,CAAC;AAC7B,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AACxC;AACA,IAAI,GAAG,CAAC,GAAG,EAAE,YAAY,EAAE;AAC3B,QAAQ,MAAM,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC;AACtD,QAAQ,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC;AACpC,QAAQ,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AACpE,QAAQ,MAAM,aAAa,GAAG,GAAG,CAAC,EAAE,EAAE,SAAS,CAAC;AAChD,QAAQ,MAAM,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC;AACnD,QAAQ,OAAO,GAAG,CAAC,EAAE,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,YAAY,CAAC;AAC7D;AACA,IAAI,SAAS,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,UAAU,EAAE,CAAC,CAAC;AAClL,IAAI,SAAS,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,qBAAqB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC;AACzJ;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC;AACzH,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE;AACzC,SAAS,CAAC,EAAE,CAAC;;ACtBb;AACA;AACA;;;;"}
@@ -280,10 +280,41 @@ class AXDateTime {
280
280
  case 'second':
281
281
  p = this.compare(val, 'minute');
282
282
  return p == 0 ? func(this.second, val.second) : p;
283
+ case 'ms':
283
284
  default:
284
285
  return func(this.date.getTime(), val.date.getTime());
285
286
  }
286
287
  }
288
+ /**
289
+ * Checks if the current date is after the provided date.
290
+ * @param value The date to compare against.
291
+ * @param unit The unit of measurement for comparison (e.g., 'day', 'hour'). Defaults to 'ms' for precise comparison.
292
+ * @returns `true` if the current date is after the provided date, otherwise `false`.
293
+ */
294
+ isAfter(value, unit = 'ms') {
295
+ // A date is "after" if the comparison result is 1.
296
+ return this.compare(value, unit) === 1;
297
+ }
298
+ /**
299
+ * Checks if the current date is before the provided date.
300
+ * @param value The date to compare against.
301
+ * @param unit The unit of measurement for comparison (e.g., 'day', 'hour'). Defaults to 'ms' for precise comparison.
302
+ * @returns `true` if the current date is before the provided date, otherwise `false`.
303
+ */
304
+ isBefore(value, unit = 'ms') {
305
+ // A date is "before" if the comparison result is -1.
306
+ return this.compare(value, unit) === -1;
307
+ }
308
+ /**
309
+ * Checks if the current date is the same as the provided date, up to a specified unit.
310
+ * @param value The date to compare against.
311
+ * @param unit The unit of measurement for comparison (e.g., 'day', 'hour'). Defaults to 'ms' for precise comparison.
312
+ * @returns `true` if the dates are the same for the given unit, otherwise `false`.
313
+ */
314
+ isSame(value, unit = 'ms') {
315
+ // Dates are "the same" if the comparison result is 0.
316
+ return this.compare(value, unit) === 0;
317
+ }
287
318
  }
288
319
  class AXCalendarMonth {
289
320
  get range() {
@@ -380,13 +411,11 @@ class AXDateTimeRange {
380
411
  result.years = 0;
381
412
  return result;
382
413
  }
383
- enumurate(unit = 'day', amount = 1) {
414
+ enumerate(unit = 'day', amount = 1) {
384
415
  const result = [];
385
416
  let item = this._startTime.clone();
386
- while (item.compare(this._endTime, unit) < 1) {
387
- if (!result.some((c) => c.equal(item, unit))) {
388
- result.push(item);
389
- }
417
+ while (item.compare(this._endTime, unit) <= 0) {
418
+ result.push(item);
390
419
  item = item.add(unit, amount);
391
420
  }
392
421
  return result;
@@ -411,7 +440,7 @@ class AXGregorianCalendar extends AXCalendar {
411
440
  }
412
441
  dayOfYear(date) {
413
442
  let result = 0;
414
- let m = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
443
+ const m = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
415
444
  if (this.isLeap(date)) {
416
445
  m[1] = 29;
417
446
  }
@@ -537,10 +566,10 @@ class AXGregorianCalendar extends AXCalendar {
537
566
  clone.setHours(0, 0, 0, 0);
538
567
  return new AXDateTime(clone, this);
539
568
  case 'week': {
540
- const start = 1; // Week starts on Monday
541
- const day = clone.getDay();
542
- const diff = clone.getDate() - day + (day == 0 ? -6 : start - day);
543
- clone.setDate(diff);
569
+ const currentDayOfWeek_0based = this.dayOfWeek(clone) - 1;
570
+ const firstDayOfWeek_0based = this.weekdays[0];
571
+ const daysToSubtract = (currentDayOfWeek_0based - firstDayOfWeek_0based + 7) % 7;
572
+ clone.setDate(clone.getDate() - daysToSubtract);
544
573
  clone.setHours(0, 0, 0, 0);
545
574
  return new AXDateTime(clone, this);
546
575
  }
@@ -582,7 +611,7 @@ class AXGregorianCalendar extends AXCalendar {
582
611
  }
583
612
  }
584
613
  isLeap(date) {
585
- let leapYear = new Date(date.getFullYear(), 1, 29);
614
+ const leapYear = new Date(date.getFullYear(), 1, 29);
586
615
  return leapYear.getDate() == 29;
587
616
  }
588
617
  parse(value) {
@@ -659,7 +688,7 @@ class AXSolarHijriCalendar extends AXCalendar {
659
688
  // value = v.valueOf();
660
689
  // break;
661
690
  let jd = this.dayOfMonth(date);
662
- let jm = this.monthOfYear(date);
691
+ const jm = this.monthOfYear(date);
663
692
  let jy = this.year(date);
664
693
  let newMonth = jm + amount;
665
694
  let yearsToAdd = Math.floor(newMonth / 12);
@@ -687,9 +716,9 @@ class AXSolarHijriCalendar extends AXCalendar {
687
716
  break;
688
717
  case 'year': {
689
718
  const v = new Date(value);
690
- let jd = this.dayOfMonth(date);
691
- let jm = this.monthOfYear(date);
692
- let jy = this.year(date);
719
+ const jd = this.dayOfMonth(date);
720
+ const jm = this.monthOfYear(date);
721
+ const jy = this.year(date);
693
722
  const vv = this.toGregorian(jy + amount, jm, jd);
694
723
  v.setFullYear(vv.getFullYear());
695
724
  v.setMonth(vv.getMonth());
@@ -867,7 +896,13 @@ class AXSolarHijriCalendar extends AXCalendar {
867
896
  @returns number of years since the last leap year (0 to 4)
868
897
  */
869
898
  jalCalLeap(jy) {
870
- let bl = this.breaks.length, jp = this.breaks[0], jm, jump, leap, n, i;
899
+ const bl = this.breaks.length;
900
+ let jp = this.breaks[0];
901
+ let jm;
902
+ let jump;
903
+ let leap;
904
+ let n;
905
+ let i;
871
906
  if (jy < jp || jy >= this.breaks[bl - 1])
872
907
  throw new Error('Invalid SolarHijri year ' + jy);
873
908
  for (i = 1; i < bl; i += 1) {
@@ -887,7 +922,15 @@ class AXSolarHijriCalendar extends AXCalendar {
887
922
  return leap;
888
923
  }
889
924
  jalCal(jy, withoutLeap) {
890
- let bl = this.breaks.length, gy = jy + 621, leapJ = -14, jp = this.breaks[0], jm, jump, leap, leapG, march, n, i;
925
+ const bl = this.breaks.length;
926
+ const gy = jy + 621;
927
+ let leapJ = -14;
928
+ let jp = this.breaks[0];
929
+ let jm;
930
+ let jump;
931
+ let leap;
932
+ let n;
933
+ let i;
891
934
  if (jy < jp || jy >= this.breaks[bl - 1])
892
935
  throw new Error('Invalid SolarHijri year ' + jy);
893
936
  // Find the limiting years for the SolarHijri year jy.
@@ -906,9 +949,9 @@ class AXSolarHijriCalendar extends AXCalendar {
906
949
  if (this.mod(jump, 33) === 4 && jump - n === 4)
907
950
  leapJ += 1;
908
951
  // And the same in the Gregorian calendar (until the year gy).
909
- leapG = this.div(gy, 4) - this.div((this.div(gy, 100) + 1) * 3, 4) - 150;
952
+ const leapG = this.div(gy, 4) - this.div((this.div(gy, 100) + 1) * 3, 4) - 150;
910
953
  // Determine the Gregorian date of Farvardin the 1st.
911
- march = 20 + leapJ - leapG;
954
+ const march = 20 + leapJ - leapG;
912
955
  // return with gy and march when we don't need leap
913
956
  if (withoutLeap)
914
957
  return { gy: gy, march: march };
@@ -926,12 +969,17 @@ class AXSolarHijriCalendar extends AXCalendar {
926
969
  };
927
970
  }
928
971
  j2d(jy, jm, jd) {
929
- let r = this.jalCal(jy, true);
972
+ const r = this.jalCal(jy, true);
930
973
  return this.g2d(r.gy, 3, r.march) + (jm - 1) * 31 - this.div(jm, 7) * (jm - 7) + jd - 1;
931
974
  }
932
975
  d2j(jdn) {
933
- let gy = this.d2g(jdn).gy, // Calculate Gregorian year (gy).
934
- jy = gy - 621, r = this.jalCal(jy, false), jdn1f = this.g2d(gy, 3, r.march), jd, jm, k;
976
+ const gy = this.d2g(jdn).gy; // Calculate Gregorian year (gy).
977
+ let jy = gy - 621;
978
+ const r = this.jalCal(jy, false);
979
+ const jdn1f = this.g2d(gy, 3, r.march);
980
+ let jd;
981
+ let jm;
982
+ let k;
935
983
  // Find number of days that passed since 1 Farvardin.
936
984
  k = jdn - jdn1f;
937
985
  if (k >= 0) {
@@ -974,13 +1022,12 @@ class AXSolarHijriCalendar extends AXCalendar {
974
1022
  return d;
975
1023
  }
976
1024
  d2g(jdn) {
977
- let j, i, gd, gm, gy;
978
- j = 4 * jdn + 139361631;
979
- j = j + this.div(this.div(4 * jdn + 183187720, 146097) * 3, 4) * 4 - 3908;
980
- i = this.div(this.mod(j, 1461), 4) * 5 + 308;
981
- gd = this.div(this.mod(i, 153), 5) + 1;
982
- gm = this.mod(this.div(i, 153), 12) + 1;
983
- gy = this.div(j, 1461) - 100100 + this.div(8 - gm, 6);
1025
+ let j = 4 * jdn + 139361631;
1026
+ j = 4 * jdn + 139361631 + this.div(this.div(4 * jdn + 183187720, 146097) * 3, 4) * 4 - 3908;
1027
+ const i = this.div(this.mod(j, 1461), 4) * 5 + 308;
1028
+ const gd = this.div(this.mod(i, 153), 5) + 1;
1029
+ const gm = this.mod(this.div(i, 153), 12) + 1;
1030
+ const gy = this.div(j, 1461) - 100100 + this.div(8 - gm, 6);
984
1031
  return {
985
1032
  gy: gy,
986
1033
  gm: gm,
@@ -988,16 +1035,16 @@ class AXSolarHijriCalendar extends AXCalendar {
988
1035
  };
989
1036
  }
990
1037
  SolarHijriWeek(jy, jm, jd) {
991
- let dayOfWeek = this.SolarHijriToDateObject(jy, jm, jd, 0, 0, 0, 0).getDay();
992
- let startDayDifference = dayOfWeek == 6 ? 0 : -(dayOfWeek + 1);
993
- let endDayDifference = 6 + startDayDifference;
1038
+ const dayOfWeek = this.SolarHijriToDateObject(jy, jm, jd, 0, 0, 0, 0).getDay();
1039
+ const startDayDifference = dayOfWeek == 6 ? 0 : -(dayOfWeek + 1);
1040
+ const endDayDifference = 6 + startDayDifference;
994
1041
  return {
995
1042
  saturday: this.d2j(this.j2d(jy, jm, jd + startDayDifference)),
996
1043
  friday: this.d2j(this.j2d(jy, jm, jd + endDayDifference)),
997
1044
  };
998
1045
  }
999
1046
  SolarHijriToDateObject(jy, jm, jd, h = 0, m = 0, s = 0, ms = 0) {
1000
- let gregorianCalenderDate = this.toGregorian(jy, jm, jd);
1047
+ const gregorianCalenderDate = this.toGregorian(jy, jm, jd);
1001
1048
  return new Date(gregorianCalenderDate.getFullYear(), gregorianCalenderDate.getMonth() - 1, gregorianCalenderDate.getDate(), h || 0, m || 0, s || 0, ms || 0);
1002
1049
  }
1003
1050
  /*
@@ -1192,10 +1239,10 @@ class AXCalendarService {
1192
1239
  calendar: calendar.name(),
1193
1240
  });
1194
1241
  }
1195
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1196
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXCalendarService, providedIn: 'root' }); }
1242
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1243
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXCalendarService, providedIn: 'root' }); }
1197
1244
  }
1198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXCalendarService, decorators: [{
1245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXCalendarService, decorators: [{
1199
1246
  type: Injectable,
1200
1247
  args: [{ providedIn: 'root' }]
1201
1248
  }], ctorParameters: () => [] });
@@ -1219,10 +1266,10 @@ class AXDateTimePipe {
1219
1266
  const val = this._calendarService.convert(value, calendar.name());
1220
1267
  return this.formatService.format(val, 'datetime', format);
1221
1268
  }
1222
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1223
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimePipe, isStandalone: true, name: "axDate" }); }
1269
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1270
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.2", ngImport: i0, type: AXDateTimePipe, isStandalone: true, name: "axDate" }); }
1224
1271
  }
1225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimePipe, decorators: [{
1272
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXDateTimePipe, decorators: [{
1226
1273
  type: Pipe,
1227
1274
  args: [{ name: 'axDate' }]
1228
1275
  }] });
@@ -1267,10 +1314,10 @@ class AXDateFormatter {
1267
1314
  .convert(value, effectiveOptions.calendar)
1268
1315
  .format(format, { locale: effectiveOptions.locale });
1269
1316
  }
1270
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1271
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateFormatter }); }
1317
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXDateFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1318
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXDateFormatter }); }
1272
1319
  }
1273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateFormatter, decorators: [{
1320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXDateFormatter, decorators: [{
1274
1321
  type: Injectable
1275
1322
  }] });
1276
1323
 
@@ -1324,10 +1371,10 @@ class AXDateTimeFormatter {
1324
1371
  .convert(value, effectiveOptions.calendar)
1325
1372
  .format(format, { locale: effectiveOptions.locale });
1326
1373
  }
1327
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1328
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeFormatter }); }
1374
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXDateTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1375
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXDateTimeFormatter }); }
1329
1376
  }
1330
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeFormatter, decorators: [{
1377
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXDateTimeFormatter, decorators: [{
1331
1378
  type: Injectable
1332
1379
  }] });
1333
1380
 
@@ -1434,10 +1481,10 @@ class AXTimeDurationFormatter {
1434
1481
  return result.join(' : ');
1435
1482
  }
1436
1483
  }
1437
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeDurationFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1438
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeDurationFormatter }); }
1484
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXTimeDurationFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1485
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXTimeDurationFormatter }); }
1439
1486
  }
1440
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeDurationFormatter, decorators: [{
1487
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXTimeDurationFormatter, decorators: [{
1441
1488
  type: Injectable
1442
1489
  }] });
1443
1490
 
@@ -1481,10 +1528,10 @@ class AXTimeFormatter {
1481
1528
  .convert(value, effectiveOptions.calendar)
1482
1529
  .format(format, { locale: effectiveOptions.locale });
1483
1530
  }
1484
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1485
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeFormatter }); }
1531
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXTimeFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1532
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXTimeFormatter }); }
1486
1533
  }
1487
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeFormatter, decorators: [{
1534
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXTimeFormatter, decorators: [{
1488
1535
  type: Injectable
1489
1536
  }] });
1490
1537
 
@@ -1585,21 +1632,21 @@ class AXTimeLeftFormatter {
1585
1632
  return 'Invalid format';
1586
1633
  }
1587
1634
  }
1588
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeLeftFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1589
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeLeftFormatter }); }
1635
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXTimeLeftFormatter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1636
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXTimeLeftFormatter }); }
1590
1637
  }
1591
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXTimeLeftFormatter, decorators: [{
1638
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXTimeLeftFormatter, decorators: [{
1592
1639
  type: Injectable
1593
1640
  }] });
1594
1641
 
1595
1642
  class AXDateTimeModule {
1596
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1597
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeModule, imports: [i1.AXFormatModule, AXDateTimePipe], exports: [AXDateTimePipe] }); }
1598
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeModule, imports: [AXFormatModule.forChild({
1643
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1644
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.2", ngImport: i0, type: AXDateTimeModule, imports: [i1.AXFormatModule, AXDateTimePipe], exports: [AXDateTimePipe] }); }
1645
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXDateTimeModule, imports: [AXFormatModule.forChild({
1599
1646
  formatters: [AXDateTimeFormatter, AXDateFormatter, AXTimeFormatter, AXTimeLeftFormatter, AXTimeDurationFormatter],
1600
1647
  })] }); }
1601
1648
  }
1602
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: AXDateTimeModule, decorators: [{
1649
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: AXDateTimeModule, decorators: [{
1603
1650
  type: NgModule,
1604
1651
  args: [{
1605
1652
  imports: [