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,240 +0,0 @@
1
- import { SelectionChange, SelectionModel } from '@angular/cdk/collections';
2
- import { ChangeDetectorRef, EventEmitter, Signal, TemplateRef, WritableSignal } from '@angular/core';
3
- import { MatPaginator as MatPaginator } from '@angular/material/paginator';
4
- import { MatSort } from '@angular/material/sort';
5
- import { MatTable as MatTable } from '@angular/material/table';
6
- import { IFormSchema } from '../../models/form-schema.model';
7
- import { IObjectLiteral, IRowOption, IStrictFormGroup, SortType, TableCol } from '../../models/index.model';
8
- import { UtilityService } from '../../../Services/utility.service';
9
- import { TableService } from './table-plain.service';
10
- import { ModalComponent } from '../modal/modal.component';
11
- import { NELMouseEventHandler } from '../../directives/native-event-listeners.directive';
12
- import * as i0 from "@angular/core";
13
- /**
14
- * Base component for table functionality with selection, pagination, sorting, and customization options.
15
- * @template TItem The type of data items displayed in the table, must extend IObjectLiteral
16
- */
17
- export declare abstract class TableBaseComponent<TItem extends IObjectLiteral> {
18
- protected readonly cdr: ChangeDetectorRef;
19
- /** Options for actions that can be performed on each row */
20
- readonly _rowOptions: import("@angular/core").InputSignal<IRowOption<TItem>[]>;
21
- /** Function that returns row-specific options based on the row data */
22
- readonly rowOptionsMap: import("@angular/core").InputSignal<(row: TItem) => (IRowOption<TItem> | null)[]>;
23
- /** Whether to center the content of table cells */
24
- readonly centerCells: import("@angular/core").InputSignal<boolean>;
25
- /** Whether to apply rounded corners to the table */
26
- readonly curvy: import("@angular/core").InputSignal<boolean>;
27
- /** Whether to filter out duplicate rows */
28
- readonly distinct: import("@angular/core").InputSignal<boolean>;
29
- /** Text to display above the table */
30
- readonly header: import("@angular/core").InputSignal<string>;
31
- /** Whether rows can be expanded to show additional details */
32
- readonly isExpandable: import("@angular/core").InputSignal<boolean>;
33
- /** Label used for naming metadata like exported files */
34
- readonly label: import("@angular/core").InputSignal<string>;
35
- /** Function to determine if a row should be disabled */
36
- readonly isDisabledFunc: import("@angular/core").InputSignal<(row: TItem) => boolean>;
37
- /** Text to display when the table has no items */
38
- readonly noItemTxt: import("@angular/core").InputSignal<string>;
39
- /** Whether to prevent text wrapping in cells */
40
- readonly nowrap: import("@angular/core").InputSignal<boolean>;
41
- /** Whether to enable debug mode */
42
- readonly debug: import("@angular/core").InputSignal<boolean>;
43
- /** Template for expanded row content */
44
- readonly expandedRowTemplate: import("@angular/core").InputSignal<TemplateRef<any>>;
45
- /** Default sort direction */
46
- readonly orderDirection: import("@angular/core").InputSignal<SortType>;
47
- /** Default field to sort by */
48
- readonly orderField: import("@angular/core").InputSignal<keyof TItem>;
49
- /** Number of items to display per page */
50
- readonly pageSize: import("@angular/core").InputSignal<number>;
51
- /** Custom templates for specific columns */
52
- readonly customTemplates: import("@angular/core").InputSignal<{ [x in keyof TItem]?: TemplateRef<any>; }>;
53
- /** Template for content at the start of the table */
54
- readonly startSectionTemplate: import("@angular/core").InputSignal<TemplateRef<HTMLElement>>;
55
- /** Computed page size options based on results length */
56
- readonly computedPageSizeOptions: Signal<number[]>;
57
- /** Default page size options */
58
- readonly defaultPageSizeOptions: WritableSignal<number[]>;
59
- /** Custom page size options */
60
- readonly pageSizeOptions: import("@angular/core").InputSignal<number[]>;
61
- /** Whether to place selection checkboxes on the right side of the table */
62
- readonly placeSelectionAtRight: import("@angular/core").InputSignal<boolean>;
63
- /** Whether to show additional columns */
64
- readonly showAdditionalColumns: import("@angular/core").InputSignal<boolean>;
65
- /** Whether to show export functionality */
66
- readonly showExport: import("@angular/core").InputSignal<boolean>;
67
- /** Whether to show pointer cursor on rows */
68
- readonly showRowPointer: import("@angular/core").InputSignal<boolean>;
69
- /** Whether to use smaller font sizes */
70
- readonly smallerFonts: import("@angular/core").InputSignal<boolean>;
71
- /** Whether to apply striped styling to rows */
72
- readonly striped: import("@angular/core").InputSignal<boolean>;
73
- /** CSS class for the table container */
74
- readonly tableContainerClass: import("@angular/core").InputSignal<string>;
75
- /** Whether to enable row selection */
76
- readonly useSelection: import("@angular/core").InputSignal<boolean>;
77
- /** Event emitted when a row is expanded or collapsed */
78
- readonly clickedExpandRow: import("@angular/core").OutputEmitterRef<{
79
- open: boolean;
80
- row: TItem;
81
- }>;
82
- /** Form schema used to generate table columns */
83
- readonly formSchemaToColumns: import("@angular/core").InputSignal<IFormSchema<IStrictFormGroup<TItem>>[]>;
84
- /** Upload schema used to generate table columns */
85
- readonly uploadSchemaToColumns: import("@angular/core").InputSignal<{
86
- field?: keyof TItem;
87
- label?: string;
88
- }[]>;
89
- /** Raw column definitions */
90
- readonly _displayedColumns: import("@angular/core").InputSignal<TableCol<TItem>[]>;
91
- /** Filtered and formatted column definitions */
92
- readonly displayedColumns: Signal<TableCol<TItem>[]>;
93
- /**
94
- * Used to update the displayed columns through internal activities
95
- * like modification from Additional columns
96
- */
97
- readonly overrideDisplayedColumns: WritableSignal<TableCol<TItem>[]>;
98
- /** Columns that are not marked as Additional Columns and are not disabled */
99
- readonly presentableColumns: Signal<TableCol<TItem>[]>;
100
- readonly displayedColumnsMap: Signal<{
101
- [x: string]: TableCol<TItem>;
102
- }>;
103
- readonly computedDisplayedColumnsMap: Signal<{ [k in keyof TItem]: TableColFormatted<TItem>; }>;
104
- /** Computed and formatted column definitions */
105
- readonly computedDisplayedColumns: Signal<TableColFormatted<TItem>[]>;
106
- /** Event emitted when a row is clicked */
107
- _rowClick: EventEmitter<TItem>;
108
- /** Event emitted when a checkbox in the table is toggled */
109
- emitCheckbox: EventEmitter<{
110
- field: keyof TItem;
111
- item: TItem;
112
- value: boolean;
113
- }>;
114
- /** Reference to the paginator component */
115
- paginator?: MatPaginator;
116
- /** Reference to the sort component */
117
- sort?: MatSort;
118
- /** Reference to the table component */
119
- table: MatTable<any>;
120
- /** Total number of items in the dataset */
121
- readonly resultsLength: Signal<number>;
122
- /** CSS class for the starter section */
123
- protected readonly starterSectionClass: WritableSignal<string>;
124
- /** Raw column field names */
125
- readonly rawColumns: Signal<string[]>;
126
- /** Currently expanded element */
127
- readonly expandedElement: WritableSignal<TItem>;
128
- /** Selection model for managing selected rows */
129
- readonly selection: SelectionModel<TItem>;
130
- /** Signal for selection changes */
131
- protected _selectionChanged: Signal<SelectionChange<TItem>>;
132
- /** Signal for selected items */
133
- readonly selectedItemsSignal: Signal<any[] | TItem[]>;
134
- /** Output for selection changes */
135
- readonly selectionChanged: import("@angular/core").OutputRef<SelectionChange<TItem>>;
136
- /** Map of cell formatters by field name */
137
- protected readonly cellFormatterMap: {
138
- [k in keyof TItem]?: Partial<TableColFormatted<TItem>>;
139
- };
140
- /** Utility service */
141
- uS: UtilityService<any>;
142
- /** Table service */
143
- tS: TableService;
144
- /** Whether to use custom labels for columns */
145
- readonly useCustomLabels: import("@angular/core").ModelSignal<boolean>;
146
- /** Whether all rows are selected */
147
- readonly isAllSelected: Signal<boolean>;
148
- /** Whether any rows are selected */
149
- readonly isAnySelected: Signal<boolean>;
150
- /** Filtered row options */
151
- readonly rowOptions: Signal<IRowOption<TItem>[]>;
152
- /** Whether the table has row options */
153
- readonly hasRowOptions: Signal<boolean>;
154
- /**
155
- * Gets the label for the checkbox on a row
156
- * @param row The row to get the label for
157
- * @returns The checkbox label
158
- */
159
- checkboxLabel(row?: TItem): string;
160
- /**
161
- * Handles changes to the displayed fields
162
- * @param $event The event containing the new fields
163
- */
164
- fieldsChanged($event: {
165
- nFields: TableCol[];
166
- allFields: TableCol[];
167
- }): void;
168
- /**
169
- * Gets a callback function for updating action status
170
- * @param col The column containing the action
171
- * @returns A callback function
172
- */
173
- getActionStatusCallback(col: any): (state: boolean) => boolean;
174
- /** The data to display in the table */
175
- readonly data: WritableSignal<TItem[]>;
176
- /**
177
- * Processes columns to determine formatters and other properties
178
- * @param columns The columns to process
179
- */
180
- protected handleColumns: (columns: TableColFormatted<TItem>[]) => void;
181
- /**
182
- * Emits an event when a checkbox is toggled
183
- * @param field The field associated with the checkbox
184
- * @param item The row item
185
- * @param value The new checkbox value
186
- */
187
- outputCheckbox(field: keyof TItem, item: TItem, value: any): void;
188
- /** All available table columns, including those not currently displayed */
189
- readonly allTableColumns: Signal<TableCol<TItem>[]>;
190
- /**
191
- * Handles row click events
192
- * @param e The row that was clicked
193
- */
194
- rowClick(e: TItem): void;
195
- /** Gets the currently selected items */
196
- get selectedItems(): TItem[];
197
- /** Function to get row-specific options */
198
- readonly formOptionsMap: WritableSignal<(row: TItem) => IRowOption<TItem>[]>;
199
- /**
200
- * Extracts route information from a cell
201
- * @param cell The cell to extract route from
202
- * @param row The row containing the cell
203
- * @returns Route and query parameters
204
- */
205
- extractRoute: (cell: TableCol, row: TItem) => {
206
- route: string;
207
- queryParams: {};
208
- };
209
- /** Signal emitted after view initialization */
210
- readonly ngAfterViewInitSignal: WritableSignal<number>;
211
- /** Currently selected cell for expansion */
212
- readonly selectedCellForExpansion: WritableSignal<{
213
- column: TableCol;
214
- row: TItem;
215
- }>;
216
- /**
217
- * Expands a cell in a modal
218
- * @param row The row containing the cell
219
- * @param column The column of the cell
220
- * @param modal The modal component to use
221
- */
222
- expandCell(row: TItem, column: TableCol, modal: ModalComponent): void;
223
- /** Closes the currently expanded cell */
224
- closeExpandedCell(): void;
225
- /** Triggers change detection to refresh the UI */
226
- refreshUI(): void;
227
- static ɵfac: i0.ɵɵFactoryDeclaration<TableBaseComponent<any>, never>;
228
- static ɵcmp: i0.ɵɵComponentDeclaration<TableBaseComponent<any>, "ng-component", never, { "_rowOptions": { "alias": "rowOptions"; "required": false; "isSignal": true; }; "rowOptionsMap": { "alias": "rowOptionsMap"; "required": false; "isSignal": true; }; "centerCells": { "alias": "centerCells"; "required": false; "isSignal": true; }; "curvy": { "alias": "curvy"; "required": false; "isSignal": true; }; "distinct": { "alias": "distinct"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "isExpandable": { "alias": "isExpandable"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "isDisabledFunc": { "alias": "isDisabledFunc"; "required": false; "isSignal": true; }; "noItemTxt": { "alias": "noItemTxt"; "required": false; "isSignal": true; }; "nowrap": { "alias": "nowrap"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "expandedRowTemplate": { "alias": "expandedRowTemplate"; "required": false; "isSignal": true; }; "orderDirection": { "alias": "orderDirection"; "required": false; "isSignal": true; }; "orderField": { "alias": "orderField"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "customTemplates": { "alias": "customTemplates"; "required": false; "isSignal": true; }; "startSectionTemplate": { "alias": "startSectionTemplate"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "placeSelectionAtRight": { "alias": "placeSelectionAtRight"; "required": false; "isSignal": true; }; "showAdditionalColumns": { "alias": "showAdditionalColumns"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "showRowPointer": { "alias": "showRowPointer"; "required": false; "isSignal": true; }; "smallerFonts": { "alias": "smallerFonts"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "tableContainerClass": { "alias": "tableContainerClass"; "required": false; "isSignal": true; }; "useSelection": { "alias": "useSelection"; "required": false; "isSignal": true; }; "formSchemaToColumns": { "alias": "formSchemaToColumns"; "required": false; "isSignal": true; }; "uploadSchemaToColumns": { "alias": "uploadSchemaToColumns"; "required": false; "isSignal": true; }; "_displayedColumns": { "alias": "displayedColumns"; "required": false; "isSignal": true; }; "useCustomLabels": { "alias": "useCustomLabels"; "required": false; "isSignal": true; }; }, { "clickedExpandRow": "clickedExpandRow"; "_rowClick": "rowClick"; "emitCheckbox": "emitCheckbox"; "selectionChanged": "selectionChanged"; "useCustomLabels": "useCustomLabelsChange"; }, never, never, true, never>;
229
- }
230
- /**
231
- * Extended TableCol with additional properties for hover functionality
232
- * @template TRow The type of data items displayed in the table
233
- */
234
- declare class TableColFormatted<TRow> extends TableCol<TRow> {
235
- /** Function to handle mouse hover events */
236
- _onHoverFunction?: NELMouseEventHandler<TRow>['action'];
237
- /** Delay before triggering hover function in milliseconds */
238
- _onHoverDelay?: number;
239
- }
240
- export {};
@@ -1,168 +0,0 @@
1
- import { OnInit, DestroyRef, WritableSignal } from '@angular/core';
2
- import { FormControl, FormGroup } from '@angular/forms';
3
- import { ActivatedRoute } from '@angular/router';
4
- import { Observable } from 'rxjs';
5
- import { TableBaseComponent } from '../table-base.component';
6
- import { IObjectLiteral } from '../../../models/index.model';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * Component for displaying tabular data fetched via HTTP requests.
10
- * Extends TableBaseComponent to provide pagination, sorting, and filtering capabilities.
11
- *
12
- * @template TItem - The type of items displayed in the table
13
- */
14
- export declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem> implements OnInit {
15
- /**
16
- * Function that returns an Observable of table data when called with query parameters
17
- */
18
- readonly observableFunc: import("@angular/core").InputSignal<(data: any) => Observable<ITableSearchResp<TItem>>>;
19
- readonly observableFunc$: Observable<(data: any) => Observable<ITableSearchResp<TItem>>>;
20
- /**
21
- * Initial page number for the table (default: 0)
22
- */
23
- readonly pageNumber = 0;
24
- /**
25
- * Query data model for filtering the table
26
- */
27
- readonly queryData: import("@angular/core").ModelSignal<IObjectLiteral<any>>;
28
- /**
29
- * Whether to search even when no query parameters are provided
30
- */
31
- readonly searchIfNoQuery: import("@angular/core").InputSignal<boolean>;
32
- /**
33
- * Whether to show the refresh button
34
- */
35
- readonly showRefreshBtn: import("@angular/core").InputSignal<boolean>;
36
- /**
37
- * Whether to use a static loader
38
- */
39
- readonly useStaticLoader: import("@angular/core").InputSignal<boolean>;
40
- /**
41
- * Computed property for the total number of results
42
- */
43
- readonly resultsLength: import("@angular/core").Signal<number>;
44
- /**
45
- * Form group for managing table state (pagination, sorting)
46
- */
47
- readonly form: FormGroup<{
48
- pageNumber: FormControl<number>;
49
- sortBy: FormControl<keyof TItem>;
50
- sortDirection: FormControl<"" | "DESC" | "ASC">;
51
- pageSize: FormControl<number>;
52
- }>;
53
- /**
54
- * Combines query data with form values
55
- */
56
- readonly allQueryData: import("@angular/core").Signal<{
57
- pageNumber: number;
58
- sortBy: keyof TItem;
59
- sortDirection: "" | "DESC" | "ASC";
60
- pageSize: number;
61
- }>;
62
- /**
63
- * Signal for the current form values
64
- */
65
- readonly formValue: import("@angular/core").Signal<{
66
- pageNumber: number;
67
- sortBy: keyof TItem;
68
- sortDirection: "" | "DESC" | "ASC";
69
- pageSize: number;
70
- }>;
71
- /**
72
- * Signal indicating whether data is currently being loaded
73
- */
74
- readonly isLoadingResults: WritableSignal<boolean>;
75
- /**
76
- * Determines if there are any active query parameters
77
- */
78
- readonly hasQuery: import("@angular/core").Signal<boolean>;
79
- /**
80
- * Determines if search should be allowed based on query parameters and settings
81
- */
82
- readonly allowSearch: import("@angular/core").Signal<boolean>;
83
- readonly allowSearch$: Observable<boolean>;
84
- /**
85
- * Filtered and paginated results for display
86
- */
87
- readonly filteredAndPagedResults: import("@angular/core").Signal<TItem[]>;
88
- route: ActivatedRoute;
89
- destroyRef: DestroyRef;
90
- readonly subs: {
91
- clear: () => void;
92
- push: (...subs: import("rxjs").Subscription[]) => number;
93
- subs: () => import("rxjs").Subscription[];
94
- };
95
- data: WritableSignal<TItem[]>;
96
- /**
97
- * Observable that fetches and processes search results
98
- */
99
- readonly searchResult$: Observable<{
100
- content: TItem[];
101
- total: number;
102
- }>;
103
- readonly searchResult: import("@angular/core").Signal<{
104
- content: TItem[];
105
- total: number;
106
- }>;
107
- /**
108
- * Output event emitted when data is fetched
109
- */
110
- readonly dataFetched: import("@angular/core").OutputRef<TItem[]>;
111
- /**
112
- * Text displayed in the search prompt
113
- */
114
- readonly searchPromptText: import("@angular/core").InputSignal<string>;
115
- /**
116
- * Initializes the component, setting up form values
117
- */
118
- ngOnInit(): void;
119
- /**
120
- * Sets up subscriptions after the view is initialized
121
- */
122
- ngAfterViewInit(): void;
123
- /**
124
- * Performs a search with the given query parameters
125
- * @param query - The query parameters to search with
126
- */
127
- search(query?: any): void;
128
- /**
129
- * Toggles selection of all rows in the current page
130
- */
131
- masterToggle(): void;
132
- /**
133
- * Resets pagination to the first page
134
- */
135
- resetPaging(): void;
136
- /**
137
- * Refreshes the table data
138
- */
139
- refresh(): void;
140
- static ɵfac: i0.ɵɵFactoryDeclaration<TableHttpsComponent<any>, never>;
141
- static ɵcmp: i0.ɵɵComponentDeclaration<TableHttpsComponent<any>, "table-https", never, { "observableFunc": { "alias": "observableFunc"; "required": false; "isSignal": true; }; "pageNumber": { "alias": "pageNumber"; "required": false; }; "queryData": { "alias": "queryData"; "required": false; "isSignal": true; }; "searchIfNoQuery": { "alias": "searchIfNoQuery"; "required": false; "isSignal": true; }; "showRefreshBtn": { "alias": "showRefreshBtn"; "required": false; "isSignal": true; }; "useStaticLoader": { "alias": "useStaticLoader"; "required": false; "isSignal": true; }; "searchPromptText": { "alias": "searchPromptText"; "required": false; "isSignal": true; }; }, { "queryData": "queryDataChange"; "dataFetched": "dataFetched"; }, never, never, true, never>;
142
- }
143
- /**
144
- * Interface for table search response data
145
- * @template T - The type of items in the response
146
- */
147
- export interface ITableSearchResp<T = any> {
148
- totalElements?: number;
149
- page?: {
150
- totalElements: number;
151
- content: T[];
152
- };
153
- content?: T[];
154
- total?: number;
155
- }
156
- /**
157
- * Interface for table search function
158
- * @template T - The type of items in the response
159
- */
160
- export interface ITableSearchFunc<T = any> {
161
- totalElements?: number;
162
- page?: {
163
- totalElements: number;
164
- content: T[];
165
- };
166
- content?: T[];
167
- total?: number;
168
- }
@@ -1,54 +0,0 @@
1
- import { AbstractControl } from '@angular/forms';
2
- import { BtnComponent } from '../../../btn/btn.component';
3
- import { FormGeneratorComponent, IFormSchema } from '../../../form-generator/form-generator.component';
4
- import { ITableInputBtn } from '../table-input.component';
5
- import { ITableInputFormSchema } from '../table-input.model';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Component representing a row in a table with input capabilities.
9
- * Extends FormGeneratorComponent to provide form functionality within table rows.
10
- *
11
- * @template TFormGroup - The type of form group used in this row, must extend an object with AbstractControl properties
12
- */
13
- export declare class TableInputRowComponent<TFormGroup extends {
14
- [K in keyof TFormGroup]: AbstractControl<any, any>;
15
- } = any> extends FormGeneratorComponent<TFormGroup, ITableInputFormSchema<TFormGroup>> {
16
- /** Event emitted when a row deletion is triggered */
17
- readonly onDeleteRowFunc: import("@angular/core").OutputEmitterRef<{
18
- btn?: BtnComponent;
19
- }>;
20
- /** Event emitted when a row addition is triggered */
21
- readonly onAddRowFunc: import("@angular/core").OutputEmitterRef<{
22
- btn?: BtnComponent;
23
- }>;
24
- /** Event emitted when an action button is clicked */
25
- readonly onActionButtonClick: import("@angular/core").OutputEmitterRef<{
26
- btn?: BtnComponent;
27
- actionButton: ITableInputBtn;
28
- }>;
29
- /** Controls whether the row is in show/display mode */
30
- readonly isShow: import("@angular/core").InputSignal<boolean>;
31
- /** Controls whether to hide the add button */
32
- readonly hideAdd: import("@angular/core").InputSignal<boolean>;
33
- /** Controls whether to hide the delete button */
34
- readonly hideDelete: import("@angular/core").InputSignal<boolean>;
35
- /** Controls whether inputs should have borders */
36
- readonly borderedInput: import("@angular/core").InputSignal<boolean>;
37
- /** List of action buttons to display in the row */
38
- readonly actionBtns: import("@angular/core").InputSignal<ITableInputBtn[]>;
39
- /**
40
- * Map of child form schemas for nested form structures
41
- * Keys correspond to form control names in TFormGroup
42
- */
43
- readonly childrenFormSchemaMap: import("@angular/core").InputSignal<{ [k in keyof TFormGroup]?: {
44
- formSchema: IFormSchema[];
45
- formSchemaStr: string[];
46
- }; }>;
47
- /**
48
- * Effect that disables the form when isShow is true
49
- * This prevents editing when in display/view mode
50
- */
51
- readonly isShowEffect: import("@angular/core").EffectRef;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<TableInputRowComponent<any>, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<TableInputRowComponent<any>, "tr[table-input-row]", never, { "isShow": { "alias": "isShow"; "required": false; "isSignal": true; }; "hideAdd": { "alias": "hideAdd"; "required": false; "isSignal": true; }; "hideDelete": { "alias": "hideDelete"; "required": false; "isSignal": true; }; "borderedInput": { "alias": "borderedInput"; "required": false; "isSignal": true; }; "actionBtns": { "alias": "actionBtns"; "required": false; "isSignal": true; }; "childrenFormSchemaMap": { "alias": "childrenFormSchemaMap"; "required": false; "isSignal": true; }; }, { "onDeleteRowFunc": "onDeleteRowFunc"; "onAddRowFunc": "onAddRowFunc"; "onActionButtonClick": "onActionButtonClick"; }, never, never, true, never>;
54
- }