ets-fe-ng-sdk 19.0.116 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/fesm2022/ets-fe-ng-sdk.mjs +1611 -1632
  2. package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
  3. package/index.d.ts +14526 -3
  4. package/package.json +1 -1
  5. package/environments/environment.d.ts +0 -11
  6. package/lib/Reusables/reusable-comps/find-item/find-item.component.d.ts +0 -258
  7. package/lib/Reusables/reusable-comps/find-item/find-item.model.d.ts +0 -13
  8. package/lib/Reusables/reusable-comps/find-item/find-item.service.d.ts +0 -38
  9. package/lib/Reusables/reusable-comps/watermark/watermark.component.d.ts +0 -22
  10. package/lib/Reusables/reusable-pages/extra-pages/extra-pages-routing.module.d.ts +0 -7
  11. package/lib/Reusables/reusable-pages/extra-pages/extra-pages.module.d.ts +0 -8
  12. package/lib/Reusables/reusable-pages/logger/logger-routing.module.d.ts +0 -7
  13. package/lib/Reusables/reusable-pages/logger/logger.component.d.ts +0 -71
  14. package/lib/Reusables/reusable-pages/logger/logger.interface.d.ts +0 -73
  15. package/lib/Reusables/reusable-pages/logger/logger.module.d.ts +0 -11
  16. package/lib/Reusables/reusable-pages/logger/logger.service.d.ts +0 -81
  17. package/lib/Reusables/reusable-pages/page-not-found/page-not-found.component.d.ts +0 -28
  18. package/lib/Reusables/reusable-pages/reset/reset-routing.module.d.ts +0 -7
  19. package/lib/Reusables/reusable-pages/reset/reset.component.d.ts +0 -13
  20. package/lib/Reusables/reusable-pages/reset/reset.module.d.ts +0 -8
  21. package/lib/Reusables/reusable-pages/robot/robot-routing.module.d.ts +0 -7
  22. package/lib/Reusables/reusable-pages/robot/robot.component.d.ts +0 -8
  23. package/lib/Reusables/reusable-pages/robot/robot.module.d.ts +0 -9
  24. package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester-routing.module.d.ts +0 -7
  25. package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.component.d.ts +0 -23
  26. package/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.module.d.ts +0 -11
  27. package/lib/Reusables/reusable-pages/user-activity/ua-extras/user-activity.model.d.ts +0 -56
  28. package/lib/Reusables/reusable-pages/user-activity/ua-extras/user-activity.service.d.ts +0 -13
  29. package/lib/Reusables/reusable-pages/version/version-routing.module.d.ts +0 -7
  30. package/lib/Reusables/reusable-pages/version/version.component.d.ts +0 -13
  31. package/lib/Reusables/reusable-pages/version/version.module.d.ts +0 -10
  32. package/lib/Reusables/reusable-pages/version/version.service.d.ts +0 -19
  33. package/lib/Services/Interceptors/authentication-interceptor.service.d.ts +0 -27
  34. package/lib/Services/Interceptors/global-error-handler.service.d.ts +0 -28
  35. package/lib/Services/Interceptors/logger-interceptor.service.d.ts +0 -33
  36. package/lib/Services/Interceptors/request-loader-interceptor.service.d.ts +0 -24
  37. package/lib/Services/Interceptors/request-timeout.service.d.ts +0 -32
  38. package/lib/Services/api.service.d.ts +0 -255
  39. package/lib/Services/app.service.d.ts +0 -112
  40. package/lib/Services/base.effect.d.ts +0 -24
  41. package/lib/Services/base.facade.service.d.ts +0 -42
  42. package/lib/Services/base.service.d.ts +0 -81
  43. package/lib/Services/cache/cache-updater.service.d.ts +0 -10
  44. package/lib/Services/cache/cache.service.d.ts +0 -17
  45. package/lib/Services/cache/local-cache.service.d.ts +0 -17
  46. package/lib/Services/cache/saver.service.d.ts +0 -34
  47. package/lib/Services/debouncer.service.d.ts +0 -66
  48. package/lib/Services/error-reporter.service.d.ts +0 -56
  49. package/lib/Services/htmler.service.d.ts +0 -18
  50. package/lib/Services/input.service.d.ts +0 -55
  51. package/lib/Services/number-format.service.d.ts +0 -10
  52. package/lib/Services/object-size.service.d.ts +0 -14
  53. package/lib/Services/page-loader.service.d.ts +0 -62
  54. package/lib/Services/page.service.d.ts +0 -57
  55. package/lib/Services/route.service.d.ts +0 -75
  56. package/lib/Services/service-worker/check-for-update.service.d.ts +0 -33
  57. package/lib/Services/service-worker/handle-unrecoverable-state.service.d.ts +0 -24
  58. package/lib/Services/service-worker/log-update.service.d.ts +0 -20
  59. package/lib/Services/service-worker/prompt-update.service.d.ts +0 -43
  60. package/lib/Services/service-worker/service-worker.service.d.ts +0 -40
  61. package/lib/Services/storage.service.d.ts +0 -115
  62. package/lib/Services/theme.service.d.ts +0 -29
  63. package/lib/Services/translation.service.d.ts +0 -182
  64. package/lib/Services/utility.service.d.ts +0 -989
  65. package/lib/Services/window-security.service.d.ts +0 -10
  66. package/lib/Shared/classes/page-loader.class.d.ts +0 -41
  67. package/lib/Shared/components/add-item/add-item.component.d.ts +0 -31
  68. package/lib/Shared/components/autocomplete/autocomplete-td-rf/autocomplete-td-rf.component.d.ts +0 -75
  69. package/lib/Shared/components/autocomplete/autocomplete.component.d.ts +0 -81
  70. package/lib/Shared/components/autocomplete/autocomplete.module.d.ts +0 -6
  71. package/lib/Shared/components/autocomplete/autocomplete.service.d.ts +0 -58
  72. package/lib/Shared/components/btn/btn-lg/btn-lg.component.d.ts +0 -55
  73. package/lib/Shared/components/btn/btn-link/btn-link.component.d.ts +0 -21
  74. package/lib/Shared/components/btn/btn.component.d.ts +0 -216
  75. package/lib/Shared/components/btn/btn.model.d.ts +0 -135
  76. package/lib/Shared/components/btn/btn.module.d.ts +0 -4
  77. package/lib/Shared/components/btn/btn.service.d.ts +0 -80
  78. package/lib/Shared/components/btn/details-btn/details-btn.component.d.ts +0 -17
  79. package/lib/Shared/components/btn/details-btn/details-btn.module.d.ts +0 -1
  80. package/lib/Shared/components/card/card.component.d.ts +0 -22
  81. package/lib/Shared/components/card/card.module.d.ts +0 -1
  82. package/lib/Shared/components/confirm-dialog/confirm-dialog.component.d.ts +0 -36
  83. package/lib/Shared/components/confirm-dialog/confirm-dialog.module.d.ts +0 -1
  84. package/lib/Shared/components/confirm-dialog/confirm-dialog.service.d.ts +0 -21
  85. package/lib/Shared/components/core/button/button.component.d.ts +0 -28
  86. package/lib/Shared/components/core/button/components.module.d.ts +0 -1
  87. package/lib/Shared/components/documents-name-display/documents-name-display.component.d.ts +0 -44
  88. package/lib/Shared/components/documents-name-display/documents-name-display.model.d.ts +0 -6
  89. package/lib/Shared/components/documents-name-display/documents-name-display.module.d.ts +0 -1
  90. package/lib/Shared/components/editable-text-case/editable-text-case.component.d.ts +0 -63
  91. package/lib/Shared/components/editable-text-case/editable-text-case.module.d.ts +0 -1
  92. package/lib/Shared/components/export-table/export-table.component.d.ts +0 -61
  93. package/lib/Shared/components/export-table/export-table.module.d.ts +0 -1
  94. package/lib/Shared/components/fields-to-display/fields-to-display.component.d.ts +0 -66
  95. package/lib/Shared/components/file-upload/file-upload.component.d.ts +0 -96
  96. package/lib/Shared/components/form-error/form-error.component.d.ts +0 -73
  97. package/lib/Shared/components/form-generator/form-generated-value/form-generated-value.component.d.ts +0 -95
  98. package/lib/Shared/components/form-generator/form-generator.base.component.d.ts +0 -234
  99. package/lib/Shared/components/form-generator/form-generator.component.d.ts +0 -207
  100. package/lib/Shared/components/form-generator/form-generator.module.d.ts +0 -1
  101. package/lib/Shared/components/form-generator/form-generator.service.d.ts +0 -45
  102. package/lib/Shared/components/form-link/form-link.component.d.ts +0 -47
  103. package/lib/Shared/components/form-link/form-link.module.d.ts +0 -1
  104. package/lib/Shared/components/form-tab-headers/form-tab-headers.component.d.ts +0 -13
  105. package/lib/Shared/components/form-tab-headers/form-tab-headers.module.d.ts +0 -1
  106. package/lib/Shared/components/idler/idler.component.d.ts +0 -41
  107. package/lib/Shared/components/idler/idler.service.d.ts +0 -71
  108. package/lib/Shared/components/index-comp-layout/index-comp-layout.component.d.ts +0 -93
  109. package/lib/Shared/components/info-dialog/info-dialog.component.d.ts +0 -67
  110. package/lib/Shared/components/info-dialog/info-dialog.module.d.ts +0 -4
  111. package/lib/Shared/components/info-dialog/info-dialog.service.d.ts +0 -13
  112. package/lib/Shared/components/info-icon/info-icon.component.d.ts +0 -17
  113. package/lib/Shared/components/info-icon/info-icon.module.d.ts +0 -1
  114. package/lib/Shared/components/input/date-input/date-input.component.d.ts +0 -137
  115. package/lib/Shared/components/input/day-hour-min-input/day-hour-min-input.component.d.ts +0 -64
  116. package/lib/Shared/components/input/input-base.component.d.ts +0 -264
  117. package/lib/Shared/components/input/input-basic.component.d.ts +0 -96
  118. package/lib/Shared/components/input/input-control.component.d.ts +0 -28
  119. package/lib/Shared/components/input/input-label/input-label.component.d.ts +0 -49
  120. package/lib/Shared/components/input/input-label/input-label.module.d.ts +0 -1
  121. package/lib/Shared/components/input/input-shared.module.d.ts +0 -30
  122. package/lib/Shared/components/input/input-td-rf.component.d.ts +0 -58
  123. package/lib/Shared/components/input/input.component.d.ts +0 -82
  124. package/lib/Shared/components/input/input.model.d.ts +0 -16
  125. package/lib/Shared/components/input/input.module.d.ts +0 -23
  126. package/lib/Shared/components/input/input.service.d.ts +0 -189
  127. package/lib/Shared/components/input/inputs-pipes.pipe.d.ts +0 -61
  128. package/lib/Shared/components/input/inputs.component.d.ts +0 -11
  129. package/lib/Shared/components/input/validation-message/validation-message.component.d.ts +0 -75
  130. package/lib/Shared/components/input/validation-message/validation-message.module.d.ts +0 -1
  131. package/lib/Shared/components/input/validation-message/validation-message.service.d.ts +0 -73
  132. package/lib/Shared/components/input/year-month-td-rf/year-month-td-rf.component.d.ts +0 -38
  133. package/lib/Shared/components/input-NgModel/input-ngmodel.component.d.ts +0 -165
  134. package/lib/Shared/components/input-NgModel/input-ngmodel.module.d.ts +0 -1
  135. package/lib/Shared/components/input-NgModel/validation-message-ngmodel/validation-message-ngmodel.component.d.ts +0 -50
  136. package/lib/Shared/components/input-table/input-table.component.d.ts +0 -76
  137. package/lib/Shared/components/input-table/input-table.model.d.ts +0 -23
  138. package/lib/Shared/components/input-table/input-table.service.d.ts +0 -8
  139. package/lib/Shared/components/label/label.component.d.ts +0 -25
  140. package/lib/Shared/components/label/label.module.d.ts +0 -1
  141. package/lib/Shared/components/loader/loader-animations/blinking-blocks/blinking-blocks.component.d.ts +0 -5
  142. package/lib/Shared/components/loader/loader-animations/bouncing-ball/bouncing-ball.component.d.ts +0 -5
  143. package/lib/Shared/components/loader/loader-animations/fading-bars/fading-bars.component.d.ts +0 -5
  144. package/lib/Shared/components/loader/loader-animations/fading-circles/fading-circles.component.d.ts +0 -5
  145. package/lib/Shared/components/loader/loader-animations/ring-ripples/ring-ripples.component.d.ts +0 -5
  146. package/lib/Shared/components/loader/loader.component.d.ts +0 -88
  147. package/lib/Shared/components/loader/loader.module.d.ts +0 -1
  148. package/lib/Shared/components/loader/spinner.component.d.ts +0 -8
  149. package/lib/Shared/components/modal/modal-body.directive.d.ts +0 -27
  150. package/lib/Shared/components/modal/modal-footer.directive.d.ts +0 -27
  151. package/lib/Shared/components/modal/modal.component.d.ts +0 -154
  152. package/lib/Shared/components/modal/modal.model.d.ts +0 -21
  153. package/lib/Shared/components/modal/modal.module.d.ts +0 -1
  154. package/lib/Shared/components/modal-components/modal.components.d.ts +0 -7
  155. package/lib/Shared/components/modal-form/modal-form.component.d.ts +0 -79
  156. package/lib/Shared/components/modal-form/modal-form.module.d.ts +0 -1
  157. package/lib/Shared/components/modal-header/modal-header.component.d.ts +0 -35
  158. package/lib/Shared/components/modal-header/modal-header.module.d.ts +0 -1
  159. package/lib/Shared/components/narration-history-comp/narration-history-comp.component.d.ts +0 -34
  160. package/lib/Shared/components/notifications/notifications.component.d.ts +0 -10
  161. package/lib/Shared/components/notifications/notifications.service.d.ts +0 -9
  162. package/lib/Shared/components/page-center-body/page-center-body.component.d.ts +0 -5
  163. package/lib/Shared/components/page-template/page-template.component.d.ts +0 -181
  164. package/lib/Shared/components/page-template/page-template.module.d.ts +0 -1
  165. package/lib/Shared/components/page-to-component/page-to-component.component.d.ts +0 -70
  166. package/lib/Shared/components/page-to-component/page-to-component.directive.d.ts +0 -8
  167. package/lib/Shared/components/page-to-component/page-to-component.module.d.ts +0 -1
  168. package/lib/Shared/components/page-to-component/page-to-component.service.d.ts +0 -33
  169. package/lib/Shared/components/paginator/paginator.component.d.ts +0 -57
  170. package/lib/Shared/components/phone-number/phone-number.component.d.ts +0 -129
  171. package/lib/Shared/components/phone-number/phone-number.service.d.ts +0 -33
  172. package/lib/Shared/components/rich-text-editor/rich-text-editor.component.d.ts +0 -94
  173. package/lib/Shared/components/rich-text-editor-rf/rich-text-editor-rf.component.d.ts +0 -41
  174. package/lib/Shared/components/row-actions/row-actions.component.d.ts +0 -74
  175. package/lib/Shared/components/row-actions/row-actions.module.d.ts +0 -1
  176. package/lib/Shared/components/svg-icon/svg-icon.component.d.ts +0 -20
  177. package/lib/Shared/components/svg-icon/svg-icon.model.d.ts +0 -1
  178. package/lib/Shared/components/svg-icon/svg-icon.module.d.ts +0 -1
  179. package/lib/Shared/components/svg-icon/svg-icon.service.d.ts +0 -11
  180. package/lib/Shared/components/table/table-base.component.d.ts +0 -240
  181. package/lib/Shared/components/table/table-https/table-https.component.d.ts +0 -168
  182. package/lib/Shared/components/table/table-input/table-input-row/table-input-row.component.d.ts +0 -54
  183. package/lib/Shared/components/table/table-input/table-input.component.d.ts +0 -251
  184. package/lib/Shared/components/table/table-input/table-input.model.d.ts +0 -21
  185. package/lib/Shared/components/table/table-plain/table-plain.component.d.ts +0 -118
  186. package/lib/Shared/components/table/table-plain.service.d.ts +0 -52
  187. package/lib/Shared/components/table/table.pipe.d.ts +0 -87
  188. package/lib/Shared/components/text/text.component.d.ts +0 -6
  189. package/lib/Shared/components/text/text.module.d.ts +0 -1
  190. package/lib/Shared/components/text-area-modal/text-area-modal.component.d.ts +0 -27
  191. package/lib/Shared/components/text-area-modal/text-area-modal.service.d.ts +0 -10
  192. package/lib/Shared/components/text-case-1/text-case-1.component.d.ts +0 -53
  193. package/lib/Shared/components/text-case-1/text-case-1.module.d.ts +0 -1
  194. package/lib/Shared/components/text-case-2/text-case-2.component.d.ts +0 -219
  195. package/lib/Shared/components/text-case-2/text-case-2.module.d.ts +0 -1
  196. package/lib/Shared/components/text-case-2/text-case.service.d.ts +0 -23
  197. package/lib/Shared/components/text-case-input/text-case-input.component.d.ts +0 -9
  198. package/lib/Shared/components/text-case-input/text-case-input.module.d.ts +0 -1
  199. package/lib/Shared/components/toggle-input-form/toggle-input-form.component.d.ts +0 -138
  200. package/lib/Shared/components/toggle-input-form/toggle-input-form.model.d.ts +0 -27
  201. package/lib/Shared/components/translator-case/translator-case.component.d.ts +0 -6
  202. package/lib/Shared/components/vertical-nav/vertical-nav.component.d.ts +0 -101
  203. package/lib/Shared/components/view-form-buttons/view-form-buttons.component.d.ts +0 -23
  204. package/lib/Shared/components/view-form-buttons/view-form-buttons.module.d.ts +0 -1
  205. package/lib/Shared/components/webcam-media/webcam-media.component.d.ts +0 -162
  206. package/lib/Shared/components/webcam-media/webcam-media.model.d.ts +0 -7
  207. package/lib/Shared/directives/commafy-number.directive.d.ts +0 -104
  208. package/lib/Shared/directives/drag-drop-file-upload.directive.d.ts +0 -50
  209. package/lib/Shared/directives/form-invalid-class.directive.d.ts +0 -49
  210. package/lib/Shared/directives/index.directive.d.ts +0 -369
  211. package/lib/Shared/directives/input-formatter.directive.d.ts +0 -166
  212. package/lib/Shared/directives/integer-only.directive.d.ts +0 -60
  213. package/lib/Shared/directives/mHref.directive.d.ts +0 -6
  214. package/lib/Shared/directives/native-event-listeners.directive.d.ts +0 -228
  215. package/lib/Shared/directives/negative-number-only.directive.d.ts +0 -30
  216. package/lib/Shared/directives/responsiveness.directive.d.ts +0 -157
  217. package/lib/Shared/directives/translator.directive.d.ts +0 -45
  218. package/lib/Shared/injection-tokens/index.injection-tokens.d.ts +0 -3
  219. package/lib/Shared/models/IMenuItem.d.ts +0 -247
  220. package/lib/Shared/models/RouteItem.class.d.ts +0 -120
  221. package/lib/Shared/models/environment.model.d.ts +0 -204
  222. package/lib/Shared/models/form-schema.model.d.ts +0 -1
  223. package/lib/Shared/models/form.class.d.ts +0 -175
  224. package/lib/Shared/models/index.model.d.ts +0 -938
  225. package/lib/Shared/models/translator.model.d.ts +0 -27
  226. package/lib/Shared/pipes/form-invalid-class.pipe.d.ts +0 -28
  227. package/lib/Shared/pipes/number.pipe.d.ts +0 -15
  228. package/lib/Shared/pipes/paginator.pipe.d.ts +0 -28
  229. package/lib/Shared/pipes/translate.pipe.d.ts +0 -104
  230. package/lib/Shared/pipes/utility.pipe.d.ts +0 -715
  231. package/lib/Shared/prototypes/prototypes.d.ts +0 -201
  232. package/lib/Shared/shared.module.d.ts +0 -105
  233. package/lib/authentication/web-user/web-user-authentication.guard.d.ts +0 -15
  234. package/lib/authentication/web-user/web-user-authentication.interceptor.d.ts +0 -17
  235. package/lib/authentication/web-user/web-user-authentication.model.d.ts +0 -34
  236. package/lib/authentication/web-user/web-user-authentication.service.d.ts +0 -91
  237. package/lib/authentication/web-user/web-user-forgot-password.component.d.ts +0 -46
  238. package/lib/authentication/web-user/web-user-login.component.d.ts +0 -45
  239. package/lib/authentication/web-user/web-user-reset-password.component.d.ts +0 -59
  240. package/lib/configs/base-functions.d.ts +0 -141
  241. package/lib/configs/index.config.d.ts +0 -95
  242. package/lib/configs/validation-messages.config.d.ts +0 -20
  243. package/public-api.d.ts +0 -215
