cat-qw-lib 0.0.2 → 0.0.3

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 (248) hide show
  1. package/fesm2022/cat-qw-lib.mjs +2033 -0
  2. package/fesm2022/cat-qw-lib.mjs.map +1 -0
  3. package/index.d.ts +5 -0
  4. package/lib/admin/action-admin/action-admin.module.d.ts +9 -0
  5. package/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.d.ts +5 -0
  6. package/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.d.ts +12 -0
  7. package/lib/admin/action-admin/models/action.model.d.ts +9 -0
  8. package/lib/admin/action-admin/state/action.service.d.ts +13 -0
  9. package/lib/admin/action-admin/state/action.store.d.ts +8 -0
  10. package/lib/admin/api-admin/api-admin.module.d.ts +18 -0
  11. package/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.d.ts +30 -0
  12. package/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.d.ts +10 -0
  13. package/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.d.ts +14 -0
  14. package/lib/admin/api-admin/models/api-admin.model.d.ts +15 -0
  15. package/lib/admin/api-admin/models/credentials.model.d.ts +4 -0
  16. package/lib/admin/api-admin/state/api-admin.service.d.ts +16 -0
  17. package/lib/admin/api-admin/state/api-admin.store.d.ts +8 -0
  18. package/lib/shared/_base/base-control/base-control.component.d.ts +22 -0
  19. package/lib/shared/_base/base-form/base-form.component.d.ts +27 -0
  20. package/lib/shared/_base/base-list/base-list.component.d.ts +16 -0
  21. package/lib/shared/components/form-container/form-container.component.d.ts +26 -0
  22. package/lib/shared/components/sidebar/sidebar.component.d.ts +13 -0
  23. package/lib/shared/constant/CSS.d.ts +11 -0
  24. package/lib/shared/constant/DATASOURCES.d.ts +10 -0
  25. package/lib/shared/constant/ERROR.d.ts +3 -0
  26. package/lib/shared/constant/HEADERS.d.ts +4 -0
  27. package/lib/shared/constant/LIST-CONFIG.d.ts +8 -0
  28. package/lib/shared/constant/LOOKUPS.d.ts +3 -0
  29. package/lib/shared/constant/ROUTES.d.ts +12 -0
  30. package/lib/shared/constant/SHARED.d.ts +565 -0
  31. package/lib/shared/constant/URLS.d.ts +3 -0
  32. package/lib/shared/controls/button/button.component.d.ts +6 -0
  33. package/lib/shared/controls/check-box/check-box.component.d.ts +6 -0
  34. package/lib/shared/controls/date/date.component.d.ts +12 -0
  35. package/lib/shared/controls/dropdown/dropdown.component.d.ts +19 -0
  36. package/lib/shared/controls/file-upload/file-upload.component.d.ts +7 -0
  37. package/lib/shared/controls/password/password.component.d.ts +9 -0
  38. package/lib/shared/controls/text-area/text-area.component.d.ts +8 -0
  39. package/lib/shared/controls/text-box/text-box.component.d.ts +7 -0
  40. package/lib/shared/controls/username/username.component.d.ts +6 -0
  41. package/{src/lib/shared/index.ts → lib/shared/index.d.ts} +30 -35
  42. package/lib/shared/models/attribute.model.d.ts +41 -0
  43. package/lib/shared/models/base.model.d.ts +3 -0
  44. package/lib/shared/models/list.model.d.ts +11 -0
  45. package/lib/shared/pipe/capitalize-words.pipe.d.ts +7 -0
  46. package/lib/shared/services/app-config.service.d.ts +12 -0
  47. package/lib/shared/services/auth/auth.guard.d.ts +12 -0
  48. package/lib/shared/services/date-parser.service.d.ts +7 -0
  49. package/lib/shared/services/list.service.d.ts +13 -0
  50. package/lib/shared/services/session.service.d.ts +13 -0
  51. package/lib/shared/services/table.builder.d.ts +11 -0
  52. package/lib/shared/services/validator.service.d.ts +7 -0
  53. package/lib/shared/shared.module.d.ts +32 -0
  54. package/lib/shared/state/base.query.d.ts +19 -0
  55. package/lib/shared/state/base.service.d.ts +27 -0
  56. package/lib/shared/state/base.state.d.ts +4 -0
  57. package/lib/shared/state/base.store.d.ts +24 -0
  58. package/lib/shared/table-primary/components/table-primary.component.d.ts +26 -0
  59. package/lib/shared/table-primary/models/table-primary-header.model.d.ts +6 -0
  60. package/lib/shared/table-primary/models/table-primary.model.d.ts +5 -0
  61. package/package.json +25 -16
  62. package/{src/public-api.ts → public-api.d.ts} +6 -11
  63. package/ng-package.json +0 -10
  64. package/src/lib/admin/action-admin/action-admin.module.ts +0 -16
  65. package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.html +0 -1
  66. package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.scss +0 -0
  67. package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.spec.ts +0 -23
  68. package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.ts +0 -11
  69. package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.html +0 -5
  70. package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.scss +0 -0
  71. package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.spec.ts +0 -23
  72. package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.ts +0 -24
  73. package/src/lib/admin/action-admin/models/action.model.ts +0 -12
  74. package/src/lib/admin/action-admin/state/action.query.ts +0 -11
  75. package/src/lib/admin/action-admin/state/action.service.ts +0 -18
  76. package/src/lib/admin/action-admin/state/action.state.ts +0 -14
  77. package/src/lib/admin/action-admin/state/action.store.ts +0 -14
  78. package/src/lib/admin/admin.module.ts +0 -22
  79. package/src/lib/admin/api-admin/api-admin.module.ts +0 -39
  80. package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.html +0 -96
  81. package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.scss +0 -6
  82. package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.spec.ts +0 -23
  83. package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.ts +0 -94
  84. package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.html +0 -6
  85. package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.scss +0 -0
  86. package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.spec.ts +0 -23
  87. package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.ts +0 -17
  88. package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.html +0 -29
  89. package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.scss +0 -0
  90. package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.spec.ts +0 -21
  91. package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.ts +0 -25
  92. package/src/lib/admin/api-admin/models/api-admin.model.ts +0 -16
  93. package/src/lib/admin/api-admin/models/credentials.model.ts +0 -4
  94. package/src/lib/admin/api-admin/state/api-admin.query.ts +0 -14
  95. package/src/lib/admin/api-admin/state/api-admin.service.ts +0 -31
  96. package/src/lib/admin/api-admin/state/api-admin.state.ts +0 -14
  97. package/src/lib/admin/api-admin/state/api-admin.store.ts +0 -13
  98. package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.css +0 -0
  99. package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.html +0 -1
  100. package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.spec.ts +0 -23
  101. package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.ts +0 -11
  102. package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.css +0 -0
  103. package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.html +0 -1
  104. package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.spec.ts +0 -23
  105. package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.ts +0 -11
  106. package/src/lib/admin/dd-admin/dd-admin.module.ts +0 -12
  107. package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.css +0 -0
  108. package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.html +0 -1
  109. package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.spec.ts +0 -23
  110. package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.ts +0 -11
  111. package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.css +0 -0
  112. package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.html +0 -1
  113. package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.spec.ts +0 -23
  114. package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.ts +0 -11
  115. package/src/lib/admin/queue-admin/queue-admin.module.ts +0 -12
  116. package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.css +0 -0
  117. package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.html +0 -1
  118. package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.spec.ts +0 -23
  119. package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.ts +0 -11
  120. package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.css +0 -0
  121. package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.html +0 -1
  122. package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.spec.ts +0 -23
  123. package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.ts +0 -11
  124. package/src/lib/admin/widget-admin/widget-admin.module.ts +0 -12
  125. package/src/lib/shared/_base/base-control/base-control.component.html +0 -1
  126. package/src/lib/shared/_base/base-control/base-control.component.scss +0 -0
  127. package/src/lib/shared/_base/base-control/base-control.component.spec.ts +0 -21
  128. package/src/lib/shared/_base/base-control/base-control.component.ts +0 -55
  129. package/src/lib/shared/_base/base-form/base-form.component.html +0 -1
  130. package/src/lib/shared/_base/base-form/base-form.component.scss +0 -0
  131. package/src/lib/shared/_base/base-form/base-form.component.spec.ts +0 -21
  132. package/src/lib/shared/_base/base-form/base-form.component.ts +0 -81
  133. package/src/lib/shared/_base/base-list/base-list.component.html +0 -1
  134. package/src/lib/shared/_base/base-list/base-list.component.scss +0 -0
  135. package/src/lib/shared/_base/base-list/base-list.component.spec.ts +0 -21
  136. package/src/lib/shared/_base/base-list/base-list.component.ts +0 -31
  137. package/src/lib/shared/components/form-container/form-container.component.html +0 -55
  138. package/src/lib/shared/components/form-container/form-container.component.scss +0 -108
  139. package/src/lib/shared/components/form-container/form-container.component.spec.ts +0 -21
  140. package/src/lib/shared/components/form-container/form-container.component.ts +0 -55
  141. package/src/lib/shared/components/sidebar/sidebar.component.html +0 -13
  142. package/src/lib/shared/components/sidebar/sidebar.component.scss +0 -45
  143. package/src/lib/shared/components/sidebar/sidebar.component.spec.ts +0 -21
  144. package/src/lib/shared/components/sidebar/sidebar.component.ts +0 -26
  145. package/src/lib/shared/constant/CSS.ts +0 -9
  146. package/src/lib/shared/constant/DATASOURCES.ts +0 -10
  147. package/src/lib/shared/constant/ERROR.ts +0 -3
  148. package/src/lib/shared/constant/HEADERS.ts +0 -4
  149. package/src/lib/shared/constant/LIST-CONFIG.ts +0 -10
  150. package/src/lib/shared/constant/LOOKUPS.ts +0 -3
  151. package/src/lib/shared/constant/ROUTES.ts +0 -12
  152. package/src/lib/shared/constant/SHARED.ts +0 -603
  153. package/src/lib/shared/constant/URLS.ts +0 -3
  154. package/src/lib/shared/controls/button/button.component.html +0 -25
  155. package/src/lib/shared/controls/button/button.component.scss +0 -0
  156. package/src/lib/shared/controls/button/button.component.spec.ts +0 -21
  157. package/src/lib/shared/controls/button/button.component.ts +0 -15
  158. package/src/lib/shared/controls/check-box/check-box.component.html +0 -22
  159. package/src/lib/shared/controls/check-box/check-box.component.scss +0 -32
  160. package/src/lib/shared/controls/check-box/check-box.component.spec.ts +0 -26
  161. package/src/lib/shared/controls/check-box/check-box.component.ts +0 -16
  162. package/src/lib/shared/controls/date/date.component.html +0 -43
  163. package/src/lib/shared/controls/date/date.component.scss +0 -0
  164. package/src/lib/shared/controls/date/date.component.spec.ts +0 -21
  165. package/src/lib/shared/controls/date/date.component.ts +0 -42
  166. package/src/lib/shared/controls/dropdown/dropdown.component.html +0 -28
  167. package/src/lib/shared/controls/dropdown/dropdown.component.scss +0 -12
  168. package/src/lib/shared/controls/dropdown/dropdown.component.ts +0 -71
  169. package/src/lib/shared/controls/file-upload/file-upload.component.html +0 -18
  170. package/src/lib/shared/controls/file-upload/file-upload.component.scss +0 -0
  171. package/src/lib/shared/controls/file-upload/file-upload.component.spec.ts +0 -21
  172. package/src/lib/shared/controls/file-upload/file-upload.component.ts +0 -19
  173. package/src/lib/shared/controls/number-feild/number-feild.component.html +0 -39
  174. package/src/lib/shared/controls/number-feild/number-feild.component.scss +0 -13
  175. package/src/lib/shared/controls/number-feild/number-feild.component.spec.ts +0 -21
  176. package/src/lib/shared/controls/number-feild/number-feild.component.ts +0 -35
  177. package/src/lib/shared/controls/password/password.component.html +0 -22
  178. package/src/lib/shared/controls/password/password.component.scss +0 -0
  179. package/src/lib/shared/controls/password/password.component.spec.ts +0 -28
  180. package/src/lib/shared/controls/password/password.component.ts +0 -24
  181. package/src/lib/shared/controls/text-area/text-area.component.html +0 -36
  182. package/src/lib/shared/controls/text-area/text-area.component.scss +0 -22
  183. package/src/lib/shared/controls/text-area/text-area.component.spec.ts +0 -23
  184. package/src/lib/shared/controls/text-area/text-area.component.ts +0 -25
  185. package/src/lib/shared/controls/text-box/text-box.component.html +0 -44
  186. package/src/lib/shared/controls/text-box/text-box.component.scss +0 -25
  187. package/src/lib/shared/controls/text-box/text-box.component.spec.ts +0 -30
  188. package/src/lib/shared/controls/text-box/text-box.component.ts +0 -26
  189. package/src/lib/shared/controls/username/username.component.html +0 -16
  190. package/src/lib/shared/controls/username/username.component.scss +0 -0
  191. package/src/lib/shared/controls/username/username.component.spec.ts +0 -29
  192. package/src/lib/shared/controls/username/username.component.ts +0 -17
  193. package/src/lib/shared/models/attribute.model.ts +0 -42
  194. package/src/lib/shared/models/base.model.ts +0 -3
  195. package/src/lib/shared/models/list.model.ts +0 -27
  196. package/src/lib/shared/models/message.model.ts +0 -4
  197. package/src/lib/shared/pipe/capitalize-words.pipe.spec.ts +0 -8
  198. package/src/lib/shared/pipe/capitalize-words.pipe.ts +0 -17
  199. package/src/lib/shared/services/app-config.service.spec.ts +0 -16
  200. package/src/lib/shared/services/app-config.service.ts +0 -25
  201. package/src/lib/shared/services/auth/auth.guard.spec.ts +0 -17
  202. package/src/lib/shared/services/auth/auth.guard.ts +0 -25
  203. package/src/lib/shared/services/data-transformer.service.spec.ts +0 -16
  204. package/src/lib/shared/services/data-transformer.service.ts +0 -41
  205. package/src/lib/shared/services/date-parser.service.spec.ts +0 -16
  206. package/src/lib/shared/services/date-parser.service.ts +0 -54
  207. package/src/lib/shared/services/list.service.spec.ts +0 -16
  208. package/src/lib/shared/services/list.service.ts +0 -53
  209. package/src/lib/shared/services/session.service.spec.ts +0 -16
  210. package/src/lib/shared/services/session.service.ts +0 -37
  211. package/src/lib/shared/services/table.builder.ts +0 -38
  212. package/src/lib/shared/services/validator.service.spec.ts +0 -16
  213. package/src/lib/shared/services/validator.service.ts +0 -13
  214. package/src/lib/shared/shared.module.ts +0 -62
  215. package/src/lib/shared/state/base.query.ts +0 -48
  216. package/src/lib/shared/state/base.service.ts +0 -69
  217. package/src/lib/shared/state/base.state.ts +0 -6
  218. package/src/lib/shared/state/base.store.ts +0 -56
  219. package/src/lib/shared/table-primary/components/table-primary.component.html +0 -56
  220. package/src/lib/shared/table-primary/components/table-primary.component.scss +0 -187
  221. package/src/lib/shared/table-primary/components/table-primary.component.spec.ts +0 -21
  222. package/src/lib/shared/table-primary/components/table-primary.component.ts +0 -71
  223. package/src/lib/shared/table-primary/models/table-primary-header.model.ts +0 -7
  224. package/src/lib/shared/table-primary/models/table-primary.model.ts +0 -6
  225. package/src/lib/widget/components/widget-body/widget-body.component.html +0 -1
  226. package/src/lib/widget/components/widget-body/widget-body.component.scss +0 -0
  227. package/src/lib/widget/components/widget-body/widget-body.component.spec.ts +0 -23
  228. package/src/lib/widget/components/widget-body/widget-body.component.ts +0 -11
  229. package/src/lib/widget/components/widget-container/widget-container.component.css +0 -0
  230. package/src/lib/widget/components/widget-container/widget-container.component.html +0 -1
  231. package/src/lib/widget/components/widget-container/widget-container.component.spec.ts +0 -23
  232. package/src/lib/widget/components/widget-container/widget-container.component.ts +0 -11
  233. package/src/lib/widget/components/widget-footer/widget-footer.component.css +0 -0
  234. package/src/lib/widget/components/widget-footer/widget-footer.component.html +0 -1
  235. package/src/lib/widget/components/widget-footer/widget-footer.component.spec.ts +0 -23
  236. package/src/lib/widget/components/widget-footer/widget-footer.component.ts +0 -11
  237. package/src/lib/widget/components/widget-header/widget-header.component.css +0 -0
  238. package/src/lib/widget/components/widget-header/widget-header.component.html +0 -1
  239. package/src/lib/widget/components/widget-header/widget-header.component.spec.ts +0 -23
  240. package/src/lib/widget/components/widget-header/widget-header.component.ts +0 -11
  241. package/src/lib/widget/components/widget-item/widget-item.component.css +0 -0
  242. package/src/lib/widget/components/widget-item/widget-item.component.html +0 -1
  243. package/src/lib/widget/components/widget-item/widget-item.component.spec.ts +0 -23
  244. package/src/lib/widget/components/widget-item/widget-item.component.ts +0 -11
  245. package/src/lib/widget/widget.module.ts +0 -12
  246. package/tsconfig.lib.json +0 -15
  247. package/tsconfig.lib.prod.json +0 -11
  248. package/tsconfig.spec.json +0 -15
