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,16 +0,0 @@
1
- .additional-button{
2
- background: none !important;
3
- border: none !important;
4
- }
5
- .additional-button-text{
6
- font-size: 12px;
7
- font-weight: 700;
8
- }
9
- .additional-button-img{
10
- height: 12px;
11
- width: 12px;
12
- margin-bottom: 2px;
13
- }
14
- * {
15
- font-family: "mulish" !important;
16
- }
@@ -1,20 +0,0 @@
1
- <Button class="additional-button" *ngIf="field() && field()?.isVisible" [ngStyle]="
2
- {
3
- '--button-border': field()?.controlStyle?.borderWidth ,
4
- '--button-width': field()?.controlStyle?.width ,
5
- '--button-font-size': field()?.controlStyle?.fontSize ,
6
- '--button-font-weight': field()?.controlStyle?.fontWeight ,
7
- '--button-background': field()?.controlStyle?.background ,
8
- '--button-border-radius': field()?.controlStyle?.borderRadius ,
9
- '--button-text-color': field()?.controlStyle?.color ,
10
- }">
11
- <span class="additional-button-text">
12
- <img
13
- class="additional-button-img"
14
- src="https://cdn.godigit.com/retail-life/add.svg"
15
- />
16
- <span
17
- ><u>{{ field()?.label }}</u></span
18
- >
19
- </span>
20
- </Button>
@@ -1,13 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component, input } from '@angular/core';
3
-
4
- @Component({
5
- selector: 'lib-addition-button',
6
- standalone: true,
7
- imports: [CommonModule],
8
- templateUrl: './addition-button.component.html',
9
- styleUrl: './addition-button.component.css'
10
- })
11
- export class AdditionButtonComponent {
12
- field: any = input.required<any>();
13
- }
@@ -1,126 +0,0 @@
1
- .field-lable{
2
- font-size: 12px !important;
3
- font-weight: 700 !important;
4
- color: #444 !important;
5
- margin-bottom: 0px;
6
- }
7
- .right-date-text{
8
- padding: 4px 8px 4px 8px;
9
- border-radius: 4px;
10
- font-weight: 600;
11
- font-size: 12px;
12
- color: #444;
13
- background: #f5f5f5;
14
- margin-right: 7px;
15
- }
16
- .error-message{
17
- color: red;
18
- }
19
-
20
- /* focus css for mat-form-field */
21
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
22
- .mat-mdc-notch-piece {
23
- border-color: var(--custom-border-color-focus, #ffbb00) !important;
24
- border-width: var(--custom-border-width-focus, 1.5px) !important;
25
- }
26
-
27
- ::ng-deep .mat-mdc-form-field {
28
- background-color: var(--custom-bg-color, #ffffff) !important;
29
- border-radius: var(--custom-border-radius , 7px) !important;
30
- }
31
-
32
- /* hover css for mat-form-field */
33
-
34
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
35
- .mdc-text-field--focused
36
- ):hover
37
- .mdc-notched-outline
38
- .mdc-notched-outline__leading {
39
- border-color: var(--custom-border-color-hover, #ffbb00) !important;
40
- border-width: var(--custom-border-width-hover, 1.5px) !important;
41
- }
42
-
43
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
44
- .mdc-text-field--focused
45
- ):hover
46
- .mdc-notched-outline
47
- .mdc-notched-outline__notch {
48
- border-color: var(--custom-border-color-hover, #ffbb00) !important;
49
- border-width: var(--custom-border-width-hover, 1.5px) !important;
50
- }
51
-
52
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
53
- .mdc-text-field--focused
54
- ):hover
55
- .mdc-notched-outline
56
- .mdc-notched-outline__trailing {
57
- border-color: var(--custom-border-color-hover, #ffbb00) !important;
58
- border-width: var(--custom-border-width-hover, 1.5px) !important;
59
- }
60
-
61
- /* regular css for mat-form-field */
62
- ::ng-deep .mdc-text-field--outlined .mat-mdc-notch-piece {
63
- border-color: var(--custom-border-color, #dddddd) !important;
64
- border-width: var(--custom-border-width, 1.5px) !important;
65
- }
66
-
67
- /* field css for mat-form-input-field */
68
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled)
69
- .mdc-text-field__input {
70
- caret-color: var(--custom-caret-color, #ffbb00) !important;
71
- /* font-size: var(--custom-font-size, 16px) !important; */
72
- font-weight: var(--custom-font-weight, 400) !important;
73
- font-family: var(--custom-font-family, 'Mulish') !important;
74
- color: var(--custom-font-color, #444444) !important;
75
- font-size: 12px !important;
76
- }
77
- /* Error state for mat-form-field */
78
- ::ng-deep .mat-form-field-invalid
79
- .mdc-text-field--outlined .mat-mdc-notch-piece {
80
- border-color: var(--custom-border-color-error, red) !important;
81
- border-width: var(--custom-border-width-error, 1.5px) !important;
82
- }
83
-
84
- ::ng-deep .mat-mdc-form-field.mat-form-field-disabled{
85
- background: var(--custom-bg-color-disabled, #ECECEC) !important;
86
- }
87
- ::ng-deep .mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {
88
- color : var(--custom-font-color-disabled, #999999) !important;
89
- }
90
- ::ng-deep .mdc-label {
91
- color: var(--custom-font-color, #444) !important;
92
- font-size: var(--custom-font-size, 16px) !important;
93
- font-weight: var(--custom-font-weight, 400) !important;
94
- font-family: var(--custom-font-family, 'Mulish') !important;
95
- }
96
- ::placeholder {
97
- color: #8f8f8f !important;
98
- font-size: 12px !important;
99
- }
100
- ::ng-deep .mat-mdc-form-field-hint-wrapper{
101
- padding: 0px !important;
102
- }
103
- ::ng-deep .mat-mdc-form-field-error-wrapper{
104
- padding: 0px !important;
105
- }
106
- ::ng-deep .mat-mdc-form-field-error{
107
- color: #EE0000 !important;
108
- font-size: 12px;
109
- font-weight: 500;
110
- font-family: "Mulish" !important;
111
- letter-spacing: 0;
112
- }
113
- ::ng-deep .mdc-text-field--outlined {
114
- --mdc-outlined-text-field-container-shape: var(--custom-border-radius , 7px) !important;
115
- }
116
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {
117
- border-color: var(--custom-border-color-error, red) !important;
118
- border-width: var(--custom-border-width-error, 1.5px) !important;
119
- }
120
-
121
- ::ng-deep .mat-mdc-form-field-subscript-wrapper {
122
- display: none !important;
123
- }
124
- * {
125
- font-family: "mulish" !important;
126
- }
@@ -1,82 +0,0 @@
1
- <label *ngIf="field() && field()?.isVisible && field()?.isShowLabel" class="field-lable">{{field()?.label}}<span style="color: red;" *ngIf="field() && field()?.validators?.isRequired">*</span></label>
2
- <mat-form-field
3
- class="w-100"
4
- appearance="outline"
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
- @if(reactiveFormControlobject()) {
27
- <input
28
- matInput
29
- autocomplete="none"
30
- [type]="field()?.controlType"
31
- [name]="field()?.fieldName"
32
- [id]="field()?.fieldName"
33
- [placeholder]="field()?.placeHolder"
34
- [required]="field()?.validators?.isRequired"
35
- [pattern]="field()?.validators?.pattern"
36
- [matDatepicker]="picker"
37
- (keyup)="dateDivisionFormat($event)"
38
- [disabled]="field()?.isDisable"
39
- (dateChange)="onInputChange($event)"
40
- (blur)="onInputBlur($event)"
41
- [value]="inputValue"
42
- [formControl]="reactiveFormControlobject()"
43
- />
44
- }@else{
45
- <input
46
- matInput
47
- autocomplete="none"
48
- [type]="field()?.controlType"
49
- [name]="field()?.fieldName"
50
- [id]="field()?.fieldName"
51
- [placeholder]="field()?.placeHolder"
52
- [required]="field()?.validators?.isRequired"
53
- [pattern]="field()?.validators?.pattern"
54
- [matDatepicker]="picker"
55
- (keyup)="dateDivisionFormat($event)"
56
- [disabled]="field()?.isDisable"
57
- (dateChange)="onInputChange($event)"
58
- (blur)="onInputBlur($event)"
59
- [value]="inputValue"
60
- />
61
- }
62
- <span matSuffix class="right-date-text">
63
- 33yrs
64
- </span>
65
- <mat-datepicker-toggle matSuffix [for]="picker" *ngIf="false">
66
- <img
67
- src="https://cdn.godigit.com/digitPlusAssets/retail-life-icon/svgicon/date_picker_icon.svg"
68
- style="width: 16px"
69
- matDatepickerToggleIcon
70
- />
71
- </mat-datepicker-toggle>
72
- <mat-datepicker #picker></mat-datepicker>
73
- <mat-error *ngIf="false">
74
- {{ field()?.validators?.isRequiredMessage }}
75
- </mat-error>
76
- </mat-form-field>
77
- <div class="error-message" *ngIf="false">
78
- {{ field()?.validators?.isRequiredMessage }}.
79
- </div>
80
- <div class="error-message" *ngIf="false">
81
- {{ field()?.validators?.patternMessage }}.
82
- </div>
@@ -1,104 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component, input } from '@angular/core';
3
- import { NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';
4
- import { MomentDateModule } from '@angular/material-moment-adapter';
5
- import { MAT_DATE_FORMATS } from '@angular/material/core';
6
- import { MatDatepickerModule } from '@angular/material/datepicker';
7
- import { MatFormFieldModule } from '@angular/material/form-field';
8
- import { MatInputModule } from '@angular/material/input';
9
- import { MasterControlService } from '../master-control.service';
10
-
11
- @Component({
12
- selector: 'lib-age-date',
13
- standalone: true,
14
- imports: [
15
- MatInputModule,
16
- MatFormFieldModule,
17
- CommonModule,
18
- MatDatepickerModule,
19
- MomentDateModule,
20
- ReactiveFormsModule
21
- ],
22
- providers: [{ provide: MAT_DATE_FORMATS, useValue: {
23
- parse: {
24
- dateInput: [
25
- 'DD-MM-YYYY',
26
- 'MM/DD/YYYY',
27
- 'YYYY/MM/DD',
28
- 'DD/MM/YYYY',
29
- 'DD MMM YYYY',
30
- 'DD MMMM YYYY',
31
- 'DD-MMM-YYYY',
32
- ],
33
- },
34
- display: {
35
- dateInput: 'DD-MMM-YYYY',
36
- monthYearLabel: 'MMM YYYY',
37
- dateA11yLabel: 'DD-MMM-YYYY',
38
- monthYearA11yLabel: 'MMMM YYYY',
39
- },
40
- }
41
- },
42
- {
43
- provide: NG_VALUE_ACCESSOR,
44
- useExisting: AgeDateComponent,
45
- multi: true
46
- },
47
- ],
48
- templateUrl: './age-date.component.html',
49
- styleUrl: './age-date.component.css',
50
- })
51
- export class AgeDateComponent {
52
- field: any = input.required<any>();
53
- inputValue: any = null;
54
- reactiveFormControlobject : any = input<any>();
55
- constructor(public service : MasterControlService) {}
56
-
57
- dateDivisionFormat(event: any) {
58
- let evt = event.target;
59
- if (evt.value.length > 2 && !evt.value.substr(2, 1).includes('-')) {
60
- evt.value = [evt.value.slice(0, 2), '-', evt.value.slice(2)].join('');
61
- } else if (
62
- evt.value.length > 5 &&
63
- Number(evt.value.substr(3, 2)) &&
64
- !evt.value.substr(5, 1).includes('-')
65
- ) {
66
- evt.value = [evt.value.slice(0, 5), '-', evt.value.slice(5)].join('');
67
- } else if (
68
- evt.value.length > 6 &&
69
- !Number(evt.value.substr(3, 2)) &&
70
- !evt.value.substr(6, 1).includes('-')
71
- ) {
72
- evt.value = [evt.value.slice(0, 6), '-', evt.value.slice(6)].join('');
73
- }
74
- }
75
- _onChange: any = (inputValue:any) => {};
76
- _unTouched: any = () => {};
77
-
78
- writeValue(obj: any): void{
79
- this.inputValue=obj;
80
- };
81
- registerOnChange(fn: any): void{
82
- this._onChange = fn;
83
- };
84
- registerOnTouched(fn: any): void{
85
- this._unTouched = fn;
86
- };
87
- setDisabledState?(isDisabled: boolean): void{};
88
-
89
- onInputChange(event: any): void {
90
- this.inputValue = event.target.value;
91
- this._onChange(this.inputValue);
92
- }
93
-
94
- onInputBlur(event : any): void {
95
- if (!this.service.checkIfValueIsEmpty(event.target.value)) {
96
- if (isNaN(Date.parse(event.target.value))) {
97
- event.target.value = '';
98
- }
99
-
100
- }
101
- this._unTouched();
102
- }
103
-
104
- }
@@ -1,131 +0,0 @@
1
- .field-lable{
2
- font-size: 10px !important;
3
- font-weight: 700 !important;
4
- color: #444 !important;
5
- margin-bottom: 0px !important;
6
- }
7
- * {
8
- font-family: "mulish" !important;
9
- }
10
- .right-amount-text{
11
- font-weight: 600;
12
- font-size: 10px;
13
- color: #444;
14
- background: #f5f5f5;
15
- border-radius: 2px;
16
- padding: 5.5px 6px 4px 6px;
17
- }
18
- .error-message{
19
- color: red;
20
- }
21
-
22
- /* focus css for mat-form-field */
23
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
24
- .mat-mdc-notch-piece {
25
- border-color: var(--custom-border-color-focus, #ffbb00) !important;
26
- border-width: var(--custom-border-width-focus, 1.5px) !important;
27
- }
28
-
29
- ::ng-deep .mat-mdc-form-field {
30
- background-color: var(--custom-bg-color, #ffffff) !important;
31
- border-radius: var(--custom-border-radius , 7px) !important;
32
- }
33
-
34
- /* hover css for mat-form-field */
35
-
36
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
37
- .mdc-text-field--focused
38
- ):hover
39
- .mdc-notched-outline
40
- .mdc-notched-outline__leading {
41
- border-color: var(--custom-border-color-hover, #ffbb00) !important;
42
- border-width: var(--custom-border-width-hover, 1.5px) !important;
43
- }
44
-
45
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
46
- .mdc-text-field--focused
47
- ):hover
48
- .mdc-notched-outline
49
- .mdc-notched-outline__notch {
50
- border-color: var(--custom-border-color-hover, #ffbb00) !important;
51
- border-width: var(--custom-border-width-hover, 1.5px) !important;
52
- }
53
-
54
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(
55
- .mdc-text-field--focused
56
- ):hover
57
- .mdc-notched-outline
58
- .mdc-notched-outline__trailing {
59
- border-color: var(--custom-border-color-hover, #ffbb00) !important;
60
- border-width: var(--custom-border-width-hover, 1.5px) !important;
61
- }
62
-
63
- /* regular css for mat-form-field */
64
- ::ng-deep .mdc-text-field--outlined .mat-mdc-notch-piece {
65
- border-color: var(--custom-border-color, #dddddd) !important;
66
- border-width: var(--custom-border-width, 1.5px) !important;
67
- }
68
-
69
- /* field css for mat-form-input-field */
70
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled)
71
- .mdc-text-field__input {
72
- caret-color: var(--custom-caret-color, #ffbb00) !important;
73
- /* font-size: var(--custom-font-size, 16px) !important; */
74
- font-size: 12px !important;
75
- font-weight: var(--custom-font-weight, 400) !important;
76
- font-family: var(--custom-font-family, 'Mulish') !important;
77
- color: var(--custom-font-color, #444444) !important;
78
- }
79
- /* Error state for mat-form-field */
80
- ::ng-deep .mat-form-field-invalid
81
- .mdc-text-field--outlined .mat-mdc-notch-piece {
82
- border-color: var(--custom-border-color-error, red) !important;
83
- border-width: var(--custom-border-width-error, 1.5px) !important;
84
- }
85
-
86
- ::ng-deep .mat-mdc-form-field.mat-form-field-disabled{
87
- background: var(--custom-bg-color-disabled, #ECECEC) !important;
88
- }
89
- ::ng-deep .mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {
90
- color : var(--custom-font-color-disabled, #999999) !important;
91
- }
92
- ::ng-deep .mdc-label {
93
- color: var(--custom-font-color, #444) !important;
94
- font-size: var(--custom-font-size, 16px) !important;
95
- font-weight: var(--custom-font-weight, 400) !important;
96
- font-family: var(--custom-font-family, 'Mulish') !important;
97
- }
98
- ::placeholder {
99
- color: #8f8f8f !important;
100
- font-size: 12px !important;
101
- }
102
- ::ng-deep .mat-mdc-form-field-hint-wrapper{
103
- padding: 0px !important;
104
- }
105
- ::ng-deep .mat-mdc-form-field-error-wrapper{
106
- padding: 0px !important;
107
- }
108
- ::ng-deep .mat-mdc-form-field-error{
109
- color: #EE0000 !important;
110
- font-size: 12px;
111
- font-weight: 500;
112
- font-family: "Mulish" !important;
113
- letter-spacing: 0;
114
- }
115
- ::ng-deep .mdc-text-field--outlined {
116
- --mdc-outlined-text-field-container-shape: var(--custom-border-radius , 7px) !important;
117
- }
118
- ::ng-deep .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {
119
- border-color: var(--custom-border-color-error, red) !important;
120
- border-width: var(--custom-border-width-error, 1.5px) !important;
121
- }
122
-
123
- ::ng-deep .mat-mdc-form-field-subscript-wrapper {
124
- display: none !important;
125
- }
126
-
127
- .rupee-symbol{
128
- color: #444;
129
- font-size: 12px;
130
- font-weight: 400;
131
- }
@@ -1,69 +0,0 @@
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 class="w-100" appearance="outline" [ngStyle]="{
8
- '--custom-border-color': field()?.controlStyle?.borderColor ,
9
- '--custom-border-width': field()?.controlStyle?.borderWidth ,
10
- '--custom-border-radius': field()?.controlStyle?.borderRadius ,
11
- '--custom-bg-color': field()?.controlStyle?.background ,
12
- '--custom-border-color-focus': field()?.controlStyle?.focusBorderColor ,
13
- '--custom-border-width-focus': field()?.controlStyle?.focusBorderWidth ,
14
- '--custom-bg-color-focus': field()?.controlStyle?.focusBackground ,
15
- '--custom-border-color-hover': field()?.controlStyle?.hoverBorderColor ,
16
- '--custom-border-width-hover': field()?.controlStyle?.hoverBorderWidth ,
17
- '--custom-border-color-error': field()?.controlStyle?.errorBorderColor ,
18
- '--custom-border-width-error': field()?.controlStyle?.errorBorderWidth ,
19
- '--custom-font-size': field()?.controlStyle?.fontSize ,
20
- '--custom-font-weight': field()?.controlStyle?.fontWeight ,
21
- '--custom-font-family': field()?.controlStyle?.fontFamily ,
22
- '--custom-font-color': field()?.controlStyle?.color ,
23
- '--custom-caret-color': field()?.controlStyle?.caretColor ,
24
- '--custom-font-color-disabled' : field()?.controlStyle?.disableColor ,
25
- '--custom-bg-color-disabled' : field()?.controlStyle?.disableBackground ,
26
- }">
27
- @if(reactiveFormControlobject()) {
28
- <input
29
- matInput
30
- [type]="field()?.controlType"
31
- [name]="field()?.fieldName"
32
- [id]="field()?.fieldName"
33
- autocomplete="none"
34
- [placeholder]="field()?.placeHolder"
35
- [maxLength]="field()?.validators?.maxLength"
36
- [minLength]="field()?.validators?.minLength"
37
- [disabled]="field()?.isDisable"
38
- [required]="field()?.validators?.isRequired"
39
- [pattern]="field()?.validators?.pattern"
40
- (input)="onInputChange($event)"
41
- (blur)="onInputBlur()"
42
- [value]="inputValue"
43
- [formControl]="reactiveFormControlobject()"
44
- />
45
- }@else {
46
- <input
47
- matInput
48
- [type]="field()?.controlType"
49
- [name]="field()?.fieldName"
50
- [id]="field()?.fieldName"
51
- autocomplete="none"
52
- [placeholder]="field()?.placeHolder"
53
- [maxLength]="field()?.validators?.maxLength"
54
- [minLength]="field()?.validators?.minLength"
55
- [disabled]="field()?.isDisable"
56
- [required]="field()?.validators?.isRequired"
57
- [pattern]="field()?.validators?.pattern"
58
- (input)="onInputChange($event)"
59
- (blur)="onInputBlur()"
60
- [value]="inputValue"
61
- />
62
- }
63
-
64
- <mat-error *ngIf="false">
65
- {{ field()?.validators?.requiredMessage }}
66
- </mat-error>
67
- <span matPrefix class="rupee-symbol px-2">₹</span>
68
- <span matSuffix class="me-2 right-amount-text"> ₹ 3.50 L </span>
69
- </mat-form-field>
@@ -1,53 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component, input } from '@angular/core';
3
- import { MatFormFieldModule } from '@angular/material/form-field';
4
- import { MatInputModule } from '@angular/material/input';
5
- import { NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';
6
-
7
- @Component({
8
- selector: 'lib-amount-textbox',
9
- standalone: true,
10
- imports: [
11
- MatFormFieldModule,
12
- CommonModule,
13
- MatInputModule,
14
- ReactiveFormsModule
15
- ],
16
- templateUrl: './amount-textbox.component.html',
17
- styleUrl: './amount-textbox.component.css',
18
- providers: [
19
- {
20
- provide: NG_VALUE_ACCESSOR,
21
- useExisting: AmountTextboxComponent,
22
- multi: true
23
- }
24
- ]
25
- })
26
- export class AmountTextboxComponent {
27
- constructor(){}
28
- field : any = input.required<any>();
29
- inputValue: any = null;
30
- reactiveFormControlobject : any = input<any>();
31
- _onChange: any = (inputValue:any) => {};
32
- _unTouched: any = () => {};
33
-
34
- writeValue(obj: any): void{
35
- this.inputValue=obj;
36
- };
37
- registerOnChange(fn: any): void{
38
- this._onChange = fn;
39
- };
40
- registerOnTouched(fn: any): void{
41
- this._unTouched = fn;
42
- };
43
- setDisabledState?(isDisabled: boolean): void{};
44
-
45
- onInputChange(event: any): void {
46
- this.inputValue = event.target.value;
47
- this._onChange(this.inputValue);
48
- }
49
-
50
- onInputBlur(): void {
51
- this._unTouched();
52
- }
53
- }
@@ -1,9 +0,0 @@
1
- .annuity-percent {
2
- position: absolute;
3
- font-weight: 900;
4
- font-size: 12px;
5
- transform: translate(31px, 17px);
6
- }
7
- .annuity-box {
8
- position: relative;
9
- }
@@ -1,6 +0,0 @@
1
- <div>
2
- <span class="annuity-box">
3
- <span class="annuity-percent">{{ ratePercent }}</span>
4
- <img src="https://cdn.godigit.com/retail-life/annuity-rate.svg" alt="" />
5
- </span>
6
- </div>
@@ -1,13 +0,0 @@
1
- import { Component, input, Input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'lib-annuity-rate-logo',
5
- standalone: true,
6
- imports: [],
7
- templateUrl: './annuity-rate-logo.component.html',
8
- styleUrl: './annuity-rate-logo.component.css'
9
- })
10
- export class AnnuityRateLogoComponent {
11
- field: any = input.required<any>();
12
- @Input() ratePercent: any = '7%';
13
- }