master-control 0.2.6 → 0.2.7

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 (328) hide show
  1. package/ng-package.json +7 -0
  2. package/package.json +12 -25
  3. package/src/lib/add-document/add-document.component.css +50 -0
  4. package/src/lib/add-document/add-document.component.html +31 -0
  5. package/src/lib/add-document/add-document.component.ts +17 -0
  6. package/src/lib/addition-button/addition-button.component.css +16 -0
  7. package/src/lib/addition-button/addition-button.component.html +20 -0
  8. package/src/lib/addition-button/addition-button.component.ts +13 -0
  9. package/src/lib/age-date/age-date.component.css +126 -0
  10. package/src/lib/age-date/age-date.component.html +82 -0
  11. package/src/lib/age-date/age-date.component.ts +104 -0
  12. package/src/lib/amount-textbox/amount-textbox.component.css +131 -0
  13. package/src/lib/amount-textbox/amount-textbox.component.html +69 -0
  14. package/src/lib/amount-textbox/amount-textbox.component.ts +53 -0
  15. package/src/lib/annuity-rate-logo/annuity-rate-logo.component.css +9 -0
  16. package/src/lib/annuity-rate-logo/annuity-rate-logo.component.html +6 -0
  17. package/src/lib/annuity-rate-logo/annuity-rate-logo.component.ts +13 -0
  18. package/src/lib/autocomplete/autocomplete.component.css +240 -0
  19. package/src/lib/autocomplete/autocomplete.component.html +61 -0
  20. package/src/lib/autocomplete/autocomplete.component.ts +85 -0
  21. package/src/lib/benefit-card/benefit-card.component.css +46 -0
  22. package/src/lib/benefit-card/benefit-card.component.html +25 -0
  23. package/src/lib/benefit-card/benefit-card.component.ts +13 -0
  24. package/src/lib/button/button.component.css +24 -0
  25. package/src/lib/button/button.component.html +22 -0
  26. package/src/lib/button/button.component.ts +16 -0
  27. package/src/lib/card/card.component.css +37 -0
  28. package/src/lib/card/card.component.html +24 -0
  29. package/src/lib/card/card.component.ts +13 -0
  30. package/src/lib/checkbox/checkbox.component.css +65 -0
  31. package/src/lib/checkbox/checkbox.component.html +23 -0
  32. package/src/lib/checkbox/checkbox.component.ts +70 -0
  33. package/src/lib/discount/discount.component.css +45 -0
  34. package/src/lib/discount/discount.component.html +51 -0
  35. package/src/lib/discount/discount.component.ts +14 -0
  36. package/src/lib/discount-v2/discount-v2.component.css +34 -0
  37. package/src/lib/discount-v2/discount-v2.component.html +20 -0
  38. package/src/lib/discount-v2/discount-v2.component.ts +14 -0
  39. package/src/lib/dob/dob.component.css +117 -0
  40. package/src/lib/dob/dob.component.html +88 -0
  41. package/src/lib/dob/dob.component.ts +107 -0
  42. package/src/lib/download-document/download-document.component.css +53 -0
  43. package/src/lib/download-document/download-document.component.html +38 -0
  44. package/src/lib/download-document/download-document.component.ts +17 -0
  45. package/src/lib/email-with-domain/email-with-domain.component.css +130 -0
  46. package/src/lib/email-with-domain/email-with-domain.component.html +73 -0
  47. package/src/lib/email-with-domain/email-with-domain.component.ts +51 -0
  48. package/src/lib/error-snackbar/error-snackbar.component.css +36 -0
  49. package/src/lib/error-snackbar/error-snackbar.component.html +21 -0
  50. package/src/lib/error-snackbar/error-snackbar.component.ts +19 -0
  51. package/src/lib/grey-label/grey-label.component.css +13 -0
  52. package/src/lib/grey-label/grey-label.component.html +7 -0
  53. package/src/lib/grey-label/grey-label.component.ts +13 -0
  54. package/src/lib/header/header.component.css +13 -0
  55. package/src/lib/header/header.component.html +9 -0
  56. package/src/lib/header/header.component.ts +14 -0
  57. package/src/lib/hr-line/hr-line.component.css +13 -0
  58. package/src/lib/hr-line/hr-line.component.html +7 -0
  59. package/src/lib/hr-line/hr-line.component.ts +13 -0
  60. package/src/lib/hyperlink/hyperlink.component.css +18 -0
  61. package/src/lib/hyperlink/hyperlink.component.html +8 -0
  62. package/src/lib/hyperlink/hyperlink.component.ts +13 -0
  63. package/src/lib/icon-button/icon-button.component.css +20 -0
  64. package/src/lib/icon-button/icon-button.component.html +17 -0
  65. package/src/lib/icon-button/icon-button.component.ts +13 -0
  66. package/src/lib/iframe/iframe.component.css +0 -0
  67. package/src/lib/iframe/iframe.component.html +7 -0
  68. package/src/lib/iframe/iframe.component.ts +32 -0
  69. package/src/lib/image/image.component.css +7 -0
  70. package/src/lib/image/image.component.html +3 -0
  71. package/src/lib/image/image.component.ts +13 -0
  72. package/src/lib/image-upload/image-upload.component.css +67 -0
  73. package/src/lib/image-upload/image-upload.component.html +61 -0
  74. package/src/lib/image-upload/image-upload.component.ts +17 -0
  75. package/src/lib/in-built-benefit/in-built-benefit.component.css +58 -0
  76. package/src/lib/in-built-benefit/in-built-benefit.component.html +30 -0
  77. package/src/lib/in-built-benefit/in-built-benefit.component.ts +16 -0
  78. package/src/lib/info/info.component.css +25 -0
  79. package/src/lib/info/info.component.html +21 -0
  80. package/src/lib/info/info.component.ts +15 -0
  81. package/src/lib/info-textbox/info-textbox.component.css +121 -0
  82. package/src/lib/info-textbox/info-textbox.component.html +83 -0
  83. package/src/lib/info-textbox/info-textbox.component.ts +52 -0
  84. package/src/lib/label/label.component.css +13 -0
  85. package/src/lib/label/label.component.html +7 -0
  86. package/src/lib/label/label.component.ts +14 -0
  87. package/src/lib/label-value-card/label-value-card.component.css +34 -0
  88. package/src/lib/label-value-card/label-value-card.component.html +12 -0
  89. package/src/lib/label-value-card/label-value-card.component.ts +15 -0
  90. package/src/lib/loader/loader.component.css +127 -0
  91. package/src/lib/loader/loader.component.html +37 -0
  92. package/src/lib/loader/loader.component.spec.ts +23 -0
  93. package/src/lib/loader/loader.component.ts +13 -0
  94. package/src/lib/master-control.component.css +0 -0
  95. package/src/lib/master-control.component.html +216 -0
  96. package/src/lib/master-control.component.spec.ts +23 -0
  97. package/src/lib/master-control.component.ts +143 -0
  98. package/src/lib/master-control.service.spec.ts +16 -0
  99. package/src/lib/master-control.service.ts +214 -0
  100. package/src/lib/medial-questions/medial-questions.component.css +52 -0
  101. package/src/lib/medial-questions/medial-questions.component.html +250 -0
  102. package/src/lib/medial-questions/medial-questions.component.ts +689 -0
  103. package/{esm2022 → src}/lib/medial-questions/questions.json +39682 -39682
  104. package/src/lib/mob-number/mob-number.component.css +141 -0
  105. package/src/lib/mob-number/mob-number.component.html +82 -0
  106. package/src/lib/mob-number/mob-number.component.ts +53 -0
  107. package/src/lib/multiple-select/multiple-select.component.css +331 -0
  108. package/src/lib/multiple-select/multiple-select.component.html +100 -0
  109. package/src/lib/multiple-select/multiple-select.component.ts +115 -0
  110. package/src/lib/neutral-snackbar/neutral-snackbar.component.css +31 -0
  111. package/src/lib/neutral-snackbar/neutral-snackbar.component.html +21 -0
  112. package/src/lib/neutral-snackbar/neutral-snackbar.component.ts +19 -0
  113. package/src/lib/other-benefits/other-benefits.component.css +78 -0
  114. package/src/lib/other-benefits/other-benefits.component.html +21 -0
  115. package/src/lib/other-benefits/other-benefits.component.ts +13 -0
  116. package/src/lib/otp-mob-number/otp-mob-number.component.css +171 -0
  117. package/src/lib/otp-mob-number/otp-mob-number.component.html +101 -0
  118. package/src/lib/otp-mob-number/otp-mob-number.component.ts +54 -0
  119. package/src/lib/otp-textbox/otp-textbox.component.css +168 -0
  120. package/src/lib/otp-textbox/otp-textbox.component.html +84 -0
  121. package/src/lib/otp-textbox/otp-textbox.component.ts +57 -0
  122. package/src/lib/page-nudge/page-nudge.component.css +35 -0
  123. package/src/lib/page-nudge/page-nudge.component.html +13 -0
  124. package/src/lib/page-nudge/page-nudge.component.ts +13 -0
  125. package/src/lib/pay-get-card/pay-get-card.component.css +36 -0
  126. package/src/lib/pay-get-card/pay-get-card.component.html +20 -0
  127. package/src/lib/pay-get-card/pay-get-card.component.ts +18 -0
  128. package/src/lib/radio/radio.component.css +57 -0
  129. package/src/lib/radio/radio.component.html +37 -0
  130. package/src/lib/radio/radio.component.ts +55 -0
  131. package/src/lib/search-multi-select/search-multi-select.component.css +325 -0
  132. package/src/lib/search-multi-select/search-multi-select.component.html +125 -0
  133. package/src/lib/search-multi-select/search-multi-select.component.ts +164 -0
  134. package/src/lib/select/select.component.css +246 -0
  135. package/src/lib/select/select.component.html +72 -0
  136. package/src/lib/select/select.component.ts +95 -0
  137. package/src/lib/select-textbox/select-textbox.component.css +262 -0
  138. package/src/lib/select-textbox/select-textbox.component.html +77 -0
  139. package/src/lib/select-textbox/select-textbox.component.ts +72 -0
  140. package/src/lib/stepper/stepper.component.css +25 -0
  141. package/src/lib/stepper/stepper.component.html +16 -0
  142. package/src/lib/stepper/stepper.component.ts +20 -0
  143. package/src/lib/sub-header/sub-header.component.css +13 -0
  144. package/src/lib/sub-header/sub-header.component.html +9 -0
  145. package/src/lib/sub-header/sub-header.component.ts +13 -0
  146. package/src/lib/subscript-textbox/subscript-textbox.component.css +139 -0
  147. package/src/lib/subscript-textbox/subscript-textbox.component.html +85 -0
  148. package/src/lib/subscript-textbox/subscript-textbox.component.ts +53 -0
  149. package/src/lib/success-snackbar/success-snackbar.component.css +32 -0
  150. package/src/lib/success-snackbar/success-snackbar.component.html +21 -0
  151. package/src/lib/success-snackbar/success-snackbar.component.ts +19 -0
  152. package/src/lib/suffix-textbox/suffix-textbox.component.css +157 -0
  153. package/src/lib/suffix-textbox/suffix-textbox.component.html +84 -0
  154. package/src/lib/suffix-textbox/suffix-textbox.component.ts +54 -0
  155. package/src/lib/tab/tab.component.css +19 -0
  156. package/src/lib/tab/tab.component.html +17 -0
  157. package/src/lib/tab/tab.component.ts +27 -0
  158. package/src/lib/table/table.component.css +121 -0
  159. package/src/lib/table/table.component.html +41 -0
  160. package/src/lib/table/table.component.spec.ts +23 -0
  161. package/src/lib/table/table.component.ts +84 -0
  162. package/src/lib/tag-mob-number/tag-mob-number.component.css +167 -0
  163. package/src/lib/tag-mob-number/tag-mob-number.component.html +95 -0
  164. package/src/lib/tag-mob-number/tag-mob-number.component.ts +55 -0
  165. package/src/lib/textarea/textarea.component.css +34 -0
  166. package/src/lib/textarea/textarea.component.html +23 -0
  167. package/src/lib/textarea/textarea.component.ts +16 -0
  168. package/src/lib/textbox/textbox.component.css +118 -0
  169. package/src/lib/textbox/textbox.component.html +80 -0
  170. package/src/lib/textbox/textbox.component.ts +55 -0
  171. package/src/lib/textbox-with-image/textbox-with-image.component.css +118 -0
  172. package/src/lib/textbox-with-image/textbox-with-image.component.html +82 -0
  173. package/src/lib/textbox-with-image/textbox-with-image.component.ts +47 -0
  174. package/src/lib/textbox-with-text/textbox-with-text.component.css +124 -0
  175. package/src/lib/textbox-with-text/textbox-with-text.component.html +84 -0
  176. package/src/lib/textbox-with-text/textbox-with-text.component.ts +53 -0
  177. package/src/lib/textbox-with-underscore/textbox-with-underscore.component.css +121 -0
  178. package/src/lib/textbox-with-underscore/textbox-with-underscore.component.html +79 -0
  179. package/src/lib/textbox-with-underscore/textbox-with-underscore.component.ts +62 -0
  180. package/src/lib/toggle/toggle.component.css +101 -0
  181. package/src/lib/toggle/toggle.component.html +39 -0
  182. package/src/lib/toggle/toggle.component.ts +16 -0
  183. package/src/lib/toggle-button/toggle-button.component.css +87 -0
  184. package/src/lib/toggle-button/toggle-button.component.html +34 -0
  185. package/src/lib/toggle-button/toggle-button.component.ts +14 -0
  186. package/src/lib/underscore-mob-number/underscore-mob-number.component.css +147 -0
  187. package/src/lib/underscore-mob-number/underscore-mob-number.component.html +87 -0
  188. package/src/lib/underscore-mob-number/underscore-mob-number.component.ts +65 -0
  189. package/src/lib/upload/upload.component.css +81 -0
  190. package/src/lib/upload/upload.component.html +62 -0
  191. package/src/lib/upload/upload.component.ts +20 -0
  192. package/src/lib/warning-snackbar/warning-snackbar.component.css +29 -0
  193. package/src/lib/warning-snackbar/warning-snackbar.component.html +21 -0
  194. package/src/lib/warning-snackbar/warning-snackbar.component.ts +19 -0
  195. package/{public-api.d.ts → src/public-api.ts} +60 -56
  196. package/tsconfig.lib.json +15 -0
  197. package/tsconfig.lib.prod.json +11 -0
  198. package/tsconfig.spec.json +15 -0
  199. package/esm2022/lib/add-document/add-document.component.mjs +0 -18
  200. package/esm2022/lib/addition-button/addition-button.component.mjs +0 -14
  201. package/esm2022/lib/age-date/age-date.component.mjs +0 -132
  202. package/esm2022/lib/amount-textbox/amount-textbox.component.mjs +0 -63
  203. package/esm2022/lib/annuity-rate-logo/annuity-rate-logo.component.mjs +0 -15
  204. package/esm2022/lib/autocomplete/autocomplete.component.mjs +0 -90
  205. package/esm2022/lib/benefit-card/benefit-card.component.mjs +0 -14
  206. package/esm2022/lib/button/button.component.mjs +0 -19
  207. package/esm2022/lib/card/card.component.mjs +0 -14
  208. package/esm2022/lib/checkbox/checkbox.component.mjs +0 -79
  209. package/esm2022/lib/discount/discount.component.mjs +0 -14
  210. package/esm2022/lib/discount-v2/discount-v2.component.mjs +0 -16
  211. package/esm2022/lib/dob/dob.component.mjs +0 -118
  212. package/esm2022/lib/download-document/download-document.component.mjs +0 -18
  213. package/esm2022/lib/email-with-domain/email-with-domain.component.mjs +0 -60
  214. package/esm2022/lib/error-snackbar/error-snackbar.component.mjs +0 -21
  215. package/esm2022/lib/grey-label/grey-label.component.mjs +0 -14
  216. package/esm2022/lib/header/header.component.mjs +0 -14
  217. package/esm2022/lib/hr-line/hr-line.component.mjs +0 -14
  218. package/esm2022/lib/hyperlink/hyperlink.component.mjs +0 -14
  219. package/esm2022/lib/icon-button/icon-button.component.mjs +0 -14
  220. package/esm2022/lib/iframe/iframe.component.mjs +0 -32
  221. package/esm2022/lib/image/image.component.mjs +0 -14
  222. package/esm2022/lib/image-upload/image-upload.component.mjs +0 -18
  223. package/esm2022/lib/in-built-benefit/in-built-benefit.component.mjs +0 -20
  224. package/esm2022/lib/info/info.component.mjs +0 -19
  225. package/esm2022/lib/info-textbox/info-textbox.component.mjs +0 -62
  226. package/esm2022/lib/label/label.component.mjs +0 -14
  227. package/esm2022/lib/label-value-card/label-value-card.component.mjs +0 -15
  228. package/esm2022/lib/loader/loader.component.mjs +0 -14
  229. package/esm2022/lib/master-control.component.mjs +0 -140
  230. package/esm2022/lib/master-control.service.mjs +0 -212
  231. package/esm2022/lib/medial-questions/medial-questions.component.mjs +0 -601
  232. package/esm2022/lib/mob-number/mob-number.component.mjs +0 -65
  233. package/esm2022/lib/multiple-select/multiple-select.component.mjs +0 -119
  234. package/esm2022/lib/neutral-snackbar/neutral-snackbar.component.mjs +0 -21
  235. package/esm2022/lib/other-benefits/other-benefits.component.mjs +0 -14
  236. package/esm2022/lib/otp-mob-number/otp-mob-number.component.mjs +0 -63
  237. package/esm2022/lib/otp-textbox/otp-textbox.component.mjs +0 -68
  238. package/esm2022/lib/pay-get-card/pay-get-card.component.mjs +0 -29
  239. package/esm2022/lib/radio/radio.component.mjs +0 -58
  240. package/esm2022/lib/search-multi-select/search-multi-select.component.mjs +0 -127
  241. package/esm2022/lib/select/select.component.mjs +0 -99
  242. package/esm2022/lib/select-textbox/select-textbox.component.mjs +0 -83
  243. package/esm2022/lib/stepper/stepper.component.mjs +0 -25
  244. package/esm2022/lib/sub-header/sub-header.component.mjs +0 -14
  245. package/esm2022/lib/subscript-textbox/subscript-textbox.component.mjs +0 -62
  246. package/esm2022/lib/success-snackbar/success-snackbar.component.mjs +0 -21
  247. package/esm2022/lib/suffix-textbox/suffix-textbox.component.mjs +0 -65
  248. package/esm2022/lib/tab/tab.component.mjs +0 -32
  249. package/esm2022/lib/table/table.component.mjs +0 -82
  250. package/esm2022/lib/tag-mob-number/tag-mob-number.component.mjs +0 -66
  251. package/esm2022/lib/textarea/textarea.component.mjs +0 -20
  252. package/esm2022/lib/textbox/textbox.component.mjs +0 -67
  253. package/esm2022/lib/textbox-with-image/textbox-with-image.component.mjs +0 -57
  254. package/esm2022/lib/textbox-with-text/textbox-with-text.component.mjs +0 -58
  255. package/esm2022/lib/textbox-with-underscore/textbox-with-underscore.component.mjs +0 -71
  256. package/esm2022/lib/toggle/toggle.component.mjs +0 -20
  257. package/esm2022/lib/toggle-button/toggle-button.component.mjs +0 -16
  258. package/esm2022/lib/underscore-mob-number/underscore-mob-number.component.mjs +0 -74
  259. package/esm2022/lib/upload/upload.component.mjs +0 -24
  260. package/esm2022/lib/warning-snackbar/warning-snackbar.component.mjs +0 -21
  261. package/esm2022/master-control.mjs +0 -5
  262. package/esm2022/public-api.mjs +0 -60
  263. package/fesm2022/master-control.mjs +0 -42759
  264. package/fesm2022/master-control.mjs.map +0 -1
  265. package/index.d.ts +0 -5
  266. package/lib/add-document/add-document.component.d.ts +0 -6
  267. package/lib/addition-button/addition-button.component.d.ts +0 -6
  268. package/lib/age-date/age-date.component.d.ts +0 -20
  269. package/lib/amount-textbox/amount-textbox.component.d.ts +0 -17
  270. package/lib/annuity-rate-logo/annuity-rate-logo.component.d.ts +0 -7
  271. package/lib/autocomplete/autocomplete.component.d.ts +0 -25
  272. package/lib/benefit-card/benefit-card.component.d.ts +0 -6
  273. package/lib/button/button.component.d.ts +0 -9
  274. package/lib/card/card.component.d.ts +0 -6
  275. package/lib/checkbox/checkbox.component.d.ts +0 -20
  276. package/lib/discount/discount.component.d.ts +0 -6
  277. package/lib/discount-v2/discount-v2.component.d.ts +0 -6
  278. package/lib/dob/dob.component.d.ts +0 -32
  279. package/lib/download-document/download-document.component.d.ts +0 -6
  280. package/lib/email-with-domain/email-with-domain.component.d.ts +0 -19
  281. package/lib/error-snackbar/error-snackbar.component.d.ts +0 -10
  282. package/lib/grey-label/grey-label.component.d.ts +0 -6
  283. package/lib/header/header.component.d.ts +0 -6
  284. package/lib/hr-line/hr-line.component.d.ts +0 -6
  285. package/lib/hyperlink/hyperlink.component.d.ts +0 -6
  286. package/lib/icon-button/icon-button.component.d.ts +0 -6
  287. package/lib/iframe/iframe.component.d.ts +0 -13
  288. package/lib/image/image.component.d.ts +0 -6
  289. package/lib/image-upload/image-upload.component.d.ts +0 -6
  290. package/lib/in-built-benefit/in-built-benefit.component.d.ts +0 -8
  291. package/lib/info/info.component.d.ts +0 -9
  292. package/lib/info-textbox/info-textbox.component.d.ts +0 -16
  293. package/lib/label/label.component.d.ts +0 -6
  294. package/lib/label-value-card/label-value-card.component.d.ts +0 -7
  295. package/lib/loader/loader.component.d.ts +0 -6
  296. package/lib/master-control.component.d.ts +0 -9
  297. package/lib/master-control.service.d.ts +0 -11
  298. package/lib/medial-questions/medial-questions.component.d.ts +0 -62
  299. package/lib/mob-number/mob-number.component.d.ts +0 -21
  300. package/lib/multiple-select/multiple-select.component.d.ts +0 -27
  301. package/lib/neutral-snackbar/neutral-snackbar.component.d.ts +0 -10
  302. package/lib/other-benefits/other-benefits.component.d.ts +0 -6
  303. package/lib/otp-mob-number/otp-mob-number.component.d.ts +0 -17
  304. package/lib/otp-textbox/otp-textbox.component.d.ts +0 -17
  305. package/lib/pay-get-card/pay-get-card.component.d.ts +0 -11
  306. package/lib/radio/radio.component.d.ts +0 -18
  307. package/lib/search-multi-select/search-multi-select.component.d.ts +0 -27
  308. package/lib/select/select.component.d.ts +0 -22
  309. package/lib/select-textbox/select-textbox.component.d.ts +0 -17
  310. package/lib/stepper/stepper.component.d.ts +0 -11
  311. package/lib/sub-header/sub-header.component.d.ts +0 -6
  312. package/lib/subscript-textbox/subscript-textbox.component.d.ts +0 -16
  313. package/lib/success-snackbar/success-snackbar.component.d.ts +0 -10
  314. package/lib/suffix-textbox/suffix-textbox.component.d.ts +0 -16
  315. package/lib/tab/tab.component.d.ts +0 -14
  316. package/lib/table/table.component.d.ts +0 -23
  317. package/lib/tag-mob-number/tag-mob-number.component.d.ts +0 -17
  318. package/lib/textarea/textarea.component.d.ts +0 -9
  319. package/lib/textbox/textbox.component.d.ts +0 -20
  320. package/lib/textbox-with-image/textbox-with-image.component.d.ts +0 -16
  321. package/lib/textbox-with-text/textbox-with-text.component.d.ts +0 -16
  322. package/lib/textbox-with-underscore/textbox-with-underscore.component.d.ts +0 -18
  323. package/lib/toggle/toggle.component.d.ts +0 -9
  324. package/lib/toggle-button/toggle-button.component.d.ts +0 -6
  325. package/lib/underscore-mob-number/underscore-mob-number.component.d.ts +0 -19
  326. package/lib/upload/upload.component.d.ts +0 -9
  327. package/lib/warning-snackbar/warning-snackbar.component.d.ts +0 -10
  328. package/master-control-0.2.6.tgz +0 -0
