@anglr/common 17.0.0-beta.20230814105451 → 17.0.0-beta.20230815112307

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 (106) hide show
  1. package/changelog.md +54 -2
  2. package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js +15 -2
  3. package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
  4. package/es2022/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +1 -1
  5. package/es2022/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -1
  6. package/es2022/src/{modules/clickOutside/directives → directives}/clickOutside/clickOutside.directive.js +29 -22
  7. package/es2022/src/directives/clickOutside/clickOutside.directive.js.map +1 -0
  8. package/es2022/src/{modules/goBack/directives → directives}/goBack/goBack.directive.js +7 -6
  9. package/es2022/src/directives/goBack/goBack.directive.js.map +1 -0
  10. package/es2022/src/{modules/position/directives → directives}/positionTo/positionTo.directive.js +9 -8
  11. package/es2022/src/directives/positionTo/positionTo.directive.js.map +1 -0
  12. package/es2022/src/index.js +3 -4
  13. package/es2022/src/index.js.map +1 -1
  14. package/es2022/src/modules/commonUtils.module.js +21 -21
  15. package/es2022/src/modules/commonUtils.module.js.map +1 -1
  16. package/es2022/src/pipes/isNaN/isNaN.pipe.js +7 -6
  17. package/es2022/src/pipes/isNaN/isNaN.pipe.js.map +1 -1
  18. package/es2022/src/pipes/isPresent/isPresent.pipe.js +7 -6
  19. package/es2022/src/pipes/isPresent/isPresent.pipe.js.map +1 -1
  20. package/es2022/src/pipes/keys/keys.pipe.js +6 -6
  21. package/es2022/src/pipes/keys/keys.pipe.js.map +1 -1
  22. package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +6 -6
  23. package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js.map +1 -1
  24. package/es2022/src/pipes/urlEncode/urlEncode.pipe.js +6 -6
  25. package/es2022/src/pipes/urlEncode/urlEncode.pipe.js.map +1 -1
  26. package/es2022/src/services/notifications/defaultNotifications.service.js +12 -12
  27. package/es2022/src/services/notifications/defaultNotifications.service.js.map +1 -1
  28. package/es2022/src/services/notifications/notifications.interface.js +10 -1
  29. package/es2022/src/services/notifications/notifications.interface.js.map +1 -1
  30. package/es2022/src/services/stringLocalization/noStringLocalization.service.js +2 -4
  31. package/es2022/src/services/stringLocalization/noStringLocalization.service.js.map +1 -1
  32. package/es2022/structured-log/src/components/console/console.component.js +2 -2
  33. package/es2022/structured-log/src/components/console/console.component.js.map +1 -1
  34. package/floating-ui/src/services/floatingUiDomPosition.service.d.ts +3 -4
  35. package/floating-ui/src/services/floatingUiDomPosition.service.d.ts.map +1 -1
  36. package/package.json +3 -3
  37. package/src/directives/clickOutside/clickOutside.directive.d.ts +48 -0
  38. package/src/directives/clickOutside/clickOutside.directive.d.ts.map +1 -0
  39. package/src/{modules/goBack/directives → directives}/goBack/goBack.directive.d.ts +3 -3
  40. package/src/directives/goBack/goBack.directive.d.ts.map +1 -0
  41. package/src/{modules/position/directives → directives}/positionTo/positionTo.directive.d.ts +4 -4
  42. package/src/{modules/position/directives → directives}/positionTo/positionTo.directive.d.ts.map +1 -1
  43. package/src/index.d.ts +3 -4
  44. package/src/index.d.ts.map +1 -1
  45. package/src/modules/commonUtils.module.d.ts +1 -1
  46. package/src/pipes/isNaN/isNaN.pipe.d.ts +3 -3
  47. package/src/pipes/isNaN/isNaN.pipe.d.ts.map +1 -1
  48. package/src/pipes/isPresent/isPresent.pipe.d.ts +4 -4
  49. package/src/pipes/isPresent/isPresent.pipe.d.ts.map +1 -1
  50. package/src/pipes/keys/keys.pipe.d.ts +3 -3
  51. package/src/pipes/keys/keys.pipe.d.ts.map +1 -1
  52. package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts +3 -3
  53. package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts.map +1 -1
  54. package/src/pipes/urlEncode/urlEncode.pipe.d.ts +3 -3
  55. package/src/pipes/urlEncode/urlEncode.pipe.d.ts.map +1 -1
  56. package/src/services/notifications/defaultNotifications.service.d.ts +6 -6
  57. package/src/services/notifications/defaultNotifications.service.d.ts.map +1 -1
  58. package/src/services/notifications/notifications.interface.d.ts +19 -7
  59. package/src/services/notifications/notifications.interface.d.ts.map +1 -1
  60. package/src/services/stringLocalization/noStringLocalization.service.d.ts +1 -2
  61. package/src/services/stringLocalization/noStringLocalization.service.d.ts.map +1 -1
  62. package/structured-log/src/components/console/console.component.d.ts.map +1 -1
  63. package/structured-log/src/components/console/console.component.html +1 -1
  64. package/version.bak +1 -1
  65. package/es2022/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +0 -1
  66. package/es2022/src/modules/clickOutside/modules/clickOutside.module.js +0 -25
  67. package/es2022/src/modules/clickOutside/modules/clickOutside.module.js.map +0 -1
  68. package/es2022/src/modules/goBack/directives/goBack/goBack.directive.js.map +0 -1
  69. package/es2022/src/modules/goBack/directives/index.js +0 -2
  70. package/es2022/src/modules/goBack/directives/index.js.map +0 -1
  71. package/es2022/src/modules/goBack/index.js +0 -3
  72. package/es2022/src/modules/goBack/index.js.map +0 -1
  73. package/es2022/src/modules/goBack/modules/goBack.module.js +0 -24
  74. package/es2022/src/modules/goBack/modules/goBack.module.js.map +0 -1
  75. package/es2022/src/modules/goBack/modules/index.js +0 -2
  76. package/es2022/src/modules/goBack/modules/index.js.map +0 -1
  77. package/es2022/src/modules/position/directives/index.js +0 -2
  78. package/es2022/src/modules/position/directives/index.js.map +0 -1
  79. package/es2022/src/modules/position/directives/positionTo/positionTo.directive.js.map +0 -1
  80. package/es2022/src/modules/position/index.js +0 -3
  81. package/es2022/src/modules/position/index.js.map +0 -1
  82. package/es2022/src/modules/position/modules/index.js +0 -2
  83. package/es2022/src/modules/position/modules/index.js.map +0 -1
  84. package/es2022/src/modules/position/modules/position.module.js +0 -25
  85. package/es2022/src/modules/position/modules/position.module.js.map +0 -1
  86. package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts +0 -47
  87. package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts.map +0 -1
  88. package/src/modules/clickOutside/modules/clickOutside.module.d.ts +0 -11
  89. package/src/modules/clickOutside/modules/clickOutside.module.d.ts.map +0 -1
  90. package/src/modules/goBack/directives/goBack/goBack.directive.d.ts.map +0 -1
  91. package/src/modules/goBack/directives/index.d.ts +0 -2
  92. package/src/modules/goBack/directives/index.d.ts.map +0 -1
  93. package/src/modules/goBack/index.d.ts +0 -3
  94. package/src/modules/goBack/index.d.ts.map +0 -1
  95. package/src/modules/goBack/modules/goBack.module.d.ts +0 -11
  96. package/src/modules/goBack/modules/goBack.module.d.ts.map +0 -1
  97. package/src/modules/goBack/modules/index.d.ts +0 -2
  98. package/src/modules/goBack/modules/index.d.ts.map +0 -1
  99. package/src/modules/position/directives/index.d.ts +0 -2
  100. package/src/modules/position/directives/index.d.ts.map +0 -1
  101. package/src/modules/position/index.d.ts +0 -3
  102. package/src/modules/position/index.d.ts.map +0 -1
  103. package/src/modules/position/modules/index.d.ts +0 -2
  104. package/src/modules/position/modules/index.d.ts.map +0 -1
  105. package/src/modules/position/modules/position.module.d.ts +0 -11
  106. package/src/modules/position/modules/position.module.d.ts.map +0 -1