@@ -1,603 +0,0 @@
1
- export class SHARED {
2
- static EMPTY = "";
3
- static REQUIRED_ERROR = "Field Required";
4
- static EMPTYARRAY = [];
5
- static NULL = "NULL";
6
- static HIPHEN = "-";
7
- static SLASH = "/";
8
- static USERROLE = "role"
9
- static SESSIONKEY = "userData";
10
- static SUCCESS = "success";
11
- static ERROR = "error";
12
- static ERROR_MESSAGE = "Success Message";
13
- static SUCCESS_MESSAGE = "Success Message";
14
- static DICTIONARY = "Dictionary";
15
- static TITLE = 'title';
16
- static DICTIONARY_ITEM = 'dictionaryItem';
17
- static DICTIONARY_ITEM_MAPPER = 'dictionaryItemMapper';
18
- static SIDEBAR_MASK = '.p-sidebar-mask';
19
- static CUSTOMSIDEBAROVERLAY = 'custom-sidebar-overlay';
20
- static ID = 'id';
21
- static _ID = '_id';
22
- static DATE_FORMAT = "DD/MM/YYYY";
23
- static DATE_FORMAT_TYPE2 = "DD-MM-YYYY";
24
- static DATE_FORMAT_TYPE3 = "YY-MM-DD";
25
- static DATE_FORMAT_TYPE4 = "YYYY-MM-DD";
26
- static INVALIDDATE = "Invalid Date";
27
- static __V = '__v';
28
- static CREATEDAT = 'createdAt';
29
- static UPDATEDAT = 'updatedAt';
30
- static CREDENTIALS = 'credentials';
31
- static ZERO = 0
32
- static TYPE_OBJECT = 'object'
33
- static DICTIONARYITEMS = 'dictionaryItems';
34
- static GET_DATA_MESSAGE = [{ severity: 'info', detail: 'Data has been fetched successfully.', life:1000 }]
35
- static PRIMARY = 'primary';
36
- static mappingInfo = 'mappingInfo';
37
- static YES = 'Yes';
38
- static NO = 'No';
39
- static selectedQueue = 'selectedQueue';
40
- static DASH = "-"
41
- static selectedApplication = 'selectedApplication';
42
- static selectedApplicationNumber = 'selectedApplicationNumber';
43
- static GREEN = "green"
44
- static RED = "red"
45
- static FROM_EMAIL = "neeraj.kumar@catura.co.uk";
46
- static to_EMAIL = "shubham.prajapati@dynamatix.com";
47
- static EMAIL = 'email';
48
- static token = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxOTI2ZjcyN2RkZWI0MDAxMWE2ZDZmNyIsIm5hbWUiOiJKb2huIERvZSIsInJvbGUiOiJ1c2VyIiwiaWF0IjoxNjQyNzQ5MzYyLCJleHAiOjE2NDI4MzU3NjJ9.4fBQqP2_6z0H4Ow7J-R27XEdIgl2MrMoIXCgD_qZFlA';
49
- static null = 'null';
50
- static undefined = 'undefined';
51
- static rationale = 'rationale';
52
- static accepted = 'Accepted';
53
- static application = 'Application';
54
- static INVALID_API_PATH = 'Please enter the API path.';
55
- static WIDTH_AUTO = 'w-auto';
56
- }
57
-
58
- export const delimiters = ['|', '/', '-'];
59
-
60
- export const dictionaryItemList = [];
61
-
62
- export const dictionaryItemMapperList = [];
63
-
64
- export const dictionaryApiFieldList = {
65
- title: 'Property data',
66
- data: [ { name: 'First name' },
67
- { name: 'Last name' },
68
- { name: 'Email' },
69
- { name: 'Address' },
70
- { name: 'Gender' },
71
- { name: 'Dob' }
72
- ]
73
- }
74
-
75
- export const FolderPanel = [
76
- {
77
- _id: 'folder1',
78
- fileCount: 10,
79
- text: 'Documents',
80
- missingFiles: 3,
81
- pendingFiles: 2
82
- },
83
- {
84
- _id: 'folder2',
85
- fileCount: 5,
86
- text: 'Images',
87
- missingFiles: 0,
88
- pendingFiles: 1
89
- },
90
- {
91
- _id: 'folder3',
92
- fileCount: 20,
93
- text: 'Reports',
94
- missingFiles: 5,
95
- pendingFiles: 0
96
- },
97
- {
98
- _id: 'folder4',
99
- fileCount: 8,
100
- text: 'Videos',
101
- missingFiles: 0,
102
- pendingFiles: 0
103
- },
104
- {
105
- _id: 'folder5',
106
- fileCount: 15,
107
- text: 'Archives',
108
- missingFiles: 1,
109
- pendingFiles: 3
110
- }
111
- ];
112
-
113
- export const DocumentList = [
114
- {
115
- id: 1,
116
- fileName: 'Document 1',
117
- status: 'pending',
118
- documentUrl: 'https://vadimdez.github.io/ng2-pdf-viewer/assets/pdf-test.pdf',
119
- },
120
- {
121
- id: 2,
122
- fileName: 'Document 2',
123
- status: 'verified',
124
- documentUrl: 'https://vadimdez.github.io/ng2-pdf-viewer/assets/pdf-test.pdf',
125
- },
126
- {
127
- id: 3,
128
- fileName: 'Document 3',
129
- status: 'sentReminder',
130
- documentUrl: 'https://vadimdez.github.io/ng2-pdf-viewer/assets/pdf-test.pdf',
131
- },
132
- {
133
- id: 4,
134
- fileName: 'Document 4',
135
- status: 'pending',
136
- documentUrl: 'https://vadimdez.github.io/ng2-pdf-viewer/assets/pdf-test.pdf',
137
- },
138
- ];
139
-
140
-
141
- export const widgetLinkList = [
142
- { name: 'https://dummy-url.com/NY', code: 'NY' },
143
- { name: 'https://dummy-url.com/RM', code: 'RM' },
144
- { name: 'https://dummy-url.com/LDN', code: 'LDN' },
145
- { name: 'https://dummy-url.com/IST', code: 'IST' },
146
- { name: 'https://dummy-url.com/PRS', code: 'PRS' }
147
- ];
148
-
149
- export const dictionaryList = [
150
- {"id": 1 ,"Name": "John Doe", "API": "Dynamatix.com/getfinance" },
151
- {"id": 2 ,"Name": "Jane Smith", "API": "Dynamatix.com/getfinance" },
152
- {"id": 3 ,"Name": "David Lee", "API": "Dynamatix.com/getfinance" },
153
- {"id": 4 ,"Name": "Emma Wilson", "API": "Dynamatix.com/getfinance" },
154
- {"id": 5 ,"Name": "Michael Brown", "API": "Dynamatix.com/getfinance" }
155
- ]
156
-
157
- export const SEQUENTIAL_MESSAGE = [
158
- "Your case is under review.",
159
- "We have received your application.",
160
- "A new update is available for your case.",
161
- "Please verify your contact details.",
162
- "Your case is pending further action.",
163
- "We are processing your request.",
164
- "Your case has been escalated.",
165
- "Thank you for reaching out.",
166
- "Your documents have been received.",
167
- "Our team will contact you shortly."
168
- ];
169
-
170
- export const apiHiddenHeaderList = ['credentials','createdAt','updatedAt','__v','properties', '_id', 'createdByUserID', 'updatedByUserID']
171
-
172
- export const dictionaryHiddenHeaderList = ['queues','attributes','createdByUserID','updatedByUserID','createdAt', 'updatedAt', '__v', '_id']
173
-
174
- export const widgetHiddenHeaderList = ['_id','dataItems','timestamp','createdAt','updatedAt','__v','order']
175
-
176
- export const hiddenHeaderList = ['status','actions']
177
-
178
- export const expectedRoutes = ['apiManagement','queue', 'dictionary', 'widget']
179
-
180
- export const mileList = [
181
- { name: '0.5 Mile', value: 0.5 },
182
- { name: '1 Mile', value: 1 }
183
- ];
184
-
185
- export const messageType = [
186
- { name: 'Email', icon: 'pi pi-envelope' },
187
- { name: 'WhatsApp', icon: 'pi pi-whatsapp' },
188
- { name: 'SMS', icon: 'pi pi-comment' },
189
- ]
190
-
191
- export const propertyDataList = [
192
- {
193
- key: '0',
194
- label: 'Documents',
195
- data: 'Documents Folder',
196
- icon: 'pi pi-fw pi-inbox',
197
- children: [
198
- {
199
- key: '0-0',
200
- label: 'Work',
201
- data: 'Work Folder',
202
- icon: 'pi pi-fw pi-cog',
203
- children: [
204
- { key: '0-0-0', label: 'Expenses.doc', icon: 'pi pi-fw pi-file', data: 'Expenses Document' },
205
- { key: '0-0-1', label: 'Resume.doc', icon: 'pi pi-fw pi-file', data: 'Resume Document' }
206
- ]
207
- },
208
- {
209
- key: '0-1',
210
- label: 'Home',
211
- data: 'Home Folder',
212
- icon: 'pi pi-fw pi-home',
213
- children: [{ key: '0-1-0', label: 'Invoices.txt', icon: 'pi pi-fw pi-file', data: 'Invoices for this month' }]
214
- }
215
- ]
216
- },
217
- {
218
- key: '1',
219
- label: 'Events',
220
- data: 'Events Folder',
221
- icon: 'pi pi-fw pi-calendar',
222
- children: [
223
- { key: '1-0', label: 'Meeting', icon: 'pi pi-fw pi-calendar-plus', data: 'Meeting' },
224
- { key: '1-1', label: 'Product Launch', icon: 'pi pi-fw pi-calendar-plus', data: 'Product Launch' },
225
- { key: '1-2', label: 'Report Review', icon: 'pi pi-fw pi-calendar-plus', data: 'Report Review' }
226
- ]
227
- },
228
- {
229
- key: '2',
230
- label: 'Movies',
231
- data: 'Movies Folder',
232
- icon: 'pi pi-fw pi-star-fill',
233
- children: [
234
- {
235
- key: '2-0',
236
- icon: 'pi pi-fw pi-star-fill',
237
- label: 'Al Pacino',
238
- data: 'Pacino Movies',
239
- children: [
240
- { key: '2-0-0', label: 'Scarface', icon: 'pi pi-fw pi-video', data: 'Scarface Movie' },
241
- { key: '2-0-1', label: 'Serpico', icon: 'pi pi-fw pi-video', data: 'Serpico Movie' }
242
- ]
243
- },
244
- {
245
- key: '2-1',
246
- label: 'Robert De Niro',
247
- icon: 'pi pi-fw pi-star-fill',
248
- data: 'De Niro Movies',
249
- children: [
250
- { key: '2-1-0', label: 'Goodfellas', icon: 'pi pi-fw pi-video', data: 'Goodfellas Movie' },
251
- { key: '2-1-1', label: 'Untouchables', icon: 'pi pi-fw pi-video', data: 'Untouchables Movie', selectable: false }
252
- ]
253
- }
254
- ]
255
- }
256
- ];
257
-
258
- export const widgets = [
259
- {
260
- outOfTheBoxName: 'Application',
261
- title: 'Application Details',
262
- subtitle: {
263
- label: 'Risk Rating:',
264
- value: 'High',
265
- color: 'danger'
266
- },
267
- percentage: '80%',
268
- fields: [
269
- { label: 'Application ID | Submission Date', value: '00160750 | 04-10-2024' },
270
- { label: 'No of Applicants', value: '2' },
271
- { label: 'Application Type', value: 'International' },
272
- { label: 'Product', value: 'HPP 5 years', isPrimary: true },
273
- { label: 'Property Value', value: '£500,000' },
274
- { label: 'Gross Finance Amount', value: '£325,000' },
275
- { label: 'LTV %', value: '95%', highlight: true, alert: true },
276
- { label: 'Purchase', value: 'View', link: true },
277
- { label: 'Overall Affordability', value: '£2,716', alert: true },
278
- { label: 'Monthly Repayment', value: '£3,771.85', alert: true, icon: 'pi pi-exclamation-triangle', inLabel: false },
279
- { label: 'Broker', value: 'Kishar Wallace-Cronin', isPrimary: true, rating: '5.0', icon: 'rating', isRating: true },
280
- { label: 'Direct Debit', value: 'Anthony. J. Cooper/ 404784/70872490', isPrimary: true },
281
- { label: 'Portfolio (#, Val,FTV)', value: '2, $420,000, 69.29%', isPrimary: true },
282
- { label: 'Solicitor', value: 'Kirkland & Ellis', isPrimary: true }
283
- ],
284
- viewAll: 'View All Details'
285
- },
286
- {
287
- title: 'Generic Widget Details',
288
- subtitle: {
289
- label: 'Status:',
290
- value: 'Pending',
291
- color: 'warning'
292
- },
293
- percentage: '50%',
294
- fields: [
295
- { label: 'Task ID', value: '00012345' },
296
- { label: 'Assigned To', value: 'John Doe' },
297
- { label: 'Task Type', value: 'Internal' },
298
- { label: 'Deadline', value: '20-10-2024' },
299
- { label: 'Priority', value: 'High', highlight: true },
300
- { label: 'Status', value: 'In Progress', alert: true },
301
- { label: 'Comments', value: 'Requires further review' },
302
- { label: 'Owner', value: 'Jane Smith' },
303
- { label: 'Approver', value: 'Alan Turing' }
304
- ],
305
- viewAll: 'View All Tasks'
306
- }
307
- ];
308
-
309
- export const applicationWidgetList = [
310
- {
311
- title: 'Application Details',
312
- subtitle: {
313
- label: 'Risk Rating:',
314
- value: 'High',
315
- color: 'danger'
316
- },
317
- percentage: '80%',
318
- fields: [
319
- { label: 'Application ID | Submission Date', value: '00160750 | 04-10-2024' },
320
- { label: 'No of Applicants', value: '2' },
321
- { label: 'Application Type', value: 'International' },
322
- { label: 'Product', value: 'HPP 5 years', isPrimary: true },
323
- { label: 'Property Value', value: '£500,000' },
324
- { label: 'Gross Finance Amount', value: '£325,000' },
325
- { label: 'LTV %', value: '95%', highlight: true, alert: true },
326
- { label: 'Purchase', value: 'View', link: true },
327
- { label: 'Overall Affordability', value: '£2,716', alert: true },
328
- { label: 'Monthly Repayment', value: '£3,771.85', alert: true, icon: 'pi pi-exclamation-triangle', inLabel: false },
329
- { label: 'Broker', value: ' Kishar Wallace-Cronin', isPrimary: true, rating: '5.0', icon: 'rating', isRating: true },
330
- { label: 'Direct Debit', value: 'Anthony. J. Cooper/ 404784/70872490', isPrimary: true },
331
- { label: 'Portfolio (#, Val,FTV)', value: '2, $420,000,69.29%', isPrimary: true },
332
- { label: 'Solicitor', value: 'Kirkland & Ellis', isPrimary: true }
333
- ],
334
- viewAll: 'View All Details'
335
- }
336
- ];
337
-
338
- export const applicantWidgetList = [
339
- {
340
- title: 'Applicant (Anthony J Cooper)',
341
- badge: 'Pending',
342
- badgeIcon: 'pi pi-clock',
343
- percentage: '80%',
344
- subtitle: {
345
- label: 'Risk Rating:',
346
- value: 'Medium',
347
- color: 'warning'
348
- },
349
- fields: [
350
- { label: 'Nationality | Residence', value: 'British | United Kingdom' },
351
- { label: 'Income', value: '£6,633', alert: true, isUnderline: true },
352
- { label: 'Affordability', value: '£2,133', alert: true, isUnderline: true },
353
- { label: 'Credit Score', value: '3| 350', icon: 'pi pi-exclamation-triangle', alert: true, isUnderline: true },
354
- { label: 'Dependents', value: '3' },
355
- { label: 'Portfolio | FTV', value: '£220,000 | 69.29%', link: true },
356
- { label: 'Employment Type | Industry', value: 'Full Time | Information Techno..' },
357
- { label: 'Documents', value: '4/6', alert: true, isUnderline: true },
358
- ],
359
- viewAll: 'View All Details'
360
- },
361
- {
362
- title: 'Applicant (Bella Henderson)',
363
- badge: 'Pending',
364
- badgeIcon: 'pi pi-clock',
365
- percentage: '80%',
366
- subtitle: {
367
- label: 'Risk Rating:',
368
- value: 'Low',
369
- color: 'success'
370
- },
371
- fields: [
372
- { label: 'Nationality | Residence', value: 'British | United Kingdom' },
373
- { label: 'Income', value: '£4,633', isUnderline: true, link: true },
374
- { label: 'Affordability', value: '£2,133', isUnderline: true },
375
- { label: 'Credit Score', value: '750', isUnderline: true },
376
- { label: 'Dependents', value: '3' },
377
- { label: 'Portfolio | FTV', value: '£200,000 | 69.29%', link: true },
378
- { label: 'Employment Type | Industry', value: 'Full Time | Information Techno..' },
379
- { label: 'Documents', value: '6/6', isUnderline: true },
380
- ],
381
- viewAll: 'View All Details'
382
- }
383
- ];
384
-
385
- export const companyWidget = [
386
- {
387
- title: 'Property Info',
388
- badge: 'Pending',
389
- badgeIcon: 'pi pi-clock',
390
- percentage: '80%',
391
- riskRating: 'Medium',
392
- subtitle: {
393
- label: 'Risk Rating:',
394
- value: 'Medium',
395
- color: 'warning'
396
- },
397
- dataItems: [
398
- { key: 'Name', value: 'Prime Property Holdings Ltd', style:"font-size: 14px; color: #0F1729; font-weight: 600;" },
399
- { key: 'SIC Code', value: '64929', style:"font-size: 14px; color: #0F1729; font-weight: 600;" },
400
- { key: 'Registration Number', value: '09876543', style:"font-size: 14px; color: #0F1729; font-weight: 600;" },
401
- { key: 'Address', value: '123 Baker Street, London, W1U 6RQ', style:"font-size: 14px; color: #0F1729; font-weight: 600;" },
402
- { key: 'Date of Incorporation', value: '15th March 2018', style:"font-size: 14px; color: #0F1729; font-weight: 600;" },
403
- { key: 'Existing Mortgage', value: '2', alert: true, style:"font-size: 14px; color: #0F1729; font-weight: 600;" }
404
- ],
405
- viewAll: 'View All Details'
406
- },
407
- ];
408
-
409
- export const propertyDetailsWidgetList = [
410
- {
411
- title: 'Property Details',
412
- badge: 'Verified',
413
- badgeIcon: 'pi pi-verified',
414
- percentage: '100%',
415
- subtitle: {
416
- label: 'Risk Rating:',
417
- value: 'Medium',
418
- color: 'warning',
419
- verified: true
420
- },
421
- fields: [
422
- { label: 'Type', value: 'Detached House' },
423
- { label: 'EPC', value: 'B (Rating: 83)' },
424
- { label: 'Tenure', value: 'Freehold' },
425
- { label: 'New Build', value: 'No' },
426
- { label: 'Address'},
427
- { label: '14 Wilimin Grove, Loughton, Milton Keynes MK5 8EU', isLabelLink: true, icon: 'pi pi-map-marker map-icon' },
428
- ],
429
- viewAll: 'View All Details'
430
- }
431
- ];
432
-
433
- export const offerWidgetList = [
434
- {
435
- title: 'Offer',
436
- badge: 'Pending',
437
- badgeIcon: 'pi pi-clock',
438
- statusList: [
439
- { description: 'Application(HS) Condition was added on 10th Sep 2023', status: 'active' },
440
- { description: 'Property Condition was added on 10th Sep 2023', status: 'active' },
441
- { description: 'Mandate Approval Requested on 14th Sep 2024', status: 'pending' },
442
- { title: 'Waiting for Mandate Approval', description: 'Existing Mandate: 100,000', status: 'pending', textColor: '#FB392D' },
443
- { description: 'Generate Offer', status: 'pending' }
444
- ],
445
- viewAll: 'View All Details'
446
- }
447
- ]
448
-
449
- export const valuationWidgetList = [
450
- {
451
- title: 'Valuation',
452
- badge: 'Pending',
453
- badgeIcon: 'pi pi-clock',
454
- statusList: [
455
- { description: 'Valuation Requested on 10th October 2024', status: 'active' },
456
- { description: 'Fees Paid £400 on 10th October 2024', status: 'active' },
457
- { description: 'Valuation Scheduled on 10th October 2024', status: 'active' },
458
- { title: 'Report Received on 13th October 2024', description: 'Value: £450,000.<br>Bedroom mismatch (3 vs. 2)<br>Valuation mismatch<br>(£450,000 vs. £500,000)', status: 'active', textColor: '#FB392D' },
459
- { description: 'PVQ Raised on 14th October 2024', status: 'active' },
460
- { description: 'PVQ Response received on 14th October 2024', status: 'active' },
461
- { description: 'Waiting for Valuation Report to be accepted', status: 'pending' }
462
- ]
463
- }
464
- ];
465
-
466
- export const stageTimelineList = [
467
- { title: 'Application Review', description: 'Underwriter request identity documents from Applicant (Bella)', footerText: '14th Oct 2024 10:00 AM', isLast: false },
468
- { title: 'Underwriter Assigned', description: 'Valuation report received on 13th Oct 2024', footerText: '13th Oct 2024 10:00 AM', isLast: false },
469
- { title: 'Underwriter Assigned', description: 'Missing documents provided by Broker on 12th Oct 2024', footerText: '12th Oct 2024 10:00 AM', isLast: false },
470
- { title: 'Application Submitted', description: 'Application was Submitted on 10th Oct 2024 By Kishar Wallace-Cronin. Failed 6 out of 18 checks', footerText: '10th Oct 2024 10:00 AM', isLast: true },
471
- ];
472
-
473
- export const saleHistoryTimelineList = [
474
- {floorArea: '196 sq m', propertyType: 'Detached , Freehold'},
475
- {floorArea: '136 sq m', propertyType: 'Detached , Freehold'},
476
- {floorArea: '136 sq m', propertyType: 'Detached , Freehold'}
477
- ];
478
-
479
- export const navigationTimelineList = [
480
- { title: 'Alerts', status: 'active', textColor: '#FB392D' },
481
- { title: 'Information', status: 'pending' },
482
-
483
- ]
484
-
485
- export const notesPanelList = [
486
- { title: 'Paul', date: '13-10-2024 03:00 PM', description: 'The lease, originally set for 75 years, has recently been extended to a 150-year term, pending confirmation from the legal team' },
487
- { title: 'System', date: '11-10-2024 03:00 PM', description: 'Additional Information was request' },
488
- { title: 'System', date: '10-10-2024 03:00 PM', description: 'Additional Document type Selfie was request' },
489
- { title: 'Paul', date: '10-10-2024 03:00 PM', description: 'Looks like valuation document is incorrect' }
490
- ];
491
-
492
- export const rationalItems = [
493
- { title: 'Applicant (AC) Rationale', isOpen: true, status: 'Rejected' },
494
- { title: 'Affordability Rational', isOpen: true, status: 'Accepted' },
495
- { title: 'Finance', isOpen: false, status: 'Rejected' },
496
- { title: 'Income Source', isOpen: false, status: 'Accepted' },
497
- { title: 'Credit Conduct', isOpen: false, status: 'Rejected' },
498
- { title: 'Fraud Checks', isOpen: false, status: 'Accepted' }
499
- ];
500
-
501
- export const rationalListItems = [
502
- { title: 'Applicant Rationale', isOpen: true, data: '', status: 'Rejected', width: 'w-11' },
503
- { title: 'Fraud Checks...', isOpen: true, data: '', status: 'Accepted', width: 'w-11' },
504
- { title: 'Credit Conduct', isOpen: true, data: '', status: 'Rejected', width: 'w-11' },
505
- { title: 'Finance Rationale', isOpen: true, data: '', status: 'Accepted', width: 'w-11' },
506
- { title: 'Income Source', isOpen: true, data: '', status: 'Rejected', width: 'w-11' },
507
- { title: 'Affordability Source', isOpen: true, data: '', status: 'Accepted', width: 'w-11' }
508
- ];
509
-
510
- export const alertList = [
511
- "Payslip doesn't match with Bank statement",
512
- "Valuation Report shows value less than Property Value"
513
- ];
514
-
515
- export const applicantAlertList = [
516
- "Payslip doesn't match with Bank statement",
517
- "Credit Score is low",
518
- "Valuation Report shows value less than Property Value"
519
- ]
520
-
521
- export const applicationAlertList = [
522
- "LTV% exceeds maximum threshold of 95%",
523
- "Monthly Repayment of £3,771.85 exceeds affordability criteria",
524
- "Overall Affordability calculation shows £2,716 is beyond acceptable limits",
525
- "Income of £6,633 is insufficient for the requested loan amount",
526
- "Affordability of £2,133 is too low for loan approval",
527
- "Credit Score of 3|350 is below the minimum required score",
528
- "Valuation Report indicates property value of £450,000 which is less than the requested loan amount.",
529
- "Required documents not submitted: Pay slip, Tax Credits."
530
- ];
531
- export const I2RAlert = [
532
- "Driver name and policy holder doesn't match."
533
- ];
534
-
535
- export const commitments = [
536
- "Please provide details of your obligations/commitments.",
537
- "Here you can add and manage all finance details.",
538
- "If a residential finance/purchase plan has shared responsibility between more than 1 applicant, please only add once against a single applicant and provide details of the shared responsibility in the text box provided."
539
- ];
540
- export const incomeDetailAlert = [
541
- 'If you receive income (excluding BTL portfolio income) that has not already been declared, please provide details below. ',
542
- "If you do not receive any other income, please do not complete any of the fields below and continue on to the next form.",
543
- ];
544
-
545
- export const checkListStaticData=[
546
- { list: 'Pay slip', type: 'Applicant', date: '12/10/2024 15:53:43', status: '✔ Verified' },
547
- { list: 'Rational', type: 'Applicant', date: '12/10/2024 15:53:43', status: '✔ Verified' },
548
- { list: 'Document', type: 'Applicant', date: '12/10/2024 15:53:43', status: '✔ Verified' },
549
- { list: 'Rational', type: 'Applicant', date: '12/10/2024 15:53:43', status: '✔ Verified' },
550
- { list: 'Valuation', type: 'Property', date: '12/10/2024 15:53:43', status: '✔ Verified' },
551
- { list: 'Tax Credits', type: 'Applicant', date: '12/10/2024 15:53:43', status: '✔ Verified' },
552
- ];
553
-
554
- export const actionHiddenHeaderList = ['apiEndPoint'];
555
-
556
- export const actionList = [
557
- { action: 'Valuation Fee',
558
- prompt: `The following conversation includes references to various addresses. Based on the selected form "Valuation Fee",
559
- identify and extract the most recent address provided (in descending order of appearance in the text) and map it to the following schema::
560
- {
561
- "Line1": string,
562
- "Line2": string,
563
- "town": string,
564
- "postcode": string
565
- }.
566
-
567
- Respond **only** with a valid JSON object matching this schema. Do not include any explanation, additional text, or comments.
568
-
569
- Data:`, queueId: '674f1c645dafa6a66511c8fb', apiEndPoint: 'http://qa-gb.api.dynamatix.com:3100/api/applications', status: 'Enable'
570
- },
571
- { action: 'UK Resident',
572
- prompt: `
573
- The following conversation involves information related to UK residency. Based on the selected form "UK Resident",
574
- extract the most recent address mentioned (in descending order of appearance in the text) and map it to the following schema::
575
- {
576
- "Line1": string,
577
- "Line2": string,
578
- "town": string,
579
- "postcode": string
580
- }.
581
-
582
- Respond **only** with a valid JSON object matching this schema. Do not include any explanation, additional text, or comments.
583
-
584
- Data:`, queueId: '676e4b27ee779eafc72b11b9', apiEndPoint: 'http://qa-gb.api.dynamatix.com:3100/api/applications', status: 'Disable'
585
- },
586
- { action: 'Address Update',
587
- prompt: `
588
- The following conversation contains updates related to address changes. Based on the selected form "Address Update",
589
- identify and extract the most recent address mentioned (in descending order of appearance in the text) and map it to the following schema::
590
- {
591
- "Line1": string,
592
- "Line2": string,
593
- "town": string,
594
- "postcode": string
595
- }.
596
-
597
- Respond **only** with a valid JSON object matching this schema. Do not include any explanation, additional text, or comments.
598
-
599
- Data:`, queueId: '67332cf2f9439e97c47a3c43', apiEndPoint: 'http://qa-gb.api.dynamatix.com:3100/api/applications', status: 'Enable'
600
- }
601
- ]
602
-
603
- export const actionTableColumnWidthList = {action: 'w-3', prompt: 'w-4', queueId: 'w-3', status: 'w-2'}
@@ -1,3 +0,0 @@
1
- export class URLS{
2
- static CONFIGFILEURL = "assets/config/api.config.json"
3
- }
@@ -1,25 +0,0 @@
1
- <ng-container>
2
- <div class="btn-control">
3
- <p-button
4
- type="button"
5
- [label]="attributeModel.buttonLabel ?? 'Click Me'"
6
- [disabled]="attributeModel.isDisabled ?? false"
7
- [style]="{
8
- width: attributeModel.customButtonWidth
9
- ? attributeModel.customButtonWidth
10
- : 'auto',
11
- padding: attributeModel.customPadding
12
- ? attributeModel.customPadding
13
- : '0.5rem'
14
- }"
15
- [icon]="attributeModel.icon ? attributeModel.icon : ''"
16
- [iconPos]="attributeModel.iconPosition ?? 'left'"
17
- [ngClass]="{
18
- 'p-button-primary': attributeModel.isPrimary ?? true,
19
- 'p-button-secondary': !attributeModel.isPrimary
20
- }"
21
- (onClick)="handleButtonClick($event)"
22
- ></p-button>
23
-
24
- </div>
25
- </ng-container>
@@ -1,21 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
- import { ButtonComponent } from './button.component';
3
-
4
- describe('ButtonComponent', () => {
5
- let component: ButtonComponent;
6
- let fixture: ComponentFixture<ButtonComponent>;
7
-
8
- beforeEach(async () => {
9
- await TestBed.configureTestingModule({
10
- imports: [ButtonComponent],
11
- }).compileComponents();
12
-
13
- fixture = TestBed.createComponent(ButtonComponent);
14
- component = fixture.componentInstance;
15
- fixture.detectChanges();
16
- });
17
-
18
- it('should create', () => {
19
- expect(component).toBeTruthy();
20
- });
21
- });
@@ -1,15 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { InputTextModule } from 'primeng/inputtext';
4
- import { FormsModule } from '@angular/forms';
5
- import { BaseControlComponent } from '../../_base/base-control/base-control.component';
6
- import { ButtonModule } from 'primeng/button';
7
-
8
- @Component({
9
- selector: 'lib-button',
10
- standalone: true,
11
- imports : [CommonModule,InputTextModule, FormsModule, ButtonModule],
12
- templateUrl: './button.component.html',
13
- styleUrl: './button.component.scss',
14
- })
15
- export class ButtonComponent extends BaseControlComponent{}