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,162 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
2
- import { Observable, Subscription } from 'rxjs';
3
- import { IWebcamMedia } from './webcam-media.model';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Component for capturing webcam media (images or videos)
7
- *
8
- * This component provides functionality to:
9
- * - Capture images from webcam
10
- * - Record video with optional audio
11
- * - Preview captured media
12
- * - Save or cancel the captured media
13
- */
14
- export declare class WebcamMediaComponent {
15
- cdr: ChangeDetectorRef;
16
- /** Emits when the component is closed, providing the captured media or null if canceled */
17
- closed: EventEmitter<IWebcamMedia>;
18
- /** Emits when the recorder is stopped */
19
- recorderStopped: EventEmitter<Event>;
20
- /** Emits when the recorder encounters an error */
21
- recorderErrored: EventEmitter<Event>;
22
- /** Emits when the recorder starts */
23
- recorderStarted: EventEmitter<Event>;
24
- /** Emits the current recording state */
25
- recordingState: EventEmitter<RecordingState>;
26
- /** Emits when the recording changes */
27
- recordingChanged: EventEmitter<IWebcamMedia>;
28
- /** Emits when a new image snapshot is taken */
29
- newImageSnapshot: EventEmitter<IWebcamMedia>;
30
- /** Emits when a webcam error occurs */
31
- webcamError: EventEmitter<any>;
32
- /** Optional template for custom controls */
33
- readonly controlTemplate: import("@angular/core").InputSignal<TemplateRef<any>>;
34
- /** Whether to capture video (true) or image (false) */
35
- readonly isVideo: import("@angular/core").InputSignal<boolean>;
36
- /** Whether to include audio in video recordings */
37
- readonly useAudio: import("@angular/core").InputSignal<boolean>;
38
- /** Custom filename for the captured media */
39
- readonly fileName: import("@angular/core").InputSignal<string>;
40
- /** Factory function to generate filename based on component state */
41
- readonly fileNameFactory: import("@angular/core").InputSignal<(comp: WebcamMediaComponent) => string>;
42
- /** MIME type for the captured media */
43
- readonly fileType: import("@angular/core").InputSignal<string>;
44
- /** Additional CSS class to apply to the component */
45
- readonly extraClass: import("@angular/core").InputSignal<string>;
46
- /**
47
- * Interval in seconds for recording notifications
48
- */
49
- readonly recordingNotificationInterval: import("@angular/core").InputSignal<number>;
50
- /**
51
- * Interval in seconds for automatic image snapshots
52
- * Set to 0 to disable automatic snapshots
53
- */
54
- readonly imageSnapshotInterval: import("@angular/core").InputSignal<number>;
55
- /** Whether the webcam should run in the background */
56
- readonly isBackground: import("@angular/core").InputSignal<boolean>;
57
- readonly computedRecordingNotificationInterval: import("@angular/core").Signal<number>;
58
- readonly isPicture: import("@angular/core").Signal<boolean>;
59
- readonly subject: import("@angular/core").Signal<"Image" | "Video">;
60
- readonly isPaused: import("@angular/core").Signal<boolean>;
61
- computedFileType: import("@angular/core").Signal<string>;
62
- computedFileExtension: import("@angular/core").Signal<string>;
63
- computedFileName: import("@angular/core").Signal<string>;
64
- readonly streamingVideoTemplate: import("@angular/core").Signal<TemplateRef<any>>;
65
- readonly recordingVideoRef: import("@angular/core").Signal<ElementRef<HTMLVideoElement>>;
66
- readonly recordingVideoRefEl: import("@angular/core").Signal<HTMLVideoElement>;
67
- protected readonly streaming: import("@angular/core").WritableSignal<boolean>;
68
- protected readonly preview: import("@angular/core").WritableSignal<boolean>;
69
- readonly computedPreview: import("@angular/core").Signal<boolean>;
70
- readonly width: import("@angular/core").ModelSignal<number>;
71
- readonly height: import("@angular/core").Signal<number>;
72
- protected canvas: HTMLCanvasElement | undefined;
73
- /**Holds the image or video file and blob */
74
- protected readonly mediaFile: import("@angular/core").WritableSignal<IWebcamMedia>;
75
- readonly mediaFileLink: import("@angular/core").Signal<string>;
76
- protected readonly stream: import("@angular/core").WritableSignal<MediaStream>;
77
- protected sub: Subscription;
78
- protected recorder: MediaRecorder;
79
- readonly isRecording: import("@angular/core").Signal<boolean>;
80
- /**In Milliseconds */
81
- protected readonly recordedTimeMS: import("@angular/core").WritableSignal<number>;
82
- readonly recordedTime: import("@angular/core").Signal<number>;
83
- protected readonly loading: import("@angular/core").WritableSignal<boolean>;
84
- protected snapshotHandlerSub: Subscription;
85
- protected readonly snapshotHandler: import("@angular/core").EffectRef;
86
- /**
87
- * Initializes the component
88
- * @param cdr ChangeDetectorRef for triggering change detection
89
- */
90
- constructor(cdr: ChangeDetectorRef);
91
- /**
92
- * Initializes the webcam after the view is initialized
93
- */
94
- protected ngAfterViewInit(): void;
95
- /**
96
- * Cleans up resources when the component is destroyed
97
- */
98
- protected ngOnDestroy(): void;
99
- /**
100
- * Starts the webcam stream and initializes the canvas
101
- */
102
- protected startUpWebcam(): void;
103
- /**
104
- * Saves the captured media and closes the webcam
105
- * Emits the media through the closed EventEmitter
106
- */
107
- save(): void;
108
- /**
109
- * Cancels the capture process and closes the webcam
110
- * Emits null through the closed EventEmitter
111
- */
112
- cancel(): void;
113
- /**
114
- * Clears any captured media and returns to the streaming state
115
- */
116
- clear(): void;
117
- /**
118
- * Restarts the webcam capture process
119
- */
120
- retake(): void;
121
- /**
122
- * Shuts down the webcam stream and releases resources
123
- */
124
- closeWebcam(): void;
125
- /**
126
- * Captures a still image from the webcam stream
127
- * Only works when in picture mode (isPicture is true)
128
- */
129
- takePicture(): void;
130
- /**
131
- * Draws the current video frame to the canvas
132
- */
133
- protected paintCanvas(): void;
134
- /**
135
- * Starts recording video from the webcam stream
136
- * @param stream Optional MediaStream to record from, defaults to the current stream
137
- * @throws Error if stream is not available
138
- */
139
- startRecording: (stream?: MediaStream) => void;
140
- /**
141
- * Stops the current recording and switches to preview mode
142
- */
143
- stopRecording(): void;
144
- /**
145
- * Toggles between paused and recording states
146
- */
147
- pauseRecording(): void;
148
- /**
149
- * Stops recording and extracts the recorded video
150
- */
151
- extractRecordedVideo(): void;
152
- /**
153
- * Observable that extracts the current canvas content as an image file
154
- */
155
- protected extractImage: Observable<IWebcamMedia>;
156
- /**
157
- * Observable that extracts the current canvas content and sets it as the media file
158
- */
159
- protected extractAndSetImage: Observable<IWebcamMedia>;
160
- static ɵfac: i0.ɵɵFactoryDeclaration<WebcamMediaComponent, never>;
161
- static ɵcmp: i0.ɵɵComponentDeclaration<WebcamMediaComponent, "lib-webcam-media", never, { "controlTemplate": { "alias": "controlTemplate"; "required": false; "isSignal": true; }; "isVideo": { "alias": "isVideo"; "required": false; "isSignal": true; }; "useAudio": { "alias": "useAudio"; "required": false; "isSignal": true; }; "fileName": { "alias": "fileName"; "required": false; "isSignal": true; }; "fileNameFactory": { "alias": "fileNameFactory"; "required": false; "isSignal": true; }; "fileType": { "alias": "fileType"; "required": false; "isSignal": true; }; "extraClass": { "alias": "extraClass"; "required": false; "isSignal": true; }; "recordingNotificationInterval": { "alias": "recordingNotificationInterval"; "required": false; "isSignal": true; }; "imageSnapshotInterval": { "alias": "imageSnapshotInterval"; "required": false; "isSignal": true; }; "isBackground": { "alias": "isBackground"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "recorderStopped": "recorderStopped"; "recorderErrored": "recorderErrored"; "recorderStarted": "recorderStarted"; "recordingState": "recordingState"; "recordingChanged": "recordingChanged"; "newImageSnapshot": "newImageSnapshot"; "webcamError": "webcamError"; "width": "widthChange"; }, never, never, true, never>;
162
- }
@@ -1,7 +0,0 @@
1
- export interface IWebcamMedia {
2
- /**The latest file created between the last interval */
3
- latestFile: File;
4
- /**The latest blob created between the last interval */
5
- latestBlob: Blob;
6
- dataURI?: string;
7
- }
@@ -1,104 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { DecimalPipe } from '@angular/common';
3
- import { ControlValueAccessor } from '@angular/forms';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Directive that formats numbers with commas in input fields.
7
- *
8
- * This directive implements ControlValueAccessor to integrate with Angular forms.
9
- * It automatically formats numeric input values with commas as thousands separators
10
- * while maintaining the actual numeric value in the form model.
11
- *
12
- * @example
13
- * ```html
14
- * <input appCommafyNumber [value]="1000">
15
- * <!-- Will display as "1,000" but the model value will be "1000" -->
16
- * ```
17
- */
18
- export declare class CommafyNumberDirective implements ControlValueAccessor {
19
- private elementRef;
20
- private numberPipe;
21
- /**
22
- * Internal storage for the unformatted value
23
- * @private
24
- */
25
- private _value;
26
- /**
27
- * Whether the input is disabled
28
- */
29
- disableInput: any;
30
- /**
31
- * Creates an instance of CommafyNumberDirective.
32
- *
33
- * @param elementRef - Reference to the host input element
34
- * @param numberPipe - Angular's DecimalPipe for number formatting
35
- */
36
- constructor(elementRef: ElementRef<HTMLInputElement>, numberPipe: DecimalPipe);
37
- /**
38
- * Updates the disabled state when the input changes
39
- */
40
- ngOnChanges(): void;
41
- /**
42
- * Sets the input value and formats it with commas
43
- *
44
- * @param value - The numeric value to set and format
45
- */
46
- set value(value: number);
47
- /**
48
- * Formats a value by adding commas using DecimalPipe
49
- *
50
- * @param value - The value to format
51
- * @returns The formatted value with commas
52
- * @private
53
- */
54
- private formatValue;
55
- /**
56
- * Removes formatting (commas) from a value
57
- *
58
- * @param value - The formatted value
59
- * @returns The raw numeric value without commas
60
- * @private
61
- */
62
- private unFormatValue;
63
- /**
64
- * Handles input events, unformats the value for the model,
65
- * and reformats the display value with commas
66
- *
67
- * @param value - The current input value
68
- */
69
- onInput(value: any): void;
70
- /**
71
- * Handles focus events
72
- */
73
- onFocus(): void;
74
- /**
75
- * Writes a value to the input element with proper formatting
76
- * Implements ControlValueAccessor
77
- *
78
- * @param value - The value to write
79
- */
80
- writeValue(value: string): void;
81
- /**
82
- * Registers a callback function for value changes
83
- * Implements ControlValueAccessor
84
- *
85
- * @param fn - The callback function
86
- */
87
- registerOnChange(fn: any): void;
88
- /**
89
- * Registers a callback function for touched state
90
- * Implements ControlValueAccessor
91
- *
92
- * @param fn - The callback function
93
- */
94
- registerOnTouched(fn: any): void;
95
- /**
96
- * Internal method that is set by registerOnChange to propagate changes back to the form
97
- *
98
- * @param value - The new value
99
- * @private
100
- */
101
- _onChange(value: any): void;
102
- static ɵfac: i0.ɵɵFactoryDeclaration<CommafyNumberDirective, never>;
103
- static ɵdir: i0.ɵɵDirectiveDeclaration<CommafyNumberDirective, "[appCommafyNumber]", never, { "disableInput": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
104
- }
@@ -1,50 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { UtilityService } from '../../Services/utility.service';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Directive that enables drag and drop file upload functionality.
6
- * Applies visual feedback during drag operations and emits selected files.
7
- */
8
- export declare class DragDropFileUploadDirective {
9
- uS: UtilityService;
10
- /**
11
- * Controls whether multiple files can be dropped at once.
12
- * If false, only single file drops are allowed.
13
- */
14
- multiple: boolean;
15
- /**
16
- * Event emitted when files are successfully dropped.
17
- * Emits an array of File objects.
18
- */
19
- fileDropped: EventEmitter<File[]>;
20
- /**
21
- * Background color binding that changes during drag interactions.
22
- */
23
- private background;
24
- /**
25
- * Handles the dragover event.
26
- * Changes background color to provide visual feedback.
27
- * @param event - The dragover event
28
- */
29
- dragOver(event: any): void;
30
- /**
31
- * Handles the dragleave event.
32
- * Resets background color when drag leaves the element.
33
- * @param event - The dragleave event
34
- */
35
- dragLeave(event: any): void;
36
- /**
37
- * Handles the drop event.
38
- * Processes dropped files and emits them if valid.
39
- * Validates against multiple files if multiple is false.
40
- * @param event - The drop event containing the files
41
- */
42
- drop(event: any): void;
43
- /**
44
- * Creates an instance of DragDropFileUploadDirective.
45
- * @param uS - Utility service for displaying notifications
46
- */
47
- constructor(uS: UtilityService);
48
- static ɵfac: i0.ɵɵFactoryDeclaration<DragDropFileUploadDirective, never>;
49
- static ɵdir: i0.ɵɵDirectiveDeclaration<DragDropFileUploadDirective, "[libDragDropFileUpload]", never, { "multiple": { "alias": "multiple"; "required": false; }; }, { "fileDropped": "fileDropped"; }, never, never, true, never>;
50
- }
@@ -1,49 +0,0 @@
1
- import { AfterViewInit, ElementRef } from '@angular/core';
2
- import { AbstractControl, FormGroup } from '@angular/forms';
3
- import { Subscription } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Directive that adds a CSS class to an element when the associated form or form controls are invalid.
7
- *
8
- * @example
9
- * ```html
10
- * <div [formInvalidClass]="myForm" [includedNames]="['firstName', 'email']">
11
- * <!-- Form content -->
12
- * </div>
13
- * ```
14
- */
15
- export declare class FormInvalidClassDirective<TForm extends {
16
- [K in keyof TForm]: AbstractControl<any, any>;
17
- }> implements AfterViewInit {
18
- el: ElementRef<HTMLElement>;
19
- /**
20
- * The form group to monitor for validation status changes.
21
- */
22
- formInvalidClass: FormGroup<TForm>;
23
- /**
24
- * Optional array of form control names to monitor.
25
- * If provided, only these specific controls will be monitored.
26
- * If not provided, the entire form group will be monitored.
27
- */
28
- includedNames: (keyof TForm)[];
29
- /**
30
- * Subscription to form status changes.
31
- * @internal
32
- */
33
- sub: Subscription;
34
- /**
35
- * @param el Reference to the host element where the CSS class will be added/removed
36
- */
37
- constructor(el: ElementRef<HTMLElement>);
38
- /**
39
- * Initializes the directive by setting up subscriptions to form control status changes.
40
- * Adds 'custom-form-invalid' class to the host element when monitored controls are invalid.
41
- */
42
- ngAfterViewInit(): void;
43
- /**
44
- * Cleans up subscriptions when the directive is destroyed.
45
- */
46
- ngOnDestroy(): void;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<FormInvalidClassDirective<any>, never>;
48
- static ɵdir: i0.ɵɵDirectiveDeclaration<FormInvalidClassDirective<any>, "[formInvalidClass]", never, { "formInvalidClass": { "alias": "formInvalidClass"; "required": false; }; "includedNames": { "alias": "includedNames"; "required": false; }; }, {}, never, never, true, never>;
49
- }