@@ -0,0 +1,48 @@
1
+ import { OnInit, OnDestroy, EventEmitter, ElementRef, NgZone } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Directive that handles click outside of element
5
+ */
6
+ export declare class ClickOutsideSADirective implements OnInit, OnDestroy {
7
+ protected element: ElementRef<HTMLElement>;
8
+ protected document: Document;
9
+ protected ngZone: NgZone;
10
+ /**
11
+ * Variable that is used for displaying element that handles click outside
12
+ */
13
+ protected ɵclickOutsideCondition: boolean;
14
+ /**
15
+ * Variable that is used for displaying element that handles click outside
16
+ */
17
+ get clickOutsideCondition(): boolean;
18
+ set clickOutsideCondition(value: boolean);
19
+ /**
20
+ * Additional element that is checked for click
21
+ */
22
+ clickOutsideElement: HTMLElement | undefined | null;
23
+ /**
24
+ * Used for emitting event when click outside occurs
25
+ */
26
+ clickOutsideConditionChange: EventEmitter<boolean>;
27
+ constructor(element: ElementRef<HTMLElement>, document: Document, ngZone: NgZone);
28
+ /**
29
+ * Initialize component
30
+ */
31
+ ngOnInit(): void;
32
+ /**
33
+ * Called when component is destroyed
34
+ */
35
+ ngOnDestroy(): void;
36
+ /**
37
+ * Handles click outside of element
38
+ * @param event - Mouse event object
39
+ */
40
+ protected handleClickOutside: (event: MouseEvent) => void;
41
+ /**
42
+ * Custom input type for `clickOutsideCondition` input
43
+ */
44
+ static ngAcceptInputType_clickOutsideCondition: boolean | '';
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideSADirective, never>;
46
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideSADirective, "[clickOutside]", never, { "clickOutsideCondition": { "alias": "clickOutside"; "required": false; }; "clickOutsideElement": { "alias": "clickOutsideElement"; "required": false; }; }, { "clickOutsideConditionChange": "clickOutsideChange"; }, never, never, true, never>;
47
+ }
48
+ //# sourceMappingURL=clickOutside.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clickOutside.directive.d.ts","sourceRoot":"","sources":["clickOutside.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,MAAM,EAAE,SAAS,EAAS,YAAY,EAAU,UAAU,EAAU,MAAM,EAAC,MAAM,eAAe,CAAC;;AAIpH;;GAEG;AACH,qBAKa,uBAAwB,YAAW,MAAM,EAAE,SAAS;IA8CjD,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC;IACxB,SAAS,CAAC,QAAQ,EAAE,QAAQ;IAC9C,SAAS,CAAC,MAAM,EAAE,MAAM;IA5CpC;;OAEG;IACH,SAAS,CAAC,sBAAsB,EAAE,OAAO,CAAS;IAIlD;;OAEG;IACH,IACW,qBAAqB,IAAI,OAAO,CAG1C;IACD,IAAW,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAU9C;IAED;;OAEG;IAEI,mBAAmB,EAAE,WAAW,GAAC,SAAS,GAAC,IAAI,CAAC;IAIvD;;OAEG;IAEI,2BAA2B,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;gBAGlE,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,EACd,QAAQ,EAAE,QAAQ,EACpC,MAAM,EAAE,MAAM;IAMpC;;OAEG;IACI,QAAQ,IAAI,IAAI;IAUvB;;OAEG;IACI,WAAW,IAAI,IAAI;IAU1B;;;OAGG;IACH,SAAS,CAAC,kBAAkB,UAAW,UAAU,UAUhD;IAID;;OAEG;IACH,OAAc,uCAAuC,EAAE,OAAO,GAAC,EAAE,CAAC;yCArGzD,uBAAuB;2CAAvB,uBAAuB;CAsGnC"}
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Directive that performs browser back button action on click
5
5
  */
