@anglr/common 17.0.0-beta.20230711095959 → 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 (176) hide show
  1. package/changelog.md +89 -3
  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/numeral/src/modules/numeral.module.js +4 -4
  7. package/es2022/numeral/src/modules/numeral.module.js.map +1 -1
  8. package/es2022/numeral/src/pipes/numeral.pipe.js +6 -6
  9. package/es2022/numeral/src/pipes/numeral.pipe.js.map +1 -1
  10. package/es2022/src/{modules/clickOutside/directives → directives}/clickOutside/clickOutside.directive.js +29 -22
  11. package/es2022/src/directives/clickOutside/clickOutside.directive.js.map +1 -0
  12. package/es2022/src/{modules/goBack/directives → directives}/goBack/goBack.directive.js +7 -6
  13. package/es2022/src/directives/goBack/goBack.directive.js.map +1 -0
  14. package/es2022/src/{modules/position/directives → directives}/positionTo/positionTo.directive.js +9 -8
  15. package/es2022/src/directives/positionTo/positionTo.directive.js.map +1 -0
  16. package/es2022/src/index.js +6 -5
  17. package/es2022/src/index.js.map +1 -1
  18. package/es2022/src/modules/commonUtils.module.js +21 -21
  19. package/es2022/src/modules/commonUtils.module.js.map +1 -1
  20. package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js +15 -15
  21. package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js.map +1 -1
  22. package/es2022/src/pipes/isNaN/isNaN.pipe.js +7 -6
  23. package/es2022/src/pipes/isNaN/isNaN.pipe.js.map +1 -1
  24. package/es2022/src/pipes/isPresent/isPresent.pipe.js +7 -6
  25. package/es2022/src/pipes/isPresent/isPresent.pipe.js.map +1 -1
  26. package/es2022/src/pipes/keys/keys.pipe.js +6 -6
  27. package/es2022/src/pipes/keys/keys.pipe.js.map +1 -1
  28. package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +6 -6
  29. package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js.map +1 -1
  30. package/es2022/src/pipes/urlEncode/urlEncode.pipe.js +6 -6
  31. package/es2022/src/pipes/urlEncode/urlEncode.pipe.js.map +1 -1
  32. package/es2022/src/services/logger/logger.interface.js.map +1 -1
  33. package/es2022/src/services/notifications/defaultNotifications.service.js +12 -12
  34. package/es2022/src/services/notifications/defaultNotifications.service.js.map +1 -1
  35. package/es2022/src/services/notifications/notifications.interface.js +10 -1
  36. package/es2022/src/services/notifications/notifications.interface.js.map +1 -1
  37. package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js +22 -0
  38. package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js.map +1 -1
  39. package/es2022/src/services/permanentStorage/permanentStorage.interface.js.map +1 -1
  40. package/es2022/src/services/position/position.interface.js.map +1 -1
  41. package/es2022/src/services/stringLocalization/noStringLocalization.service.js +2 -4
  42. package/es2022/src/services/stringLocalization/noStringLocalization.service.js.map +1 -1
  43. package/es2022/src/services/stringLocalization/stringLocalization.interface.js.map +1 -1
  44. package/es2022/src/services/temporaryStorage/temporaryStorage.interface.js.map +1 -1
  45. package/es2022/src/types/providerDecoratedType.js +32 -0
  46. package/es2022/src/types/providerDecoratedType.js.map +1 -0
  47. package/es2022/src/types/providers.js +48 -0
  48. package/es2022/src/types/providers.js.map +1 -0
  49. package/es2022/store/src/index.js +1 -1
  50. package/es2022/store/src/index.js.map +1 -1
  51. package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js +21 -1
  52. package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js.map +1 -1
  53. package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +21 -0
  54. package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js.map +1 -1
  55. package/es2022/structured-log/src/components/console/console.component.js +2 -2
  56. package/es2022/structured-log/src/components/console/console.component.js.map +1 -1
  57. package/es2022/structured-log/src/index.js +1 -0
  58. package/es2022/structured-log/src/index.js.map +1 -1
  59. package/es2022/structured-log/src/misc/providers.js +12 -0
  60. package/es2022/structured-log/src/misc/providers.js.map +1 -0
  61. package/es2022/structured-log/src/modules/consoleLog.module.js +0 -15
  62. package/es2022/structured-log/src/modules/consoleLog.module.js.map +1 -1
  63. package/es2022/structured-log/src/services/logger.service.js +21 -0
  64. package/es2022/structured-log/src/services/logger.service.js.map +1 -1
  65. package/es2022/structured-log/src/types/tokens.js +0 -9
  66. package/es2022/structured-log/src/types/tokens.js.map +1 -1
  67. package/floating-ui/src/services/floatingUiDomPosition.service.d.ts +3 -4
  68. package/floating-ui/src/services/floatingUiDomPosition.service.d.ts.map +1 -1
  69. package/numeral/src/modules/numeral.module.d.ts +1 -1
  70. package/numeral/src/pipes/numeral.pipe.d.ts +3 -3
  71. package/numeral/src/pipes/numeral.pipe.d.ts.map +1 -1
  72. package/package.json +3 -3
  73. package/src/directives/clickOutside/clickOutside.directive.d.ts +48 -0
  74. package/src/directives/clickOutside/clickOutside.directive.d.ts.map +1 -0
  75. package/src/{modules/goBack/directives → directives}/goBack/goBack.directive.d.ts +3 -3
  76. package/src/directives/goBack/goBack.directive.d.ts.map +1 -0
  77. package/src/{modules/position/directives → directives}/positionTo/positionTo.directive.d.ts +4 -4
  78. package/src/{modules/position/directives → directives}/positionTo/positionTo.directive.d.ts.map +1 -1
  79. package/src/index.d.ts +9 -8
  80. package/src/index.d.ts.map +1 -1
  81. package/src/modules/commonUtils.module.d.ts +1 -1
  82. package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts +10 -9
  83. package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts.map +1 -1
  84. package/src/pipes/isNaN/isNaN.pipe.d.ts +3 -3
  85. package/src/pipes/isNaN/isNaN.pipe.d.ts.map +1 -1
  86. package/src/pipes/isPresent/isPresent.pipe.d.ts +4 -4
  87. package/src/pipes/isPresent/isPresent.pipe.d.ts.map +1 -1
  88. package/src/pipes/keys/keys.pipe.d.ts +3 -3
  89. package/src/pipes/keys/keys.pipe.d.ts.map +1 -1
  90. package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts +3 -3
  91. package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts.map +1 -1
  92. package/src/pipes/urlEncode/urlEncode.pipe.d.ts +3 -3
  93. package/src/pipes/urlEncode/urlEncode.pipe.d.ts.map +1 -1
  94. package/src/services/logger/logger.interface.d.ts +6 -0
  95. package/src/services/logger/logger.interface.d.ts.map +1 -1
  96. package/src/services/notifications/defaultNotifications.service.d.ts +6 -6
  97. package/src/services/notifications/defaultNotifications.service.d.ts.map +1 -1
  98. package/src/services/notifications/notifications.interface.d.ts +19 -7
  99. package/src/services/notifications/notifications.interface.d.ts.map +1 -1
  100. package/src/services/permanentStorage/cookiePermanentStorage.service.d.ts +5 -1
  101. package/src/services/permanentStorage/cookiePermanentStorage.service.d.ts.map +1 -1
  102. package/src/services/permanentStorage/permanentStorage.interface.d.ts +6 -0
  103. package/src/services/permanentStorage/permanentStorage.interface.d.ts.map +1 -1
  104. package/src/services/position/position.interface.d.ts +6 -0
  105. package/src/services/position/position.interface.d.ts.map +1 -1
  106. package/src/services/stringLocalization/noStringLocalization.service.d.ts +1 -2
  107. package/src/services/stringLocalization/noStringLocalization.service.d.ts.map +1 -1
  108. package/src/services/stringLocalization/stringLocalization.interface.d.ts +6 -0
  109. package/src/services/stringLocalization/stringLocalization.interface.d.ts.map +1 -1
  110. package/src/services/temporaryStorage/temporaryStorage.interface.d.ts +6 -0
  111. package/src/services/temporaryStorage/temporaryStorage.interface.d.ts.map +1 -1
  112. package/src/types/providerDecoratedType.d.ts +12 -0
  113. package/src/types/providerDecoratedType.d.ts.map +1 -0
  114. package/src/types/providers.d.ts +32 -0
  115. package/src/types/providers.d.ts.map +1 -0
  116. package/store/src/index.d.ts +1 -1
  117. package/store/src/index.d.ts.map +1 -1
  118. package/store/src/services/permanentStorage/localPermanentStorage.service.d.ts +5 -1
  119. package/store/src/services/permanentStorage/localPermanentStorage.service.d.ts.map +1 -1
  120. package/store/src/services/temporaryStorage/sessionTemporaryStorage.service.d.ts +5 -1
  121. package/store/src/services/temporaryStorage/sessionTemporaryStorage.service.d.ts.map +1 -1
  122. package/structured-log/src/components/console/console.component.d.ts.map +1 -1
  123. package/structured-log/src/components/console/console.component.html +1 -1
  124. package/structured-log/src/index.d.ts +1 -0
  125. package/structured-log/src/index.d.ts.map +1 -1
  126. package/structured-log/src/misc/providers.d.ts +6 -0
  127. package/structured-log/src/misc/providers.d.ts.map +1 -0
  128. package/structured-log/src/modules/consoleLog.module.d.ts +0 -5
  129. package/structured-log/src/modules/consoleLog.module.d.ts.map +1 -1
  130. package/structured-log/src/services/logger.service.d.ts +5 -1
  131. package/structured-log/src/services/logger.service.d.ts.map +1 -1
  132. package/structured-log/src/types/tokens.d.ts +0 -4
  133. package/structured-log/src/types/tokens.d.ts.map +1 -1
  134. package/version.bak +1 -1
  135. package/es2022/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +0 -1
  136. package/es2022/src/modules/clickOutside/modules/clickOutside.module.js +0 -25
  137. package/es2022/src/modules/clickOutside/modules/clickOutside.module.js.map +0 -1
  138. package/es2022/src/modules/goBack/directives/goBack/goBack.directive.js.map +0 -1
  139. package/es2022/src/modules/goBack/directives/index.js +0 -2
  140. package/es2022/src/modules/goBack/directives/index.js.map +0 -1
  141. package/es2022/src/modules/goBack/index.js +0 -3
  142. package/es2022/src/modules/goBack/index.js.map +0 -1
  143. package/es2022/src/modules/goBack/modules/goBack.module.js +0 -24
  144. package/es2022/src/modules/goBack/modules/goBack.module.js.map +0 -1
  145. package/es2022/src/modules/goBack/modules/index.js +0 -2
  146. package/es2022/src/modules/goBack/modules/index.js.map +0 -1
  147. package/es2022/src/modules/position/directives/index.js +0 -2
  148. package/es2022/src/modules/position/directives/index.js.map +0 -1
  149. package/es2022/src/modules/position/directives/positionTo/positionTo.directive.js.map +0 -1
  150. package/es2022/src/modules/position/index.js +0 -3
  151. package/es2022/src/modules/position/index.js.map +0 -1
  152. package/es2022/src/modules/position/modules/index.js +0 -2
  153. package/es2022/src/modules/position/modules/index.js.map +0 -1
  154. package/es2022/src/modules/position/modules/position.module.js +0 -25
  155. package/es2022/src/modules/position/modules/position.module.js.map +0 -1
  156. package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts +0 -47
  157. package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts.map +0 -1
  158. package/src/modules/clickOutside/modules/clickOutside.module.d.ts +0 -11
  159. package/src/modules/clickOutside/modules/clickOutside.module.d.ts.map +0 -1
  160. package/src/modules/goBack/directives/goBack/goBack.directive.d.ts.map +0 -1
  161. package/src/modules/goBack/directives/index.d.ts +0 -2
  162. package/src/modules/goBack/directives/index.d.ts.map +0 -1
  163. package/src/modules/goBack/index.d.ts +0 -3
  164. package/src/modules/goBack/index.d.ts.map +0 -1
  165. package/src/modules/goBack/modules/goBack.module.d.ts +0 -11
  166. package/src/modules/goBack/modules/goBack.module.d.ts.map +0 -1
  167. package/src/modules/goBack/modules/index.d.ts +0 -2
  168. package/src/modules/goBack/modules/index.d.ts.map +0 -1
  169. package/src/modules/position/directives/index.d.ts +0 -2
  170. package/src/modules/position/directives/index.d.ts.map +0 -1
  171. package/src/modules/position/index.d.ts +0 -3
  172. package/src/modules/position/index.d.ts.map +0 -1
  173. package/src/modules/position/modules/index.d.ts +0 -2
  174. package/src/modules/position/modules/index.d.ts.map +0 -1
  175. package/src/modules/position/modules/position.module.d.ts +0 -11
  176. package/src/modules/position/modules/position.module.d.ts.map +0 -1