@@ -1,369 +0,0 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnChanges } from '@angular/core';
2
- import { ImageType } from '../models/index.model';
3
- import { ActivatedRoute, Router } from '@angular/router';
4
- import PerfectScrollbar from 'perfect-scrollbar';
5
- import { UtilityService } from '../../Services/utility.service';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
- import * as i2 from "./input-formatter.directive";
9
- import * as i3 from "./negative-number-only.directive";
10
- import * as i4 from "./translator.directive";
11
- import * as i5 from "./drag-drop-file-upload.directive";
12
- import * as i6 from "./form-invalid-class.directive";
13
- import * as i7 from "./responsiveness.directive";
14
- /**
15
- * Directive that enables image upload functionality on an element.
16
- * Clicking the element opens a file dialog for selecting an image.
17
- *
18
- * @example
19
- * ```html
20
- * <div imageUpload (extractedImg)="handleImage($event)" [disableUpload]="isDisabled"></div>
21
- * ```
22
- */
23
- export declare class ImageUpload implements AfterViewInit {
24
- el: ElementRef<HTMLImageElement>;
25
- uS: UtilityService;
26
- /**
27
- * Emits the selected image file when an image is successfully uploaded.
28
- * The emitted value is a File object representing the selected image.
29
- */
30
- extractedImg: EventEmitter<File>;
31
- /**
32
- * Handles click events on the element to open the file dialog.
33
- * If disableUpload is true, this handler will not trigger the file dialog.
34
- */
35
- onClick(): void;
36
- /**
37
- * When true, prevents the file dialog from opening on click.
38
- * Useful for temporarily disabling upload functionality without removing the directive.
39
- */
40
- disableUpload: boolean;
41
- /**
42
- * Reference to the hidden file input element.
43
- * This element is created programmatically and triggered via JavaScript.
44
- */
45
- fileEl: HTMLInputElement;
46
- /**
47
- * Creates an instance of ImageUpload directive.
48
- *
49
- * @param el - Reference to the host element
50
- * @param uS - Utility service for notifications and other utilities
51
- */
52
- constructor(el: ElementRef<HTMLImageElement>, uS: UtilityService);
53
- /**
54
- * Sets up the element after view initialization.
55
- * Configures cursor style and file change handler.
56
- * The cursor is set to 'pointer' to indicate clickability.
57
- */
58
- ngAfterViewInit(): void;
59
- /**
60
- * Programmatically triggers a click on the hidden file input element.
61
- * This opens the browser's file selection dialog.
62
- */
63
- openFile(): void;
64
- /**
65
- * Processes the selected files and validates them.
66
- * Emits the file if it passes validation checks for size and type.
67
- *
68
- * @param files - The list of files selected by the user
69
- * @returns void - Returns early if validation fails
70
- */
71
- preview(files: FileList): void;
72
- static ɵfac: i0.ɵɵFactoryDeclaration<ImageUpload, never>;
73
- static ɵdir: i0.ɵɵDirectiveDeclaration<ImageUpload, "[imageUpload]", never, { "disableUpload": { "alias": "disableUpload"; "required": false; }; }, { "extractedImg": "extractedImg"; }, never, never, true, never>;
74
- }
75
- /**
76
- * Directive that handles image loading with fallback support.
77
- * Loads images with proper error handling and type-based fallbacks.
78
- * Provides a placeholder while the main image is loading.
79
- *
80
- * @example
81
- * ```html
82
- * <img [imageLoader]="imageUrl" [imageType]="ImageType.Profile">
83
- * ```
84
- */
85
- export declare class ImageLoaderDirective {
86
- el: ElementRef<HTMLImageElement>;
87
- /**
88
- * Source URL of the image.
89
- * This is set internally when the imageLoader input changes.
90
- */
91
- src: string;
92
- /**
93
- * Sets the image source and triggers image loading.
94
- * When this value changes, the image loading process is initiated.
95
- *
96
- * @param v - The URL of the image to load
97
- */
98
- set imageLoader(v: string);
99
- /**
100
- * Type of image to load, used for fallback selection.
101
- * This determines which placeholder and fallback images to use.
102
- * Should be a value from the ImageType enum.
103
- */
104
- imageType: ImageType;
105
- /**
106
- * Creates an instance of ImageLoaderDirective.
107
- *
108
- * @param el - Reference to the host image element
109
- */
110
- constructor(el: ElementRef<HTMLImageElement>);
111
- /**
112
- * Loads an image with fallback support.
113
- * First sets a minimal placeholder, then attempts to load the full image.
114
- * If the image fails to load, the placeholder remains visible.
115
- *
116
- * @param src - The source URL of the image to load (defaults to this.src)
117
- * @param type - The type of image, used for fallback selection (defaults to this.imageType)
118
- */
119
- loadImage(src?: string, type?: ImageType): void;
120
- /**
121
- * Retrieves image configuration based on the specified type.
122
- * Falls back to a default image if the type is not found.
123
- *
124
- * @param type - The type of image to retrieve
125
- * @returns The image configuration for the specified type, containing src and min properties
126
- */
127
- getImageByType(type: ImageType): {
128
- src: string;
129
- min: string;
130
- };
131
- static ɵfac: i0.ɵɵFactoryDeclaration<ImageLoaderDirective, never>;
132
- static ɵdir: i0.ɵɵDirectiveDeclaration<ImageLoaderDirective, "[imageLoader]", never, { "imageLoader": { "alias": "imageLoader"; "required": false; }; "imageType": { "alias": "imageType"; "required": false; }; }, {}, never, never, true, never>;
133
- }
134
- /**
135
- * Directive that captures click events on buttons.
136
- * Logs information about the clicked button and its location.
137
- * Can be used for analytics or tracking user interactions.
138
- *
139
- * @example
140
- * This directive is automatically applied to all button elements.
141
- */
142
- export declare class OnClickDirective {
143
- private el;
144
- /**
145
- * Handles click events on buttons.
146
- * Captures and logs information about the button and its location.
147
- * This can be extended to send analytics data to a server.
148
- *
149
- * @param $event - The mouse event triggered by the click
150
- */
151
- onClick($event: MouseEvent): void;
152
- /**
153
- * Creates an instance of OnClickDirective.
154
- *
155
- * @param el - Reference to the host button element
156
- */
157
- constructor(el: ElementRef);
158
- static ɵfac: i0.ɵɵFactoryDeclaration<OnClickDirective, never>;
159
- static ɵdir: i0.ɵɵDirectiveDeclaration<OnClickDirective, "button", never, {}, {}, never, never, false, never>;
160
- }
161
- /**
162
- * Custom router link directive that extends functionality beyond Angular's routerLink.
163
- * Supports relative navigation, email links, phone links, and query parameters.
164
- * Provides more flexibility than the standard routerLink directive.
165
- *
166
- * @example
167
- * ```html
168
- * <!-- Standard route navigation -->
169
- * <a [mrouterLink]="'products/detail'" [mqueryParams]="{id: 123}">Product</a>
170
- *
171
- * <!-- Email link -->
172
- * <a [mrouterLink]="'support@example.com'" [isEmail]="true">Email Support</a>
173
- *
174
- * <!-- Phone link -->
175
- * <a [mrouterLink]="'555-123-4567'" [isPhone]="true">Call Us</a>
176
- * ```
177
- */
178
- export declare class MrouterLinkirective implements AfterViewInit {
179
- el: ElementRef<HTMLAnchorElement>;
180
- route: ActivatedRoute;
181
- router: Router;
182
- uS: UtilityService;
183
- /**
184
- * The route to navigate to.
185
- * Can be a relative path, absolute path, email address, or phone number.
186
- */
187
- mrouterLink: string;
188
- /**
189
- * Sets the route and updates the element's href.
190
- * Triggers the setRouter method to configure the link behavior.
191
- *
192
- * @param v - The route, email, or phone number to link to
193
- */
194
- set _mrouterLink(v: string);
195
- /**
196
- * The activated route to use as a base for relative navigation.
197
- * If not provided, the current route will be used.
198
- */
199
- mrouterLinkActivatedRoute: ActivatedRoute;
200
- /**
201
- * Query parameters to include in the navigation.
202
- * These will be appended to the URL as query string parameters.
203
- */
204
- mqueryParams: any;
205
- /**
206
- * When true, treats the link as a phone number.
207
- * The link will use the 'tel:' protocol instead of navigation.
208
- */
209
- isPhone: boolean;
210
- /**
211
- * When true, treats the link as an email address.
212
- * The link will use the 'mailto:' protocol instead of navigation.
213
- */
214
- isEmail: boolean;
215
- /**
216
- * Creates an instance of MrouterLinkirective.
217
- *
218
- * @param el - Reference to the host anchor element
219
- * @param route - The current activated route for relative navigation
220
- * @param router - The Angular router service for navigation
221
- * @param uS - Utility service for environment and other utilities
222
- */
223
- constructor(el: ElementRef<HTMLAnchorElement>, route: ActivatedRoute, router: Router, uS: UtilityService);
224
- /**
225
- * Initializes the router link after the view is initialized.
226
- * Calls setRouter to configure the link behavior.
227
- */
228
- ngAfterViewInit(): void;
229
- /**
230
- * Configures the element's href and click behavior based on the link type.
231
- * Handles email, phone, and route navigation differently.
232
- * For route navigation, it parses query parameters and handles relative paths.
233
- */
234
- setRouter(): void;
235
- /**
236
- * Converts a query parameter object to a URL query string.
237
- * Formats the parameters as key=value pairs joined by ampersands.
238
- *
239
- * @param q - The query parameter object
240
- * @returns A formatted query string (without the leading '?')
241
- */
242
- stringifyQueryParams(q: {
243
- [x: string]: string;
244
- }): string;
245
- static ɵfac: i0.ɵɵFactoryDeclaration<MrouterLinkirective, never>;
246
- static ɵdir: i0.ɵɵDirectiveDeclaration<MrouterLinkirective, "[mrouterLink]", never, { "_mrouterLink": { "alias": "mrouterLink"; "required": false; }; "mrouterLinkActivatedRoute": { "alias": "mrouterLinkActivatedRoute"; "required": false; }; "mqueryParams": { "alias": "mqueryParams"; "required": false; }; "isPhone": { "alias": "isPhone"; "required": false; }; "isEmail": { "alias": "isEmail"; "required": false; }; }, {}, never, never, true, never>;
247
- }
248
- /**
249
- * Directive that adds PerfectScrollbar functionality to an element.
250
- * Provides customizable scrolling behavior with various options.
251
- * Only initializes on non-mobile devices to avoid conflicts with native scrolling.
252
- *
253
- * @example
254
- * ```html
255
- * <div PSBox [PSBoxNoHorizontal]="true">
256
- * <!-- Content that needs custom scrollbars -->
257
- * </div>
258
- * ```
259
- */
260
- export declare class PSDirective implements OnChanges, AfterViewInit {
261
- el: ElementRef;
262
- uS: UtilityService;
263
- /**
264
- * Element or selector to apply PerfectScrollbar to (defaults to host element).
265
- * Can be a CSS selector string or an HTMLElement reference.
266
- */
267
- selector: string | HTMLElement;
268
- /**
269
- * When true, disables horizontal scrolling.
270
- * Useful for content that should only scroll vertically.
271
- */
272
- noHorizontal: boolean;
273
- /**
274
- * When true, disables vertical scrolling.
275
- * Useful for content that should only scroll horizontally.
276
- */
277
- noVertical: boolean;
278
- /**
279
- * Reference to the PerfectScrollbar instance.
280
- * Used to call methods on the scrollbar instance, such as update().
281
- */
282
- protected psInstance: PerfectScrollbar;
283
- /**
284
- * Creates an instance of PSDirective.
285
- *
286
- * @param el - Reference to the host element
287
- * @param uS - Utility service for device detection and other utilities
288
- */
289
- constructor(el: ElementRef, uS: UtilityService);
290
- /**
291
- * Responds to changes in the directive's inputs.
292
- * Currently empty, but can be extended to reinitialize the scrollbar when inputs change.
293
- */
294
- ngOnChanges(): void;
295
- /**
296
- * Initializes the PerfectScrollbar after the view is initialized.
297
- * Calls the init method to create the PerfectScrollbar instance.
298
- */
299
- ngAfterViewInit(): void;
300
- /**
301
- * Initializes the PerfectScrollbar instance with configured options.
302
- * Only initializes on non-mobile devices to avoid conflicts with native scrolling.
303
- * Uses setTimeout to ensure the DOM is fully rendered before initialization.
304
- */
305
- init(): void;
306
- /**
307
- * Updates the PerfectScrollbar instance.
308
- * Should be called when content changes to refresh the scrollbars.
309
- * Safe to call even if the instance doesn't exist (e.g., on mobile).
310
- */
311
- update(): void;
312
- static ɵfac: i0.ɵɵFactoryDeclaration<PSDirective, never>;
313
- static ɵdir: i0.ɵɵDirectiveDeclaration<PSDirective, "[PSBox]", never, { "selector": { "alias": "PSBox"; "required": false; }; "noHorizontal": { "alias": "PSBoxNoHorizontal"; "required": false; }; "noVertical": { "alias": "PSBoxNoVertical"; "required": false; }; }, {}, never, never, true, never>;
314
- }
315
- /**
316
- * Directive that equalizes the width of child elements.
317
- * Finds the maximum width among children and can apply it to all.
318
- * Useful for creating consistent column widths in tables or grids.
319
- *
320
- * @example
321
- * ```html
322
- * <div equalChildren>
323
- * <div>Column 1</div>
324
- * <div>Column 2 with longer content</div>
325
- * <div>Column 3</div>
326
- * </div>
327
- * ```
328
- */
329
- export declare class EqualChildrenDirective implements OnChanges, AfterViewInit {
330
- el: ElementRef;
331
- uS: UtilityService;
332
- /**
333
- * Creates an instance of EqualChildrenDirective.
334
- *
335
- * @param el - Reference to the host element containing the children to equalize
336
- * @param uS - Utility service for various utilities
337
- */
338
- constructor(el: ElementRef, uS: UtilityService);
339
- /**
340
- * Responds to changes in the directive's inputs.
341
- * Currently empty, but can be extended to recalculate widths when inputs change.
342
- */
343
- ngOnChanges(): void;
344
- /**
345
- * Calculates the maximum width of child elements after view initialization.
346
- * Note: Currently only calculates but doesn't apply the width.
347
- * This method could be extended to apply the maximum width to all children.
348
- */
349
- ngAfterViewInit(): void;
350
- static ɵfac: i0.ɵɵFactoryDeclaration<EqualChildrenDirective, never>;
351
- static ɵdir: i0.ɵɵDirectiveDeclaration<EqualChildrenDirective, "[equalChildren]", never, {}, {}, never, never, true, never>;
352
- }
353
- /**
354
- * Angular module that exports all directives for use in other modules.
355
- * Import this module to make all directives available in your components.
356
- *
357
- * @example
358
- * ```typescript
359
- * @NgModule({
360
- * imports: [DirectivesModule]
361
- * })
362
- * export class MyModule { }
363
- * ```
364
- */
365
- export declare class DirectivesModule {
366
- static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
367
- static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, never, [typeof i1.CommonModule, typeof i2.InputFormatDirective, typeof EqualChildrenDirective, typeof ImageLoaderDirective, typeof ImageUpload, typeof MrouterLinkirective, typeof i3.NegativeNumberOnlyDirective, typeof PSDirective, typeof i4.TranslatorDirective, typeof i5.DragDropFileUploadDirective, typeof i6.FormInvalidClassDirective], [typeof EqualChildrenDirective, typeof ImageLoaderDirective, typeof ImageUpload, typeof MrouterLinkirective, typeof i3.NegativeNumberOnlyDirective, typeof PSDirective, typeof i4.TranslatorDirective, typeof i5.DragDropFileUploadDirective, typeof i6.FormInvalidClassDirective, typeof i2.InputFormatDirective, typeof i7.ETSResponsivenessDirectiveModule]>;
368
- static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
369
- }
@@ -1,166 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { DecimalPipe } from '@angular/common';
4
- import { InputType } from '../models/index.model';
5
- import { NumberFormatService } from '../../Services/number-format.service';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Directive that automatically formats input values based on their type.
9
- * Supports formatting for text (title case), numbers (with commas), and percentages.
10
- * Can be disabled with the noformat attribute or through the InputFormatService.
11
- */
12
- export declare class InputFormatDirective implements ControlValueAccessor {
13
- private elementRef;
14
- private formatterService;
15
- private decimalPipe;
16
- private el;
17
- /** The original input type (text, number, percentage) */
18
- oType: InputType;
19
- /**
20
- * Whether formatting should be disabled for this input
21
- * @returns True if formatting is disabled via attribute or service
22
- */
23
- get noFormatting(): boolean;
24
- /**
25
- * Whether text formatting should be disabled for this input
26
- * @returns True if text formatting is disabled via attribute or service
27
- */
28
- get noTextFormat(): boolean;
29
- /**
30
- * Whether debug mode is enabled for this input
31
- * @returns True if debug is enabled via attribute
32
- */
33
- get isDebug(): boolean;
34
- /**
35
- * Whether this input type should be formatted
36
- * @returns True if the input type is in the accepted types list
37
- */
38
- get shouldFormat(): boolean;
39
- /** List of input types that can be formatted */
40
- readonly acceptedType: InputType[];
41
- /** Service for page-level formatting configuration */
42
- readonly inputFormatService: InputFormatService;
43
- constructor(elementRef: ElementRef<HTMLInputElement>, formatterService: InputFormatService, decimalPipe: DecimalPipe);
44
- /**
45
- * Initialize the directive, determine input type and apply initial formatting
46
- */
47
- ngOnInit(): void;
48
- /**
49
- * Add appropriate icons after view initialization based on input type
50
- */
51
- ngAfterViewInit(): void;
52
- private __value;
53
- /**
54
- * Set the internal value
55
- */
56
- set _value(v: string | number | boolean | null);
57
- /**
58
- * Get the current value
59
- */
60
- get value(): string | number | boolean | null;
61
- /**
62
- * Set the input value with appropriate formatting
63
- * @param value The value to set
64
- */
65
- set value(value: string | number | boolean | null);
66
- /**
67
- * Handle input events and format values accordingly
68
- * @param value The input value
69
- */
70
- input(value: any): void;
71
- /**
72
- * Apply formatting when the input loses focus
73
- */
74
- _onBlur(): void;
75
- /**
76
- * Remove formatting when the input gains focus
77
- */
78
- onFocus(): void;
79
- /**
80
- * Callback for value changes
81
- * @param value The new value
82
- */
83
- _onChange(value: any): void;
84
- /**
85
- * Write a new value to the input with appropriate formatting
86
- * Implements ControlValueAccessor
87
- * @param value The value to write
88
- */
89
- writeValue(value: any): void;
90
- /**
91
- * Register a callback function for value changes
92
- * Implements ControlValueAccessor
93
- * @param fn The callback function
94
- */
95
- registerOnChange(fn: (value: any) => void): void;
96
- /**
97
- * Register a callback function for touched state
98
- * Implements ControlValueAccessor
99
- */
100
- registerOnTouched(): void;
101
- /**
102
- * Check if the last character of a value is a decimal separator
103
- * @param value The value to check
104
- * @returns True if the last character is a decimal point
105
- */
106
- isLastCharacterDecimalSeparator(value: string | number): boolean;
107
- /**
108
- * Format a number by adding commas
109
- * @param value The number value to format
110
- */
111
- private setNumberInput;
112
- /**
113
- * Format a percentage by adding % sign
114
- * @param value The percentage value to format
115
- */
116
- private setPercentageInput;
117
- /**
118
- * Format text by converting to title case
119
- * @param value The text to format
120
- */
121
- private setTextInput;
122
- /**
123
- * Set a value on the input element without special formatting
124
- * @param value The value to set
125
- */
126
- private setInput;
127
- /**
128
- * Set a value on a checkbox input
129
- * @param value The boolean value to set
130
- */
131
- private setCheckboxInput;
132
- /**
133
- * Remove comma formatting from numbers when focused
134
- */
135
- private unFormatNumber;
136
- /**
137
- * Remove percentage formatting when focused
138
- */
139
- private unFormatPercentage;
140
- /**
141
- * Set the disabled state of the input
142
- * Implements ControlValueAccessor
143
- * @param val Whether the input should be disabled
144
- */
145
- setDisabledState(val: boolean): void;
146
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFormatDirective, never>;
147
- static ɵdir: i0.ɵɵDirectiveDeclaration<InputFormatDirective, "input:not([matInput]):not([noformat])", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
148
- }
149
- export declare class InputFormatService {
150
- /** Don't use the input formattter on this page */
151
- pageNoformat: boolean;
152
- /** Don't use the input formattter for text inputs on this page */
153
- pageNoTextFormat: boolean;
154
- readonly locale: import("@angular/core").Signal<"en-US" | "fr-FR">;
155
- readonly nfS: NumberFormatService;
156
- /**
157
- * Convert input value to number
158
- * @param value Input value
159
- * @returns The numeric value with spaces removed according to locale
160
- */
161
- normalise(value: string): number;
162
- normaliseForInput(value: string): string;
163
- toTitleCase(str: string | number): string;
164
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFormatService, never>;
165
- static ɵprov: i0.ɵɵInjectableDeclaration<InputFormatService>;
166
- }
@@ -1,60 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Directive that restricts input to integer values only.
6
- *
7
- * This directive implements ControlValueAccessor to integrate with Angular forms.
8
- * It filters out non-numeric characters from input, optionally allowing negative numbers.
9
- * When the input receives focus and contains only a zero, it clears the field.
10
- */
11
- export declare class IntegerOnlyDirective implements ControlValueAccessor {
12
- private elemRef;
13
- /**
14
- * Controls whether negative numbers are allowed in the input.
15
- * When true, the negative sign (-) is permitted.
16
- * @default false
17
- */
18
- allowNegativeNumbers: boolean;
19
- /**
20
- * Creates an instance of IntegerOnlyDirective.
21
- * @param elemRef - Reference to the host DOM element
22
- */
23
- constructor(elemRef: ElementRef);
24
- /**
25
- * Handles the focus event on the input element.
26
- * If the current value is just zero, clears the input field.
27
- */
28
- onFocus(): void;
29
- /**
30
- * Handles the input event on the element.
31
- * Filters out non-numeric characters, optionally allowing the negative sign.
32
- * Notifies Angular forms about the value change.
33
- */
34
- onKeyUp(): void;
35
- /**
36
- * Writes a value to the element.
37
- * Part of the ControlValueAccessor interface.
38
- * @param value - The value to write to the element
39
- */
40
- writeValue(value: string): void;
41
- /**
42
- * Registers a callback function that is called when the control's value changes in the UI.
43
- * Part of the ControlValueAccessor interface.
44
- * @param fn - The callback function to register
45
- */
46
- registerOnChange(fn: any): void;
47
- /**
48
- * Registers a callback function that is called when the control receives a blur event.
49
- * Part of the ControlValueAccessor interface.
50
- * @param fn - The callback function to register
51
- */
52
- registerOnTouched(fn: any): void;
53
- /**
54
- * Internal method that is set by registerOnChange to propagate changes back to the form.
55
- * @param value - The new value
56
- */
57
- _onChange(value: any): void;
58
- static ɵfac: i0.ɵɵFactoryDeclaration<IntegerOnlyDirective, never>;
59
- static ɵdir: i0.ɵɵDirectiveDeclaration<IntegerOnlyDirective, "[appIntegerOnly]", never, { "allowNegativeNumbers": { "alias": "allowNegativeNumbers"; "required": false; }; }, {}, never, never, false, never>;
60
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MHrefDirective {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<MHrefDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<MHrefDirective, "[mHref]", never, {}, {}, never, never, false, never>;
6
- }