master-control 0.2.14 → 0.2.15

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 (330) hide show
  1. package/esm2022/lib/add-document/add-document.component.mjs +18 -0
  2. package/esm2022/lib/addition-button/addition-button.component.mjs +14 -0
  3. package/esm2022/lib/age-date/age-date.component.mjs +132 -0
  4. package/esm2022/lib/amount-textbox/amount-textbox.component.mjs +63 -0
  5. package/esm2022/lib/annuity-rate-logo/annuity-rate-logo.component.mjs +15 -0
  6. package/esm2022/lib/autocomplete/autocomplete.component.mjs +90 -0
  7. package/esm2022/lib/benefit-card/benefit-card.component.mjs +14 -0
  8. package/esm2022/lib/button/button.component.mjs +19 -0
  9. package/esm2022/lib/card/card.component.mjs +14 -0
  10. package/esm2022/lib/checkbox/checkbox.component.mjs +79 -0
  11. package/esm2022/lib/discount/discount.component.mjs +14 -0
  12. package/esm2022/lib/discount-v2/discount-v2.component.mjs +16 -0
  13. package/esm2022/lib/dob/dob.component.mjs +118 -0
  14. package/esm2022/lib/download-document/download-document.component.mjs +18 -0
  15. package/esm2022/lib/email-with-domain/email-with-domain.component.mjs +60 -0
  16. package/esm2022/lib/error-snackbar/error-snackbar.component.mjs +21 -0
  17. package/esm2022/lib/grey-label/grey-label.component.mjs +14 -0
  18. package/esm2022/lib/header/header.component.mjs +14 -0
  19. package/esm2022/lib/hr-line/hr-line.component.mjs +14 -0
  20. package/esm2022/lib/hyperlink/hyperlink.component.mjs +14 -0
  21. package/esm2022/lib/icon-button/icon-button.component.mjs +14 -0
  22. package/esm2022/lib/iframe/iframe.component.mjs +32 -0
  23. package/esm2022/lib/image/image.component.mjs +14 -0
  24. package/esm2022/lib/image-upload/image-upload.component.mjs +18 -0
  25. package/esm2022/lib/in-built-benefit/in-built-benefit.component.mjs +20 -0
  26. package/esm2022/lib/info/info.component.mjs +19 -0
  27. package/esm2022/lib/info-textbox/info-textbox.component.mjs +62 -0
  28. package/esm2022/lib/label/label.component.mjs +14 -0
  29. package/esm2022/lib/label-value-card/label-value-card.component.mjs +15 -0
  30. package/esm2022/lib/loader/loader.component.mjs +14 -0
  31. package/esm2022/lib/master-control.component.mjs +142 -0
  32. package/esm2022/lib/master-control.service.mjs +212 -0
  33. package/esm2022/lib/medial-questions/medial-questions.component.mjs +40283 -0
  34. package/esm2022/lib/mob-number/mob-number.component.mjs +65 -0
  35. package/esm2022/lib/multiple-select/multiple-select.component.mjs +119 -0
  36. package/esm2022/lib/neutral-snackbar/neutral-snackbar.component.mjs +21 -0
  37. package/esm2022/lib/other-benefits/other-benefits.component.mjs +14 -0
  38. package/esm2022/lib/otp-mob-number/otp-mob-number.component.mjs +63 -0
  39. package/esm2022/lib/otp-textbox/otp-textbox.component.mjs +68 -0
  40. package/esm2022/lib/page-nudge/page-nudge.component.mjs +14 -0
  41. package/esm2022/lib/pay-get-card/pay-get-card.component.mjs +29 -0
  42. package/esm2022/lib/radio/radio.component.mjs +58 -0
  43. package/esm2022/lib/search-multi-select/search-multi-select.component.mjs +127 -0
  44. package/esm2022/lib/select/select.component.mjs +99 -0
  45. package/esm2022/lib/select-textbox/select-textbox.component.mjs +83 -0
  46. package/esm2022/lib/stepper/stepper.component.mjs +25 -0
  47. package/esm2022/lib/sub-header/sub-header.component.mjs +14 -0
  48. package/esm2022/lib/subscript-textbox/subscript-textbox.component.mjs +62 -0
  49. package/esm2022/lib/success-snackbar/success-snackbar.component.mjs +21 -0
  50. package/esm2022/lib/suffix-textbox/suffix-textbox.component.mjs +65 -0
  51. package/esm2022/lib/tab/tab.component.mjs +32 -0
  52. package/esm2022/lib/table/table.component.mjs +82 -0
  53. package/esm2022/lib/tag-mob-number/tag-mob-number.component.mjs +66 -0
  54. package/esm2022/lib/textarea/textarea.component.mjs +20 -0
  55. package/esm2022/lib/textbox/textbox.component.mjs +67 -0
  56. package/esm2022/lib/textbox-with-image/textbox-with-image.component.mjs +57 -0
  57. package/esm2022/lib/textbox-with-text/textbox-with-text.component.mjs +58 -0
  58. package/esm2022/lib/textbox-with-underscore/textbox-with-underscore.component.mjs +71 -0
  59. package/esm2022/lib/toggle/toggle.component.mjs +20 -0
  60. package/esm2022/lib/toggle-button/toggle-button.component.mjs +16 -0
  61. package/esm2022/lib/underscore-mob-number/underscore-mob-number.component.mjs +74 -0
  62. package/esm2022/lib/upload/upload.component.mjs +24 -0
  63. package/esm2022/lib/warning-snackbar/warning-snackbar.component.mjs +21 -0
  64. package/esm2022/master-control.mjs +5 -0
  65. package/esm2022/public-api.mjs +60 -0
  66. package/fesm2022/master-control.mjs +42689 -0
  67. package/fesm2022/master-control.mjs.map +1 -0
  68. package/index.d.ts +5 -0
  69. package/lib/add-document/add-document.component.d.ts +6 -0
  70. package/lib/addition-button/addition-button.component.d.ts +6 -0
  71. package/lib/age-date/age-date.component.d.ts +20 -0
  72. package/lib/amount-textbox/amount-textbox.component.d.ts +17 -0
  73. package/lib/annuity-rate-logo/annuity-rate-logo.component.d.ts +7 -0
  74. package/lib/autocomplete/autocomplete.component.d.ts +25 -0
  75. package/lib/benefit-card/benefit-card.component.d.ts +6 -0
  76. package/lib/button/button.component.d.ts +9 -0
  77. package/lib/card/card.component.d.ts +6 -0
  78. package/lib/checkbox/checkbox.component.d.ts +20 -0
  79. package/lib/discount/discount.component.d.ts +6 -0
  80. package/lib/discount-v2/discount-v2.component.d.ts +6 -0
  81. package/lib/dob/dob.component.d.ts +32 -0
  82. package/lib/download-document/download-document.component.d.ts +6 -0
  83. package/lib/email-with-domain/email-with-domain.component.d.ts +19 -0
  84. package/lib/error-snackbar/error-snackbar.component.d.ts +10 -0
  85. package/lib/grey-label/grey-label.component.d.ts +6 -0
  86. package/lib/header/header.component.d.ts +6 -0
  87. package/lib/hr-line/hr-line.component.d.ts +6 -0
  88. package/lib/hyperlink/hyperlink.component.d.ts +6 -0
  89. package/lib/icon-button/icon-button.component.d.ts +6 -0
  90. package/lib/iframe/iframe.component.d.ts +13 -0
  91. package/lib/image/image.component.d.ts +6 -0
  92. package/lib/image-upload/image-upload.component.d.ts +6 -0
  93. package/lib/in-built-benefit/in-built-benefit.component.d.ts +8 -0
  94. package/lib/info/info.component.d.ts +9 -0
  95. package/lib/info-textbox/info-textbox.component.d.ts +16 -0
  96. package/lib/label/label.component.d.ts +6 -0
  97. package/lib/label-value-card/label-value-card.component.d.ts +7 -0
  98. package/lib/loader/loader.component.d.ts +6 -0
  99. package/lib/master-control.component.d.ts +9 -0
  100. package/lib/master-control.service.d.ts +11 -0
  101. package/lib/medial-questions/medial-questions.component.d.ts +63 -0
  102. package/lib/mob-number/mob-number.component.d.ts +21 -0
  103. package/lib/multiple-select/multiple-select.component.d.ts +27 -0
  104. package/lib/neutral-snackbar/neutral-snackbar.component.d.ts +10 -0
  105. package/lib/other-benefits/other-benefits.component.d.ts +6 -0
  106. package/lib/otp-mob-number/otp-mob-number.component.d.ts +17 -0
  107. package/lib/otp-textbox/otp-textbox.component.d.ts +17 -0
  108. package/lib/page-nudge/page-nudge.component.d.ts +6 -0
  109. package/lib/pay-get-card/pay-get-card.component.d.ts +11 -0
  110. package/lib/radio/radio.component.d.ts +18 -0
  111. package/lib/search-multi-select/search-multi-select.component.d.ts +27 -0
  112. package/lib/select/select.component.d.ts +22 -0
  113. package/lib/select-textbox/select-textbox.component.d.ts +17 -0
  114. package/lib/stepper/stepper.component.d.ts +11 -0
  115. package/lib/sub-header/sub-header.component.d.ts +6 -0
  116. package/lib/subscript-textbox/subscript-textbox.component.d.ts +16 -0
  117. package/lib/success-snackbar/success-snackbar.component.d.ts +10 -0
  118. package/lib/suffix-textbox/suffix-textbox.component.d.ts +16 -0
  119. package/lib/tab/tab.component.d.ts +14 -0
  120. package/lib/table/table.component.d.ts +23 -0
  121. package/lib/tag-mob-number/tag-mob-number.component.d.ts +17 -0
  122. package/lib/textarea/textarea.component.d.ts +9 -0
  123. package/lib/textbox/textbox.component.d.ts +20 -0
  124. package/lib/textbox-with-image/textbox-with-image.component.d.ts +16 -0
  125. package/lib/textbox-with-text/textbox-with-text.component.d.ts +16 -0
  126. package/lib/textbox-with-underscore/textbox-with-underscore.component.d.ts +18 -0
  127. package/lib/toggle/toggle.component.d.ts +9 -0
  128. package/lib/toggle-button/toggle-button.component.d.ts +6 -0
  129. package/lib/underscore-mob-number/underscore-mob-number.component.d.ts +19 -0
  130. package/lib/upload/upload.component.d.ts +9 -0
  131. package/lib/warning-snackbar/warning-snackbar.component.d.ts +10 -0
  132. package/master-control-0.2.15.tgz +0 -0
  133. package/package.json +25 -12
  134. package/{src/public-api.ts → public-api.d.ts} +56 -60
  135. package/ng-package.json +0 -7
  136. package/src/lib/add-document/add-document.component.css +0 -50
  137. package/src/lib/add-document/add-document.component.html +0 -31
  138. package/src/lib/add-document/add-document.component.ts +0 -17
  139. package/src/lib/addition-button/addition-button.component.css +0 -16
  140. package/src/lib/addition-button/addition-button.component.html +0 -20
  141. package/src/lib/addition-button/addition-button.component.ts +0 -13
  142. package/src/lib/age-date/age-date.component.css +0 -126
  143. package/src/lib/age-date/age-date.component.html +0 -82
  144. package/src/lib/age-date/age-date.component.ts +0 -104
  145. package/src/lib/amount-textbox/amount-textbox.component.css +0 -131
  146. package/src/lib/amount-textbox/amount-textbox.component.html +0 -69
  147. package/src/lib/amount-textbox/amount-textbox.component.ts +0 -53
  148. package/src/lib/annuity-rate-logo/annuity-rate-logo.component.css +0 -9
  149. package/src/lib/annuity-rate-logo/annuity-rate-logo.component.html +0 -6
  150. package/src/lib/annuity-rate-logo/annuity-rate-logo.component.ts +0 -13
  151. package/src/lib/autocomplete/autocomplete.component.css +0 -240
  152. package/src/lib/autocomplete/autocomplete.component.html +0 -61
  153. package/src/lib/autocomplete/autocomplete.component.ts +0 -85
  154. package/src/lib/benefit-card/benefit-card.component.css +0 -46
  155. package/src/lib/benefit-card/benefit-card.component.html +0 -25
  156. package/src/lib/benefit-card/benefit-card.component.ts +0 -13
  157. package/src/lib/button/button.component.css +0 -24
  158. package/src/lib/button/button.component.html +0 -22
  159. package/src/lib/button/button.component.ts +0 -16
  160. package/src/lib/card/card.component.css +0 -37
  161. package/src/lib/card/card.component.html +0 -24
  162. package/src/lib/card/card.component.ts +0 -13
  163. package/src/lib/checkbox/checkbox.component.css +0 -65
  164. package/src/lib/checkbox/checkbox.component.html +0 -23
  165. package/src/lib/checkbox/checkbox.component.ts +0 -70
  166. package/src/lib/discount/discount.component.css +0 -45
  167. package/src/lib/discount/discount.component.html +0 -51
  168. package/src/lib/discount/discount.component.ts +0 -14
  169. package/src/lib/discount-v2/discount-v2.component.css +0 -34
  170. package/src/lib/discount-v2/discount-v2.component.html +0 -20
  171. package/src/lib/discount-v2/discount-v2.component.ts +0 -14
  172. package/src/lib/dob/dob.component.css +0 -117
  173. package/src/lib/dob/dob.component.html +0 -88
  174. package/src/lib/dob/dob.component.ts +0 -107
  175. package/src/lib/download-document/download-document.component.css +0 -53
  176. package/src/lib/download-document/download-document.component.html +0 -38
  177. package/src/lib/download-document/download-document.component.ts +0 -17
  178. package/src/lib/email-with-domain/email-with-domain.component.css +0 -130
  179. package/src/lib/email-with-domain/email-with-domain.component.html +0 -73
  180. package/src/lib/email-with-domain/email-with-domain.component.ts +0 -51
  181. package/src/lib/error-snackbar/error-snackbar.component.css +0 -36
  182. package/src/lib/error-snackbar/error-snackbar.component.html +0 -21
  183. package/src/lib/error-snackbar/error-snackbar.component.ts +0 -19
  184. package/src/lib/grey-label/grey-label.component.css +0 -13
  185. package/src/lib/grey-label/grey-label.component.html +0 -7
  186. package/src/lib/grey-label/grey-label.component.ts +0 -13
  187. package/src/lib/header/header.component.css +0 -13
  188. package/src/lib/header/header.component.html +0 -9
  189. package/src/lib/header/header.component.ts +0 -14
  190. package/src/lib/hr-line/hr-line.component.css +0 -13
  191. package/src/lib/hr-line/hr-line.component.html +0 -7
  192. package/src/lib/hr-line/hr-line.component.ts +0 -13
  193. package/src/lib/hyperlink/hyperlink.component.css +0 -18
  194. package/src/lib/hyperlink/hyperlink.component.html +0 -8
  195. package/src/lib/hyperlink/hyperlink.component.ts +0 -13
  196. package/src/lib/icon-button/icon-button.component.css +0 -20
  197. package/src/lib/icon-button/icon-button.component.html +0 -17
  198. package/src/lib/icon-button/icon-button.component.ts +0 -13
  199. package/src/lib/iframe/iframe.component.css +0 -0
  200. package/src/lib/iframe/iframe.component.html +0 -7
  201. package/src/lib/iframe/iframe.component.ts +0 -32
  202. package/src/lib/image/image.component.css +0 -7
  203. package/src/lib/image/image.component.html +0 -3
  204. package/src/lib/image/image.component.ts +0 -13
  205. package/src/lib/image-upload/image-upload.component.css +0 -67
  206. package/src/lib/image-upload/image-upload.component.html +0 -61
  207. package/src/lib/image-upload/image-upload.component.ts +0 -17
  208. package/src/lib/in-built-benefit/in-built-benefit.component.css +0 -58
  209. package/src/lib/in-built-benefit/in-built-benefit.component.html +0 -30
  210. package/src/lib/in-built-benefit/in-built-benefit.component.ts +0 -16
  211. package/src/lib/info/info.component.css +0 -25
  212. package/src/lib/info/info.component.html +0 -21
  213. package/src/lib/info/info.component.ts +0 -15
  214. package/src/lib/info-textbox/info-textbox.component.css +0 -121
  215. package/src/lib/info-textbox/info-textbox.component.html +0 -83
  216. package/src/lib/info-textbox/info-textbox.component.ts +0 -52
  217. package/src/lib/label/label.component.css +0 -13
  218. package/src/lib/label/label.component.html +0 -7
  219. package/src/lib/label/label.component.ts +0 -14
  220. package/src/lib/label-value-card/label-value-card.component.css +0 -34
  221. package/src/lib/label-value-card/label-value-card.component.html +0 -12
  222. package/src/lib/label-value-card/label-value-card.component.ts +0 -15
  223. package/src/lib/loader/loader.component.css +0 -127
  224. package/src/lib/loader/loader.component.html +0 -37
  225. package/src/lib/loader/loader.component.spec.ts +0 -23
  226. package/src/lib/loader/loader.component.ts +0 -13
  227. package/src/lib/master-control.component.css +0 -0
  228. package/src/lib/master-control.component.html +0 -216
  229. package/src/lib/master-control.component.spec.ts +0 -23
  230. package/src/lib/master-control.component.ts +0 -143
  231. package/src/lib/master-control.service.spec.ts +0 -16
  232. package/src/lib/master-control.service.ts +0 -214
  233. package/src/lib/medial-questions/medial-questions.component.css +0 -52
  234. package/src/lib/medial-questions/medial-questions.component.html +0 -250
  235. package/src/lib/medial-questions/medial-questions.component.ts +0 -40371
  236. package/src/lib/medial-questions/questions.json +0 -39682
  237. package/src/lib/mob-number/mob-number.component.css +0 -141
  238. package/src/lib/mob-number/mob-number.component.html +0 -82
  239. package/src/lib/mob-number/mob-number.component.ts +0 -53
  240. package/src/lib/multiple-select/multiple-select.component.css +0 -331
  241. package/src/lib/multiple-select/multiple-select.component.html +0 -100
  242. package/src/lib/multiple-select/multiple-select.component.ts +0 -115
  243. package/src/lib/neutral-snackbar/neutral-snackbar.component.css +0 -31
  244. package/src/lib/neutral-snackbar/neutral-snackbar.component.html +0 -21
  245. package/src/lib/neutral-snackbar/neutral-snackbar.component.ts +0 -19
  246. package/src/lib/other-benefits/other-benefits.component.css +0 -78
  247. package/src/lib/other-benefits/other-benefits.component.html +0 -21
  248. package/src/lib/other-benefits/other-benefits.component.ts +0 -13
  249. package/src/lib/otp-mob-number/otp-mob-number.component.css +0 -171
  250. package/src/lib/otp-mob-number/otp-mob-number.component.html +0 -101
  251. package/src/lib/otp-mob-number/otp-mob-number.component.ts +0 -54
  252. package/src/lib/otp-textbox/otp-textbox.component.css +0 -168
  253. package/src/lib/otp-textbox/otp-textbox.component.html +0 -84
  254. package/src/lib/otp-textbox/otp-textbox.component.ts +0 -57
  255. package/src/lib/page-nudge/page-nudge.component.css +0 -35
  256. package/src/lib/page-nudge/page-nudge.component.html +0 -13
  257. package/src/lib/page-nudge/page-nudge.component.ts +0 -13
  258. package/src/lib/pay-get-card/pay-get-card.component.css +0 -36
  259. package/src/lib/pay-get-card/pay-get-card.component.html +0 -20
  260. package/src/lib/pay-get-card/pay-get-card.component.ts +0 -18
  261. package/src/lib/radio/radio.component.css +0 -57
  262. package/src/lib/radio/radio.component.html +0 -37
  263. package/src/lib/radio/radio.component.ts +0 -55
  264. package/src/lib/search-multi-select/search-multi-select.component.css +0 -325
  265. package/src/lib/search-multi-select/search-multi-select.component.html +0 -125
  266. package/src/lib/search-multi-select/search-multi-select.component.ts +0 -164
  267. package/src/lib/select/select.component.css +0 -246
  268. package/src/lib/select/select.component.html +0 -72
  269. package/src/lib/select/select.component.ts +0 -95
  270. package/src/lib/select-textbox/select-textbox.component.css +0 -262
  271. package/src/lib/select-textbox/select-textbox.component.html +0 -77
  272. package/src/lib/select-textbox/select-textbox.component.ts +0 -72
  273. package/src/lib/stepper/stepper.component.css +0 -25
  274. package/src/lib/stepper/stepper.component.html +0 -16
  275. package/src/lib/stepper/stepper.component.ts +0 -20
  276. package/src/lib/sub-header/sub-header.component.css +0 -13
  277. package/src/lib/sub-header/sub-header.component.html +0 -9
  278. package/src/lib/sub-header/sub-header.component.ts +0 -13
  279. package/src/lib/subscript-textbox/subscript-textbox.component.css +0 -139
  280. package/src/lib/subscript-textbox/subscript-textbox.component.html +0 -85
  281. package/src/lib/subscript-textbox/subscript-textbox.component.ts +0 -53
  282. package/src/lib/success-snackbar/success-snackbar.component.css +0 -32
  283. package/src/lib/success-snackbar/success-snackbar.component.html +0 -21
  284. package/src/lib/success-snackbar/success-snackbar.component.ts +0 -19
  285. package/src/lib/suffix-textbox/suffix-textbox.component.css +0 -157
  286. package/src/lib/suffix-textbox/suffix-textbox.component.html +0 -84
  287. package/src/lib/suffix-textbox/suffix-textbox.component.ts +0 -54
  288. package/src/lib/tab/tab.component.css +0 -19
  289. package/src/lib/tab/tab.component.html +0 -17
  290. package/src/lib/tab/tab.component.ts +0 -27
  291. package/src/lib/table/table.component.css +0 -121
  292. package/src/lib/table/table.component.html +0 -41
  293. package/src/lib/table/table.component.spec.ts +0 -23
  294. package/src/lib/table/table.component.ts +0 -84
  295. package/src/lib/tag-mob-number/tag-mob-number.component.css +0 -167
  296. package/src/lib/tag-mob-number/tag-mob-number.component.html +0 -95
  297. package/src/lib/tag-mob-number/tag-mob-number.component.ts +0 -55
  298. package/src/lib/textarea/textarea.component.css +0 -34
  299. package/src/lib/textarea/textarea.component.html +0 -23
  300. package/src/lib/textarea/textarea.component.ts +0 -16
  301. package/src/lib/textbox/textbox.component.css +0 -118
  302. package/src/lib/textbox/textbox.component.html +0 -80
  303. package/src/lib/textbox/textbox.component.ts +0 -55
  304. package/src/lib/textbox-with-image/textbox-with-image.component.css +0 -118
  305. package/src/lib/textbox-with-image/textbox-with-image.component.html +0 -82
  306. package/src/lib/textbox-with-image/textbox-with-image.component.ts +0 -47
  307. package/src/lib/textbox-with-text/textbox-with-text.component.css +0 -124
  308. package/src/lib/textbox-with-text/textbox-with-text.component.html +0 -84
  309. package/src/lib/textbox-with-text/textbox-with-text.component.ts +0 -53
  310. package/src/lib/textbox-with-underscore/textbox-with-underscore.component.css +0 -121
  311. package/src/lib/textbox-with-underscore/textbox-with-underscore.component.html +0 -79
  312. package/src/lib/textbox-with-underscore/textbox-with-underscore.component.ts +0 -62
  313. package/src/lib/toggle/toggle.component.css +0 -101
  314. package/src/lib/toggle/toggle.component.html +0 -39
  315. package/src/lib/toggle/toggle.component.ts +0 -16
  316. package/src/lib/toggle-button/toggle-button.component.css +0 -87
  317. package/src/lib/toggle-button/toggle-button.component.html +0 -34
  318. package/src/lib/toggle-button/toggle-button.component.ts +0 -14
  319. package/src/lib/underscore-mob-number/underscore-mob-number.component.css +0 -147
  320. package/src/lib/underscore-mob-number/underscore-mob-number.component.html +0 -87
  321. package/src/lib/underscore-mob-number/underscore-mob-number.component.ts +0 -65
  322. package/src/lib/upload/upload.component.css +0 -81
  323. package/src/lib/upload/upload.component.html +0 -62
  324. package/src/lib/upload/upload.component.ts +0 -20
  325. package/src/lib/warning-snackbar/warning-snackbar.component.css +0 -29
  326. package/src/lib/warning-snackbar/warning-snackbar.component.html +0 -21
  327. package/src/lib/warning-snackbar/warning-snackbar.component.ts +0 -19
  328. package/tsconfig.lib.json +0 -15
  329. package/tsconfig.lib.prod.json +0 -11
  330. package/tsconfig.spec.json +0 -15
