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,715 +0,0 @@
1
- import { DatePipe } from '@angular/common';
2
- import { PipeTransform } from '@angular/core';
3
- import { AbstractControl, FormGroup } from '@angular/forms';
4
- import { Observable } from 'rxjs';
5
- import { UtilityService } from '../../Services/utility.service';
6
- import { EPageType, IObjectLiteral, ITableCol, TypeOf } from '../models/index.model';
7
- import { BreakpointObserver } from '@angular/cdk/layout';
8
- import { IFormSchema } from '../models/form-schema.model';
9
- import { ITextCase2 } from '../components/text-case-2/text-case-2.component';
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "@angular/common";
12
- import * as i2 from "./form-invalid-class.pipe";
13
- import * as i3 from "./translate.pipe";
14
- /**
15
- * Splits an array into a smaller segment based on start and end indices
16
- */
17
- export declare class ArraySplitter implements PipeTransform {
18
- /**
19
- * Extracts a portion of an array between specified indices
20
- * @param arr The source array to split
21
- * @param arrLength The length of the array (not used in implementation)
22
- * @param startIndex The starting index (inclusive)
23
- * @param endIndex The ending index (exclusive)
24
- * @returns A new array containing elements from startIndex to endIndex
25
- */
26
- transform<T>(arr: T[], arrLength: number, startIndex: number, endIndex?: number): T[];
27
- static ɵfac: i0.ɵɵFactoryDeclaration<ArraySplitter, never>;
28
- static ɵpipe: i0.ɵɵPipeDeclaration<ArraySplitter, "arraySplitter", true>;
29
- }
30
- /**
31
- * Transforms gender code to human-readable format
32
- */
33
- export declare class GenderPipe implements PipeTransform {
34
- /**
35
- * Converts gender code to full text representation
36
- * @param value Gender code ('M' or 'F')
37
- * @returns 'Male', 'Female', or the original value if not recognized
38
- */
39
- transform(value: string): string;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<GenderPipe, never>;
41
- static ɵpipe: i0.ɵɵPipeDeclaration<GenderPipe, "gender", true>;
42
- }
43
- /**
44
- * Rounds a number to the nearest integer
45
- */
46
- export declare class RoundPipe implements PipeTransform {
47
- /**
48
- * Rounds a number to the nearest integer using Math.round
49
- * @param value The number to round
50
- * @returns The rounded integer
51
- */
52
- transform(value: number): number;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<RoundPipe, never>;
54
- static ɵpipe: i0.ɵɵPipeDeclaration<RoundPipe, "round", true>;
55
- }
56
- /**
57
- * Converts seconds to a formatted time string
58
- */
59
- export declare class SecondsToTimePipe implements PipeTransform {
60
- uS: UtilityService;
61
- /**
62
- * Converts seconds to a formatted time string (e.g., "2hrs 30min 45s")
63
- * @param value The number of seconds
64
- * @returns Formatted time string
65
- */
66
- transform(value: number): string;
67
- constructor(uS: UtilityService);
68
- static ɵfac: i0.ɵɵFactoryDeclaration<SecondsToTimePipe, never>;
69
- static ɵpipe: i0.ɵɵPipeDeclaration<SecondsToTimePipe, "secondsToTime", true>;
70
- }
71
- /**
72
- * Formats dates using the TimeAgo library
73
- */
74
- export declare class CustomDatePipe implements PipeTransform {
75
- datePipe: DatePipe;
76
- /**
77
- * Formats a date string using the TimeAgo library
78
- * @param date The date string to format
79
- * @param showTime Whether to show time (not used in implementation)
80
- * @returns Formatted relative time string (e.g., "2 hours ago")
81
- */
82
- transform(date: string, showTime?: boolean): string;
83
- /**
84
- * Alternative date formatting using Angular's DatePipe
85
- * @param date The date string to format
86
- * @param formatStr The format string to use
87
- * @returns Formatted date string
88
- */
89
- transform2(date: string, formatStr: string): string;
90
- constructor(datePipe: DatePipe);
91
- static ɵfac: i0.ɵɵFactoryDeclaration<CustomDatePipe, never>;
92
- static ɵpipe: i0.ɵɵPipeDeclaration<CustomDatePipe, "customDate", true>;
93
- }
94
- /**
95
- * Checks if an object has values in specified fields
96
- */
97
- export declare class HasValuePipe implements PipeTransform {
98
- /**
99
- * Checks if the fields in an object have any value
100
- * @param value The object to check
101
- * @param fieldsToCheckFor Optional array of field names to check
102
- * @returns True if any specified field has a value, or if the object is not empty
103
- */
104
- transform<T>(value: T, fieldsToCheckFor?: (keyof T)[]): boolean;
105
- static ɵfac: i0.ɵɵFactoryDeclaration<HasValuePipe, never>;
106
- static ɵpipe: i0.ɵɵPipeDeclaration<HasValuePipe, "hasValue", true>;
107
- }
108
- /**
109
- * Transforms a code into a title or description from a provided array
110
- */
111
- export declare class CodeTitleDescPipe implements PipeTransform {
112
- /**
113
- * Finds a matching code in an array and returns it with its description or title
114
- * @param codeTitleArray Array of objects containing code, title, and description
115
- * @param code The code to search for
116
- * @returns Formatted string with code and description/title, or empty string if not found
117
- */
118
- transform(codeTitleArray: {
119
- code: string;
120
- title?: string;
121
- description?: string;
122
- }[], code: string): string;
123
- static ɵfac: i0.ɵɵFactoryDeclaration<CodeTitleDescPipe, never>;
124
- static ɵpipe: i0.ɵɵPipeDeclaration<CodeTitleDescPipe, "codeTitleDesc", true>;
125
- }
126
- /**
127
- * Checks if a form has values in specified fields
128
- */
129
- export declare class HasFormValuePipe implements PipeTransform {
130
- /**
131
- * Checks if the fields in a formgroup object have any value
132
- * @param formGroup The form group to check
133
- * @param fieldsToCheckFor Optional array of field names to check
134
- * @param refresher Optional parameter to trigger pipe refresh
135
- * @returns True if any specified field has a value
136
- */
137
- transform<TValue, TForm extends {
138
- getRawValue: () => TValue;
139
- }>(formGroup: TForm, fieldsToCheckFor?: (keyof TValue)[], refresher?: any): boolean;
140
- static ɵfac: i0.ɵɵFactoryDeclaration<HasFormValuePipe, never>;
141
- static ɵpipe: i0.ɵɵPipeDeclaration<HasFormValuePipe, "hasFormValue", true>;
142
- }
143
- /**
144
- * Converts an object to an array of labels for display
145
- */
146
- export declare class ObjectToLabelsPipe implements PipeTransform {
147
- uS: UtilityService;
148
- /**
149
- * Converts an object to an array of labels with optional custom field mapping
150
- * @param value The source object to convert
151
- * @param customFieldMap Optional mapping of object keys to ITextCase2 properties
152
- * @param exclusionList Optional map of field names to exclude
153
- * @returns Array of ITextCase2 objects representing the object's fields
154
- */
155
- transform<T>(value: T, customFieldMap?: {
156
- [k in keyof T]: Partial<ITextCase2>;
157
- }, exclusionList?: {
158
- [x: string]: boolean;
159
- }): ITextCase2[];
160
- constructor(uS: UtilityService);
161
- static ɵfac: i0.ɵɵFactoryDeclaration<ObjectToLabelsPipe, never>;
162
- static ɵpipe: i0.ɵɵPipeDeclaration<ObjectToLabelsPipe, "objectToLabels", true>;
163
- }
164
- /**
165
- * Retrieves a label for a value from a list of options
166
- */
167
- export declare class GetValueLabel implements PipeTransform {
168
- /**
169
- * Converts a string into a Select option
170
- * @param value The value to search for in the options list
171
- * @param options The list of items to search in
172
- * @param labelField The field that holds the description field
173
- * @param valueField The field that holds the value field
174
- * @returns A concatenation of the value and description (value - description)
175
- */
176
- transform(value: string, options: any[], labelField?: string, valueField?: string): string;
177
- static ɵfac: i0.ɵɵFactoryDeclaration<GetValueLabel, never>;
178
- static ɵpipe: i0.ɵɵPipeDeclaration<GetValueLabel, "getValueLabel", true>;
179
- }
180
- /**
181
- * Formats a value using a provided formatter function
182
- */
183
- export declare class ValueFormatterPipe implements PipeTransform {
184
- /**
185
- * Applies a formatter function to a value
186
- * @param val The value to format
187
- * @param formatter Function that transforms the input value
188
- * @returns The formatted value or the original value if no formatter provided
189
- */
190
- transform<T, R = string>(val: T, formatter: (value: T) => R | Promise<R> | Observable<R>): Promise<T | R | Observable<R>>;
191
- static ɵfac: i0.ɵɵFactoryDeclaration<ValueFormatterPipe, never>;
192
- static ɵpipe: i0.ɵɵPipeDeclaration<ValueFormatterPipe, "valueFormatter", true>;
193
- }
194
- /**
195
- * Utility class for calling functions in templates
196
- */
197
- declare class CFunctionCaller {
198
- /**
199
- * Calls a function in the template
200
- * @param func Function to be called
201
- * @param args
202
- * @returns
203
- */
204
- transform<T>(func: () => T): T;
205
- transform<T, P1>(func: (param1?: P1) => T, param1: P1): T;
206
- transform<T, P1, P2>(func: (param1?: P1, param2?: P2) => T, param1: P1, param2: P2): T;
207
- transform<T, P1, P2, P3>(func: (param1?: P1, param2?: P2, param3?: P3) => T, param1: P1, param2: P2, param3: P3): T;
208
- static ɵfac: i0.ɵɵFactoryDeclaration<CFunctionCaller, never>;
209
- static ɵprov: i0.ɵɵInjectableDeclaration<CFunctionCaller>;
210
- }
211
- /**
212
- * Calls a function in a template
213
- */
214
- export declare class FunctionCaller implements PipeTransform {
215
- f: CFunctionCaller;
216
- constructor(f: CFunctionCaller);
217
- transform: {
218
- <T>(func: () => T): T;
219
- <T, P1>(func: (param1?: P1) => T, param1: P1): T;
220
- <T, P1, P2>(func: (param1?: P1, param2?: P2) => T, param1: P1, param2: P2): T;
221
- <T, P1, P2, P3>(func: (param1?: P1, param2?: P2, param3?: P3) => T, param1: P1, param2: P2, param3: P3): T;
222
- };
223
- static ɵfac: i0.ɵɵFactoryDeclaration<FunctionCaller, never>;
224
- static ɵpipe: i0.ɵɵPipeDeclaration<FunctionCaller, "functionCaller", true>;
225
- }
226
- /**
227
- * Variant of functionCaller for specific parameter counts
228
- */
229
- export declare class FunctionCaller1 implements PipeTransform {
230
- f: CFunctionCaller;
231
- constructor(f: CFunctionCaller);
232
- transform: {
233
- <T>(func: () => T): T;
234
- <T, P1>(func: (param1?: P1) => T, param1: P1): T;
235
- <T, P1, P2>(func: (param1?: P1, param2?: P2) => T, param1: P1, param2: P2): T;
236
- <T, P1, P2, P3>(func: (param1?: P1, param2?: P2, param3?: P3) => T, param1: P1, param2: P2, param3: P3): T;
237
- };
238
- static ɵfac: i0.ɵɵFactoryDeclaration<FunctionCaller1, never>;
239
- static ɵpipe: i0.ɵɵPipeDeclaration<FunctionCaller1, "functionCaller1", true>;
240
- }
241
- /**
242
- * Variant of functionCaller for specific parameter counts
243
- */
244
- export declare class FunctionCaller2 implements PipeTransform {
245
- f: CFunctionCaller;
246
- constructor(f: CFunctionCaller);
247
- transform: {
248
- <T>(func: () => T): T;
249
- <T, P1>(func: (param1?: P1) => T, param1: P1): T;
250
- <T, P1, P2>(func: (param1?: P1, param2?: P2) => T, param1: P1, param2: P2): T;
251
- <T, P1, P2, P3>(func: (param1?: P1, param2?: P2, param3?: P3) => T, param1: P1, param2: P2, param3: P3): T;
252
- };
253
- static ɵfac: i0.ɵɵFactoryDeclaration<FunctionCaller2, never>;
254
- static ɵpipe: i0.ɵɵPipeDeclaration<FunctionCaller2, "functionCaller2", true>;
255
- }
256
- /**
257
- * Variant of functionCaller for specific parameter counts
258
- */
259
- export declare class FunctionCaller3 implements PipeTransform {
260
- f: CFunctionCaller;
261
- constructor(f: CFunctionCaller);
262
- transform: {
263
- <T>(func: () => T): T;
264
- <T, P1>(func: (param1?: P1) => T, param1: P1): T;
265
- <T, P1, P2>(func: (param1?: P1, param2?: P2) => T, param1: P1, param2: P2): T;
266
- <T, P1, P2, P3>(func: (param1?: P1, param2?: P2, param3?: P3) => T, param1: P1, param2: P2, param3: P3): T;
267
- };
268
- static ɵfac: i0.ɵɵFactoryDeclaration<FunctionCaller3, never>;
269
- static ɵpipe: i0.ɵɵPipeDeclaration<FunctionCaller3, "functionCaller3", true>;
270
- }
271
- /**
272
- * Calls an HTTP observable function with no parameters
273
- */
274
- export declare class HttpListCaller implements PipeTransform {
275
- /**
276
- * Executes an HTTP observable function with no parameters
277
- * @param httpObservable Function that returns an Observable
278
- * @returns The Observable returned by the function
279
- */
280
- transform<T>(httpObservable: () => Observable<T>): Observable<T>;
281
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpListCaller, never>;
282
- static ɵpipe: i0.ɵɵPipeDeclaration<HttpListCaller, "httpListCaller", true>;
283
- }
284
- /**
285
- * Calls an HTTP observable function with one parameter
286
- */
287
- export declare class HttpListCaller1 implements PipeTransform {
288
- /**
289
- * Executes an HTTP observable function with one parameter
290
- * @param httpObservable Function that returns an Observable
291
- * @param param Parameter to pass to the function
292
- * @returns The Observable returned by the function
293
- */
294
- transform<T>(httpObservable: (param: any) => Observable<T>, param: any): Observable<T>;
295
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpListCaller1, never>;
296
- static ɵpipe: i0.ɵɵPipeDeclaration<HttpListCaller1, "httpListCaller1", true>;
297
- }
298
- /**
299
- * Calls an HTTP observable function with two parameters
300
- */
301
- export declare class HttpListCaller2 implements PipeTransform {
302
- /**
303
- * Executes an HTTP observable function with two parameters
304
- * @param httpObservable Function that returns an Observable
305
- * @param param1 First parameter to pass to the function
306
- * @param param2 Second parameter to pass to the function
307
- * @returns The Observable returned by the function
308
- */
309
- transform<T>(httpObservable: (param1: string, param2: string) => Observable<T>, param1: string, param2: string): Observable<T>;
310
- static ɵfac: i0.ɵɵFactoryDeclaration<HttpListCaller2, never>;
311
- static ɵpipe: i0.ɵɵPipeDeclaration<HttpListCaller2, "httpListCaller2", true>;
312
- }
313
- /**
314
- * Determines if the current page is a show page
315
- */
316
- export declare class IsShowPage implements PipeTransform {
317
- /**
318
- * Checks if the page type is a show page
319
- * @param type The page type to check
320
- * @returns True if it's a show page, false otherwise
321
- */
322
- transform(type: EPageType): boolean;
323
- static ɵfac: i0.ɵɵFactoryDeclaration<IsShowPage, never>;
324
- static ɵpipe: i0.ɵɵPipeDeclaration<IsShowPage, "isShowPage", true>;
325
- }
326
- /**
327
- * Determines if the current page is a clone page
328
- */
329
- export declare class IsClonePage implements PipeTransform {
330
- /**
331
- * Checks if the page type is a clone page
332
- * @param type The page type to check
333
- * @returns True if it's a clone page, null otherwise
334
- */
335
- transform(type: EPageType): boolean;
336
- static ɵfac: i0.ɵɵFactoryDeclaration<IsClonePage, never>;
337
- static ɵpipe: i0.ɵɵPipeDeclaration<IsClonePage, "isClonePage", true>;
338
- }
339
- /**
340
- * Filters an array based on a query object or custom function
341
- */
342
- export declare class FilterArrayPipe implements PipeTransform {
343
- /**
344
- * Filters an array based on a query object or custom function
345
- * @param arr Array of items to filter
346
- * @param value Filter criteria as an object with field-value pairs
347
- * @param filterFunction Optional custom filter function
348
- * @returns Filtered array
349
- */
350
- transform<T extends {
351
- [x: string]: any;
352
- }>(arr: T[], value: {
353
- [x in keyof Partial<T>]: any;
354
- }, filterFunction?: (value: T, index?: number, array?: T[]) => boolean): T[];
355
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterArrayPipe, never>;
356
- static ɵpipe: i0.ɵɵPipeDeclaration<FilterArrayPipe, "filterArray", true>;
357
- }
358
- /**
359
- * Filters an array of FormGroups based on their values
360
- */
361
- export declare class FilterFormArrayGroupPipe implements PipeTransform {
362
- /**
363
- * Filters an array of FormGroups based on their values
364
- * @param arr Array of FormGroups to filter
365
- * @param queryObject Filter criteria as an object with field-value pairs
366
- * @param filterFunction Optional custom filter function
367
- * @returns Filtered array of FormGroups
368
- */
369
- transform<TGroup extends FormGroup>(arr: TGroup[], queryObject: {
370
- [x: string]: string | boolean | number;
371
- }, filterFunction?: (value: TGroup, index?: number, array?: TGroup[]) => boolean): TGroup[];
372
- /**
373
- * Maps a query object to a format suitable for filtering
374
- * @param query The query object to map
375
- * @returns Array of key-value-type objects for filtering
376
- */
377
- queryMapper: (query: IObjectLiteral) => {
378
- key: string;
379
- value: string | boolean | number;
380
- type: TypeOf;
381
- }[];
382
- /**
383
- * Creates a filter function based on query parameters
384
- * @param queryObject Array of key-value-type objects to filter by
385
- * @param exactMatch Whether to require exact matches
386
- * @returns Filter function for FormGroups
387
- */
388
- filterFunc: (queryObject: {
389
- key: string;
390
- value: string | boolean | number;
391
- type: TypeOf;
392
- }[], exactMatch?: boolean) => <TGroup extends FormGroup>(group: TGroup) => boolean;
393
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterFormArrayGroupPipe, never>;
394
- static ɵpipe: i0.ɵɵPipeDeclaration<FilterFormArrayGroupPipe, "filterFormArrayGroup", true>;
395
- }
396
- /**
397
- * Filters an array of form controls based on their values
398
- */
399
- export declare class FilterFormArrayControlPipe implements PipeTransform {
400
- uS: UtilityService;
401
- /**
402
- * Filters an array of form controls based on their values
403
- * @param arr Array of form controls to filter
404
- * @param value Value to filter by
405
- * @returns Filtered array of form controls
406
- */
407
- transform<TControl extends AbstractControl<any> = any>(arr: TControl[], value: string | boolean | number): TControl[];
408
- constructor(uS: UtilityService);
409
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterFormArrayControlPipe, never>;
410
- static ɵpipe: i0.ɵɵPipeDeclaration<FilterFormArrayControlPipe, "filterFormArrayControl", true>;
411
- }
412
- /**
413
- * Sorts an array by a specified field and direction
414
- */
415
- export declare class SortPipe implements PipeTransform {
416
- /**
417
- * Sorts an array by a specified field and direction
418
- * @param arr Array to sort
419
- * @param direction 0 for ascending, 1 for descending
420
- * @param sortField Optional field to sort by
421
- * @returns Sorted array
422
- */
423
- transform<T>(arr: T[], direction?: 0 | 1, sortField?: keyof T): T[];
424
- sort<T>(arr: T[], direction: 0 | 1, sortField?: string): T[];
425
- static ɵfac: i0.ɵɵFactoryDeclaration<SortPipe, never>;
426
- static ɵpipe: i0.ɵɵPipeDeclaration<SortPipe, "sort", true>;
427
- }
428
- /**
429
- * Helper pipe to force Angular change detection
430
- */
431
- export declare class RefresherPipe implements PipeTransform {
432
- /**
433
- * Returns a value when the refresher value changes, forcing change detection
434
- * @param value Value to be returned
435
- * @param refresher Refresher value for updating the value
436
- * @returns The original value
437
- */
438
- transform<T>(value: T, refresher?: any): T;
439
- static ɵfac: i0.ɵɵFactoryDeclaration<RefresherPipe, never>;
440
- static ɵpipe: i0.ɵɵPipeDeclaration<RefresherPipe, "refresher", true>;
441
- }
442
- /**
443
- * Casts a value to any type
444
- */
445
- export declare class ToAnyPipe implements PipeTransform {
446
- /**
447
- * Casts a value to any type
448
- * @param value The value to cast
449
- * @param isArray Whether to cast as an array
450
- * @returns The casted value
451
- */
452
- transform(value: any, isArray?: boolean): any;
453
- static ɵfac: i0.ɵɵFactoryDeclaration<ToAnyPipe, never>;
454
- static ɵpipe: i0.ɵɵPipeDeclaration<ToAnyPipe, "toAny", true>;
455
- }
456
- /**
457
- * Casts a value to any array type
458
- */
459
- export declare class ToAnyArrayPipe implements PipeTransform {
460
- /**
461
- * Casts a value to any array type
462
- * @param value The value to cast
463
- * @returns The value as any[]
464
- */
465
- transform(value: any): any[];
466
- static ɵfac: i0.ɵɵFactoryDeclaration<ToAnyArrayPipe, never>;
467
- static ɵpipe: i0.ɵɵPipeDeclaration<ToAnyArrayPipe, "toAnyArray", true>;
468
- }
469
- /**
470
- * Trims a string
471
- */
472
- export declare class TrimPipe implements PipeTransform {
473
- /**
474
- * Trims a string
475
- * @param value String to trim
476
- * @returns Trimmed string
477
- */
478
- transform(value: string): string;
479
- static ɵfac: i0.ɵɵFactoryDeclaration<TrimPipe, never>;
480
- static ɵpipe: i0.ɵɵPipeDeclaration<TrimPipe, "trim", true>;
481
- }
482
- export declare class TrimTextPipe implements PipeTransform {
483
- /**
484
- * Trims a string based on a specified length
485
- * @param value String to trim
486
- * @param length Length to begin trimming
487
- * @returns Trimmed string
488
- */
489
- transform(value: string, length: number): string;
490
- static ɵfac: i0.ɵɵFactoryDeclaration<TrimTextPipe, never>;
491
- static ɵpipe: i0.ɵɵPipeDeclaration<TrimTextPipe, "trimText", true>;
492
- }
493
- /**
494
- * Returns either the provided value or a default value
495
- */
496
- export declare class XOrYPipe implements PipeTransform {
497
- private uS;
498
- /**
499
- * Returns either the provided value or a default value
500
- * @param x The primary value to check
501
- * @param y The default value to use if x is empty
502
- * @returns x if it has a value, otherwise y
503
- */
504
- transform(x: string, y?: string): string;
505
- constructor(uS: UtilityService);
506
- static ɵfac: i0.ɵɵFactoryDeclaration<XOrYPipe, never>;
507
- static ɵpipe: i0.ɵɵPipeDeclaration<XOrYPipe, "xOrY", true>;
508
- }
509
- /**
510
- * Replaces all occurrences of a string with another string
511
- */
512
- export declare class ReplaceAllPipe implements PipeTransform {
513
- /**
514
- * Replaces all occurrences of a string with another string
515
- * @param text The source text
516
- * @param search The string to search for
517
- * @param replacement The string to replace with
518
- * @returns Text with all occurrences replaced
519
- */
520
- transform(text: string, search: string, replacement: string): string;
521
- static ɵfac: i0.ɵɵFactoryDeclaration<ReplaceAllPipe, never>;
522
- static ɵpipe: i0.ɵɵPipeDeclaration<ReplaceAllPipe, "replaceAll", true>;
523
- }
524
- /**
525
- * Returns the value or a default if the value is empty
526
- */
527
- export declare class ValueOrXPipe implements PipeTransform {
528
- /**
529
- * Returns the value or a default if the value is empty
530
- * @param value Variable that holds the value to be checked for emptiness
531
- * @param replacement This is the value that will be set if the subject field is empty
532
- * @returns Return the value or the replacement value if value is empty
533
- */
534
- transform<T>(value: T, replacement?: string): string | T;
535
- static ɵfac: i0.ɵɵFactoryDeclaration<ValueOrXPipe, never>;
536
- static ɵpipe: i0.ɵɵPipeDeclaration<ValueOrXPipe, "valueOrX", true>;
537
- }
538
- /**
539
- * Concatenates two strings with a specified joiner
540
- */
541
- export declare class StrConcatenatorPipe implements PipeTransform {
542
- /**
543
- * Concatenates two strings with a specified joiner
544
- * @param text1 First string to concatenate
545
- * @param text2 Second string to concatenate
546
- * @param joiner String to join the two texts with
547
- * @returns Concatenated string
548
- */
549
- transform<T>(text1?: any | string | null, text2?: any | string | null, joiner?: string): string;
550
- static ɵfac: i0.ɵɵFactoryDeclaration<StrConcatenatorPipe, never>;
551
- static ɵpipe: i0.ɵɵPipeDeclaration<StrConcatenatorPipe, "strConcatenator", true>;
552
- }
553
- /**
554
- * Converts a form.value to string
555
- */
556
- export declare class FormValuePipe implements PipeTransform {
557
- uS: UtilityService;
558
- /**
559
- * Converts a form.value to string
560
- */
561
- transform(formValue: any, formSchema?: IFormSchema[]): string;
562
- /**
563
- * Converts a form.value to string
564
- */
565
- transform<T>(formValue: T, formSchema?: (keyof T)[]): string;
566
- constructor(uS: UtilityService);
567
- static ɵfac: i0.ɵɵFactoryDeclaration<FormValuePipe, never>;
568
- static ɵpipe: i0.ɵɵPipeDeclaration<FormValuePipe, "formValue", true>;
569
- }
570
- /**
571
- * Converts a field name to a formatted label
572
- */
573
- export declare class FieldToLabelPipe implements PipeTransform {
574
- uS: UtilityService;
575
- /**
576
- * Converts a field name to a formatted label
577
- * @param fieldName The field name to format
578
- * @returns Formatted label
579
- */
580
- transform(fieldName: string): string;
581
- constructor(uS: UtilityService);
582
- static ɵfac: i0.ɵɵFactoryDeclaration<FieldToLabelPipe, never>;
583
- static ɵpipe: i0.ɵɵPipeDeclaration<FieldToLabelPipe, "fieldToLabel", true>;
584
- }
585
- /**
586
- * Casts a value to a specific type
587
- */
588
- export declare class TyperPipe implements PipeTransform {
589
- /**
590
- * Casts a value to a specific type
591
- * @param value The value to cast
592
- * @param sample Sample object of the target type
593
- * @returns The value cast to the target type
594
- */
595
- transform<T>(value: any, sample: T): T;
596
- static ɵfac: i0.ɵɵFactoryDeclaration<TyperPipe, never>;
597
- static ɵpipe: i0.ɵɵPipeDeclaration<TyperPipe, "typer", true>;
598
- }
599
- /**
600
- * Filters an array using a pipe
601
- */
602
- export declare class FilterArrayByStringPipe implements PipeTransform {
603
- /**
604
- * Filter array using a pipe
605
- * @param arr Array to filter
606
- * @param value Value to filter for
607
- * @param keys Fields to check for match in
608
- * @param filterFunction Fitler function to use instead of value and keys
609
- * @returns
610
- */
611
- transform<T>(arr: T[], value: string, keys: (keyof T)[], filterFunction?: (value: T, index?: number, array?: T[]) => boolean): T[];
612
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterArrayByStringPipe, never>;
613
- static ɵpipe: i0.ɵɵPipeDeclaration<FilterArrayByStringPipe, "filterArrayByString", true>;
614
- }
615
- /**
616
- * Removes options that are already used in a form array
617
- */
618
- export declare class RemoveUsedOptionsPipe implements PipeTransform {
619
- /**
620
- * Filters an array to remove options already used in a form array
621
- * @param arr The array of options
622
- * @param formArray The form array to check against
623
- * @param form The current form
624
- * @param arrFieldName Optional field name in the option to compare
625
- * @param formFieldName Optional field name in the form to compare
626
- * @returns Filtered array with unused options
627
- */
628
- transform<TOption, TFormArray>(arr: TOption[], formArray: TFormArray[], form: TFormArray, arrFieldName?: keyof TOption, formFieldName?: keyof TFormArray): TOption[];
629
- static ɵfac: i0.ɵɵFactoryDeclaration<RemoveUsedOptionsPipe, never>;
630
- static ɵpipe: i0.ɵɵPipeDeclaration<RemoveUsedOptionsPipe, "removeUsedOptions", true>;
631
- }
632
- /**
633
- * Removes options that are already used in a reactive form array
634
- */
635
- export declare class RemoveUsedOptionsReactivePipe implements PipeTransform {
636
- /**
637
- * Filters an array to remove options already used in a reactive form array
638
- * @param arr The array of options
639
- * @param formArray The reactive form array to check against
640
- * @param form The current form
641
- * @param arrFieldName Optional field name in the option to compare
642
- * @param formFieldName Optional field name in the form to compare
643
- * @returns Filtered array with unused options
644
- */
645
- transform<TOption, TFormArray extends {
646
- value?: any;
647
- }[]>(arr: TOption[], formArray: TFormArray[], form: TFormArray, arrFieldName?: keyof TOption, formFieldName?: keyof TFormArray): TOption[];
648
- static ɵfac: i0.ɵɵFactoryDeclaration<RemoveUsedOptionsReactivePipe, never>;
649
- static ɵpipe: i0.ɵɵPipeDeclaration<RemoveUsedOptionsReactivePipe, "removeUsedOptionsReactive", true>;
650
- }
651
- /**
652
- * Converts an object to an array
653
- */
654
- export declare class ObjectToArrayPipe implements PipeTransform {
655
- /**
656
- * Converts an object to an array of its values
657
- * @param value The object to convert
658
- * @returns Array of the object's values
659
- */
660
- transform<T>(value: {
661
- [x: string]: T;
662
- }): T[];
663
- static ɵfac: i0.ɵɵFactoryDeclaration<ObjectToArrayPipe, never>;
664
- static ɵpipe: i0.ɵɵPipeDeclaration<ObjectToArrayPipe, "objectToArray", true>;
665
- }
666
- /**
667
- * Converts form schema to table columns
668
- */
669
- export declare class FormSchemaToTableColumnsPipe implements PipeTransform {
670
- /**
671
- * Converts form schema to table columns configuration
672
- * @param value Array of form schema definitions
673
- * @returns Array of table column configurations
674
- */
675
- transform(value: IFormSchema[]): ITableCol[];
676
- static ɵfac: i0.ɵɵFactoryDeclaration<FormSchemaToTableColumnsPipe, never>;
677
- static ɵpipe: i0.ɵɵPipeDeclaration<FormSchemaToTableColumnsPipe, "formSchemaToCols", true>;
678
- }
679
- /**
680
- * Provides responsive values based on screen size
681
- */
682
- export declare class ResponsiveValPipe implements PipeTransform {
683
- responsive: BreakpointObserver;
684
- /**
685
- * Returns a value based on the current screen size/breakpoint
686
- * @param config Object with values for different breakpoints
687
- * @returns The value corresponding to the current breakpoint
688
- */
689
- transform<T>(config: {
690
- XSmall?: T;
691
- Small?: T;
692
- Medium?: T;
693
- Large?: T;
694
- XLarge?: T;
695
- Handset?: T;
696
- Tablet?: T;
697
- Web?: T;
698
- HandsetPortrait?: T;
699
- TabletPortrait?: T;
700
- WebPortrait?: T;
701
- HandsetLandscape?: T;
702
- TabletLandscape?: T;
703
- WebLandscape?: T;
704
- }): T;
705
- ngOnDestroy(): void;
706
- constructor(responsive: BreakpointObserver);
707
- static ɵfac: i0.ɵɵFactoryDeclaration<ResponsiveValPipe, never>;
708
- static ɵpipe: i0.ɵɵPipeDeclaration<ResponsiveValPipe, "responsiveVal", true>;
709
- }
710
- export declare class UtilityPipesModule {
711
- static ɵfac: i0.ɵɵFactoryDeclaration<UtilityPipesModule, never>;
712
- static ɵmod: i0.ɵɵNgModuleDeclaration<UtilityPipesModule, never, [typeof i1.CommonModule, typeof ArraySplitter, typeof CustomDatePipe, typeof FieldToLabelPipe, typeof FilterArrayByStringPipe, typeof FilterArrayPipe, typeof FilterFormArrayGroupPipe, typeof i2.FormInvalidClassPipe, typeof FormSchemaToTableColumnsPipe, typeof FormValuePipe, typeof FunctionCaller, typeof FunctionCaller1, typeof FunctionCaller2, typeof FunctionCaller3, typeof GenderPipe, typeof GetValueLabel, typeof HasFormValuePipe, typeof HasValuePipe, typeof CodeTitleDescPipe, typeof HttpListCaller, typeof HttpListCaller1, typeof HttpListCaller2, typeof IsClonePage, typeof IsShowPage, typeof ObjectToArrayPipe, typeof RefresherPipe, typeof RemoveUsedOptionsPipe, typeof ReplaceAllPipe, typeof ResponsiveValPipe, typeof RoundPipe, typeof SecondsToTimePipe, typeof SortPipe, typeof StrConcatenatorPipe, typeof ToAnyArrayPipe, typeof ToAnyPipe, typeof i3.SDKTranslatePipe, typeof TrimPipe, typeof TrimTextPipe, typeof ValueFormatterPipe, typeof ValueOrXPipe, typeof XOrYPipe], [typeof ArraySplitter, typeof CustomDatePipe, typeof FieldToLabelPipe, typeof FilterArrayByStringPipe, typeof FilterArrayPipe, typeof FilterFormArrayGroupPipe, typeof i2.FormInvalidClassPipe, typeof FormSchemaToTableColumnsPipe, typeof FormValuePipe, typeof FunctionCaller, typeof FunctionCaller1, typeof FunctionCaller2, typeof FunctionCaller3, typeof GenderPipe, typeof GetValueLabel, typeof HasFormValuePipe, typeof HasValuePipe, typeof CodeTitleDescPipe, typeof HttpListCaller, typeof HttpListCaller1, typeof HttpListCaller2, typeof IsClonePage, typeof IsShowPage, typeof ObjectToArrayPipe, typeof RefresherPipe, typeof RemoveUsedOptionsPipe, typeof ReplaceAllPipe, typeof ResponsiveValPipe, typeof RoundPipe, typeof SecondsToTimePipe, typeof SortPipe, typeof StrConcatenatorPipe, typeof ToAnyArrayPipe, typeof ToAnyPipe, typeof i3.SDKTranslatePipe, typeof TrimPipe, typeof TrimTextPipe, typeof ValueFormatterPipe, typeof ValueOrXPipe, typeof XOrYPipe]>;
713
- static ɵinj: i0.ɵɵInjectorDeclaration<UtilityPipesModule>;
714
- }
715
- export {};