@@ -0,0 +1,100 @@
1
+ <label class="field-lable" *ngIf="field() && field()?.isVisible && field().isShowLabel">{{field()?.label}}<span style="color: red;" *ngIf="field() && field()?.validators?.isRequired">*</span></label>
2
+ <mat-form-field
3
+ appearance="outline"
4
+ class="input-full-width full-width w-100 multi-select"
5
+ *ngIf="field() && field()?.isVisible"
6
+ [ngStyle]="{
7
+ '--custom-border-color': field()?.controlStyle?.borderColor ,
8
+ '--custom-border-width': field()?.controlStyle?.borderWidth ,
9
+ '--custom-border-radius': field()?.controlStyle?.borderRadius ,
10
+ '--custom-bg-color': field()?.controlStyle?.background ,
11
+ '--custom-border-color-focus': field()?.controlStyle?.focusBorderColor ,
12
+ '--custom-border-width-focus': field()?.controlStyle?.focusBorderWidth ,
13
+ '--custom-bg-color-focus': field()?.controlStyle?.focusBackground ,
14
+ '--custom-border-color-hover': field()?.controlStyle?.hoverBorderColor ,
15
+ '--custom-border-width-hover': field()?.controlStyle?.hoverBorderWidth ,
16
+ '--custom-border-color-error': field()?.controlStyle?.errorBorderColor ,
17
+ '--custom-border-width-error': field()?.controlStyle?.errorBorderWidth ,
18
+ '--custom-font-size': field()?.controlStyle?.fontSize ,
19
+ '--custom-font-weight': field()?.controlStyle?.fontWeight ,
20
+ '--custom-font-family': field()?.controlStyle?.fontFamily ,
21
+ '--custom-font-color': field()?.controlStyle?.color ,
22
+ '--custom-caret-color': field()?.controlStyle?.caretColor ,
23
+ '--custom-font-color-disabled' : field()?.controlStyle?.disableColor ,
24
+ '--custom-bg-color-disabled' : field()?.controlStyle?.disableBackground ,
25
+ }"
26
+ >
27
+ @if(reactiveFormControlobject()) {
28
+ <mat-select
29
+ multiple
30
+ [id]="field()?.fieldName"
31
+ [attr.name]="field()?.fieldName"
32
+ [value]="inputValue"
33
+ [required]="field()?.validators?.isRequired"
34
+ [placeholder]="field()?.placeHolder"
35
+ [disabled]="field()?.isDisable"
36
+ (openedChange)="onSelectOpened($event)"
37
+ (selectionChange)="selectionChanged($event)"
38
+ [formControl]="reactiveFormControlobject()"
39
+ >
40
+ <mat-select-trigger>
41
+ <!-- <mat-chip-listbox>
42
+ @for (option of visibleChip; track option) {
43
+ <mat-chip [removable]="true" (removed)="removeItem(option)">
44
+ {{ option }}
45
+ <mat-icon matChipRemove>close</mat-icon>
46
+ </mat-chip>
47
+ }
48
+ <mat-chip *ngIf="remainingCount > 0"> +{{ remainingCount }} </mat-chip>
49
+ </mat-chip-listbox> -->
50
+ <mat-chip-grid>
51
+ @for (option of inputValue; track option) {
52
+ <mat-chip-row [removable]="true" (removed)="removeItem(option)">
53
+ {{ option }}
54
+ <mat-icon matChipRemove>close</mat-icon>
55
+ </mat-chip-row>
56
+ }
57
+ <mat-chip *ngIf="remainingCount > 0"> +{{ remainingCount }} </mat-chip>
58
+ </mat-chip-grid>
59
+ </mat-select-trigger>
60
+ @for (option of field()?.options; track option.label) {
61
+ <mat-option [value]="option.value">
62
+ {{ option.label }}
63
+ </mat-option>
64
+ }
65
+ </mat-select>
66
+ }@else {
67
+ <mat-select
68
+ multiple
69
+ [id]="field()?.fieldName"
70
+ [attr.name]="field()?.fieldName"
71
+ [value]="inputValue"
72
+ [required]="field()?.validators?.isRequired"
73
+ [placeholder]="field()?.placeHolder"
74
+ [disabled]="field()?.isDisable"
75
+ (openedChange)="onSelectOpened($event)"
76
+ (selectionChange)="selectionChanged($event)"
77
+ >
78
+ <mat-select-trigger>
79
+ <mat-chip-grid>
80
+ @for (option of inputValue; track option) {
81
+ <mat-chip-row [removable]="true" (removed)="removeItem(option)">
82
+ {{ option.label }}
83
+ <mat-icon matChipRemove>close</mat-icon>
84
+ </mat-chip-row>
85
+ }
86
+ <mat-chip *ngIf="remainingCount > 0"> +{{ remainingCount }} </mat-chip>
87
+ </mat-chip-grid>
88
+ </mat-select-trigger>
89
+ @for (option of field()?.options; track option.label) {
90
+ <mat-option [value]="option">
91
+ {{ option.label }}
92
+ </mat-option>
93
+ }
94
+ </mat-select>
95
+ }
96
+
97
+ <mat-error *ngIf="false">
98
+ {{ field()?.validators?.requiredMessage }}
99
+ </mat-error>
100
+ </mat-form-field>
@@ -0,0 +1,115 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { Component, input } from '@angular/core';
3
+ import { MatChipsModule } from '@angular/material/chips';
4
+ import { MatFormFieldModule } from '@angular/material/form-field';
5
+ import { MatIconModule } from '@angular/material/icon';
6
+ import { MatSelectChange, MatSelectModule } from '@angular/material/select';
7
+ import { MasterControlService } from '../master-control.service';
8
+ import { ControlValueAccessor, NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';
9
+
10
+ @Component({
11
+ selector: 'lib-multiple-select',
12
+ standalone: true,
13
+ imports: [
14
+ MatSelectModule,
15
+ MatFormFieldModule,
16
+ CommonModule,
17
+ MatChipsModule,
18
+ MatIconModule,
19
+ ReactiveFormsModule
20
+ ],
21
+ templateUrl: './multiple-select.component.html',
22
+ styleUrl: './multiple-select.component.css',
23
+ providers: [
24
+ {
25
+ provide: NG_VALUE_ACCESSOR,
26
+ useExisting: MultipleSelectComponent,
27
+ multi: true
28
+ }
29
+ ]
30
+ })
31
+ export class MultipleSelectComponent implements ControlValueAccessor {
32
+ constructor(public masterService : MasterControlService) {}
33
+ field: any = input.required<any>();
34
+ selectedValues: any = [];
35
+ visibleChip: any = [];
36
+ remainingCount: any = 0;
37
+ inputValue: any = null;
38
+ reactiveFormControlobject : any = input<any>();
39
+ onChange: any = () => {};
40
+ onTouched: any = () => {};
41
+
42
+ ngOnInit(): void {
43
+ // Initialize inputValue with a default or initial value if needed
44
+ }
45
+
46
+ writeValue(value: any): void {
47
+ this.inputValue = value;
48
+ }
49
+
50
+ registerOnChange(fn: any): void {
51
+ this.onChange = fn;
52
+ }
53
+
54
+ registerOnTouched(fn: any): void {
55
+ this.onTouched = fn;
56
+ }
57
+
58
+ onValueChange(newValue: any): void {
59
+ this.inputValue = newValue;
60
+ this.onChange(newValue);
61
+ this.onTouched();
62
+ }
63
+
64
+ selectionChanged(event: MatSelectChange) {
65
+ this.inputValue = event.value;
66
+ this.visibleChip = event.value;
67
+ this.onChange(event.value);
68
+ this.onTouched();
69
+ this.onSelectionChange();
70
+ }
71
+
72
+ removeItem(item: any) {
73
+ const maxVisible = 2;
74
+ this.visibleChip = this.visibleChip.filter(
75
+ (element: any) => element !== item
76
+ );
77
+ this.selectedValues = this.selectedValues.filter(
78
+ (element: any) => element !== item
79
+ );
80
+ const found = this.field().options.find((i:any) => i.label === item);
81
+ if (found) {
82
+ found.value = false;
83
+ }
84
+ this.visibleChip = this.selectedValues.slice(0, maxVisible);
85
+ this.remainingCount = this.selectedValues.length - maxVisible;
86
+ }
87
+ onSelectionChange() {
88
+ const maxVisible = 2;
89
+ this.visibleChip = this.selectedValues.slice(0, maxVisible);
90
+ this.remainingCount = this.selectedValues.length - maxVisible;
91
+ }
92
+ onSelectOpened(opened: boolean) {
93
+ const css = this.field()?.controlStyle;
94
+ if (opened) {
95
+ document.body.style.setProperty('--custom-select-option-background-color', css?.dropdownOptionBgColor || '#fff');
96
+ document.body.style.setProperty('--custom-select-option-font-color', css?.dropdownOptionColor || '#444');
97
+ document.body.style.setProperty('--custom-select-option-font-weight', css?.dropdownOptionFontWeight || '400');
98
+ document.body.style.setProperty('--custom-select-option-background-color-focus', css?.focusDropdownOptionBgColor || '#fff');
99
+ document.body.style.setProperty('--custom-select-option-font-color-focus', css?.focusDropdownOptionColor || '#444');
100
+ document.body.style.setProperty('--custom-select-option-font-weight-focus', css?.focusDropdownOptionFontWeight || '400');
101
+ document.body.style.setProperty('--custom-select-option-border-left-focus', css?.focusDropdownOptionBorderLeft || '#ffbb00');
102
+ document.body.style.setProperty('--custom-select-option-border-radius-focus', css?.focusDropdownOptionBorderRadius || '#ffbb00');
103
+ } else {
104
+ document.body.style.removeProperty('--custom-select-option-background-color');
105
+ document.body.style.removeProperty('--custom-select-option-font-color');
106
+ document.body.style.removeProperty('--custom-select-option-font-weight');
107
+ document.body.style.removeProperty('--custom-select-option-background-color-focus');
108
+ document.body.style.removeProperty('--custom-select-option-font-color-focus');
109
+ document.body.style.removeProperty('--custom-select-option-font-weight-focus');
110
+ document.body.style.removeProperty('--custom-select-option-border-left-focus');
111
+ document.body.style.removeProperty('--custom-select-option-border-radius-focus');
112
+ }
113
+ }
114
+
115
+ }
@@ -0,0 +1,31 @@
1
+ * {
2
+ font-family: "mulish" !important;
3
+ }
4
+ .neutral-snackbar-card{
5
+ max-height: 58px;
6
+ max-width: 400px;
7
+ border-radius: 8px;
8
+ background: #444;
9
+ box-shadow: 0px 2px 15px 2px #E3E6EC99;
10
+ padding: 10px 16px 10px 16px;
11
+ color: #fff !important;
12
+ }
13
+ .neutral-image{
14
+ height: 14.67px;
15
+ }
16
+ .neutral-toaster-label{
17
+ font-size: 14px;
18
+ font-weight: 700;
19
+ color: #fff;
20
+ }
21
+ .neutral-toaster-msg{
22
+ font-weight: 400;
23
+ font-size: 12px;
24
+ color: #fff;
25
+ line-height: 0px;
26
+ }
27
+ .cross{
28
+ width: 9.86px;
29
+ height: 9.86px;
30
+ cursor: pointer;
31
+ }
@@ -0,0 +1,21 @@
1
+ <div [ngClass]="neutralObj.toasterCSS">
2
+ <div class="d-flex justify-content-between">
3
+ <div class="d-flex gap-3">
4
+ <span>
5
+ <img
6
+ [src]="neutralObj.imageURL"
7
+ alt=""
8
+ class="mt-1"
9
+ [ngClass]="neutralObj.imageCSS"
10
+ />
11
+ </span>
12
+ <span class="mb-2">
13
+ <p class="mb-2" [ngClass]="neutralObj.labelCSS">{{neutralObj.labelText}}</p>
14
+ <p class="m-0" [ngClass]="neutralObj.messageCSS">{{neutralObj.messageText}}</p>
15
+ </span>
16
+ </div>
17
+ <div >
18
+ <img class="cross" [ngClass]="neutralObj.closeIconCSS" [src]="neutralObj.closeIconImageURL" alt="">
19
+ </div>
20
+ </div>
21
+ </div>
@@ -0,0 +1,19 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { Component, input } from '@angular/core';
3
+ import { MasterControlService } from '../master-control.service';
4
+
5
+ @Component({
6
+ selector: 'lib-neutral-snackbar',
7
+ standalone: true,
8
+ imports: [CommonModule],
9
+ templateUrl: './neutral-snackbar.component.html',
10
+ styleUrl: './neutral-snackbar.component.css'
11
+ })
12
+ export class NeutralSnackbarComponent {
13
+ field : any = input.required<any>();
14
+ neutralObj:any;
15
+
16
+ constructor(public masterService : MasterControlService) {
17
+ this.neutralObj = this.masterService.snackbars.find((item: any) => item.type === 'Neutral');
18
+ }
19
+ }
@@ -0,0 +1,78 @@
1
+ .other-benefit-card {
2
+ min-height: 142px;
3
+ border: 1px solid #dadada;
4
+ padding: 20px 16px 20px 16px;
5
+ position: relative;
6
+ border-color: var(--other-benefit-border-color, #dadada) !important;
7
+ border-width: var(--other-benefit-border-width, 1px) !important;
8
+ background: var(--other-benefit-bg-color, #fff) !important;
9
+ border-radius: var(--other-benefit-color-border-radius, 12px) !important;
10
+ }
11
+ .top-benefit-card {
12
+ border-radius: 25px;
13
+ background: #fff;
14
+ border: 1px solid #ececec;
15
+ height: 26px;
16
+ width: 114px;
17
+ padding: 0px 6px 5px 12px;
18
+ font-size: 12px;
19
+ font-weight: 400;
20
+ color: #444444;
21
+ letter-spacing: 0%;
22
+ position: absolute;
23
+ transform: translate(-6em, -2.7em);
24
+ }
25
+ .top-box {
26
+ position: absolute;
27
+ text-align: center;
28
+ }
29
+ .sub-benefit-card {
30
+ /* border-right: 1px solid #dddddd; */
31
+ min-height: 110px;
32
+ min-width: 194px;
33
+ padding: 12px;
34
+ }
35
+ .sub-benefit-card:not(:last-child) {
36
+ border-right: 1px solid #dddddd;
37
+ }
38
+ ::ng-deep .premium {
39
+ font-size: 12px;
40
+ background: #ffffff;
41
+ color: #696969;
42
+ }
43
+ ::ng-deep .tax-benefit-txt {
44
+ font-size: 12px;
45
+ font-weight: 400;
46
+ line-height: 16px;
47
+ color: #696969;
48
+ letter-spacing: 0px;
49
+ }
50
+ .header-txt {
51
+ font-size: 14px;
52
+ font-weight: 700;
53
+ color: #444;
54
+ line-height: 18px;
55
+ letter-spacing: 0px;
56
+ }
57
+ ::ng-deep .annuity-rate-txt {
58
+ font-size: 12px !important;
59
+ font-weight: 700 !important;
60
+ line-height: 16px !important;
61
+ color: #696969 !important;
62
+ letter-spacing: 0px !important;
63
+ }
64
+ ::ng-deep .normal-txt {
65
+ font-size: 12px !important;
66
+ font-weight: 400 !important;
67
+ line-height: 16px !important;
68
+ letter-spacing: 0px !important;
69
+ }
70
+ ::ng-deep .db-txt{
71
+ font-size: 12px !important;
72
+ letter-spacing: 0px !important;
73
+ line-height: 16px !important;
74
+ color: #696969 !important;
75
+ }
76
+ ::ng-deep .bold-txt{
77
+ font-weight: 700 !important;
78
+ }
@@ -0,0 +1,21 @@
1
+ <div class="other-benefit-card d-flex gap-2"
2
+ [ngStyle]="{
3
+ '--other-benefit-color-border-color': field()?.controlStyle?.borderColor ,
4
+ '--other-benefit-color-border-width': field()?.controlStyle?.borderWidth ,
5
+ '--other-benefit-color-border-radius': field()?.controlStyle?.borderRadius ,
6
+ '--other-benefit-color-bg-color': field()?.controlStyle?.background
7
+ }"
8
+ >
9
+ <p class="w-100 top-box">
10
+ <span class="top-benefit-card">Other Benefit</span>
11
+ </p>
12
+ @for (data of field()?.configData.otherBenefits; track $index) {
13
+ <div class="sub-benefit-card">
14
+ <div class="d-flex gap-2">
15
+ <img [src]="data.imageUrl" alt="" />
16
+ <span class="header-txt">{{ data.headerText }}</span>
17
+ </div>
18
+ <span [innerHTML]="data.htmlInnerText"></span>
19
+ </div>
20
+ }
21
+ </div>
@@ -0,0 +1,13 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { Component, Input, input } from '@angular/core';
3
+
4
+ @Component({
5
+ selector: 'lib-other-benefits',
6
+ standalone: true,
7
+ imports: [CommonModule],
8
+ templateUrl: './other-benefits.component.html',
9
+ styleUrl: './other-benefits.component.css'
10
+ })
11
+ export class OtherBenefitsComponent {
12
+ field: any = input.required<any>();
13
+ }
@@ -0,0 +1,171 @@
1
+ .field-lable{
2
+ font-size: 10px !important;
3
+ font-weight: 700 !important;
4
+ color: #444 !important;
5
+ margin-bottom: 0px !important;
6
+ }
7
+ .mobile-field .mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{
8
+ transform: var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(calc(1 * (61.625px + var(--mat-mdc-form-field-label-offset-x, 0px))))) !important;
9
+ }
10
+
11
+ .prefix_alternate_mobile {
12
+ font-size: 12px;
13
+ font-weight: 400;
14
+ color: #8F8F8F;
15
+ padding: 10px 6px 10px 0px;
16
+ border-right: 1px solid #dddddd;
17
+ height: 20px;
18
+ width: auto;
19
+ display: flex;
20
+ justify-content: center;
21
+ align-items: center;
22
+ position: relative;
23
+ cursor: pointer;
24
+ transform: translate(-6px, 0px);
25
+ }
26
+
27
+ .countryCode {
28
+ gap: 4px;
29
+ }
30
+
31
+ .get-otp{
32
+ padding: 4px 8px 6px 12px;
33
+ background: #ffbb00;
34
+ color: #444;
35
+ font-weight: 600;
36
+ font-size: 12px;
37
+ border-radius: 24px;
38
+ height: 24px;
39
+ width: 71px;
40
+ display: inline-flex;
41
+ }
42
+ * {
43
+ font-family: "mulish" !important;
44
+ }
45
+
46
+ .verity-otp{
47
+ border-radius: 24px;
48
+ border: 1px solid #444;
49
+ background: #fff;
50
+ padding: 13px 8px 8px 8px;
51
+ width: 58px;
52
+ height: 28px;
53
+ font-size: 12px;
54
+ letter-spacing: 0;
55
+ font-weight: 700;
56
+ color: #444;
57
+ }
58
+
59
+ .success-text{
60
+ font-weight: 500;
61
+ color: #169F7D;
62
+ }
63
+
64
+ .error-message{
65
+ color: red;
66
+ }
67
+
68
+ /* focus css for mat-form-field */
69
+ ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
70
+ .mat-mdc-notch-piece {
71
+ border-color: var(--custom-border-color-focus, #ffbb00) !important;
72
+ border-width: var(--custom-border-width-focus, 1.5px) !important;
73
+ }
74
+
75
+ ::ng-deep .mat-mdc-form-field {
76
+ background-color: var(--custom-bg-color, #ffffff) !important;
77
+ border-radius: var(--custom-border-radius , 7px) !important;
78
+ }
79
+
80
+ /* hover css for mat-form-field */
81
+
82
+ ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
83
+ .mdc-text-field--focused
84
+ ):hover
85
+ .mdc-notched-outline
86
+ .mdc-notched-outline__leading {
87
+ border-color: var(--custom-border-color-hover, #ffbb00) !important;
88
+ border-width: var(--custom-border-width-hover, 1.5px) !important;
89
+ }
90
+
91
+ ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
92
+ .mdc-text-field--focused
93
+ ):hover
94
+ .mdc-notched-outline
95
+ .mdc-notched-outline__notch {
96
+ border-color: var(--custom-border-color-hover, #ffbb00) !important;
97
+ border-width: var(--custom-border-width-hover, 1.5px) !important;
98
+ }
99
+
100
+ ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
101
+ .mdc-text-field--focused
102
+ ):hover
103
+ .mdc-notched-outline
104
+ .mdc-notched-outline__trailing {
105
+ border-color: var(--custom-border-color-hover, #ffbb00) !important;
106
+ border-width: var(--custom-border-width-hover, 1.5px) !important;
107
+ }
108
+
109
+ /* regular css for mat-form-field */
110
+ ::ng-deep .mdc-text-field--outlined .mat-mdc-notch-piece {
111
+ border-color: var(--custom-border-color, #dddddd) !important;
112
+ border-width: var(--custom-border-width, 1.5px) !important;
113
+ }
114
+
115
+ /* field css for mat-form-input-field */
116
+ ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled)
117
+ .mdc-text-field__input {
118
+ caret-color: var(--custom-caret-color, #ffbb00) !important;
119
+ /* font-size: var(--custom-font-size, 16px) !important; */
120
+ font-size: 12px !important;
121
+ font-weight: var(--custom-font-weight, 400) !important;
122
+ font-family: var(--custom-font-family, 'Mulish') !important;
123
+ color: var(--custom-font-color, #444444) !important;
124
+ }
125
+ /* Error state for mat-form-field */
126
+ ::ng-deep .mat-form-field-invalid
127
+ .mdc-text-field--outlined .mat-mdc-notch-piece {
128
+ border-color: var(--custom-border-color-error, red) !important;
129
+ border-width: var(--custom-border-width-error, 1.5px) !important;
130
+ }
131
+
132
+ ::ng-deep .mat-mdc-form-field.mat-form-field-disabled{
133
+ background: var(--custom-bg-color-disabled, #ECECEC) !important;
134
+ }
135
+ ::ng-deep .mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {
136
+ color : var(--custom-font-color-disabled, #999999) !important;
137
+ }
138
+ ::ng-deep .mdc-label {
139
+ color: var(--custom-font-color, #444) !important;
140
+ font-size: var(--custom-font-size, 16px) !important;
141
+ font-weight: var(--custom-font-weight, 400) !important;
142
+ font-family: var(--custom-font-family, 'Mulish') !important;
143
+ }
144
+ ::placeholder {
145
+ color: #8f8f8f !important;
146
+ font-size: 12px !important;
147
+ }
148
+ ::ng-deep .mat-mdc-form-field-hint-wrapper{
149
+ padding: 0px !important;
150
+ }
151
+ ::ng-deep .mat-mdc-form-field-error-wrapper{
152
+ padding: 0px !important;
153
+ }
154
+ ::ng-deep .mat-mdc-form-field-error{
155
+ color: #EE0000 !important;
156
+ font-size: 12px;
157
+ font-weight: 500;
158
+ font-family: "Mulish" !important;
159
+ letter-spacing: 0;
160
+ }
161
+ ::ng-deep .mdc-text-field--outlined {
162
+ --mdc-outlined-text-field-container-shape: var(--custom-border-radius , 7px) !important;
163
+ }
164
+ ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {
165
+ border-color: var(--custom-border-color-error, red) !important;
166
+ border-width: var(--custom-border-width-error, 1.5px) !important;
167
+ }
168
+
169
+ ::ng-deep .mat-mdc-form-field-subscript-wrapper {
170
+ display: none !important;
171
+ }
@@ -0,0 +1,101 @@
1
+ <label class="field-lable" *ngIf="field() && field()?.isVisible && field().isShowLabel"
2
+ >{{ field()?.label
3
+ }}<span style="color: red" *ngIf="field() && field()?.validators?.isRequired"
4
+ >*</span
5
+ ></label
6
+ >
7
+ <mat-form-field
8
+ class="w-100 mobile-field"
9
+ appearance="outline"
10
+ [ngStyle]="{
11
+ '--custom-border-color': field()?.controlStyle?.borderColor ,
12
+ '--custom-border-width': field()?.controlStyle?.borderWidth ,
13
+ '--custom-border-radius': field()?.controlStyle?.borderRadius ,
14
+ '--custom-bg-color': field()?.controlStyle?.background ,
15
+ '--custom-border-color-focus': field()?.controlStyle?.focusBorderColor ,
16
+ '--custom-border-width-focus': field()?.controlStyle?.focusBorderWidth ,
17
+ '--custom-bg-color-focus': field()?.controlStyle?.focusBackground ,
18
+ '--custom-border-color-hover': field()?.controlStyle?.hoverBorderColor ,
19
+ '--custom-border-width-hover': field()?.controlStyle?.hoverBorderWidth ,
20
+ '--custom-border-color-error': field()?.controlStyle?.errorBorderColor ,
21
+ '--custom-border-width-error': field()?.controlStyle?.errorBorderWidth ,
22
+ '--custom-font-size': field()?.controlStyle?.fontSize ,
23
+ '--custom-font-weight': field()?.controlStyle?.fontWeight ,
24
+ '--custom-font-family': field()?.controlStyle?.fontFamily ,
25
+ '--custom-font-color': field()?.controlStyle?.color ,
26
+ '--custom-caret-color': field()?.controlStyle?.caretColor ,
27
+ '--custom-font-color-disabled' : field()?.controlStyle?.disableColor ,
28
+ '--custom-bg-color-disabled' : field()?.controlStyle?.disableBackground ,
29
+ }"
30
+ >
31
+ <div matTextPrefix class="prefix_alternate_mobile primary">
32
+ <div class="d-flex countryCode">
33
+ <span class="country_code_input"> {{ CountryCode }} </span>
34
+ <span
35
+ ><img src="https://cdn.godigit.com/retail-life/down-arrow.svg" alt=""
36
+ /></span>
37
+ </div>
38
+ </div>
39
+ @if(reactiveFormControlobject()) {
40
+ <input
41
+ matInput
42
+ autocomplete="none"
43
+ [type]="field()?.controlType"
44
+ [name]="field()?.fieldName"
45
+ [id]="field()?.fieldName"
46
+ autocomplete="none"
47
+ [placeholder]="field()?.placeHolder"
48
+ [maxLength]="field()?.validators?.maxLength"
49
+ [minLength]="field()?.validators?.minLength"
50
+ [disabled]="field()?.isDisable"
51
+ [required]="field()?.validators?.isRequired"
52
+ [pattern]="field()?.validators?.pattern"
53
+ (input)="onInputChange($event)"
54
+ (blur)="onInputBlur()"
55
+ [value]="inputValue"
56
+ [formControl]="reactiveFormControlobject()"
57
+ />
58
+ }@else {
59
+ <input
60
+ matInput
61
+ autocomplete="none"
62
+ [type]="field()?.controlType"
63
+ [name]="field()?.fieldName"
64
+ [id]="field()?.fieldName"
65
+ autocomplete="none"
66
+ [placeholder]="field()?.placeHolder"
67
+ [maxLength]="field()?.validators?.maxLength"
68
+ [minLength]="field()?.validators?.minLength"
69
+ [disabled]="field()?.isDisable"
70
+ [required]="field()?.validators?.isRequired"
71
+ [pattern]="field()?.validators?.pattern"
72
+ (input)="onInputChange($event)"
73
+ (blur)="onInputBlur()"
74
+ [value]="inputValue"
75
+ />
76
+ }
77
+
78
+ <div matSuffix class="get-otp mx-2">
79
+ <span class="mt-2">Get OTP</span>
80
+ </div>
81
+ <div matSuffix class="verity-otp mx-2" *ngIf="false">
82
+ <span class="mx-1">Verify</span>
83
+ </div>
84
+ <span matSuffix class="mx-3" *ngIf="false">
85
+ <img src="https://cdn.godigit.com/retail-life/check-circle-ou.svg" alt="" />
86
+ </span>
87
+ <mat-error *ngIf="false">
88
+ {{ field()?.validators?.requiredMessage }}
89
+ </mat-error>
90
+ </mat-form-field>
91
+ <span class="success-text" *ngIf="false">Phone Number Verified</span>
92
+ <span class="success-text">
93
+ <img src="https://cdn.godigit.com/retail-life/otp-circle-oui.svg" alt="" />
94
+ OTP Sent
95
+ </span>
96
+ <div class="error-message" *ngIf="false">
97
+ {{ field()?.validators?.requiredMessage }}.
98
+ </div>
99
+ <div class="error-message" *ngIf="false">
100
+ {{ field()?.validators?.patternMessage }}.
101
+ </div>