@@ -1,214 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
-
3
- @Injectable({
4
- providedIn: 'root'
5
- })
6
- export class MasterControlService {
7
-
8
- configData: any = {
9
- "iframe": {
10
- "URLForIframe": "N"
11
- },
12
- "loader": {
13
- "imageURL": "",
14
- "imageAltText": "",
15
- "text": "",
16
- "imageCSS": {
17
- "width": "",
18
- "height": "",
19
- "borderRadius": "",
20
- "boxShadow": ""
21
- },
22
- "cardCSS": {
23
- "width": "100%",
24
- "height": "100%",
25
- "backgroundColor": "#ffffff",
26
- "borderRadius": "0px",
27
- "boxShadow": "0px 0px 0px 0px rgba(0, 0, 0, 0)",
28
- "alignItems": "center"
29
- },
30
- "textCSS": {
31
- "fontSize": "",
32
- "color": "",
33
- "textAlign": "",
34
- "fontWeight": ""
35
- },
36
- "loaderCSS": {
37
- "display": "flex",
38
- "justifyContent": "center",
39
- "alignItems": "center",
40
- "height": "60px",
41
- "gap": "8px",
42
- "dot": {
43
- "width": "16px",
44
- "height": "16px",
45
- "background": "#1976d2",
46
- "borderRadius": "50%",
47
- "display": "inline-block",
48
- "animation": "bounce 0.6s infinite alternate"
49
- },
50
- "dot2": {
51
- "animationDelay": "0.2s"
52
- },
53
- "dot3": {
54
- "animationDelay": "0.4s"
55
- },
56
- "@keyframes bounce": {
57
- "to": {
58
- "opacity": 0.3,
59
- "transform": "translateY(-16px)"
60
- }
61
- }
62
- }
63
- },
64
- "table": {
65
- "showCheckBox": true,
66
- "tableHeaders": [],
67
- "tdData": [],
68
- "showActions": true,
69
- "actionOptions": [
70
- {
71
- "matIconName": "edit",
72
- "displayTitle": "Edit",
73
- "toolTip": "Edit",
74
- "isSelected":true
75
- },
76
- {
77
- "matIconName": "info",
78
- "displayTitle": "Info",
79
- "toolTip": "Information",
80
- "isSelected":true
81
- },
82
- {
83
- "matIconName": "download",
84
- "displayTitle": "Download Documents",
85
- "toolTip": "Download Document",
86
- "isSelected":true
87
- },
88
- {
89
- "matIconName": "notifications_active",
90
- "displayTitle": "Send Reminder",
91
- "toolTip": "Send Reminder",
92
- "isSelected":true
93
- },
94
- {
95
- "matIconName": "link",
96
- "displayTitle": "Send Payment Link",
97
- "toolTip": "Payment Link",
98
- "isSelected":true
99
- },
100
-
101
- ],
102
- "userSelectedOptions": {},
103
- "showPagination": "Y",
104
- "rowlength": 3,
105
- "columnlength": 4,
106
- },
107
- "stepper":{
108
- "stepperData":[
109
- {
110
- "defaultId":1,
111
- "displayLabel":"stepper-1",
112
- "imgIconUrl":'https://cdn.godigit.com/digitPlusAssets/retail-life-icon/svgicon/check_circle.svg'
113
- },
114
- {
115
- "defaultId":2,
116
- "displayLabel":"stepper-2",
117
- "imgIconUrl":'https://cdn.godigit.com/retail-life/check_circle_Endorsment.svg'
118
- },
119
- {
120
- "defaultId":3,
121
- "displayLabel":"stepper-3",
122
- "imgIconUrl":'https://cdn.godigit.com/retail-life/Endorsement_pending.svg'
123
- }
124
- ]
125
- }
126
- }
127
-
128
- snackbars: any = [
129
- {
130
- "type": "Error",
131
- "imageURL": "https://cdn.godigit.com/retail-life/alert-icon-lib.svg",
132
- "imageCSS": "toaster-img",
133
- "isShowLabel": true,
134
- "labelCSS": "toaster-label",
135
- "messageCSS": "toaster-msg",
136
- "horizontalPosition": "",
137
- "verticalPosition": "",
138
- "duration": 3000,
139
- "closeIconImageURL": "https://cdn.godigit.com/digitPlusAssets/retail-life-icon/svgicon/cross.svg",
140
- "closeIconCSS": "cross",
141
- "labelText":"A error toast",
142
- "messageText":"Error message here",
143
- 'toasterCSS':"error-snackbar-card"
144
- },{
145
- "type": "Warning",
146
- "imageURL": "https://cdn.godigit.com/retail-life/nudge-icon-lib.svg",
147
- "imageCSS": "toaster-img",
148
- "isShowLabel": true,
149
- "labelCSS": "toaster-label",
150
- "messageCSS": "toaster-msg",
151
- "horizontalPosition": "",
152
- "verticalPosition": "",
153
- "duration": 3000,
154
- "closeIconImageURL": "https://cdn.godigit.com/digitPlusAssets/retail-life-icon/svgicon/cross.svg",
155
- "closeIconCSS": "cross",
156
- "labelText":"A warning toast",
157
- "messageText":"Warning message here",
158
- "toasterCSS":"warning-snackbar-card"
159
- },{
160
- "type": "Success",
161
- "imageURL": "https://cdn.godigit.com/retail-life/success-info-lib.svg",
162
- "imageCSS": "toaster-img",
163
- "isShowLabel": true,
164
- "labelCSS": "toaster-label",
165
- "messageCSS": "toaster-msg",
166
- "horizontalPosition": "",
167
- "verticalPosition": "",
168
- "duration": 3000,
169
- "closeIconImageURL": "https://cdn.godigit.com/digitPlusAssets/retail-life-icon/svgicon/cross.svg",
170
- "closeIconCSS": "cross",
171
- "labelText":"A success toast",
172
- "messageText":"Success message here",
173
- "toasterCSS":"success-snackbar-card"
174
- },{
175
- "type": "Neutral",
176
- "imageURL": "https://cdn.godigit.com/retail-life/neutral-star-lib-icon.svg",
177
- "imageCSS": "neutral-image",
178
- "isShowLabel": true,
179
- "labelCSS": "neutral-toaster-label",
180
- "messageCSS": "neutral-toaster-msg",
181
- "horizontalPosition": "",
182
- "verticalPosition": "",
183
- "duration": 3000,
184
- "closeIconImageURL": "https://cdn.godigit.com/retail-life/neutral-cross-lib-icon.svg",
185
- "closeIconCSS": "cross",
186
- "labelText":"A neutral toast",
187
- "messageText":"Neutral message here",
188
- "toasterCSS":"neutral-snackbar-card"
189
- }
190
- ];
191
- constructor() { }
192
-
193
- checkIfValueIsEmpty(value: any) {
194
- if (typeof value === 'string') {
195
- value = value.trim();
196
- }
197
- return (
198
- value === undefined ||
199
- value === null ||
200
- value === '' ||
201
- (value instanceof Array && value.length === 0) ||
202
- JSON.stringify(value) === '{}'
203
- );
204
- }
205
-
206
- saveTableFieldState(tableField: any, key: any = 'tableField') {
207
- localStorage.setItem(key, JSON.stringify(tableField));
208
- }
209
-
210
- restoreTableFieldState(key: any = 'tableField'): any | null {
211
- const data = localStorage.getItem(key);
212
- return data ? JSON.parse(data) : null;
213
- }
214
- }
@@ -1,52 +0,0 @@
1
- .map-container {
2
- width: 100% ;
3
- position: relative;
4
- }
5
-
6
- .address-search-container {
7
- position: relative;
8
- }
9
-
10
- .address-search-container input {
11
- width: 100%;
12
- padding: 10px;
13
- border: 1px solid #ddd;
14
- border-radius: 4px;
15
- box-sizing: border-box;
16
- }
17
-
18
- .address-search-container input:focus {
19
- outline: none;
20
- border-color: #4285f4;
21
- box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
22
- }
23
-
24
- /* Style for Google Places Autocomplete dropdown */
25
- .pac-container {
26
- z-index: 10000 !important;
27
- border-radius: 4px;
28
- border: 1px solid #ddd;
29
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
30
- }
31
-
32
- .pac-item {
33
- padding: 10px;
34
- border-bottom: 1px solid #eee;
35
- cursor: pointer;
36
- }
37
-
38
- .pac-item:hover {
39
- background-color: #f5f5f5;
40
- }
41
-
42
- .selected-address {
43
- padding: 8px;
44
- background-color: #f8f9fa;
45
- border-radius: 4px;
46
- border-left: 3px solid #28a745;
47
- }
48
-
49
- .map-container ::ng-deep google-map > div {
50
- height: 400px !important;
51
- width: auto !important;
52
- }
@@ -1,250 +0,0 @@
1
-
2
- <div *ngFor="let section of questionList">
3
- <div
4
- *ngIf="
5
- !checkIfValueIsEmpty(section['questions']) &&
6
- section['showSection']
7
- "
8
- class="card p-3 my-2"
9
- id="personUwMedicalQuestions"
10
- >
11
- <h6 class="page-title">
12
- {{ getTitleCase(section["sectionName"]) }}
13
- </h6>
14
- <div *ngFor="let questions of section['questions']">
15
- <!-- <div *ngIf="questions['questionType'] === 'IMAGE TEXT'">
16
- <img [src]="questions['sampleS3Link']" class="d-block mx-auto" [alt]="questions['title']">
17
- <h3 [innerHTML]="questions['questionText']"></h3>
18
- </div> -->
19
-
20
- <div
21
- class=""
22
- *ngIf="
23
- questions['questionType'] === 'FREE TEXT' &&
24
- questions['cammundaQuestionCode'] !== 'QHT' &&
25
- questions['isShowQuestionInUI']
26
- "
27
- >
28
- <label class="card-topic d-block"
29
- >{{ questions["questionText"] }}
30
- <span
31
- *ngIf="
32
- questions.optionalQuestion === 'N'
33
- "
34
- style="color: #ee0000"
35
- >&#42;</span
36
- >
37
- </label>
38
- <div class="col-5 px-0">
39
- <lib-textbox [(ngModel)]="personUwAnswers[questions.questionId]" [field]="questions['field']" />
40
- </div>
41
- </div>
42
-
43
- <div
44
- class=""
45
- *ngIf="
46
- questions['questionType'] === 'HEIGHTINPUT' &&
47
- questions['cammundaQuestionCode'] === 'QHTF' &&
48
- questions['isShowQuestionInUI']
49
- "
50
- >
51
- <label class="card-topic d-block"
52
- >Height
53
- <span
54
- style="color: #ee0000"
55
- >&#42;</span
56
- >
57
- </label>
58
- <div
59
- class="col-auto px-0 my-0 py-0 heightinput"
60
-
61
- >
62
- <div
63
- class="col-7 py-0 heightInputs"
64
- style="transform: translate(6px, 3px);"
65
- *ngIf="
66
- personUwAnswers['medicalQuestionsHeightUnit'] === 'CM'
67
- "
68
- >
69
- <lib-textbox [field]="questions['field']" />
70
- <lib-select [(ngModel)]="personUwAnswers['medicalQuestionsHeightUnit']" [field]="medQuestionObj['heightObjectTypes']" />
71
- </div>
72
- <div
73
- class="py-0"
74
- style="display: flex;"
75
- *ngIf="
76
- personUwAnswers[
77
- 'medicalQuestionsHeightUnit'
78
- ] === 'FEET'
79
- "
80
- >
81
- <div class="col-auto py-0 heightInputs px-1">
82
- <lib-select [field]="medQuestionObj['QHTF']['field']" />
83
- </div>
84
- <div class="col-auto py-0 heightInputs px-1">
85
- <lib-select [field]="medQuestionObj['QHTI']['field']" />
86
- </div>
87
- <div
88
- class="col-auto py-0 heightInputs px-1"
89
- >
90
- <lib-select [(ngModel)]="personUwAnswers['medicalQuestionsHeightUnit']" [field]="medQuestionObj['heightObjectTypes']" />
91
- </div>
92
- </div>
93
- </div>
94
- </div>
95
- <div
96
- class="row mt-0 pt-0"
97
- *ngIf="
98
- questions['questionType'] === 'MAP' &&
99
- questions['isShowQuestionInUI']
100
- "
101
- >
102
-
103
-
104
- <div class="map-container">
105
- <div class="address-search-container mb-3">
106
-
107
- <div class="row mb-3">
108
- <div class="col-6">
109
- <label class="form-label">Longitude</label>
110
- <input
111
- type="number"
112
- class="form-control"
113
- [(ngModel)]="longitude"
114
- placeholder="Enter longitude"
115
- step="any"
116
- readonly
117
- >
118
- </div>
119
- <div class="col-6">
120
- <label class="form-label">Latitude</label>
121
- <input
122
- type="number"
123
- class="form-control"
124
- [(ngModel)]="latitude"
125
- placeholder="Enter latitude"
126
- step="any"
127
- readonly
128
- >
129
- </div>
130
- </div>
131
-
132
- <input
133
- #addressInput
134
- type="text"
135
- class="form-control"
136
- placeholder="Search for address"
137
- (keyup)="onAddressInputKeyup($event)"
138
- (focus)="showDropdown = true"
139
- (blur)="onInputBlur()"
140
- autocomplete="off"
141
- >
142
- <div
143
- *ngIf="showDropdown && addressSuggestions.length > 0"
144
- class="autocomplete-dropdown position-absolute w-100 mt-1"
145
- style="z-index: 1000; max-height: 200px; overflow-y: auto; background: white; border: 1px solid #ccc; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);"
146
- >
147
- <div
148
- *ngFor="let suggestion of addressSuggestions; let i = index"
149
- class="dropdown-item p-2"
150
- style="cursor: pointer; border-bottom: 1px solid #eee;"
151
- (mousedown)="selectAddress(suggestion)"
152
- (mouseenter)="hoveredIndex = i"
153
- [class.bg-light]="hoveredIndex === i"
154
- >
155
- <div class="fw-bold">{{ suggestion.main_text }}</div>
156
- <small class="text-muted">{{ suggestion.secondary_text }}</small>
157
- </div>
158
- </div>
159
- <small class="text-muted">Start typing to search for addresses</small>
160
- </div>
161
- <google-map [center]="center" [zoom]="zoom">
162
- <map-marker [position]="currentCoordinates"></map-marker>
163
- </google-map>
164
- </div>
165
- </div>
166
-
167
-
168
- <div
169
- class=""
170
- *ngIf="
171
- (questions['questionType'] === 'RADIO BUTTON' ||
172
- questions['questionType'] === 'ADDMORE') &&
173
- questions['isShowQuestionInUI']
174
- "
175
- >
176
- <lib-radio [(ngModel)]="personUwAnswers[questions.questionId]" (ngModelChange)="removeSubQuestionValues()" [field]="questions['field']" />
177
- </div>
178
-
179
- <div
180
- class=""
181
- *ngIf="
182
- questions['questionType'] === 'CHECKBOX' &&
183
- questions['isShowQuestionInUI']
184
- "
185
- >
186
- <lib-multiple-select [(ngModel)]="personUwAnswers[questions.questionId]" (ngModelChange)="removeSubQuestionValues()" [field]="questions['field']" />
187
- </div>
188
-
189
- <div
190
- class=""
191
- *ngIf="
192
- questions['questionType'] === 'DECLARATION' &&
193
- questions['isShowQuestionInUI']
194
- "
195
- >
196
- <lib-checkbox [(ngModel)]="personUwAnswers[questions.questionId]" (ngModelChange)="removeSubQuestionValues()" [field]="questions['field']" />
197
- </div>
198
-
199
- <div
200
- class=""
201
- *ngIf="
202
- questions['questionType'] === 'DROPDOWN' &&
203
- questions['isShowQuestionInUI']
204
- "
205
- >
206
- <lib-select [(ngModel)]="personUwAnswers[questions.questionId]" [field]="questions['field']" />
207
- </div>
208
-
209
- <div
210
- class=""
211
- *ngIf="
212
- questions['questionType'] === 'CALENDAR' &&
213
- questions['isShowQuestionInUI']
214
- "
215
- >
216
- <lib-dob [(ngModel)]="personUwAnswers[questions.questionId]" [field]="questions['field']" />
217
- </div>
218
-
219
- <!-- <div
220
- class=""
221
- *ngIf="
222
- questions['questionType'] === 'HEIGHTINPUT' &&
223
- questions['cammundaQuestionCode'] === 'QHTF' &&
224
- questions['isShowQuestionInUI']
225
- "
226
- >
227
- </div> -->
228
- <div
229
- class=""
230
- *ngIf="
231
- questions['questionType'] === 'DOCUPLOAD' &&
232
- questions['isShowQuestionInUI']
233
- "
234
- >
235
- <lib-upload [field]="questions['field']" />
236
- </div>
237
-
238
-
239
- <div
240
- class=""
241
- *ngIf="
242
- questions['questionType'] === 'PASSPORT_UPLOAD' &&
243
- questions['isShowQuestionInUI']
244
- "
245
- >
246
- <!-- pending -->
247
- </div>
248
- </div>
249
- </div>
250
- </div>