ets-fe-ng-sdk 19.0.117 → 20.0.1

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 +1591 -1632
  2. package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
  3. package/index.d.ts +14526 -3
  4. package/package.json +20 -61
  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 -63
  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,27 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Directive that identifies a template as a modal footer.
5
- *
6
- * Use this directive to mark a template that should be rendered
7
- * in the footer section of a modal dialog.
8
- *
9
- * @example
10
- * ```html
11
- * <ng-template modalFooter>
12
- * <button type="button" class="btn btn-secondary" (click)="close()">Close</button>
13
- * <button type="button" class="btn btn-primary" (click)="save()">Save</button>
14
- * </ng-template>
15
- * ```
16
- */
17
- export declare class ModalFooterDirective {
18
- templateRef: TemplateRef<unknown>;
19
- /**
20
- * Creates an instance of ModalFooterDirective.
21
- *
22
- * @param templateRef - Reference to the template that this directive is attached to
23
- */
24
- constructor(templateRef: TemplateRef<unknown>);
25
- static ɵfac: i0.ɵɵFactoryDeclaration<ModalFooterDirective, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<ModalFooterDirective, "[modalFooter]", never, {}, {}, never, never, true, never>;
27
- }
@@ -1,154 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
- import { MatDialogRef as MatDialogRef, MatDialogConfig } from '@angular/material/dialog';
3
- import { UtilityService } from '../../../Services/utility.service';
4
- import { IconType } from '../btn/btn.model';
5
- import { ModalBodyDirective } from './modal-body.directive';
6
- import { ModalFooterDirective } from './modal-footer.directive';
7
- import { IModalOpenConfig } from './modal.model';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * A reusable modal component built on top of Angular Material Dialog.
11
- * Provides customizable header, body, and footer sections with support for fullscreen mode.
12
- *
13
- * @template T The type of data returned when the modal is closed
14
- *
15
- * @example
16
- * Basic usage:
17
- * ```html
18
- * <modal-comp #myModal [header]="'My Modal Title'">
19
- * <ng-template modalBody>
20
- * <p>This is the modal content</p>
21
- * </ng-template>
22
- * <ng-template modalFooter>
23
- * <button (click)="myModal.close()">Close</button>
24
- * <button (click)="myModal.close(true)">Save</button>
25
- * </ng-template>
26
- * </modal-comp>
27
- * ```
28
- *
29
- * @example
30
- * Opening programmatically:
31
- * ```typescript
32
- * @Component({...})
33
- * export class MyComponent {
34
- * @ViewChild('myModal') modal: ModalComponent;
35
- *
36
- * openModal() {
37
- * this.modal.open();
38
- * }
39
- *
40
- * handleModalClose(result: any) {
41
- * console.log('Modal closed with result:', result);
42
- * }
43
- * }
44
- * ```
45
- *
46
- * @example
47
- * Using with lazy-loaded templates:
48
- * ```html
49
- * <modal-comp #lazyModal
50
- * [header]="'Lazy Modal'"
51
- * [bodyTemplateRef]="bodyTemplate"
52
- * [footerTemplateRef]="footerTemplate">
53
- * </modal-comp>
54
- *
55
- * <ng-template #bodyTemplate>
56
- * <p>This body content is lazy-loaded</p>
57
- * </ng-template>
58
- *
59
- * <ng-template #footerTemplate>
60
- * <button (click)="lazyModal.close()">Close</button>
61
- * </ng-template>
62
- * ```
63
- */
64
- export declare class ModalComponent<T = any> implements OnInit {
65
- uS: UtilityService;
66
- cdr: ChangeDetectorRef;
67
- /** Reference to the modal template */
68
- protected readonly tempRef: import("@angular/core").Signal<TemplateRef<any>>;
69
- /** Modal header text */
70
- readonly header: import("@angular/core").ModelSignal<string>;
71
- /**
72
- * Template reference for the modal body when using lazy loading
73
- */
74
- bodyTemplateRef: TemplateRef<any>;
75
- /**
76
- * Template reference for the modal footer when using lazy loading
77
- */
78
- footerTemplateRef: TemplateRef<any>;
79
- /**
80
- * Controls the visibility of the modal header
81
- * @default true
82
- */
83
- readonly showHeader: import("@angular/core").ModelSignal<boolean>;
84
- /** Emits when mouse leaves the modal */
85
- readonly mouseLeft: import("@angular/core").OutputEmitterRef<MouseEvent>;
86
- /** Controls the loading state of the modal */
87
- readonly loading: import("@angular/core").ModelSignal<boolean>;
88
- /** Tracks whether the modal is in fullscreen mode */
89
- protected readonly isFullscreen: import("@angular/core").WritableSignal<boolean>;
90
- /**
91
- * Sets the fullscreen mode of the modal
92
- * When enabled, automatically hides header and footer
93
- */
94
- set _isFullscreen(v: boolean);
95
- /**
96
- * Controls the visibility of the modal footer
97
- * @default true
98
- */
99
- readonly showFooter: import("@angular/core").ModelSignal<boolean>;
100
- /** Width of the modal dialog */
101
- width: string;
102
- /** Minimum width of the modal dialog */
103
- minWidth: string;
104
- /** Height of the modal dialog */
105
- height: string;
106
- /** Maximum height of the modal dialog */
107
- maxHeight: string;
108
- /** Icon to display in the modal */
109
- icon: IconType;
110
- /** Data to be passed to the modal */
111
- data: {
112
- [x: string]: any;
113
- };
114
- /** Whether clicking outside the modal should close it */
115
- disableClose: boolean;
116
- /** Whether to show a backdrop behind the modal */
117
- hasBackdrop: boolean;
118
- /** Reference to the Angular Material dialog */
119
- protected readonly dialogRef: import("@angular/core").WritableSignal<MatDialogRef<any, any>>;
120
- /** Emits when the modal is opened */
121
- modalOpen: EventEmitter<boolean>;
122
- /** Emits when the modal is closed with the result data */
123
- readonly modalClose: import("@angular/core").OutputEmitterRef<false | T>;
124
- /** Tracks whether the modal is currently open */
125
- protected readonly isOpened: import("@angular/core").WritableSignal<boolean>;
126
- /** Tracks whether the modal content is loaded */
127
- protected readonly isLoaded: import("@angular/core").WritableSignal<boolean>;
128
- /** Base configuration for the Material dialog */
129
- readonly baseConfig: import("@angular/core").InputSignal<MatDialogConfig<any>>;
130
- /** Template for the modal body content */
131
- bodyTemplate: import("@angular/core").Signal<ModalBodyDirective>;
132
- /** Template for the modal footer content */
133
- footerTemplate: import("@angular/core").Signal<ModalFooterDirective>;
134
- /**
135
- * @param uS Utility service for dialog operations
136
- * @param cdr Change detector reference for manual change detection
137
- */
138
- constructor(uS: UtilityService, cdr: ChangeDetectorRef);
139
- ngOnInit(): void;
140
- /**
141
- * Opens the modal dialog
142
- * @param config Optional configuration for opening the modal
143
- * @returns void
144
- */
145
- open(config?: IModalOpenConfig): void;
146
- /**
147
- * Closes the modal dialog
148
- * @param value Optional value to return when the modal closes
149
- * @returns void
150
- */
151
- close(value?: any): void;
152
- static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent<any>, never>;
153
- static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent<any>, "modal-comp", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "bodyTemplateRef": { "alias": "bodyTemplateRef"; "required": false; }; "footerTemplateRef": { "alias": "footerTemplateRef"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "_isFullscreen": { "alias": "isFullscreen"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "height": { "alias": "height"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "data": { "alias": "data"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "baseConfig": { "alias": "baseConfig"; "required": false; "isSignal": true; }; }, { "header": "headerChange"; "showHeader": "showHeaderChange"; "mouseLeft": "mouseLeft"; "loading": "loadingChange"; "showFooter": "showFooterChange"; "modalOpen": "modalOpen"; "modalClose": "modalClose"; }, ["bodyTemplate", "footerTemplate"], ["[body]", "[footer]"], true, never>;
154
- }
@@ -1,21 +0,0 @@
1
- import { MatDialogConfig } from "@angular/material/dialog";
2
- /**
3
- * Configuration interface for opening a modal dialog
4
- *
5
- * This interface provides options for configuring how a modal dialog should be opened,
6
- * including the ability to pass a pointer event (for positioning relative to click)
7
- * and Angular Material dialog configuration options.
8
- */
9
- export interface IModalOpenConfig {
10
- /**
11
- * Optional pointer event that triggered the modal opening
12
- * Can be used for positioning the modal relative to where the user clicked
13
- */
14
- pointerEvent?: PointerEvent;
15
- /**
16
- * Optional Angular Material dialog configuration
17
- * Allows customizing dialog behavior, appearance, and positioning
18
- * @see {@link MatDialogConfig} for available configuration options
19
- */
20
- matDialogConfig?: MatDialogConfig;
21
- }
@@ -1 +0,0 @@
1
- export { ModalComponent as ModalModule } from './modal.component';
@@ -1,7 +0,0 @@
1
- import { ModalFormComponent } from '../modal-form/modal-form.component';
2
- import { ModalHeaderComponent } from '../modal-header/modal-header.component';
3
- import { ModalBodyDirective } from '../modal/modal-body.directive';
4
- import { ModalFooterDirective } from '../modal/modal-footer.directive';
5
- import { ModalComponent } from '../modal/modal.component';
6
- export declare const ModalComponents: readonly [typeof ModalComponent, typeof ModalFormComponent, typeof ModalHeaderComponent, typeof ModalBodyDirective, typeof ModalFooterDirective];
7
- export default ModalComponents;
@@ -1,79 +0,0 @@
1
- import { ModalComponent } from '../modal/modal.component';
2
- import { EventEmitter } from '@angular/core';
3
- import { FormGroup } from '@angular/forms';
4
- import { IFormOptions, IFormSchema } from '../../models/form-schema.model';
5
- import { IModalOpenConfig } from '../modal/modal.model';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Component that combines a modal dialog with a form generator.
9
- * Extends the base ModalComponent to provide form functionality within a modal dialog.
10
- */
11
- export declare class ModalFormComponent extends ModalComponent {
12
- /**
13
- * Determines which field to use as the key in the form schema.
14
- * Can be either 'field' or 'label'.
15
- * @default 'field'
16
- */
17
- keyField: 'field' | 'label';
18
- /**
19
- * Event emitted when the form is submitted.
20
- * Emits the form value.
21
- */
22
- submitted: EventEmitter<any>;
23
- /**
24
- * Function to be called when the form is submitted.
25
- * Should return a Promise that resolves with the result of the submission.
26
- */
27
- submitFunc: (value: any) => Promise<any>;
28
- /**
29
- * Text to display on the submit button.
30
- * @default 'Save'
31
- */
32
- text: string;
33
- /**
34
- * Additional data to provide context for the form.
35
- */
36
- contextData: any;
37
- /**
38
- * Grid column count for default screen sizes.
39
- */
40
- gridStyle: number;
41
- /**
42
- * Grid column count for medium screen sizes.
43
- */
44
- gridMDStyle: number;
45
- /**
46
- * Grid column count for extra-extra-large screen sizes.
47
- */
48
- gridXXLStyle: number;
49
- /**
50
- * The Angular FormGroup instance for the form.
51
- */
52
- form: FormGroup;
53
- /**
54
- * Form instance for standalone components.
55
- */
56
- standaloneForm: any;
57
- /**
58
- * Schema defining the structure and behavior of the form.
59
- */
60
- formSchema: IFormSchema[];
61
- /**
62
- * Map of options for select/dropdown fields in the form.
63
- */
64
- optionsMap: IFormOptions;
65
- /**
66
- * Country codes for cell/mobile phone fields.
67
- */
68
- cellCountryCode3s: IFormOptions;
69
- /**
70
- * Opens the modal with the provided configuration.
71
- * Extends the base modal open method to handle context data.
72
- * @param config - Configuration for opening the modal, including context data
73
- */
74
- open(config: IModalOpenConfig & {
75
- contextData: any;
76
- }): void;
77
- static ɵfac: i0.ɵɵFactoryDeclaration<ModalFormComponent, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<ModalFormComponent, "modal-form", never, { "keyField": { "alias": "keyField"; "required": false; }; "submitFunc": { "alias": "submitFunc"; "required": false; }; "text": { "alias": "text"; "required": false; }; "contextData": { "alias": "contextData"; "required": false; }; "gridStyle": { "alias": "gridStyle"; "required": false; }; "gridMDStyle": { "alias": "gridMDStyle"; "required": false; }; "gridXXLStyle": { "alias": "gridXXLStyle"; "required": false; }; "form": { "alias": "form"; "required": false; }; "formSchema": { "alias": "formSchema"; "required": false; }; }, { "submitted": "submitted"; }, never, never, true, never>;
79
- }
@@ -1 +0,0 @@
1
- export { ModalFormComponent as ModalFormModule } from './modal-form.component';
@@ -1,35 +0,0 @@
1
- import { MatDialogRef as MatDialogRef } from '@angular/material/dialog';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Modal header component that provides a standardized header for modal dialogs.
5
- * Includes a title and close button functionality.
6
- */
7
- export declare class ModalHeaderComponent {
8
- /**
9
- * Reference to the dialog that contains this header.
10
- * Used to close the dialog when the close button is clicked.
11
- */
12
- readonly dialogRef: import("@angular/core").InputSignal<MatDialogRef<any, any>>;
13
- /**
14
- * The text to display as the header/title of the modal.
15
- */
16
- readonly header: import("@angular/core").InputSignal<string>;
17
- /**
18
- * Value to pass to the dialog's close function when closing the modal.
19
- * This value will be available to the component that opened the dialog.
20
- */
21
- readonly onCloseValue: import("@angular/core").InputSignal<any>;
22
- /**
23
- * Event emitted when the close button is clicked.
24
- * Can be used by parent components to perform additional actions on close.
25
- */
26
- readonly onClose: import("@angular/core").OutputEmitterRef<void>;
27
- constructor();
28
- /**
29
- * Closes the dialog and emits the close event.
30
- * If dialogRef is provided, it will close the dialog with the onCloseValue.
31
- */
32
- protected close(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<ModalHeaderComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<ModalHeaderComponent, "modal-header", never, { "dialogRef": { "alias": "dialogRef"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "onCloseValue": { "alias": "onCloseValue"; "required": false; "isSignal": true; }; }, { "onClose": "close"; }, never, ["[headerBtns]"], true, never>;
35
- }
@@ -1 +0,0 @@
1
- export { ModalHeaderComponent as ModalHeaderModule } from './modal-header.component';
@@ -1,34 +0,0 @@
1
- import { BtnComponent } from '../btn/btn.component';
2
- import { Observable } from 'rxjs';
3
- import { IGetQuery, ISearchResponse2 } from '../../models/index.model';
4
- import * as i0 from "@angular/core";
5
- export declare class NarrationHistoryCompComponent {
6
- isShow: boolean;
7
- loading: boolean;
8
- saveFunction: (data: Partial<IComment>) => Promise<any>;
9
- updateFunction: (data: IComment) => Promise<any>;
10
- deleteFunction: (id: number) => Observable<any>;
11
- listFunction: (query: IGetQuery) => Observable<ISearchResponse2<IComment>>;
12
- comments: IComment[];
13
- newComment: Partial<IComment>;
14
- currentUserName: string;
15
- ngOnInit(): void;
16
- trackByID: (index: any, item: any) => any;
17
- fetchComments(): void;
18
- /**
19
- * add workflow history
20
- * @param content
21
- */
22
- createComment(content: string, cb: any, btn?: BtnComponent): Promise<void>;
23
- deleteComment(id: number, btn?: BtnComponent): Promise<void>;
24
- updateComment(history: IComment, content?: string, cb?: any, btn?: BtnComponent): Promise<void>;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<NarrationHistoryCompComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<NarrationHistoryCompComponent, "narration-history-comp", never, { "isShow": { "alias": "isShow"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "saveFunction": { "alias": "saveFunction"; "required": true; }; "updateFunction": { "alias": "updateFunction"; "required": true; }; "deleteFunction": { "alias": "deleteFunction"; "required": true; }; "listFunction": { "alias": "listFunction"; "required": true; }; }, {}, never, never, true, never>;
27
- }
28
- interface IComment {
29
- narration: string;
30
- createdBy?: string;
31
- createdOn?: string;
32
- id: number;
33
- }
34
- export {};
@@ -1,10 +0,0 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import { NotificationsService } from './notifications.service';
3
- import * as i0 from "@angular/core";
4
- export declare class NotificationsComponent {
5
- nS: NotificationsService;
6
- dialogRef: MatDialogRef<NotificationsComponent>;
7
- constructor(nS: NotificationsService, dialogRef: MatDialogRef<NotificationsComponent>);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsComponent, "notifications", never, {}, {}, never, never, true, never>;
10
- }
@@ -1,9 +0,0 @@
1
- import { MatDialog } from '@angular/material/dialog';
2
- import * as i0 from "@angular/core";
3
- export declare class NotificationsService {
4
- dialog: MatDialog;
5
- constructor(dialog: MatDialog);
6
- open(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
9
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class PageCenterBodyComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<PageCenterBodyComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<PageCenterBodyComponent, "page-center-body", never, {}, {}, never, ["*"], true, never>;
5
- }
@@ -1,181 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { ActivatedRoute, Router } from '@angular/router';
3
- import { UtilityService } from '../../../../lib/Services/utility.service';
4
- import { EPageType, IObjectLiteral } from '../../models/index.model';
5
- import { Environment, SDKEnvironment } from '../../models/environment.model';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Base component for page templates that provides common functionality for CRUD operations.
9
- *
10
- * @template ModelData - The type of data model used by the page
11
- * @template TEnvironment - The environment configuration type, defaults to Environment
12
- */
13
- export declare class PageTemplateComponent<ModelData = any, TEnvironment extends SDKEnvironment = Environment> {
14
- /** Indicates whether the page is currently loading */
15
- loading: boolean;
16
- /** Signal that tracks the loading state */
17
- readonly loadingSignal: import("@angular/core").WritableSignal<boolean>;
18
- /** Signal that indicates if the component is being used in a modal */
19
- readonly isModal: import("@angular/core").WritableSignal<boolean>;
20
- /**
21
- * Sets the isModal signal value
22
- * @param v - Boolean value indicating if component is in modal mode
23
- */
24
- set _isModal(v: boolean);
25
- /** The data model for the page */
26
- modelData: ModelData;
27
- /** Callback function to execute when modal operation completes */
28
- modalOnComplete: (...args: any[]) => any;
29
- /** Event emitted when modal form is submitted */
30
- modalSubmitted: EventEmitter<any>;
31
- /** Identifier code for the current entity */
32
- code?: string;
33
- /** Signal to override the page type */
34
- readonly overridePageTypeSignal: import("@angular/core").WritableSignal<EPageType>;
35
- /**
36
- * Gets the current page type
37
- * @returns The current page type
38
- */
39
- get pageType(): EPageType;
40
- /**
41
- * Sets the page type
42
- * @param value - The page type to set
43
- */
44
- set pageType(value: EPageType);
45
- /** Field name used as the primary identifier (defaults to 'code') */
46
- idField: string;
47
- /** Signal computed to determine if the current page is in create mode */
48
- readonly isCreate: import("@angular/core").Signal<boolean>;
49
- /** Signal computed to determine if the current page is in index mode */
50
- readonly isIndex: import("@angular/core").Signal<boolean>;
51
- /** Signal computed to determine if the current page is in clone mode */
52
- readonly isClone: import("@angular/core").Signal<boolean>;
53
- /** Signal computed to determine if the current page is in edit mode */
54
- readonly isEdit: import("@angular/core").Signal<boolean>;
55
- /** Signal computed to determine if the current page is in show mode */
56
- readonly isShow: import("@angular/core").Signal<boolean>;
57
- /** Signal computed to determine if the current page is in show or edit mode */
58
- readonly isShowOrEdit: import("@angular/core").Signal<boolean>;
59
- /** Signal computed to determine if the current page is in show or edit or clone mode */
60
- readonly isShowOrEditOrClone: import("@angular/core").Signal<boolean>;
61
- /**
62
- * Gets the info function from the utility service
63
- * @returns The info function
64
- */
65
- get infoFunc(): (text: string, status?: 0 | 2 | 1, heading?: string, btns?: import("ets-fe-ng-sdk").IInfoDialogBtn[], disableClose?: boolean) => Promise<boolean>;
66
- /** The current activated route */
67
- route: ActivatedRoute;
68
- /** Utility service instance */
69
- uS: UtilityService<any>;
70
- /** Router instance */
71
- readonly router: Router;
72
- /**
73
- * Provides router utilities for relative navigation and parameter access within the component.
74
- * @see UtilityService.relativeRouter
75
- * @example
76
- * // Usage in template or component:
77
- * this.relativeRouter.navigate('details', { queryParams: { id: 1 } });
78
- */
79
- readonly relativeRouter: {
80
- route: ActivatedRoute;
81
- router: Router;
82
- navigate: (link: string, config?: import("@angular/router").NavigationExtras | undefined) => Promise<boolean>;
83
- queryParams: import("@angular/router").Params;
84
- pathParams: import("@angular/router").Params;
85
- };
86
- constructor();
87
- /**
88
- * Initializes the page component
89
- * @param func - Optional function to execute during initialization
90
- * @param err - Optional error handler function
91
- */
92
- init(func?: () => Promise<any>, err?: () => any): Promise<void>;
93
- /**
94
- * Sets the loading state
95
- * @param v - Boolean value indicating loading state
96
- */
97
- setLoader: (v: boolean) => void;
98
- /** Signal computed to determine the current page state */
99
- readonly pageState: import("@angular/core").Signal<IPageState>;
100
- /** Sets the page type to index */
101
- setAsIndex(): void;
102
- /** Sets the page type to clone */
103
- setAsClone(): void;
104
- /** Sets the page type to create */
105
- setAsCreate(): void;
106
- /** Sets the page type to edit */
107
- setAsEdit(): void;
108
- /** Sets the page type to show */
109
- setAsShow(): void;
110
- /** Signal for the current query parameters */
111
- readonly queryParamsSignal: import("@angular/core").Signal<{
112
- code?: string;
113
- id?: string;
114
- }>;
115
- /**
116
- * Gets the current query parameters
117
- * @returns The current query parameters object
118
- */
119
- get _queryParams(): {
120
- code?: string;
121
- id?: string;
122
- };
123
- /**
124
- * Checks if required parameters are present
125
- * @param params - Array of parameter names to check (defaults to ['code'])
126
- */
127
- checkParams(params?: string[]): Promise<void>;
128
- /** Signal computed to determine if code should be hidden */
129
- readonly hideCode: import("@angular/core").Signal<boolean>;
130
- /**
131
- * Redirects to home page with an error message
132
- * @param error - The error to display
133
- */
134
- bounce(error: any): Promise<void>;
135
- /**
136
- * Handles form submission based on the current page type
137
- */
138
- handleForm(): void;
139
- /** Handler for edit mode form submission */
140
- ifEdit: () => void;
141
- /** Handler for create mode form submission */
142
- ifCreate: () => void;
143
- /** Handler for show mode form submission */
144
- ifShow: () => void;
145
- /** Handler for clone mode form submission */
146
- ifClone: () => void;
147
- /**
148
- * Executes a function if not in create mode
149
- * @param func - The function to execute
150
- */
151
- ifParams: (func: () => any) => void;
152
- /**
153
- * Handles actions after form submission is complete
154
- * @param config - Configuration object for post-submission actions
155
- * @param config.notificationMessage - Optional message to display
156
- * @param config.param - Optional query parameters to pass to the next route
157
- * @param config.route - Optional route to navigate to (defaults to '../show')
158
- */
159
- onSubmitComplete(config: {
160
- notificationMessage?: string;
161
- param?: IObjectLiteral;
162
- route?: string;
163
- }): Promise<void>;
164
- static ɵfac: i0.ɵɵFactoryDeclaration<PageTemplateComponent<any, any>, never>;
165
- static ɵcmp: i0.ɵɵComponentDeclaration<PageTemplateComponent<any, any>, "ng-component", never, { "_isModal": { "alias": "isModal"; "required": false; }; "modelData": { "alias": "modelData"; "required": false; }; }, { "modalSubmitted": "modalSubmitted"; }, never, never, true, never>;
166
- }
167
- /**
168
- * Interface representing the state of a page
169
- */
170
- export interface IPageState {
171
- /** Indicates if the page is in clone mode */
172
- isClone?: boolean;
173
- /** Indicates if the page is in create mode */
174
- isCreate?: boolean;
175
- /** Indicates if the page is in edit mode */
176
- isEdit?: boolean;
177
- /** Indicates if the page is in show mode */
178
- isShow?: boolean;
179
- /** Indicates if the page is in modal mode */
180
- isModal?: boolean;
181
- }
@@ -1 +0,0 @@
1
- export { PageTemplateComponent as PageTemplateModule } from './page-template.component';
@@ -1,70 +0,0 @@
1
- import { OnInit, Type } from '@angular/core';
2
- import { MatDialogRef as MatDialogRef } from '@angular/material/dialog';
3
- import { EPageType } from '../../models/index.model';
4
- import { PageToComponentDirective } from './page-to-component.directive';
5
- import { PageTemplateComponent } from '../page-template/page-template.component';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Component that dynamically loads another component into a dialog.
9
- * Used for displaying page components in a modal dialog context.
10
- */
11
- export declare class PageToComponentComponent implements OnInit {
12
- data: {
13
- component: Type<PageTemplateComponent>;
14
- modelData: any;
15
- title: string;
16
- pageType: EPageType;
17
- };
18
- dialogRef: MatDialogRef<PageToComponentComponent>;
19
- /** Reference to the directive where the dynamic component will be loaded */
20
- compHost: PageToComponentDirective;
21
- /**
22
- * @param data Configuration data for the component
23
- * @param data.component The component type to be dynamically loaded
24
- * @param data.modelData Data to be passed to the loaded component
25
- * @param data.title Title of the dialog
26
- * @param data.pageType Type of page being displayed
27
- * @param dialogRef Reference to the dialog containing this component
28
- */
29
- constructor(data: {
30
- component: Type<PageTemplateComponent>;
31
- modelData: any;
32
- title: string;
33
- pageType: EPageType;
34
- }, dialogRef: MatDialogRef<PageToComponentComponent>);
35
- /**
36
- * Initializes the component by loading the dynamic component
37
- */
38
- ngOnInit(): void;
39
- /**
40
- * Loads the dynamic component into the view container
41
- * and sets up its properties and callback
42
- */
43
- loadComponent(): void;
44
- /**
45
- * Handles completion of the modal operation
46
- * @param data Data to be returned when the dialog closes
47
- */
48
- onComplete(data: any): void;
49
- /**
50
- * Closes the dialog without returning data
51
- */
52
- close(): void;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<PageToComponentComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<PageToComponentComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
55
- }
56
- /**
57
- * Base component for pages that can be displayed in a modal dialog
58
- * @template ModelData Type of the data model used by the component
59
- * @template CompletionFunc Type of the completion function
60
- */
61
- export declare class PageModal<ModelData = any, CompletionFunc = any> {
62
- /** Indicates whether the component is being displayed in a modal */
63
- isModal: boolean;
64
- /** Data model for the component */
65
- modelData: ModelData;
66
- /** Function to be called when the modal operation completes */
67
- modalOnComplete: CompletionFunc;
68
- static ɵfac: i0.ɵɵFactoryDeclaration<PageModal<any, any>, never>;
69
- static ɵcmp: i0.ɵɵComponentDeclaration<PageModal<any, any>, "ng-component", never, { "isModal": { "alias": "isModal"; "required": false; }; "modelData": { "alias": "modelData"; "required": false; }; "modalOnComplete": { "alias": "modalOnComplete"; "required": false; }; }, {}, never, never, false, never>;
70
- }