@@ -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,OAAO,EAAC,UAAU,EAAa,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAC,UAAU,EAAE,OAAO,EAAE,YAAY,EAAC,MAAM,MAAM,CAAC;AAGvD,OAAO,EAAC,aAAa,EAAE,YAAY,EAAE,oBAAoB,EAAE,qBAAqB,EAAgE,MAAM,2BAA2B,CAAC;AAClL,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;;AAE5D;;GAEG;AACH,qBACa,2BAA4B,YAAW,aAAa;IAwDrC,SAAS,CAAC,QAAQ,EAAE,oBAAoB;IApDhE;;OAEG;IACH,SAAS,CAAC,cAAc,EAAE,YAAY,EAAE,CAAM;IAE9C;;OAEG;IACH,SAAS,CAAC,sBAAsB,EAAE,MAAM,EAAE,CAAM;IAEhD;;OAEG;IACH,SAAS,CAAC,oBAAoB,EAAE,OAAO,CAAC,IAAI,CAAC,CAAuB;IAEpE;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,C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AAE,OAAO,CAAC,GAAG,aAAa;IAKnF;;OAEG;IACI,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa;IAKnF;;OAEG;IACI,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa;IAKjF;;OAEG;IACI,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa;IAKhF;;OAEG;IACI,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa;IAKnF;;OAEG;IACI,kBAAkB,IAAI,aAAa;IAY1C;;OAEG;IACI,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,aAAa;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
-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IG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa,CAAC;IAE1E;;;;OAIG;IACH,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,aAAa,CAAC;IAE7E;;OAEG;IACH,kBAAkB,IAAI,aAAa,CAAC;IAEpC;;;OAGG;IACH,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,aAAa,CAAC;IAElD;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,aAAa,CAAC;IAE3C;;OAEG;IACH,WAAW,IAAI,IAAI,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAE9C;;;;OAIG;IACH,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,4 @@
1
- import { PermanentStorage } from './permanentStorage.interface';
1
+ import { PermanentStorage, PermanentStorageType } from './permanentStorage.interface';
2
2
  import { CookieService } from '../cookies/cookies.service';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -33,4 +33,8 @@ export declare class CookiePermanentStorageService implements PermanentStorage {
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<CookiePermanentStorageService, never>;
34
34
  static ɵprov: i0.ɵɵInjectableDeclaration<CookiePermanentStorageService>;
35
35
  }
