@acorex/core 5.0.13 → 5.0.14

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 (32) hide show
  1. package/{esm2015/acorex-core.js → esm2020/acorex-core.mjs} +0 -0
  2. package/{esm2015/lib/config/configs.js → esm2020/lib/config/configs.mjs} +0 -0
  3. package/{esm2015/lib/core.module.js → esm2020/lib/core.module.mjs} +4 -4
  4. package/{esm2015/lib/dateTime/datetime.class.js → esm2020/lib/dateTime/datetime.class.mjs} +0 -0
  5. package/{esm2015/lib/dateTime/datetime.module.js → esm2020/lib/dateTime/datetime.module.mjs} +4 -4
  6. package/{esm2015/lib/dateTime/datetime.pipe.js → esm2020/lib/dateTime/datetime.pipe.mjs} +3 -3
  7. package/{esm2015/lib/dateTime/georgian.calendar.js → esm2020/lib/dateTime/georgian.calendar.mjs} +0 -0
  8. package/{esm2015/lib/dateTime/index.js → esm2020/lib/dateTime/index.mjs} +0 -0
  9. package/{esm2015/lib/dateTime/jalali.calendar.js → esm2020/lib/dateTime/jalali.calendar.mjs} +0 -0
  10. package/esm2020/lib/hotkeys/hotkeys.service.mjs +37 -0
  11. package/{esm2015/lib/hotkeys/index.js → esm2020/lib/hotkeys/index.mjs} +0 -0
  12. package/{esm2015/lib/platform/index.js → esm2020/lib/platform/index.mjs} +0 -0
  13. package/{esm2015/lib/platform/platform.service.js → esm2020/lib/platform/platform.service.mjs} +3 -3
  14. package/{esm2015/lib/translation/index.js → esm2020/lib/translation/index.mjs} +0 -0
  15. package/{esm2015/lib/translation/translation.module.js → esm2020/lib/translation/translation.module.mjs} +4 -4
  16. package/{esm2015/lib/translation/translator.js → esm2020/lib/translation/translator.mjs} +0 -0
  17. package/{esm2015/lib/translation/translator.pipe.js → esm2020/lib/translation/translator.pipe.mjs} +3 -3
  18. package/{esm2015/lib/utils/drawing-util.js → esm2020/lib/utils/drawing-util.mjs} +0 -0
  19. package/{esm2015/lib/utils/index.js → esm2020/lib/utils/index.mjs} +0 -0
  20. package/{esm2015/lib/utils/object-util.js → esm2020/lib/utils/object-util.mjs} +0 -0
  21. package/{esm2015/lib/utils/safe.pipe.js → esm2020/lib/utils/safe.pipe.mjs} +3 -3
  22. package/{esm2015/lib/utils/string-util.js → esm2020/lib/utils/string-util.mjs} +0 -0
  23. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  24. package/fesm2015/acorex-core.mjs +1221 -0
  25. package/fesm2015/acorex-core.mjs.map +1 -0
  26. package/{fesm2015/acorex-core.js → fesm2020/acorex-core.mjs} +29 -29
  27. package/fesm2020/acorex-core.mjs.map +1 -0
  28. package/package.json +19 -6
  29. package/bundles/acorex-core.umd.js +0 -1390
  30. package/bundles/acorex-core.umd.js.map +0 -1
  31. package/esm2015/lib/hotkeys/hotkeys.service.js +0 -37
  32. package/fesm2015/acorex-core.js.map +0 -1
@@ -3,10 +3,10 @@ import { AXSafePipe } from "./utils";
3
3
  import * as i0 from "@angular/core";
4
4
  export class AXCoreModule {
5
5
  }
6
- AXCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
- AXCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCoreModule, declarations: [AXSafePipe], exports: [AXSafePipe] });
8
- AXCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCoreModule, providers: [], imports: [[]] });
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXCoreModule, decorators: [{
6
+ AXCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
+ AXCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCoreModule, declarations: [AXSafePipe], exports: [AXSafePipe] });
8
+ AXCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCoreModule, providers: [], imports: [[]] });
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXCoreModule, decorators: [{
10
10
  type: NgModule,
11
11
  args: [{
12
12
  imports: [],
@@ -16,10 +16,10 @@ export class AXDateTimeModule {
16
16
  });
17
17
  }
18
18
  }
19
- AXDateTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
- AXDateTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDateTimeModule, declarations: [AXDateTimePipe], exports: [AXDateTimePipe] });
21
- AXDateTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDateTimeModule, providers: [], imports: [[]] });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDateTimeModule, decorators: [{
19
+ AXDateTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
+ AXDateTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDateTimeModule, declarations: [AXDateTimePipe], exports: [AXDateTimePipe] });
21
+ AXDateTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDateTimeModule, providers: [], imports: [[]] });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDateTimeModule, decorators: [{
23
23
  type: NgModule,
24
24
  args: [{
25
25
  imports: [],
@@ -16,9 +16,9 @@ export class AXDateTimePipe {
16
16
  }
17
17
  }
18
18
  }
19
- AXDateTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
20
- AXDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDateTimePipe, name: "axDate" });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXDateTimePipe, decorators: [{
19
+ AXDateTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
20
+ AXDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDateTimePipe, name: "axDate" });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXDateTimePipe, decorators: [{
22
22
  type: Pipe,
23
23
  args: [{ name: 'axDate' }]
24
24
  }], ctorParameters: function () { return []; } });