6
- export declare class GoBackDirective {
6
+ export declare class GoBackSADirective {
7
7
  private _location;
8
8
  constructor(_location: Location);
9
9
  /**
@@ -11,7 +11,7 @@ export declare class GoBackDirective {
11
11
  * @param event - Mouse event that occured
12
12
  */
13
13
  goBack(event: MouseEvent): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<GoBackDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<GoBackDirective, "[goBack]", never, {}, {}, never, never, false, never>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoBackSADirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GoBackSADirective, "[goBack]", never, {}, {}, never, never, true, never>;
16
16
  }
17
17
  //# sourceMappingURL=goBack.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"goBack.directive.d.ts","sourceRoot":"","sources":["goBack.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;;AAEzC;;GAEG;AACH,qBAKa,iBAAiB;IAGd,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,QAAQ;IAMvC;;;OAGG;IAEI,MAAM,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;yCAd7B,iBAAiB;2CAAjB,iBAAiB;CAqB7B"}
@@ -1,11 +1,11 @@
1
1
  import { ElementRef, OnChanges, SimpleChanges, EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { Func1, NoopAction } from '@jscrpt/common';
3
- import { Position, PositionPlacement, PositionOffsetString, PositionOffsets, PositionArguments, AutoUpdateOptions } from '../../../../services/position';
3
+ import { Position, PositionPlacement, PositionOffsetString, PositionOffsets, PositionArguments, AutoUpdateOptions } from '../../services/position';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
6
  * Sets position of attached element relative to provided element
7
7
  */
8
- export declare class PositionToDirective implements OnChanges, OnDestroy {
8
+ export declare class PositionToSADirective implements OnChanges, OnDestroy {
9
9
  protected target: ElementRef<HTMLElement>;
10
10
  protected position: Position;
11
11
  /**
@@ -67,7 +67,7 @@ export declare class PositionToDirective implements OnChanges, OnDestroy {
67
67
  * Custom input type for `source` input
68
68
  */
69
69
  static ngAcceptInputType_source: HTMLElement | ElementRef<HTMLElement>;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<PositionToDirective, never>;
71
- static ɵdir: i0.ɵɵDirectiveDeclaration<PositionToDirective, "[positionTo]", never, { "source": { "alias": "positionTo"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "autoUpdate": { "alias": "autoUpdate"; "required": false; }; }, { "flip": "flip"; "done": "done"; }, never, never, false, never>;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<PositionToSADirective, never>;
71
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PositionToSADirective, "[positionTo]", never, { "source": { "alias": "positionTo"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "autoUpdate": { "alias": "autoUpdate"; "required": false; }; }, { "flip": "flip"; "done": "done"; }, never, never, true, never>;
72
72
  }
73
73
  //# sourceMappingURL=positionTo.directive.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"positionTo.directive.d.ts","sourceRoot":"","sources":["positionTo.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,SAAS,EAAE,aAAa,EAAkB,YAAY,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAC9H,OAAO,EAA8B,KAAK,EAAE,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE9E,OAAO,EAAsB,QAAQ,EAAE,iBAAiB,EAAmB,oBAAoB,EAAE,eAAe,EAAE,iBAAiB,EAAE,iBAAiB,EAAC,MAAM,+BAA+B,CAAC;;AAG7L;;GAEG;AACH,qBAIa,mBAAoB,YAAW,SAAS,EAAE,SAAS;IAwFhD,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IACvB,SAAS,CAAC,QAAQ,EAAE,QAAQ;IArF1D;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,iBAAiB,GAAC,SAAS,GAAC,IAAI,CAAC;IAEvD;;OAEG;IACH,SAAS,CAAC,OAAO,EAAE,WAAW,GAAC,SAAS,GAAC,IAAI,CAAC;IAE9C;;OAEG;IACH,SAAS,CAAC,OAAO,EAAE,UAAU,GAAC,SAAS,GAAC,IAAI,CAAC;IAI7C;;OAEG;IACH,IACW,MAAM,IAAI,WAAW,GAAC,SAAS,GAAC,IAAI,CAG9C;IACD,IAAW,MAAM,CAAC,KAAK,EAAE,WAAW,GAAC,SAAS,GAAC,IAAI,EAUlD;IAED;;OAEG;IACH,IACW,SAAS,IAAI,iBAAiB,GAAC,SAAS,GAAC,IAAI,CAGvD;IACD,IAAW,SAAS,CAAC,KAAK,EAAE,iBAAiB,GAAC,SAAS,GAAC,IAAI,EAU3D;IAED;;OAEG;IAEI,MAAM,EAAE,oBAAoB,GAAC,MAAM,GAAC,eAAe,GAAC,KAAK,CAAC,MAAM,GAAC,eAAe,EAAE,iBAAiB,CAAC,CA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ts CHANGED
@@ -5,16 +5,12 @@ export { CommonUtilsModule } from './modules/commonUtils.module';
5
5
  export { DebugDataModule } from './modules/debugData/modules/debugData.module';
6
6
  export { DebugDataComponent } from './modules/debugData/components/debugData/debugData.component';
7
7
  export { DebugDataEnabledService } from './modules/debugData/services/debugDataEnabled/debugDataEnabled.service';
8
- export { ClickOutsideDirective } from './modules/clickOutside/directives/clickOutside/clickOutside.directive';
9
- export { ClickOutsideModule } from './modules/clickOutside/modules/clickOutside.module';
10
8
  export { MultiButtonComponent } from './modules/multiButton/components/multiButton/multiButton.component';
11
9
  export { MultiButtonCssClasses } from './modules/multiButton/components/multiButton/multiButton.interface';
12
10
  export { MULTI_BUTTON_CSS_CLASSES } from './modules/multiButton/misc/tokens';
13
11
  export { MultiButtonModule } from './modules/multiButton/modules/multiButton.module';
14
12
  export * from './decorators';
15
13
  export * from './modules/castPipes';
16
- export * from './modules/goBack';
17
- export * from './modules/position';
18
14
  export * from './modules/progressIndicator';
19
15
  export * from './modules/tooltip';
20
16
  export * from './pipes';
@@ -31,6 +27,9 @@ export { MemoryTemporaryStorageService, TemporaryStorage, TemporaryStorageType }
31
27
  export { NoStringLocalizationService, StringLocalization, StringLocalizationType } from './services/stringLocalization';
32
28
  export { Logger, LoggerType } from './services/logger';
33
29
  export * from './directives/bodyRender/bodyRender.directive';
30
+ export * from './directives/clickOutside/clickOutside.directive';
31
+ export * from './directives/goBack/goBack.directive';
32
+ export * from './directives/positionTo/positionTo.directive';
34
33
  export { NgComponentOutletEx } from './directives/ngComponentOutletEx/ngComponentOutletEx.directive';
35
34
  export { APP_STABLE, extractAppStableResolve, runWhenModuleStable, runWhenAppStable } from './utils';
36
35
  export { DEFAULT_NOTIFICATIONS, DefaultNotificationsService, Notification, NotificationSeverity, Notifications, NotificationsOptions, NotificationsProvider, NotificationsScopeProvider, NotificationsScopeProviderFactory } from './services/notifications';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names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9
9
  */
10
10
  export declare class CommonUtilsModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CommonUtilsModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<CommonUtilsModule, [typeof i1.IsNaNPipe, typeof i2.IsPresentPipe, typeof i3.UrlEncodePipe, typeof i4.MergeCssClassesPipe, typeof i5.KeysPipe], never, [typeof i1.IsNaNPipe, typeof i2.IsPresentPipe, typeof i3.UrlEncodePipe, typeof i4.MergeCssClassesPipe, typeof i5.KeysPipe]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CommonUtilsModule, never, [typeof i1.IsNaNSAPipe, typeof i2.IsPresentSAPipe, typeof i3.UrlEncodeSAPipe, typeof i4.MergeCssClassesSAPipe, typeof i5.KeysSAPipe], [typeof i1.IsNaNSAPipe, typeof i2.IsPresentSAPipe, typeof i3.UrlEncodeSAPipe, typeof i4.MergeCssClassesSAPipe, typeof i5.KeysSAPipe]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<CommonUtilsModule>;
14
14
  }
15
15
  //# sourceMappingURL=commonUtils.module.d.ts.map
@@ -3,13 +3,13 @@ import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Returns true if object is NaN
5
5
  */
6
- export declare class IsNaNPipe implements PipeTransform {
6
+ export declare class IsNaNSAPipe implements PipeTransform {
7
7
  /**
8
8
  * Checks whether is value NaN
9
9
  * @param value - Value to be checked
10
10
  */
11
11
  transform(value: any): boolean;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<IsNaNPipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<IsNaNPipe, "isNaN", false>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsNaNSAPipe, never>;
13
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsNaNSAPipe, "isNaN", true>;
14
14
  }
15
15
  //# sourceMappingURL=isNaN.pipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isNaN.pipe.d.ts","sourceRoot":"","sources":["isNaN.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAElD;;GAEG;AACH,qBAIa,SAAU,YAAW,aAAa;IAI3C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO;yCAR5B,SAAS;uCAAT,SAAS;CAYrB"}
1
+ {"version":3,"file":"isNaN.pipe.d.ts","sourceRoot":"","sources":["isNaN.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAElD;;GAEG;AACH,qBAKa,WAAY,YAAW,aAAa;IAI7C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO;yCAR5B,WAAW;uCAAX,WAAW;CAYvB"}
@@ -3,13 +3,13 @@ import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Returns true if object is different from null or undefined
5
5
  */
6
- export declare class IsPresentPipe implements PipeTransform {
6
+ export declare class IsPresentSAPipe implements PipeTransform {
7
7
  /**
8
8
  * Checks whether is value different from null or undefined
9
9
  * @param value - Value to be checked
10
10
  */
11
- transform(value: any): boolean;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<IsPresentPipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<IsPresentPipe, "isPresent", false>;
11
+ transform(value: unknown): boolean;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsPresentSAPipe, never>;
13
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsPresentSAPipe, "isPresent", true>;
14
14
  }
15
15
  //# sourceMappingURL=isPresent.pipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isPresent.pipe.d.ts","sourceRoot":"","sources":["isPresent.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAGlD;;GAEG;AACH,qBAIa,aAAc,YAAW,aAAa;IAI/C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO;yCAR5B,aAAa;uCAAb,aAAa;CAYzB"}
1
+ {"version":3,"file":"isPresent.pipe.d.ts","sourceRoot":"","sources":["isPresent.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAGlD;;GAEG;AACH,qBAKa,eAAgB,YAAW,aAAa;IAIjD;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;yCARhC,eAAe;uCAAf,eAAe;CAY3B"}
@@ -4,13 +4,13 @@ import * as i0 from "@angular/core";
4
4
  /**
5
5
  * Gets object keys/property names
6
6
  */
7
- export declare class KeysPipe implements PipeTransform {
7
+ export declare class KeysSAPipe implements PipeTransform {
8
8
  /**
9
9
  * Gets object keys/property names
10
10
  * @param value - Object containing keys which will be obtained
11
11
  */
12
12
  transform(value: Dictionary<any>): string[];
13
- static ɵfac: i0.ɵɵFactoryDeclaration<KeysPipe, never>;
14
- static ɵpipe: i0.ɵɵPipeDeclaration<KeysPipe, "keys", false>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeysSAPipe, never>;
14
+ static ɵpipe: i0.ɵɵPipeDeclaration<KeysSAPipe, "keys", true>;
15
15
  }
16
16
  //# sourceMappingURL=keys.pipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keys.pipe.d.ts","sourceRoot":"","sources":["keys.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,UAAU,EAAU,MAAM,gBAAgB,CAAC;;AAEnD;;GAEG;AACH,qBACa,QAAS,YAAW,aAAa;IAE1C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,GAAG,MAAM,EAAE;yCANzC,QAAQ;uCAAR,QAAQ;CAepB"}
1
+ {"version":3,"file":"keys.pipe.d.ts","sourceRoot":"","sources":["keys.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,UAAU,EAAU,MAAM,gBAAgB,CAAC;;AAEnD;;GAEG;AACH,qBACa,UAAW,YAAW,aAAa;IAE5C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,GAAG,MAAM,EAAE;yCANzC,UAAU;uCAAV,UAAU;CAetB"}
@@ -8,14 +8,14 @@ export type NgClassType = string | string[] | Dictionary<boolean>;
8
8
  /**
9
9
  * Merges css classes that will be passed to ngClass
10
10
  */
11
- export declare class MergeCssClassesPipe implements PipeTransform {
11
+ export declare class MergeCssClassesSAPipe implements PipeTransform {
12
12
  /**
13
13
  * Merges css classes that will be passed to ngClass
14
14
  * @param value - Css class to be merged
15
15
  * @param mergeClasses - Definition of css classes that will be merged
16
16
  */
17
17
  transform(value: NgClassType, mergeClasses: NgClassType[]): Dictionary<boolean>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<MergeCssClassesPipe, never>;
19
- static ɵpipe: i0.ɵɵPipeDeclaration<MergeCssClassesPipe, "mergeCssClasses", false>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<MergeCssClassesSAPipe, never>;
19
+ static ɵpipe: i0.ɵɵPipeDeclaration<MergeCssClassesSAPipe, "mergeCssClasses", true>;
20
20
  }
21
21
  //# sourceMappingURL=mergeCssClasses.pipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mergeCssClasses.pipe.d.ts","sourceRoot":"","sources":["mergeCssClasses.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,UAAU,EAAW,MAAM,gBAAgB,CAAC;;AAEpD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;AAElE;;GAEG;AACH,qBACa,mBAAoB,YAAW,aAAa;IAErD;;;;OAIG;IACI,SAAS,CAAC,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC;yCAP7E,mBAAmB;uCAAnB,mBAAmB;CA0C/B"}
1
+ {"version":3,"file":"mergeCssClasses.pipe.d.ts","sourceRoot":"","sources":["mergeCssClasses.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,UAAU,EAAW,MAAM,gBAAgB,CAAC;;AAEpD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;AAElE;;GAEG;AACH,qBACa,qBAAsB,YAAW,aAAa;IAEvD;;;;OAIG;IACI,SAAS,CAAC,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC;yCAP7E,qBAAqB;uCAArB,qBAAqB;CA0CjC"}
@@ -3,13 +3,13 @@ import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Pipe that encodes data for url
5
5
  */
6
- export declare class UrlEncodePipe implements PipeTransform {
6
+ export declare class UrlEncodeSAPipe implements PipeTransform {
7
7
  /**
8
8
  * Encodes data for URL
9
9
  * @param value - Value to be encoded
10
10
  */
11
11
  transform(value: object): string;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<UrlEncodePipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<UrlEncodePipe, "urlEncode", false>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<UrlEncodeSAPipe, never>;
13
+ static ɵpipe: i0.ɵɵPipeDeclaration<UrlEncodeSAPipe, "urlEncode", true>;
14
14
  }
15
15
  //# sourceMappingURL=urlEncode.pipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"urlEncode.pipe.d.ts","sourceRoot":"","sources":["urlEncode.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAGlD;;GAEG;AACH,qBACa,aAAc,YAAW,aAAa;IAI/C;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;yCAR9B,aAAa;uCAAb,aAAa;CAiBzB"}
1
+ {"version":3,"file":"urlEncode.pipe.d.ts","sourceRoot":"","sources":["urlEncode.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAGlD;;GAEG;AACH,qBACa,eAAgB,YAAW,aAAa;IAIjD;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;yCAR9B,eAAe;uCAAf,eAAe;CAiB3B"}
@@ -44,27 +44,27 @@ export declare class DefaultNotificationsService implements Notifications {
44
44
  /**
45
45
  * @inheritdoc
46
46
  */
47
- message(message: string, severity: NotificationSeverity): Notifications;
47
+ message(message: string, severity: NotificationSeverity, parameter?: Record<string, unknown>): Notifications;
48
48
  /**
49
49
  * @inheritdoc
50
50
  */
51
- default(message: string): Notifications;
51
+ default(message: string, parameter?: Record<string, unknown>): Notifications;
52
52
  /**
53
53
  * @inheritdoc
54
54
  */
55
- success(message: string): Notifications;
55
+ success(message: string, parameter?: Record<string, unknown>): Notifications;
56
56
  /**
57
57
  * @inheritdoc
58
58
  */
59
- error(message: string): Notifications;
59
+ error(message: string, parameter?: Record<string, unknown>): Notifications;
60
60
  /**
61
61
  * @inheritdoc
62
62
  */
63
- info(message: string): Notifications;
63
+ info(message: string, parameter?: Record<string, unknown>): Notifications;
64
64
  /**
65
65
  * @inheritdoc
66
66
  */
67
- warning(message: string): Notifications;
67
+ warning(message: string, parameter?: Record<string, unknown>): Notifications;
68
68
  /**
69
69
  * @inheritdoc
70
70
  */
@@ -1 +1 @@
1
- {"version":3,"file":"defaultNotifications.service.d.ts","sourceRoot":"","sources":["defaultNotifications.service.ts"],"names":[],"mappings":"AACA,OA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IAKxD;;OAEG;IACI,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,aAAa;IA4BjD;;;;OAIG;IACI,WAAW,IAAI,IAAI;IAgB1B;;;;OAIG;IACH,SAAS,CAAC,OAAO,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,GAAE,OAAc,GAAG,aAAa;yCAhN9E,2BAA2B;6CAA3B,2BAA2B;CAyOvC;AAED;;GAEG;AACH,QAAA,MAAM,qBAAqB,EAAE,qBAI5B,CAAC;AA8CF,OAAO,EAAC,qBAAqB,EAAC,CAAC"}
@@ -31,6 +31,7 @@ export declare enum NotificationSeverity {
31
31
  export declare class Notification {
32
32
  private _message;
33
33
  private _severity;
34
+ private _parameter?;
34
35
  /**
35
36
  * Gets message that this notification represents
36
37
  */
@@ -39,12 +40,17 @@ export declare class Notification {
39
40
  * Gets severity of notification message
40
41
  */
41
42
  get severity(): NotificationSeverity;
43
+ /**
44
+ * Gets object that is used for formatting notification message
45
+ */
46
+ get parameter(): Record<string, unknown> | undefined;
42
47
  /**
43
48
  * Creates instance of `Notification`
44
49
  * @param _message - Message that this notification represents
45
50
  * @param _severity - Severity of notification message
51
+ * @param _parameter - Object that is used for formatting notification message
46
52
  */
47
- constructor(_message: string, _severity: NotificationSeverity);
53
+ constructor(_message: string, _severity: NotificationSeverity, _parameter?: Record<string, unknown>);
48
54
  }
49
55
  /**
50
56
  * Manages currently displayed notifications
@@ -66,33 +72,39 @@ export interface Notifications {
66
72
  * Displays message with specified severity
67
73
  * @param message - Message to be displayed
68
74
  * @param severity - Severity of displayed notification
75
+ * @param parameter - Object that is used for formatting notification message
69
76
  */
70
- message(message: string, severity: NotificationSeverity): Notifications;
77
+ message(message: string, severity: NotificationSeverity, parameter?: Record<string, unknown>): Notifications;
71
78
  /**
72
79
  * Displays default notification
73
80
  * @param message - Message to be displayed
81
+ * @param parameter - Object that is used for formatting notification message
74
82
  */
75
- default(message: string): Notifications;
83
+ default(message: string, parameter?: Record<string, unknown>): Notifications;
76
84
  /**
77
85
  * Displays success notification
78
86
  * @param message - Message to be displayed
87
+ * @param parameter - Object that is used for formatting notification message
79
88
  */
80
- success(message: string): Notifications;
89
+ success(message: string, parameter?: Record<string, unknown>): Notifications;
81
90
  /**
82
91
  * Displays error notification
83
92
  * @param message - Message to be displayed
93
+ * @param parameter - Object that is used for formatting notification message
84
94
  */
85
- error(message: string): Notifications;
95
+ error(message: string, parameter?: Record<string, unknown>): Notifications;
86
96
  /**
87
97
  * Displays info notification
88
98
  * @param message - Message to be displayed
99
+ * @param parameter - Object that is used for formatting notification message
89
100
  */
90
- info(message: string): Notifications;
101
+ info(message: string, parameter?: Record<string, unknown>): Notifications;
91
102
  /**
92
103
  * Displays warning notification
93
104
  * @param message - Message to be displayed
105
+ * @param parameter - Object that is used for formatting notification message
94
106
  */
95
- warning(message: string): Notifications;
107
+ warning(message: string, parameter?: Record<string, unknown>): Notifications;
96
108
  /**
97
109
  * Clears all displayed notifications
98
110
  */
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.interface.d.ts","sourceRoot":"","sources":["notifications.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,eAAe,EAAE,cAAc,EAAE,IAAI,EAAE,aAAa,EAAC,MAAM,eAAe,CAAC;AAClG,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAIhC;;GAEG;AACH,oBAAY,oBAAoB;IAE5B;;OAEG;IACH,OAAO,IAAA;IAEP;;OAEG;IACH,IAAI,IAAA;IAEJ;;OAEG;IACH,OAAO,IAAA;IAEP;;OAEG;IACH,OAAO,IAAA;IAEP;;OAEG;IACH,KAAK,IAAA;CACR;AAED;;GAEG;AACH,qBAAa,YAAY;IAyBT,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,SAAS;IAxB7B;;OAEG;IACH,IAAW,OAAO,IAAI,MAAM,CAG3B;IAED;;OAEG;IACH,IAAW,QAAQ,IAAI,oBAAoB,CAG1C;IAID;;;;OAIG;gBACiB,QAAQ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ACH,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC,OAAO,CAAC,GAAG,0BAA0B,CAAC;IAExG;;OAEG;IACH,MAAM,CAAC,EAAE,0BAA0B,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAExD;;OAEG;IACH,KAAK,CAAC,EAAE,iCAAiC,CAAC;CAC7C"}
@@ -1,4 +1,3 @@
1
- import { Dictionary } from '@jscrpt/common';
2
1
  import { Observable } from 'rxjs';
3
2
  import { StringLocalization } from './stringLocalization.interface';
4
3
  import * as i0 from "@angular/core";
@@ -19,7 +18,7 @@ export declare class NoStringLocalizationService implements StringLocalization {
19
18
  * @param key - Key to be localized
20
19
  * @param interpolateParams - Optional object storing interpolation parameters
21
20
  */
22
- get(key: string, interpolateParams?: Dictionary<any>): string;
21
+ get(key: string, interpolateParams?: Record<string, unknown>): string;
23
22
  static ɵfac: i0.ɵɵFactoryDeclaration<NoStringLocalizationService, never>;
24
23
  static ɵprov: i0.ɵɵInjectableDeclaration<NoStringLocalizationService>;
25
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"noStringLocalization.service.d.ts","sourceRoot":"","sources":["noStringLocalization.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAU,UAAU,EAAC,MAAM,MAAM,CAAC;AAEzC,OAAO,EAAC,kBAAkB,EAAC,MAAM,gCAAgC,CAAC;;AAElE;;GAEG;AACH,qBACa,2BAA4B,YAAW,kBAAkB;IAIlE;;OAEG;IACH,OAAO,CAAC,mBAAmB,CAAsC;IAIjE;;OAEG;IACH,IAAW,WAAW,IAAI,UAAU,CAAC,IAAI,CAAC,CAGzC;IAID;;;;OAIG;IACI,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,GAAG,MAAM;yCA1B3D,2BAA2B;6CAA3B,2BAA2B;CAwCvC"}
1
+ {"version":3,"file":"noStringLocalization.service.d.ts","sourceRoot":"","sources":["noStringLocalization.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,UAAU,EAAC,MAAM,MAAM,CAAC;AAEzC,OAAO,EAAC,kBAAkB,EAAC,MAAM,gCAAgC,CAAC;;AAElE;;GAEG;AACH,qBACa,2BAA4B,YAAW,kBAAkB;IAIlE;;OAEG;IACH,OAAO,CAAC,mBAAmB,CAAsC;IAIjE;;OAEG;IACH,IAAW,WAAW,IAAI,UAAU,CAAC,IAAI,CAAC,CAGzC;IAID;;;;OAIG;IACI,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;yCA1BnE,2BAA2B;6CAA3B,2BAA2B;CAoCvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"console.component.d.ts","sourceRoot":"","sources":["console.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAI/G,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,8BAA8B,CAAC;;AAEvF;;GAEG;AACH,qBAOa,gBAAiB,YAAW,MAAM,EAAE,SAAS;IA2BF,OAAO,CAAC,WAAW;IAC3D,OAAO,CAAC,eAAe;IAxBnC;;OAEG;IACH,OAAO,CAAC,uBAAuB,CAAe;IAI9C;;OAEG;IACI,WAAW,EAAE,mBAAmB,EAAE,CAAM;IAE/C;;OAEG;IACI,OAAO,YAAoC;IAElD;;OAEG;IACI,WAAW,EAAE,MAAM,CAAM;gBAG4B,WAAW,EAAE,oBAAoB,EACzE,eAAe,EAAE,iBAAiB;IAMtD;;OAEG;IACI,QAAQ,IAAI,IAAI;IAavB;;OAEG;IACI,WAAW,IAAI,IAAI;IAW1B;;OAEG;IACI,IAAI,IAAI,IAAI;IAUnB;;;OAGG;IACI,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAUzC;;OAEG;IACI,KAAK,IAAI,IAAI;IAKpB;;OAEG;IACI,WAAW,IAAI,IAAI;yCAtGjB,gBAAgB;2CAAhB,gBAAgB;CAiH5B"}
1
+ {"version":3,"file":"console.component.d.ts","sourceRoot":"","sources":["console.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAI/G,OAAO,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,MAAM,8BAA8B,CAAC;;AAEvF;;GAEG;AACH,qBAOa,gBAAiB,YAAW,MAAM,EAAE,SAAS;IA2BF,OAAO,CAAC,WAAW;IAC3D,OAAO,CAAC,eAAe;IAxBnC;;OAEG;IACH,OAAO,CAAC,uBAAuB,CAA8B;IAI7D;;OAEG;IACI,WAAW,EAAE,mBAAmB,EAAE,CAAM;IAE/C;;OAEG;IACI,OAAO,YAAoC;IAElD;;OAEG;IACI,WAAW,EAAE,MAAM,CAAM;gBAG4B,WAAW,EAAE,oBAAoB,EACzE,eAAe,EAAE,iBAAiB;IAMtD;;OAEG;IACI,QAAQ,IAAI,IAAI;IAavB;;OAEG;IACI,WAAW,IAAI,IAAI;IAW1B;;OAEG;IACI,IAAI,IAAI,IAAI;IAUnB;;;OAGG;IACI,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAUzC;;OAEG;IACI,KAAK,IAAI,IAAI;IAKpB;;OAEG;IACI,WAAW,IAAI,IAAI;yCAtGjB,gBAAgB;2CAAhB,gBAAgB;CAiH5B"}
@@ -1,7 +1,7 @@
1
1
  <div class="console-data thin-scrollbar">
2
2
  <div class="console-log" [ngClass]="log?.logLevel" *ngFor="let log of currentLogs">
3
3
  <div class="console-log-icon fa" [class.fa-angle-right]="!log?.expanded" [class.fa-angle-down]="log?.expanded" (click)="log.expanded = !log.expanded"></div>
4
- <div class="console-log-text" [class.expanded]="log?.expanded" (click)="copyMessage(log?.text)">{{log?.text}}</div>
4
+ <div class="console-log-text" [class.expanded]="log?.expanded" (click)="copyMessage(log.text)">{{log?.text}}</div>
5
5
  </div>
6
6
 
7
7
  <div class="clear-icon" (click)="clear()" title="clear log">
package/version.bak CHANGED
@@ -1 +1 @@
1
- 17.0.0-beta.20230814105451
1
+ 17.0.0-beta.20230815112307
@@ -1 +0,0 @@
1
- {"version":3,"file":"clickOutside.directive.js","sourceRoot":"","sources":["../../../../../../src/modules/clickOutside/directives/clickOutside/clickOutside.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAqB,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,YAAY,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;;AAEtD;;GAEG;AACH,MAIa,qBAAqB;IA8CR;IACkB;IA7CxC,sEAAsE;IAEtE;;OAEG;IACO,sBAAsB,CAAU;IAE1C,gFAAgF;IAEhF;;OAEG;IACH,IACW,qBAAqB;QAE5B,OAAO,IAAI,CAAC,sBAAsB,CAAC;IACvC,CAAC;IACD,IAAW,qBAAqB,CAAC,KAAc;QAE3C,IAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,EAAE,EAClC;YACI,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;YAEnC,OAAO;SACV;QAED,IAAI,CAAC,sBAAsB,GAAG,KAAK,CAAC;IACxC,CAAC;IAED;;OAEG;IAEI,mBAAmB,CAAc;IAExC,iFAAiF;IAEjF;;OAEG;IAEI,2BAA2B,GAA0B,IAAI,YAAY,EAAW,CAAC;IAExF,iEAAiE;IACjE,YAAsB,QAAiC,EACf,SAAmB;QADrC,aAAQ,GAAR,QAAQ,CAAyB;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AAM;uBAAC,oBAAoB","sourcesContent":["import {Directive, OnInit, OnDestroy, Input, EventEmitter, Output, ElementRef, Inject} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\nimport {isDescendant, isString} from '@jscrpt/common';\n\n/**\n * Directive that handles click outside of element\n */\n@Directive(\n{\n selector: '[clickOutside]'\n})\nexport class ClickOutsideDirective implements OnInit, OnDestroy\n{\n //######################### protected fields #########################\n\n /**\n * Variable that is used for displaying element that handles click outside\n */\n protected _clickOutsideCondition: boolean;\n\n //######################### public properties - inputs #########################\n\n /**\n * Variable that is used for displaying element that handles click outside\n */\n @Input('clickOutside')\n public get clickOutsideCondition(): boolean\n {\n return this._clickOutsideCondition;\n }\n public set clickOutsideCondition(value: boolean)\n {\n if(isString(value) && value === '')\n {\n this._clickOutsideCondition = true;\n\n return;\n }\n\n this._clickOutsideCondition = value;\n }\n\n /**\n * Additional element that is checked for click\n */\n @Input()\n public clickOutsideElement: HTMLElement;\n\n //######################### public properties - outputs #########################\n\n /**\n * Used for emitting event when click outside occurs\n */\n @Output('clickOutsideChange')\n public clickOutsideConditionChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n //######################### constructor #########################\n constructor(protected _element: ElementRef<HTMLElement>,\n @Inject(DOCUMENT) protected _document: Document)\n {\n }\n\n //######################### public methods - implementation of OnInit #########################\n \n /**\n * Initialize component\n */\n public ngOnInit(): void\n {\n this._document.addEventListener('mouseup', this._handleClickOutside);\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this._document.removeEventListener('mouseup', this._handleClickOutside);\n }\n\n //######################### protected methods #########################\n\n /**\n * Handles click outside of element\n * @param event - Mouse event object\n */\n protected _handleClickOutside = (event: MouseEvent) =>\n {\n if(this._element.nativeElement != event.target &&\n !isDescendant(this._element.nativeElement, event.target as HTMLElement) &&\n (!this.clickOutsideElement || (this.clickOutsideElement != event.target &&\n !isDescendant(this.clickOutsideElement, event.target as HTMLElement))))\n { \n this.clickOutsideCondition = !this.clickOutsideCondition;\n this.clickOutsideConditionChange.emit(this.clickOutsideCondition);\n }\n }\n\n //######################### ng language server #########################\n \n /**\n * Custom input type for `clickOutsideCondition` input\n */\n public static ngAcceptInputType_clickOutsideCondition: boolean|'';\n}"]}
@@ -1,25 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { ClickOutsideDirective } from '../directives/clickOutside/clickOutside.directive';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Module for ClickOutside directive
6
- */
7
- class ClickOutsideModule {
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ClickOutsideModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: ClickOutsideModule, declarations: [ClickOutsideDirective], exports: [ClickOutsideDirective] });
10
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ClickOutsideModule });
11
- }
12
- export { ClickOutsideModule };
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ClickOutsideModule, decorators: [{
14
- type: NgModule,
15
- args: [{
16
- imports: [],
17
- declarations: [
18
- ClickOutsideDirective
19
- ],
20
- exports: [
21
- ClickOutsideDirective
22
- ]
23
- }]
24
- }] });
25
- //# sourceMappingURL=clickOutside.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clickOutside.module.js","sourceRoot":"","sources":["../../../../../src/modules/clickOutside/modules/clickOutside.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,qBAAqB,EAAC,MAAM,mDAAmD,CAAC;;AAExF;;GAEG;AACH,MAca,kBAAkB;uGAAlB,kBAAkB;wGAAlB,kBAAkB,iBAPvB,qBAAqB,aAIrB,qBAAqB;wGAGhB,kBAAkB;;SAAlB,kBAAkB;2FAAlB,kBAAkB;kBAd9B,QAAQ;mBACT;oBACI,OAAO,EACP,EACC;oBACD,YAAY,EACZ;wBACI,qBAAqB;qBACxB;oBACD,OAAO,EACP;wBACI,qBAAqB;qBACxB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {ClickOutsideDirective} from '../directives/clickOutside/clickOutside.directive';\n\n/**\n * Module for ClickOutside directive\n */\n@NgModule(\n{\n imports:\n [\n ],\n declarations:\n [\n ClickOutsideDirective\n ],\n exports:\n [\n ClickOutsideDirective\n ]\n})\nexport class ClickOutsideModule\n{\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"goBack.directive.js","sourceRoot":"","sources":["../../../../../../src/modules/goBack/directives/goBack/goBack.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACtD,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;;;AAEzC;;GAEG;AACH,MAIa,eAAe;IAGJ;IADpB,iEAAiE;IACjE,YAAoB,SAAmB;QAAnB,cAAS,GAAT,SAAS,CAAU;IAEvC,CAAC;IAED,2EAA2E;IAE3E;;;OAGG;IAEI,MAAM,CAAC,KAAiB;QAE3B,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,KAAK,CAAC,eAAe,EAAE,CAAC;QAExB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;uGApBQ,eAAe;2FAAf,eAAe;;SAAf,eAAe;2FAAf,eAAe;kBAJ3B,SAAS;mBACV;oBACI,QAAQ,EAAE,UAAU;iBACvB;+FAeU,MAAM;sBADZ,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC","sourcesContent":["import {Directive, HostListener} from '@angular/core';\nimport {Location} from '@angular/common';\n\n/**\n * Directive that performs browser back button action on click\n */\n@Directive(\n{\n selector: '[goBack]'\n})\nexport class GoBackDirective\n{\n //######################### constructor #########################\n constructor(private _location: Location)\n {\n }\n\n //######################### public methods - host #########################\n\n /**\n * Navigates back in browser\n * @param event - Mouse event that occured\n */\n @HostListener('click', ['$event'])\n public goBack(event: MouseEvent): void\n {\n event.preventDefault();\n event.stopPropagation();\n\n this._location.back();\n }\n}"]}
@@ -1,2 +0,0 @@
1
- export * from './goBack/goBack.directive';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/goBack/directives/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './goBack/goBack.directive';"]}
@@ -1,3 +0,0 @@
1
- export * from './modules';
2
- export * from './directives';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/goBack/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC","sourcesContent":["export * from './modules';\nexport * from './directives';\n"]}
@@ -1,24 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { GoBackDirective } from '../directives';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Module for GoBack directive
6
- */
7
- class GoBackModule {
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: GoBackModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: GoBackModule, declarations: [GoBackDirective], exports: [GoBackDirective] });
10
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: GoBackModule });
11
- }
12
- export { GoBackModule };
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: GoBackModule, decorators: [{
14
- type: NgModule,
15
- args: [{
16
- declarations: [
17
- GoBackDirective
18
- ],
19
- exports: [
20
- GoBackDirective
21
- ]
22
- }]
23
- }] });
24
- //# sourceMappingURL=goBack.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"goBack.module.js","sourceRoot":"","sources":["../../../../../src/modules/goBack/modules/goBack.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;;AAE9C;;GAEG;AACH,MAWa,YAAY;uGAAZ,YAAY;wGAAZ,YAAY,iBAPjB,eAAe,aAIf,eAAe;wGAGV,YAAY;;SAAZ,YAAY;2FAAZ,YAAY;kBAXxB,QAAQ;mBACT;oBACI,YAAY,EACZ;wBACI,eAAe;qBAClB;oBACD,OAAO,EACP;wBACI,eAAe;qBAClB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {GoBackDirective} from '../directives';\n\n/**\n * Module for GoBack directive\n */\n@NgModule(\n{\n declarations:\n [\n GoBackDirective\n ],\n exports:\n [\n GoBackDirective\n ]\n})\nexport class GoBackModule\n{\n}\n"]}
@@ -1,2 +0,0 @@
1
- export * from './goBack.module';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/goBack/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC","sourcesContent":["export * from './goBack.module';"]}
@@ -1,2 +0,0 @@
1
- export * from './positionTo/positionTo.directive';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/position/directives/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './positionTo/positionTo.directive';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"positionTo.directive.js","sourceRoot":"","sources":["../../../../../../src/modules/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AE,CAAC;aACpB;YAED,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QACrB,CAAC,CAAC,CAAC;IACX,CAAC;IAED,wEAAwE;IAExE;;OAEG;IACI,MAAM,CAAC,2BAA2B,CAAkE;IAE3G,wEAAwE;IAExE;;OAEG;IACI,MAAM,CAAC,wBAAwB,CAAsC;uGA9KnE,mBAAmB,4CAyFR,QAAQ;2FAzFnB,mBAAmB;;SAAnB,mBAAmB;2FAAnB,mBAAmB;kBAJ/B,SAAS;mBACV;oBACI,QAAQ,EAAE,cAAc;iBAC3B;;0BA0FgB,MAAM;2BAAC,QAAQ;4CAhEjB,MAAM;sBADhB,KAAK;uBAAC,YAAY;gBAqBR,SAAS;sBADnB,KAAK;gBAqBC,MAAM;sBADZ,KAAK;gBAOC,UAAU;sBADhB,KAAK;gBASC,IAAI;sBADV,MAAM;gBAOA,IAAI;sBADV,MAAM","sourcesContent":["import {Directive, Input, ElementRef, OnChanges, SimpleChanges, Inject, Output, EventEmitter, OnDestroy} from '@angular/core';\nimport {nameof, isPresent, isString, Func1, NoopAction} from '@jscrpt/common';\n\nimport {applyPositionResult, Position, PositionPlacement, PositionOptions, PositionOffsetString, PositionOffsets, PositionArguments, AutoUpdateOptions} from '../../../../services/position';\nimport {POSITION} from '../../../../types/tokens';\n\n/**\n * Sets position of attached element relative to provided element\n */\n@Directive(\n{\n selector: '[positionTo]'\n})\nexport class PositionToDirective implements OnChanges, OnDestroy\n{\n //######################### protected fields #########################\n\n /**\n * Position placement value\n */\n protected ɵPlacement: PositionPlacement|undefined|null;\n\n /**\n * Html element which is used as source for positioning\n */\n protected ɵSource: HTMLElement|undefined|null;\n\n /**\n * Method used for disposing auto positioning\n */\n protected dispose: NoopAction|undefined|null;\n\n //######################### public properties - inputs #########################\n\n /**\n * Gets or sets html element which is used as source for positioning\n */\n @Input('positionTo')\n public get source(): HTMLElement|undefined|null\n {\n return this.ɵSource;\n }\n public set source(value: HTMLElement|undefined|null)\n {\n if(value instanceof ElementRef)\n {\n this.ɵSource = (value as ElementRef).nativeElement;\n\n return;\n }\n\n this.ɵSource = value;\n }\n\n /**\n * Gets or sets position placement value\n */\n @Input()\n public get placement(): PositionPlacement|undefined|null\n {\n return this.ɵPlacement;\n }\n public set placement(value: PositionPlacement|undefined|null)\n {\n if(isString(value))\n {\n this.ɵPlacement = PositionPlacement[value as keyof typeof PositionPlacement];\n\n return;\n }\n\n this.ɵPlacement = value;\n }\n\n /**\n * Offset which allows moving target element along the cross axis of placement, or any chosed direction\n */\n @Input()\n public offset: PositionOffsetString|number|PositionOffsets|Func1<number|PositionOffsets, PositionArguments> = 'None';\n\n /**\n * Indication whether set up 'auto updating' of position\n */\n @Input()\n public autoUpdate: boolean|AutoUpdateOptions = true;\n\n //######################### public properties - outputs #########################\n\n /**\n * Occurs when flip occurs during positioning\n */\n @Output()\n public flip: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * Occurs when element was positioned\n */\n @Output()\n public done: EventEmitter<void> = new EventEmitter<void>();\n\n //######################### constructor #########################\n constructor(protected target: ElementRef<HTMLElement>,\n @Inject(POSITION) protected position: Position)\n {\n }\n\n //######################### public methods - implementation of OnChanges #########################\n\n /**\n * Called when input value changes\n */\n public ngOnChanges(changes: SimpleChanges): void\n {\n if((nameof<PositionToDirective>('source') in changes ||\n nameof<PositionToDirective>('placement') in changes) &&\n isPresent(this.source))\n {\n this._applyPosition();\n }\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this.dispose?.();\n }\n\n //######################### protected methods #########################\n\n /**\n * Applies position according to specified parameters to specified elements\n */\n protected _applyPosition(): void\n {\n if(!this.ɵSource)\n {\n return;\n }\n\n const options: Partial<PositionOptions> =\n {\n flip: true,\n autoUpdate: this.autoUpdate,\n offset: this.offset,\n };\n\n if(this.ɵPlacement)\n {\n options.placement = this.ɵPlacement;\n }\n\n this.dispose?.();\n\n this.position.placeElement(this.target.nativeElement,\n this.ɵSource,\n options)\n .subscribe(result =>\n {\n this.dispose = result.dispose;\n\n applyPositionResult(result);\n\n if(result.flip)\n {\n this.flip.emit();\n }\n\n this.done.emit();\n });\n }\n\n //######################### ng language server #########################\n\n /**\n * Custom input type for `placement` input\n */\n public static ngAcceptInputType_placement: PositionPlacement|undefined|null|keyof typeof PositionPlacement;\n\n //######################### ng language server #########################\n\n /**\n * Custom input type for `source` input\n */\n public static ngAcceptInputType_source: HTMLElement|ElementRef<HTMLElement>;\n}\n"]}