36
+ /**
37
+ * Sets permanent storage to use cookie permanent storage when used with `providePermanentStorage`
38
+ */
39
+ export declare const CookiePermanentStorage: PermanentStorageType;
36
40
  //# sourceMappingURL=cookiePermanentStorage.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cookiePermanentStorage.service.d.ts","sourceRoot":"","sources":["cookiePermanentStorage.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAC,aAAa,EAAC,MAAM,4BAA4B,CAAC;;AAEzD;;GAEG;AACH,qBACa,6BAA8B,YAAW,gBAAgB;IAGtD,OAAO,CAAC,QAAQ;gBAAR,QAAQ,EAAE,aAAa;IAM3C;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAE1C;;;;;OAKG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI;IAazD;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCAhDxB,6BAA6B;6CAA7B,6BAA6B;CAoDzC"}
1
+ {"version":3,"file":"cookiePermanentStorage.service.d.ts","sourceRoot":"","sources":["cookiePermanentStorage.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,8BAA8B,CAAC;AACpF,OAAO,EAAC,aAAa,EAAC,MAAM,4BAA4B,CAAC;;AAIzD;;GAEG;AACH,qBACa,6BAA8B,YAAW,gBAAgB;IAGtD,OAAO,CAAC,QAAQ;gBAAR,QAAQ,EAAE,aAAa;IAM3C;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAE1C;;;;;OAKG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI;IAazD;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCAhDxB,6BAA6B;6CAA7B,6BAA6B;CAoDzC;AAqBD;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,oBAAiD,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { Type } from '@angular/core';
1
2
  /**
2
3
  * Provides api for implementing permanent storage
3
4
  */
@@ -26,4 +27,9 @@ export interface PermanentStorage {
26
27
  */
27
28
  remove(name: string): void;
28
29
  }
30
+ /**
31
+ * Used for restriction of permanent storage provider type only for type decorated with permanent storage provider
32
+ */
33
+ export interface PermanentStorageType extends Type<unknown> {
34
+ }
29
35
  //# sourceMappingURL=permanentStorage.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"permanentStorage.interface.d.ts","sourceRoot":"","sources":["permanentStorage.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAE7B;;;OAGG;IACH,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAEpC;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;IAEpC;;;;;OAKG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;IAEnD;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B"}
1
+ {"version":3,"file":"permanentStorage.interface.d.ts","sourceRoot":"","sources":["permanentStorage.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AAEnC;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAE7B;;;OAGG;IACH,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAEpC;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;IAEpC;;;;;OAKG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;IAEnD;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,OAAO,CAAC;CAE1D"}
@@ -1,3 +1,4 @@
1
+ import { Type } from '@angular/core';
1
2
  import { Func1 } from '@jscrpt/common';
2
3
  import { Observable } from 'rxjs';
3
4
  import { PositionOffsetString, PositionPlacement } from './position.types';
@@ -127,4 +128,9 @@ export interface Position {
127
128
  */
128
129
  placeElement(target: Element, source: Element, options?: Partial<PositionOptions>): Observable<PositionResult>;
129
130
  }
131
+ /**
132
+ * Used for restriction of position provider type only for type decorated with position provider
133
+ */
134
+ export interface PositionType extends Type<unknown> {
135
+ }
130
136
  //# sourceMappingURL=position.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"position.interface.d.ts","sourceRoot":"","sources":["position.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC,OAAO,EAAC,oBAAoB,EAAE,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAE9B;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IAExB;;OAEG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IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;OAEG;IACH,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAI5B;;OAEG;IACH,SAAS,EAAE,iBAAiB,CAAC;IAE7B;;OAEG;IACH,MAAM,EAAE,oBAAoB,GAAC,MAAM,GAAC,eAAe,GAAC,KAAK,CAAC,MAAM,GAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;IAErG;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,UAAU,EAAE,OAAO,GAAC,iBAAiB,CAAC;IAEtC;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,cAAc,CAAC,QAAQ,SAAS,OAAO,GAAG,GAAG;IAE1D;;OAEG;IACH,MAAM,EAAE,QAAQ,CAAC;IAEjB;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,OAAO,IAAI,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IAIrB;;;;;OAKG;IACH,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;CAClH;AAED;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,OAAO,CAAC;CAElD"}
@@ -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,3 +1,4 @@
1
+ import { Type } from '@angular/core';
1
2
  import { Observable } from 'rxjs';
2
3
  /**
3
4
  * Provides api to localize strings
@@ -14,4 +15,9 @@ export interface StringLocalization {
14
15
  */
15
16
  get(key: string, interpolateParams?: Object): string;
16
17
  }
18
+ /**
19
+ * Used for restriction of string localization provider type only for type decorated with string localization provider
20
+ */
21
+ export interface StringLocalizationType extends Type<unknown> {
22
+ }
17
23
  //# sourceMappingURL=stringLocalization.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stringLocalization.interface.d.ts","sourceRoot":"","sources":["stringLocalization.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAE/B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IAEvC;;;;OAIG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxD"}
1
+ {"version":3,"file":"stringLocalization.interface.d.ts","sourceRoot":"","sources":["stringLocalization.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAE/B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IAEvC;;;;OAIG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxD;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,OAAO,CAAC;CAE5D"}
@@ -1,3 +1,4 @@
1
+ import { Type } from '@angular/core';
1
2
  /**
2
3
  * Provides api for implementing temporary storage
3
4
  */
@@ -19,4 +20,9 @@ export interface TemporaryStorage {
19
20
  */
20
21
  remove(name: string): void;
21
22
  }
23
+ /**
24
+ * Used for restriction of temporary storage provider type only for type decorated with temporary storage provider
25
+ */
26
+ export interface TemporaryStorageType extends Type<unknown> {
27
+ }
22
28
  //# sourceMappingURL=temporaryStorage.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"temporaryStorage.interface.d.ts","sourceRoot":"","sources":["temporaryStorage.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAE7B;;;OAGG;IACH,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAEpC;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;IAEpC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B"}
1
+ {"version":3,"file":"temporaryStorage.interface.d.ts","sourceRoot":"","sources":["temporaryStorage.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AAEnC;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAE7B;;;OAGG;IACH,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAEpC;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;IAEpC;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,OAAO,CAAC;CAE1D"}
@@ -0,0 +1,12 @@
1
+ import { Provider, Type } from '@angular/core';
2
+ /**
3
+ * Gets provider from type
4
+ * @param type - Type that should contain provider
5
+ */
6
+ export declare function getProviderForType(type: Type<unknown>): Provider;
7
+ /**
8
+ * Attach provider to type
9
+ * @param provider - Provider to be attached
10
+ */
11
+ export declare function TypeProvider(provider: Provider): ClassDecorator;
12
+ //# sourceMappingURL=providerDecoratedType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providerDecoratedType.d.ts","sourceRoot":"","sources":["providerDecoratedType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAc7C;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,QAAQ,CAUhE;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,GAAG,cAAc,CAoB/D"}
@@ -0,0 +1,32 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ import { LoggerType } from '../services/logger/logger.interface';
3
+ import { PermanentStorageType } from '../services/permanentStorage/permanentStorage.interface';
4
+ import { PositionType } from '../services/position/position.interface';
5
+ import { StringLocalizationType } from '../services/stringLocalization/stringLocalization.interface';
6
+ import { TemporaryStorageType } from '../services/temporaryStorage/temporaryStorage.interface';
7
+ /**
8
+ * Provides logger service type
9
+ * @param type - Type of logger that should be used
10
+ */
11
+ export declare function provideLogger(type: LoggerType): EnvironmentProviders;
12
+ /**
13
+ * Provides permanent storage service type
14
+ * @param type - Type of permanent storage that should be used
15
+ */
16
+ export declare function providePermanentStorage(type: PermanentStorageType): EnvironmentProviders;
17
+ /**
18
+ * Provides position service type
19
+ * @param type - Type of position that should be used
20
+ */
21
+ export declare function providePosition(type: PositionType): EnvironmentProviders;
22
+ /**
23
+ * Provides string localization service type
24
+ * @param type - Type of string localization that should be used
25
+ */
26
+ export declare function provideStringLocalization(type: StringLocalizationType): EnvironmentProviders;
27
+ /**
28
+ * Provides temporary storage service type
29
+ * @param type - Type of temporary storage that should be used
30
+ */
31
+ export declare function provideTemporaryStorage(type: TemporaryStorageType): EnvironmentProviders;
32
+ //# sourceMappingURL=providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAA2B,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAC,UAAU,EAAC,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAC,oBAAoB,EAAC,MAAM,yDAAyD,CAAC;AAC7F,OAAO,EAAC,YAAY,EAAC,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAC,sBAAsB,EAAC,MAAM,6DAA6D,CAAC;AACnG,OAAO,EAAC,oBAAoB,EAAC,MAAM,yDAAyD,CAAC;AAG7F;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,oBAAoB,CAMpE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,oBAAoB,GAAG,oBAAoB,CAMxF;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,YAAY,GAAG,oBAAoB,CAMxE;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,sBAAsB,GAAG,oBAAoB,CAM5F;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,oBAAoB,GAAG,oBAAoB,CAMxF"}
@@ -1,2 +1,2 @@
1
- export { LocalPermanentStorageService, SessionTemporaryStorageService } from './services';
1
+ export { LocalPermanentStorageService, SessionTemporaryStorageService, SessionTemporaryStorage, LocalPermanentStorage } from './services';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAE,8BAA8B,EAAC,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,4BAA4B,EAAE,8BAA8B,EAAE,uBAAuB,EAAE,qBAAqB,EAAC,MAAM,YAAY,CAAC"}
@@ -1,4 +1,4 @@
1
- import { PermanentStorage } from '@anglr/common';
1
+ import { PermanentStorage, PermanentStorageType } from '@anglr/common';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Implementation of permanent storage using LocalStorage
@@ -31,4 +31,8 @@ export declare class LocalPermanentStorageService implements PermanentStorage {
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalPermanentStorageService, never>;
32
32
  static ɵprov: i0.ɵɵInjectableDeclaration<LocalPermanentStorageService>;
33
33
  }
34
+ /**
35
+ * Sets permanent storage to use local permanent storage when used with `providePermanentStorage`
36
+ */
37
+ export declare const LocalPermanentStorage: PermanentStorageType;
34
38
  //# sourceMappingURL=localPermanentStorage.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"localPermanentStorage.service.d.ts","sourceRoot":"","sources":["localPermanentStorage.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,eAAe,CAAC;;AAM/C;;GAEG;AACH,qBACa,4BAA6B,YAAW,gBAAgB;;IAWjE;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAE1C;;;;;OAKG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI;IAoBzD;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCAzDxB,4BAA4B;6CAA5B,4BAA4B;CA6DxC"}
1
+ {"version":3,"file":"localPermanentStorage.service.d.ts","sourceRoot":"","sources":["localPermanentStorage.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,gBAAgB,EAAE,oBAAoB,EAAe,MAAM,eAAe,CAAC;;AAItG;;GAEG;AACH,qBACa,4BAA6B,YAAW,gBAAgB;;IAWjE;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAE1C;;;;;OAKG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,GAAG,IAAI;IAoBzD;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCAzDxB,4BAA4B;6CAA5B,4BAA4B;CA6DxC;AAoBD;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,oBAAgD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { TemporaryStorage } from '@anglr/common';
1
+ import { TemporaryStorage, TemporaryStorageType } from '@anglr/common';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Implementation of temporary storage using SessionStorage
@@ -23,4 +23,8 @@ export declare class SessionTemporaryStorageService implements TemporaryStorage
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<SessionTemporaryStorageService, never>;
24
24
  static ɵprov: i0.ɵɵInjectableDeclaration<SessionTemporaryStorageService>;
25
25
  }
26
+ /**
27
+ * Sets temporary storage to use session temporary storage when used with `provideTemporaryStorage`
28
+ */
29
+ export declare const SessionTemporaryStorage: TemporaryStorageType;
26
30
  //# sourceMappingURL=sessionTemporaryStorage.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sessionTemporaryStorage.service.d.ts","sourceRoot":"","sources":["sessionTemporaryStorage.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,eAAe,CAAC;;AAG/C;;GAEG;AACH,qBACa,8BAA+B,YAAW,gBAAgB;IAInE;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAK1C;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCA3BxB,8BAA8B;6CAA9B,8BAA8B;CA+B1C"}
1
+ {"version":3,"file":"sessionTemporaryStorage.service.d.ts","sourceRoot":"","sources":["sessionTemporaryStorage.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,gBAAgB,EAAE,oBAAoB,EAAe,MAAM,eAAe,CAAC;;AAGtG;;GAEG;AACH,qBACa,8BAA+B,YAAW,gBAAgB;IAInE;;;OAGG;IACI,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO;IAK1C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAK1C;;;OAGG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;yCA3BxB,8BAA8B;6CAA9B,8BAA8B;CA+B1C;AAoBD;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,oBAAkD,CAAC"}
@@ -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,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,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">
@@ -1,6 +1,7 @@
1
1
  export * from './components/console/console.component.animations';
2
2
  export * from './components/console/console.component';
3
3
  export * from './modules/consoleLog.module';
4
+ export * from './misc/providers';
4
5
  export * from './misc/utils';
5
6
  export * from './types/tokens';
6
7
  export * from './types/logger.interface';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,mDAAmD,CAAC;AAClE,cAAc,wCAAwC,CAAC;AACvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,0DAA0D,CAAC;AACzE,cAAc,0DAA0D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,mDAAmD,CAAC;AAClE,cAAc,wCAAwC,CAAC;AACvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,0DAA0D,CAAC;AACzE,cAAc,0DAA0D,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ /**
3
+ * Provides console component as sink for logger
4
+ */
5
+ export declare function provideConsoleComponentSink(): EnvironmentProviders;
6
+ //# sourceMappingURL=providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAA2B,MAAM,eAAe,CAAC;AAI7E;;GAEG;AACH,wBAAgB,2BAA2B,IAAI,oBAAoB,CAOlE"}
@@ -1,4 +1,3 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  import * as i1 from "../components/console/console.component";
4
3
  import * as i2 from "@angular/common";
@@ -6,10 +5,6 @@ import * as i2 from "@angular/common";
6
5
  * Module containing component Console (log)
7
6
  */
8
7
  export declare class ConsoleLogModule {
9
- /**
10
- * Registers structured-log as logger service, with console component sink
11
- */
12
- static forRoot(): ModuleWithProviders<ConsoleLogModule>;
13
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ConsoleLogModule, never>;
14
9
  static ɵmod: i0.ɵɵNgModuleDeclaration<ConsoleLogModule, [typeof i1.ConsoleComponent], [typeof i2.CommonModule], [typeof i1.ConsoleComponent]>;
15
10
  static ɵinj: i0.ɵɵInjectorDeclaration<ConsoleLogModule>;
@@ -1 +1 @@
1
- {"version":3,"file":"consoleLog.module.d.ts","sourceRoot":"","sources":["consoleLog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,mBAAmB,EAAC,MAAM,eAAe,CAAC;;;;AAM5D;;GAEG;AACH,qBAea,gBAAgB;IAIzB;;OAEG;WACW,OAAO,IAAI,mBAAmB,CAAC,gBAAgB,CAAC;yCAPrD,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAmB5B"}
1
+ {"version":3,"file":"consoleLog.module.d.ts","sourceRoot":"","sources":["consoleLog.module.ts"],"names":[],"mappings":";;;AAKA;;GAEG;AACH,qBAea,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAE5B"}
@@ -1,4 +1,4 @@
1
- import { Logger as LoggerInterface } from '@anglr/common';
1
+ import { Logger as LoggerInterface, PositionType } from '@anglr/common';
2
2
  import { Sink } from 'structured-log';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -91,4 +91,8 @@ export declare class LoggerService implements LoggerInterface {
91
91
  static ɵfac: i0.ɵɵFactoryDeclaration<LoggerService, never>;
92
92
  static ɵprov: i0.ɵɵInjectableDeclaration<LoggerService>;
93
93
  }
94
+ /**
95
+ * Sets logger to use structured log logger when used with `provideLogger`
96
+ */
97
+ export declare const StructuredLogLogger: PositionType;
94
98
  //# sourceMappingURL=logger.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logger.service.d.ts","sourceRoot":"","sources":["logger.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,IAAI,eAAe,EAAC,MAAM,eAAe,CAAC;AACxD,OAAO,EAAY,IAAI,EAAS,MAAM,gBAAgB,CAAC;;AAIvD;;GAEG;AACH,qBACa,aAAc,YAAW,eAAe;IAIjD;;OAEG;IACH,OAAO,CAAC,OAAO,CAAS;gBAGU,KAAK,EAAE,IAAI,EAAE;IAc/C;;;;OAIG;IACH,KAAK,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAE1D;;;;;OAKG;IACH,KAAK,CAAC,KAAK,EAAE,KAA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G;IACH,KAAK,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAE1D;;;;;OAKG;IACH,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAOxE;;;;OAIG;IACH,OAAO,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;IAE5D;;;;;OAKG;IACH,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI;yCAzIjE,aAAa;6CAAb,aAAa;CA+IzB;AAoBD;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,YAAsC,CAAC"}
@@ -35,8 +35,4 @@ export declare const REST_SINK: Provider;
35
35
  * Provider for `DeveloperConsoleSinkService` for logger
36
36
  */
37
37
  export declare const DEVELOPER_CONSOLE_SINK: Provider;
38
- /**
39
- * Provider for logger that is using structured log implementation
40
- */
41
- export declare const STRUCTURED_LOG_LOGGER: Provider;
42
38
  //# sourceMappingURL=tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,QAAQ,EAAmD,MAAM,eAAe,CAAC;AAEzG,OAAO,EAAC,IAAI,EAAC,MAAM,gBAAgB,CAAC;AAEpC,OAAO,EAAC,oBAAoB,EAAE,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAC,2BAA2B,EAAC,MAAM,kDAAkD,CAAC;AAE7F,OAAO,EAAC,wBAAwB,EAAC,MAAM,+CAA+C,CAAC;AAIvF;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,wBAAwB,GAAG,2BAA2B,CAG5G;AAED;;GAEG;AACH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E,QAMrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAMpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,QAMvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAMpC,CAAC"}
package/version.bak CHANGED
@@ -1 +1 @@
1
- 17.0.0-beta.20230711095959
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;QACf,cAAS,GAAT,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oB","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';"]}