@@ -0,0 +1,37 @@
1
+ import { DOCUMENT } from "@angular/common";
2
+ import { Inject, Injectable } from "@angular/core";
3
+ import { Observable } from "rxjs/internal/Observable";
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/platform-browser";
6
+ export class AXHotkeysService {
7
+ constructor(eventManager, document) {
8
+ this.eventManager = eventManager;
9
+ this.document = document;
10
+ this.defaults = {
11
+ element: this.document
12
+ };
13
+ }
14
+ addShortcut(options) {
15
+ const merged = { ...this.defaults, ...options };
16
+ const event = `keydown.${merged.keys}`;
17
+ return new Observable(observer => {
18
+ const handler = (e) => {
19
+ e.preventDefault();
20
+ observer.next(e);
21
+ };
22
+ const dispose = this.eventManager.addEventListener(merged.element, event, handler);
23
+ return () => {
24
+ dispose();
25
+ };
26
+ });
27
+ }
28
+ }
29
+ AXHotkeysService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXHotkeysService, deps: [{ token: i1.EventManager }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
30
+ AXHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXHotkeysService });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXHotkeysService, decorators: [{
32
+ type: Injectable
33
+ }], ctorParameters: function () { return [{ type: i1.EventManager }, { type: Document, decorators: [{
34
+ type: Inject,
35
+ args: [DOCUMENT]
36
+ }] }]; } });
37
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG90a2V5cy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvcmUvc3JjL2xpYi9ob3RrZXlzL2hvdGtleXMuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDM0MsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFbkQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLDBCQUEwQixDQUFDOzs7QUFRdEQsTUFBTSxPQUFPLGdCQUFnQjtJQUt6QixZQUFvQixZQUEwQixFQUNoQixRQUFrQjtRQUQ1QixpQkFBWSxHQUFaLFlBQVksQ0F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O1xyXG4gICAgICAgICAgICB9O1xyXG5cclxuICAgICAgICAgICAgY29uc3QgZGlzcG9zZSA9IHRoaXMuZXZlbnRNYW5hZ2VyLmFkZEV2ZW50TGlzdGVuZXIoXHJcbiAgICAgICAgICAgICAgICBtZXJnZWQuZWxlbWVudCwgZXZlbnQsIGhhbmRsZXJcclxuICAgICAgICAgICAgKTtcclxuXHJcbiAgICAgICAgICAgIHJldHVybiAoKSA9PiB7XHJcbiAgICAgICAgICAgICAgICBkaXNwb3NlKCk7XHJcbiAgICAgICAgICAgIH07XHJcbiAgICAgICAgfSlcclxuICAgIH1cclxufSJdfQ==
@@ -116,9 +116,9 @@ export class AXPlatform {
116
116
  _html.classList.remove('ax-dark');
117
117
  }
118
118
  }
119
- AXPlatform.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPlatform, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
120
- AXPlatform.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPlatform, providedIn: 'platform' });
121
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXPlatform, decorators: [{
119
+ AXPlatform.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPlatform, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
120
+ AXPlatform.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPlatform, providedIn: 'platform' });
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXPlatform, decorators: [{
122
122
  type: Injectable,
123
123
  args: [{
124
124
  providedIn: 'platform',
@@ -3,10 +3,10 @@ import { AXTranslatorPipe } from './translator.pipe';
3
3
  import * as i0 from "@angular/core";
4
4
  export class AXTranslationModule {
5
5
  }
6
- AXTranslationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTranslationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
- AXTranslationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTranslationModule, declarations: [AXTranslatorPipe], exports: [AXTranslatorPipe] });
8
- AXTranslationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTranslationModule, providers: [], imports: [[]] });
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTranslationModule, decorators: [{
6
+ AXTranslationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTranslationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
+ AXTranslationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTranslationModule, declarations: [AXTranslatorPipe], exports: [AXTranslatorPipe] });
8
+ AXTranslationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTranslationModule, providers: [], imports: [[]] });
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTranslationModule, decorators: [{
10
10
  type: NgModule,
11
11
  args: [{
12
12
  imports: [],
@@ -6,9 +6,9 @@ export class AXTranslatorPipe {
6
6
  return AXTranslator.get(value, lang);
7
7
  }
8
8
  }
9
- AXTranslatorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTranslatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
10
- AXTranslatorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTranslatorPipe, name: "trans" });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXTranslatorPipe, decorators: [{
9
+ AXTranslatorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTranslatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
10
+ AXTranslatorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTranslatorPipe, name: "trans" });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXTranslatorPipe, decorators: [{
12
12
  type: Pipe,
13
13
  args: [{ name: 'trans', pure: true }]
14
14
  }] });
@@ -18,9 +18,9 @@ export class AXSafePipe {
18
18
  }
19
19
  }
20
20
  }
21
- AXSafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSafePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
22
- AXSafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSafePipe, name: "safe" });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: AXSafePipe, decorators: [{
21
+ AXSafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSafePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
22
+ AXSafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSafePipe, name: "safe" });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AXSafePipe, decorators: [{
24
24
  type: Pipe,
25
25
  args: [{
26
26
  name: 'safe',