master-control 0.2.5 → 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.
- package/ng-package.json +7 -0
- package/package.json +12 -25
- package/src/lib/add-document/add-document.component.css +50 -0
- package/src/lib/add-document/add-document.component.html +31 -0
- package/src/lib/add-document/add-document.component.ts +17 -0
- package/src/lib/addition-button/addition-button.component.css +16 -0
- package/src/lib/addition-button/addition-button.component.html +20 -0
- package/src/lib/addition-button/addition-button.component.ts +13 -0
- package/src/lib/age-date/age-date.component.css +126 -0
- package/src/lib/age-date/age-date.component.html +82 -0
- package/src/lib/age-date/age-date.component.ts +104 -0
- package/src/lib/amount-textbox/amount-textbox.component.css +131 -0
- package/src/lib/amount-textbox/amount-textbox.component.html +69 -0
- package/src/lib/amount-textbox/amount-textbox.component.ts +53 -0
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.css +9 -0
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.html +6 -0
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.ts +13 -0
- package/src/lib/autocomplete/autocomplete.component.css +240 -0
- package/src/lib/autocomplete/autocomplete.component.html +61 -0
- package/src/lib/autocomplete/autocomplete.component.ts +85 -0
- package/src/lib/benefit-card/benefit-card.component.css +46 -0
- package/src/lib/benefit-card/benefit-card.component.html +25 -0
- package/src/lib/benefit-card/benefit-card.component.ts +13 -0
- package/src/lib/button/button.component.css +24 -0
- package/src/lib/button/button.component.html +22 -0
- package/src/lib/button/button.component.ts +16 -0
- package/src/lib/card/card.component.css +37 -0
- package/src/lib/card/card.component.html +24 -0
- package/src/lib/card/card.component.ts +13 -0
- package/src/lib/checkbox/checkbox.component.css +65 -0
- package/src/lib/checkbox/checkbox.component.html +23 -0
- package/src/lib/checkbox/checkbox.component.ts +70 -0
- package/src/lib/discount/discount.component.css +45 -0
- package/src/lib/discount/discount.component.html +51 -0
- package/src/lib/discount/discount.component.ts +14 -0
- package/src/lib/discount-v2/discount-v2.component.css +34 -0
- package/src/lib/discount-v2/discount-v2.component.html +20 -0
- package/src/lib/discount-v2/discount-v2.component.ts +14 -0
- package/src/lib/dob/dob.component.css +117 -0
- package/src/lib/dob/dob.component.html +88 -0
- package/src/lib/dob/dob.component.ts +107 -0
- package/src/lib/download-document/download-document.component.css +53 -0
- package/src/lib/download-document/download-document.component.html +38 -0
- package/src/lib/download-document/download-document.component.ts +17 -0
- package/src/lib/email-with-domain/email-with-domain.component.css +130 -0
- package/src/lib/email-with-domain/email-with-domain.component.html +73 -0
- package/src/lib/email-with-domain/email-with-domain.component.ts +51 -0
- package/src/lib/error-snackbar/error-snackbar.component.css +36 -0
- package/src/lib/error-snackbar/error-snackbar.component.html +21 -0
- package/src/lib/error-snackbar/error-snackbar.component.ts +19 -0
- package/src/lib/grey-label/grey-label.component.css +13 -0
- package/src/lib/grey-label/grey-label.component.html +7 -0
- package/src/lib/grey-label/grey-label.component.ts +13 -0
- package/src/lib/header/header.component.css +13 -0
- package/src/lib/header/header.component.html +9 -0
- package/src/lib/header/header.component.ts +14 -0
- package/src/lib/hr-line/hr-line.component.css +13 -0
- package/src/lib/hr-line/hr-line.component.html +7 -0
- package/src/lib/hr-line/hr-line.component.ts +13 -0
- package/src/lib/hyperlink/hyperlink.component.css +18 -0
- package/src/lib/hyperlink/hyperlink.component.html +8 -0
- package/src/lib/hyperlink/hyperlink.component.ts +13 -0
- package/src/lib/icon-button/icon-button.component.css +20 -0
- package/src/lib/icon-button/icon-button.component.html +17 -0
- package/src/lib/icon-button/icon-button.component.ts +13 -0
- package/src/lib/iframe/iframe.component.css +0 -0
- package/src/lib/iframe/iframe.component.html +7 -0
- package/src/lib/iframe/iframe.component.ts +32 -0
- package/src/lib/image/image.component.css +7 -0
- package/src/lib/image/image.component.html +3 -0
- package/src/lib/image/image.component.ts +13 -0
- package/src/lib/image-upload/image-upload.component.css +67 -0
- package/src/lib/image-upload/image-upload.component.html +61 -0
- package/src/lib/image-upload/image-upload.component.ts +17 -0
- package/src/lib/in-built-benefit/in-built-benefit.component.css +58 -0
- package/src/lib/in-built-benefit/in-built-benefit.component.html +30 -0
- package/src/lib/in-built-benefit/in-built-benefit.component.ts +16 -0
- package/src/lib/info/info.component.css +25 -0
- package/src/lib/info/info.component.html +21 -0
- package/src/lib/info/info.component.ts +15 -0
- package/src/lib/info-textbox/info-textbox.component.css +121 -0
- package/src/lib/info-textbox/info-textbox.component.html +83 -0
- package/src/lib/info-textbox/info-textbox.component.ts +52 -0
- package/src/lib/label/label.component.css +13 -0
- package/src/lib/label/label.component.html +7 -0
- package/src/lib/label/label.component.ts +14 -0
- package/src/lib/label-value-card/label-value-card.component.css +34 -0
- package/src/lib/label-value-card/label-value-card.component.html +12 -0
- package/src/lib/label-value-card/label-value-card.component.ts +15 -0
- package/src/lib/loader/loader.component.css +127 -0
- package/src/lib/loader/loader.component.html +37 -0
- package/src/lib/loader/loader.component.spec.ts +23 -0
- package/src/lib/loader/loader.component.ts +13 -0
- package/src/lib/master-control.component.css +0 -0
- package/src/lib/master-control.component.html +216 -0
- package/src/lib/master-control.component.spec.ts +23 -0
- package/src/lib/master-control.component.ts +143 -0
- package/src/lib/master-control.service.spec.ts +16 -0
- package/src/lib/master-control.service.ts +214 -0
- package/src/lib/medial-questions/medial-questions.component.css +52 -0
- package/src/lib/medial-questions/medial-questions.component.html +250 -0
- package/src/lib/medial-questions/medial-questions.component.ts +689 -0
- package/src/lib/medial-questions/questions.json +39682 -0
- package/src/lib/mob-number/mob-number.component.css +141 -0
- package/src/lib/mob-number/mob-number.component.html +82 -0
- package/src/lib/mob-number/mob-number.component.ts +53 -0
- package/src/lib/multiple-select/multiple-select.component.css +331 -0
- package/src/lib/multiple-select/multiple-select.component.html +100 -0
- package/src/lib/multiple-select/multiple-select.component.ts +115 -0
- package/src/lib/neutral-snackbar/neutral-snackbar.component.css +31 -0
- package/src/lib/neutral-snackbar/neutral-snackbar.component.html +21 -0
- package/src/lib/neutral-snackbar/neutral-snackbar.component.ts +19 -0
- package/src/lib/other-benefits/other-benefits.component.css +78 -0
- package/src/lib/other-benefits/other-benefits.component.html +21 -0
- package/src/lib/other-benefits/other-benefits.component.ts +13 -0
- package/src/lib/otp-mob-number/otp-mob-number.component.css +171 -0
- package/src/lib/otp-mob-number/otp-mob-number.component.html +101 -0
- package/src/lib/otp-mob-number/otp-mob-number.component.ts +54 -0
- package/src/lib/otp-textbox/otp-textbox.component.css +168 -0
- package/src/lib/otp-textbox/otp-textbox.component.html +84 -0
- package/src/lib/otp-textbox/otp-textbox.component.ts +57 -0
- package/src/lib/page-nudge/page-nudge.component.css +35 -0
- package/src/lib/page-nudge/page-nudge.component.html +13 -0
- package/src/lib/page-nudge/page-nudge.component.ts +13 -0
- package/src/lib/pay-get-card/pay-get-card.component.css +36 -0
- package/src/lib/pay-get-card/pay-get-card.component.html +20 -0
- package/src/lib/pay-get-card/pay-get-card.component.ts +18 -0
- package/src/lib/radio/radio.component.css +57 -0
- package/src/lib/radio/radio.component.html +37 -0
- package/src/lib/radio/radio.component.ts +55 -0
- package/src/lib/search-multi-select/search-multi-select.component.css +325 -0
- package/src/lib/search-multi-select/search-multi-select.component.html +125 -0
- package/src/lib/search-multi-select/search-multi-select.component.ts +164 -0
- package/src/lib/select/select.component.css +246 -0
- package/src/lib/select/select.component.html +72 -0
- package/src/lib/select/select.component.ts +95 -0
- package/src/lib/select-textbox/select-textbox.component.css +262 -0
- package/src/lib/select-textbox/select-textbox.component.html +77 -0
- package/src/lib/select-textbox/select-textbox.component.ts +72 -0
- package/src/lib/stepper/stepper.component.css +25 -0
- package/src/lib/stepper/stepper.component.html +16 -0
- package/src/lib/stepper/stepper.component.ts +20 -0
- package/src/lib/sub-header/sub-header.component.css +13 -0
- package/src/lib/sub-header/sub-header.component.html +9 -0
- package/src/lib/sub-header/sub-header.component.ts +13 -0
- package/src/lib/subscript-textbox/subscript-textbox.component.css +139 -0
- package/src/lib/subscript-textbox/subscript-textbox.component.html +85 -0
- package/src/lib/subscript-textbox/subscript-textbox.component.ts +53 -0
- package/src/lib/success-snackbar/success-snackbar.component.css +32 -0
- package/src/lib/success-snackbar/success-snackbar.component.html +21 -0
- package/src/lib/success-snackbar/success-snackbar.component.ts +19 -0
- package/src/lib/suffix-textbox/suffix-textbox.component.css +157 -0
- package/src/lib/suffix-textbox/suffix-textbox.component.html +84 -0
- package/src/lib/suffix-textbox/suffix-textbox.component.ts +54 -0
- package/src/lib/tab/tab.component.css +19 -0
- package/src/lib/tab/tab.component.html +17 -0
- package/src/lib/tab/tab.component.ts +27 -0
- package/src/lib/table/table.component.css +121 -0
- package/src/lib/table/table.component.html +41 -0
- package/src/lib/table/table.component.spec.ts +23 -0
- package/src/lib/table/table.component.ts +84 -0
- package/src/lib/tag-mob-number/tag-mob-number.component.css +167 -0
- package/src/lib/tag-mob-number/tag-mob-number.component.html +95 -0
- package/src/lib/tag-mob-number/tag-mob-number.component.ts +55 -0
- package/src/lib/textarea/textarea.component.css +34 -0
- package/src/lib/textarea/textarea.component.html +23 -0
- package/src/lib/textarea/textarea.component.ts +16 -0
- package/src/lib/textbox/textbox.component.css +118 -0
- package/src/lib/textbox/textbox.component.html +80 -0
- package/src/lib/textbox/textbox.component.ts +55 -0
- package/src/lib/textbox-with-image/textbox-with-image.component.css +118 -0
- package/src/lib/textbox-with-image/textbox-with-image.component.html +82 -0
- package/src/lib/textbox-with-image/textbox-with-image.component.ts +47 -0
- package/src/lib/textbox-with-text/textbox-with-text.component.css +124 -0
- package/src/lib/textbox-with-text/textbox-with-text.component.html +84 -0
- package/src/lib/textbox-with-text/textbox-with-text.component.ts +53 -0
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.css +121 -0
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.html +79 -0
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.ts +62 -0
- package/src/lib/toggle/toggle.component.css +101 -0
- package/src/lib/toggle/toggle.component.html +39 -0
- package/src/lib/toggle/toggle.component.ts +16 -0
- package/src/lib/toggle-button/toggle-button.component.css +87 -0
- package/src/lib/toggle-button/toggle-button.component.html +34 -0
- package/src/lib/toggle-button/toggle-button.component.ts +14 -0
- package/src/lib/underscore-mob-number/underscore-mob-number.component.css +147 -0
- package/src/lib/underscore-mob-number/underscore-mob-number.component.html +87 -0
- package/src/lib/underscore-mob-number/underscore-mob-number.component.ts +65 -0
- package/src/lib/upload/upload.component.css +81 -0
- package/src/lib/upload/upload.component.html +62 -0
- package/src/lib/upload/upload.component.ts +20 -0
- package/src/lib/warning-snackbar/warning-snackbar.component.css +29 -0
- package/src/lib/warning-snackbar/warning-snackbar.component.html +21 -0
- package/src/lib/warning-snackbar/warning-snackbar.component.ts +19 -0
- package/{public-api.d.ts → src/public-api.ts} +60 -55
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +11 -0
- package/tsconfig.spec.json +15 -0
- package/esm2022/lib/add-document/add-document.component.mjs +0 -18
- package/esm2022/lib/addition-button/addition-button.component.mjs +0 -14
- package/esm2022/lib/age-date/age-date.component.mjs +0 -132
- package/esm2022/lib/amount-textbox/amount-textbox.component.mjs +0 -63
- package/esm2022/lib/annuity-rate-logo/annuity-rate-logo.component.mjs +0 -15
- package/esm2022/lib/autocomplete/autocomplete.component.mjs +0 -90
- package/esm2022/lib/benefit-card/benefit-card.component.mjs +0 -14
- package/esm2022/lib/button/button.component.mjs +0 -19
- package/esm2022/lib/card/card.component.mjs +0 -14
- package/esm2022/lib/checkbox/checkbox.component.mjs +0 -79
- package/esm2022/lib/discount/discount.component.mjs +0 -14
- package/esm2022/lib/discount-v2/discount-v2.component.mjs +0 -16
- package/esm2022/lib/dob/dob.component.mjs +0 -118
- package/esm2022/lib/download-document/download-document.component.mjs +0 -18
- package/esm2022/lib/email-with-domain/email-with-domain.component.mjs +0 -60
- package/esm2022/lib/error-snackbar/error-snackbar.component.mjs +0 -21
- package/esm2022/lib/grey-label/grey-label.component.mjs +0 -14
- package/esm2022/lib/header/header.component.mjs +0 -14
- package/esm2022/lib/hr-line/hr-line.component.mjs +0 -14
- package/esm2022/lib/hyperlink/hyperlink.component.mjs +0 -14
- package/esm2022/lib/icon-button/icon-button.component.mjs +0 -14
- package/esm2022/lib/iframe/iframe.component.mjs +0 -32
- package/esm2022/lib/image/image.component.mjs +0 -14
- package/esm2022/lib/image-upload/image-upload.component.mjs +0 -18
- package/esm2022/lib/in-built-benefit/in-built-benefit.component.mjs +0 -20
- package/esm2022/lib/info/info.component.mjs +0 -19
- package/esm2022/lib/info-textbox/info-textbox.component.mjs +0 -62
- package/esm2022/lib/label/label.component.mjs +0 -14
- package/esm2022/lib/label-value-card/label-value-card.component.mjs +0 -15
- package/esm2022/lib/loader/loader.component.mjs +0 -14
- package/esm2022/lib/master-control.component.mjs +0 -138
- package/esm2022/lib/master-control.service.mjs +0 -193
- package/esm2022/lib/mob-number/mob-number.component.mjs +0 -65
- package/esm2022/lib/multiple-select/multiple-select.component.mjs +0 -118
- package/esm2022/lib/neutral-snackbar/neutral-snackbar.component.mjs +0 -21
- package/esm2022/lib/other-benefits/other-benefits.component.mjs +0 -14
- package/esm2022/lib/otp-mob-number/otp-mob-number.component.mjs +0 -63
- package/esm2022/lib/otp-textbox/otp-textbox.component.mjs +0 -68
- package/esm2022/lib/pay-get-card/pay-get-card.component.mjs +0 -29
- package/esm2022/lib/radio/radio.component.mjs +0 -58
- package/esm2022/lib/search-multi-select/search-multi-select.component.mjs +0 -127
- package/esm2022/lib/select/select.component.mjs +0 -99
- package/esm2022/lib/select-textbox/select-textbox.component.mjs +0 -83
- package/esm2022/lib/stepper/stepper.component.mjs +0 -16
- package/esm2022/lib/sub-header/sub-header.component.mjs +0 -14
- package/esm2022/lib/subscript-textbox/subscript-textbox.component.mjs +0 -62
- package/esm2022/lib/success-snackbar/success-snackbar.component.mjs +0 -21
- package/esm2022/lib/suffix-textbox/suffix-textbox.component.mjs +0 -65
- package/esm2022/lib/tab/tab.component.mjs +0 -32
- package/esm2022/lib/table/table.component.mjs +0 -82
- package/esm2022/lib/tag-mob-number/tag-mob-number.component.mjs +0 -66
- package/esm2022/lib/textarea/textarea.component.mjs +0 -20
- package/esm2022/lib/textbox/textbox.component.mjs +0 -67
- package/esm2022/lib/textbox-with-image/textbox-with-image.component.mjs +0 -57
- package/esm2022/lib/textbox-with-text/textbox-with-text.component.mjs +0 -58
- package/esm2022/lib/textbox-with-underscore/textbox-with-underscore.component.mjs +0 -71
- package/esm2022/lib/toggle/toggle.component.mjs +0 -20
- package/esm2022/lib/toggle-button/toggle-button.component.mjs +0 -16
- package/esm2022/lib/underscore-mob-number/underscore-mob-number.component.mjs +0 -74
- package/esm2022/lib/upload/upload.component.mjs +0 -24
- package/esm2022/lib/warning-snackbar/warning-snackbar.component.mjs +0 -21
- package/esm2022/master-control.mjs +0 -5
- package/esm2022/public-api.mjs +0 -59
- package/fesm2022/master-control.mjs +0 -2380
- package/fesm2022/master-control.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/add-document/add-document.component.d.ts +0 -6
- package/lib/addition-button/addition-button.component.d.ts +0 -6
- package/lib/age-date/age-date.component.d.ts +0 -20
- package/lib/amount-textbox/amount-textbox.component.d.ts +0 -17
- package/lib/annuity-rate-logo/annuity-rate-logo.component.d.ts +0 -7
- package/lib/autocomplete/autocomplete.component.d.ts +0 -25
- package/lib/benefit-card/benefit-card.component.d.ts +0 -6
- package/lib/button/button.component.d.ts +0 -9
- package/lib/card/card.component.d.ts +0 -6
- package/lib/checkbox/checkbox.component.d.ts +0 -20
- package/lib/discount/discount.component.d.ts +0 -6
- package/lib/discount-v2/discount-v2.component.d.ts +0 -6
- package/lib/dob/dob.component.d.ts +0 -32
- package/lib/download-document/download-document.component.d.ts +0 -6
- package/lib/email-with-domain/email-with-domain.component.d.ts +0 -19
- package/lib/error-snackbar/error-snackbar.component.d.ts +0 -10
- package/lib/grey-label/grey-label.component.d.ts +0 -6
- package/lib/header/header.component.d.ts +0 -6
- package/lib/hr-line/hr-line.component.d.ts +0 -6
- package/lib/hyperlink/hyperlink.component.d.ts +0 -6
- package/lib/icon-button/icon-button.component.d.ts +0 -6
- package/lib/iframe/iframe.component.d.ts +0 -13
- package/lib/image/image.component.d.ts +0 -6
- package/lib/image-upload/image-upload.component.d.ts +0 -6
- package/lib/in-built-benefit/in-built-benefit.component.d.ts +0 -8
- package/lib/info/info.component.d.ts +0 -9
- package/lib/info-textbox/info-textbox.component.d.ts +0 -16
- package/lib/label/label.component.d.ts +0 -6
- package/lib/label-value-card/label-value-card.component.d.ts +0 -7
- package/lib/loader/loader.component.d.ts +0 -6
- package/lib/master-control.component.d.ts +0 -9
- package/lib/master-control.service.d.ts +0 -11
- package/lib/mob-number/mob-number.component.d.ts +0 -21
- package/lib/multiple-select/multiple-select.component.d.ts +0 -26
- package/lib/neutral-snackbar/neutral-snackbar.component.d.ts +0 -10
- package/lib/other-benefits/other-benefits.component.d.ts +0 -6
- package/lib/otp-mob-number/otp-mob-number.component.d.ts +0 -17
- package/lib/otp-textbox/otp-textbox.component.d.ts +0 -17
- package/lib/pay-get-card/pay-get-card.component.d.ts +0 -11
- package/lib/radio/radio.component.d.ts +0 -18
- package/lib/search-multi-select/search-multi-select.component.d.ts +0 -27
- package/lib/select/select.component.d.ts +0 -22
- package/lib/select-textbox/select-textbox.component.d.ts +0 -17
- package/lib/stepper/stepper.component.d.ts +0 -6
- package/lib/sub-header/sub-header.component.d.ts +0 -6
- package/lib/subscript-textbox/subscript-textbox.component.d.ts +0 -16
- package/lib/success-snackbar/success-snackbar.component.d.ts +0 -10
- package/lib/suffix-textbox/suffix-textbox.component.d.ts +0 -16
- package/lib/tab/tab.component.d.ts +0 -14
- package/lib/table/table.component.d.ts +0 -23
- package/lib/tag-mob-number/tag-mob-number.component.d.ts +0 -17
- package/lib/textarea/textarea.component.d.ts +0 -9
- package/lib/textbox/textbox.component.d.ts +0 -20
- package/lib/textbox-with-image/textbox-with-image.component.d.ts +0 -16
- package/lib/textbox-with-text/textbox-with-text.component.d.ts +0 -16
- package/lib/textbox-with-underscore/textbox-with-underscore.component.d.ts +0 -18
- package/lib/toggle/toggle.component.d.ts +0 -9
- package/lib/toggle-button/toggle-button.component.d.ts +0 -6
- package/lib/underscore-mob-number/underscore-mob-number.component.d.ts +0 -19
- package/lib/upload/upload.component.d.ts +0 -9
- package/lib/warning-snackbar/warning-snackbar.component.d.ts +0 -10
- package/master-control-0.2.5.tgz +0 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { ButtonComponent } from './button/button.component';
|
|
2
|
+
import { Component, Input, input } from '@angular/core';
|
|
3
|
+
import { TextboxComponent } from './textbox/textbox.component';
|
|
4
|
+
import { SelectComponent } from './select/select.component';
|
|
5
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
6
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
+
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
8
|
+
import { RadioComponent } from './radio/radio.component';
|
|
9
|
+
import { ToggleComponent } from './toggle/toggle.component';
|
|
10
|
+
import { UploadComponent } from './upload/upload.component';
|
|
11
|
+
import { DobComponent } from './dob/dob.component';
|
|
12
|
+
import { MobNumberComponent } from './mob-number/mob-number.component';
|
|
13
|
+
import { InfoComponent } from './info/info.component';
|
|
14
|
+
import { CheckboxComponent } from './checkbox/checkbox.component';
|
|
15
|
+
import { TextareaComponent } from './textarea/textarea.component';
|
|
16
|
+
import { TabComponent } from "./tab/tab.component";
|
|
17
|
+
import { AutocompleteComponent } from "./autocomplete/autocomplete.component";
|
|
18
|
+
import { MultipleSelectComponent } from "./multiple-select/multiple-select.component";
|
|
19
|
+
import { SelectTextboxComponent } from './select-textbox/select-textbox.component';
|
|
20
|
+
import { OtpTextboxComponent } from "./otp-textbox/otp-textbox.component";
|
|
21
|
+
import { AmountTextboxComponent } from "./amount-textbox/amount-textbox.component";
|
|
22
|
+
import { SuffixTextboxComponent } from "./suffix-textbox/suffix-textbox.component";
|
|
23
|
+
import { OtpMobNumberComponent } from "./otp-mob-number/otp-mob-number.component";
|
|
24
|
+
import { TagMobNumberComponent } from "./tag-mob-number/tag-mob-number.component";
|
|
25
|
+
import { AgeDateComponent } from "./age-date/age-date.component";
|
|
26
|
+
import { AdditionButtonComponent } from "./addition-button/addition-button.component";
|
|
27
|
+
import { InfoTextboxComponent } from "./info-textbox/info-textbox.component";
|
|
28
|
+
import { TextboxWithImageComponent } from "./textbox-with-image/textbox-with-image.component";
|
|
29
|
+
import { EmailWithDomainComponent } from "./email-with-domain/email-with-domain.component";
|
|
30
|
+
import { ImageUploadComponent } from "./image-upload/image-upload.component";
|
|
31
|
+
import { DownloadDocumentComponent } from "./download-document/download-document.component";
|
|
32
|
+
import { AddDocumentComponent } from "./add-document/add-document.component";
|
|
33
|
+
import { HyperlinkComponent } from "./hyperlink/hyperlink.component";
|
|
34
|
+
import { TextboxWithUnderscoreComponent } from "./textbox-with-underscore/textbox-with-underscore.component";
|
|
35
|
+
import { UnderscoreMobNumberComponent } from "./underscore-mob-number/underscore-mob-number.component";
|
|
36
|
+
import { IconButtonComponent } from "./icon-button/icon-button.component";
|
|
37
|
+
import { FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
38
|
+
import { ImageComponent } from './image/image.component';
|
|
39
|
+
import { StepperComponent } from "./stepper/stepper.component";
|
|
40
|
+
import { CardComponent } from "./card/card.component";
|
|
41
|
+
import { HrLineComponent } from "./hr-line/hr-line.component";
|
|
42
|
+
import { SearchMultiSelectComponent } from "./search-multi-select/search-multi-select.component";
|
|
43
|
+
import { SubscriptTextboxComponent } from "./subscript-textbox/subscript-textbox.component";
|
|
44
|
+
import { LabelComponent } from "./label/label.component";
|
|
45
|
+
import { SubHeaderComponent } from "./sub-header/sub-header.component";
|
|
46
|
+
import { HeaderComponent } from "./header/header.component";
|
|
47
|
+
import { TableComponent } from './table/table.component';
|
|
48
|
+
import { TextboxWithTextComponent } from "./textbox-with-text/textbox-with-text.component";
|
|
49
|
+
import { DiscountComponent } from "./discount/discount.component";
|
|
50
|
+
import { BenefitCardComponent } from "./benefit-card/benefit-card.component";
|
|
51
|
+
import { LoaderComponent } from './loader/loader.component';
|
|
52
|
+
import { WarningSnackbarComponent } from "./warning-snackbar/warning-snackbar.component";
|
|
53
|
+
import { SuccessSnackbarComponent } from "./success-snackbar/success-snackbar.component";
|
|
54
|
+
import { NeutralSnackbarComponent } from "./neutral-snackbar/neutral-snackbar.component";
|
|
55
|
+
import { ErrorSnackbarComponent } from "./error-snackbar/error-snackbar.component";
|
|
56
|
+
import { GreyLabelComponent } from "./grey-label/grey-label.component";
|
|
57
|
+
import { IframeComponent } from "./iframe/iframe.component";
|
|
58
|
+
import { ToggleButtonComponent } from "./toggle-button/toggle-button.component";
|
|
59
|
+
import { PayGetCardComponent } from "./pay-get-card/pay-get-card.component";
|
|
60
|
+
import { InBuiltBenefitComponent } from "./in-built-benefit/in-built-benefit.component";
|
|
61
|
+
import { OtherBenefitsComponent } from "./other-benefits/other-benefits.component";
|
|
62
|
+
import { AnnuityRateLogoComponent } from "./annuity-rate-logo/annuity-rate-logo.component";
|
|
63
|
+
import { DiscountV2Component } from './discount-v2/discount-v2.component';
|
|
64
|
+
import { LabelValueCardComponent } from './label-value-card/label-value-card.component';
|
|
65
|
+
import { MedialQuestionsComponent } from "./medial-questions/medial-questions.component";
|
|
66
|
+
import { PageNudgeComponent } from './page-nudge/page-nudge.component';
|
|
67
|
+
|
|
68
|
+
@Component({
|
|
69
|
+
selector: 'lib-master-control',
|
|
70
|
+
standalone: true,
|
|
71
|
+
imports: [
|
|
72
|
+
FormsModule,
|
|
73
|
+
TextboxComponent,
|
|
74
|
+
SelectComponent,
|
|
75
|
+
RadioComponent,
|
|
76
|
+
ToggleComponent,
|
|
77
|
+
UploadComponent,
|
|
78
|
+
DobComponent,
|
|
79
|
+
MobNumberComponent,
|
|
80
|
+
InfoComponent,
|
|
81
|
+
CheckboxComponent,
|
|
82
|
+
TextareaComponent,
|
|
83
|
+
ButtonComponent,
|
|
84
|
+
TabComponent,
|
|
85
|
+
AutocompleteComponent,
|
|
86
|
+
MultipleSelectComponent,
|
|
87
|
+
SelectTextboxComponent,
|
|
88
|
+
OtpTextboxComponent,
|
|
89
|
+
AmountTextboxComponent,
|
|
90
|
+
SuffixTextboxComponent,
|
|
91
|
+
OtpMobNumberComponent,
|
|
92
|
+
TagMobNumberComponent,
|
|
93
|
+
AgeDateComponent,
|
|
94
|
+
AdditionButtonComponent,
|
|
95
|
+
InfoTextboxComponent,
|
|
96
|
+
TextboxWithImageComponent,
|
|
97
|
+
EmailWithDomainComponent,
|
|
98
|
+
ImageUploadComponent,
|
|
99
|
+
DownloadDocumentComponent,
|
|
100
|
+
AddDocumentComponent,
|
|
101
|
+
HyperlinkComponent,
|
|
102
|
+
TextboxWithUnderscoreComponent,
|
|
103
|
+
UnderscoreMobNumberComponent,
|
|
104
|
+
IconButtonComponent,
|
|
105
|
+
ReactiveFormsModule,
|
|
106
|
+
ImageComponent,
|
|
107
|
+
StepperComponent,
|
|
108
|
+
CardComponent,
|
|
109
|
+
HrLineComponent,
|
|
110
|
+
SearchMultiSelectComponent,
|
|
111
|
+
SubscriptTextboxComponent,
|
|
112
|
+
LabelComponent,
|
|
113
|
+
SubHeaderComponent,
|
|
114
|
+
HeaderComponent,
|
|
115
|
+
TextboxWithTextComponent,
|
|
116
|
+
DiscountComponent,
|
|
117
|
+
BenefitCardComponent,
|
|
118
|
+
TableComponent,
|
|
119
|
+
LoaderComponent,
|
|
120
|
+
WarningSnackbarComponent,
|
|
121
|
+
SuccessSnackbarComponent,
|
|
122
|
+
NeutralSnackbarComponent,
|
|
123
|
+
ErrorSnackbarComponent,
|
|
124
|
+
GreyLabelComponent,
|
|
125
|
+
IframeComponent,
|
|
126
|
+
ToggleButtonComponent,
|
|
127
|
+
PayGetCardComponent,
|
|
128
|
+
InBuiltBenefitComponent,
|
|
129
|
+
OtherBenefitsComponent,
|
|
130
|
+
AnnuityRateLogoComponent,
|
|
131
|
+
DiscountV2Component,
|
|
132
|
+
LabelValueCardComponent,
|
|
133
|
+
MedialQuestionsComponent ,
|
|
134
|
+
PageNudgeComponent
|
|
135
|
+
],
|
|
136
|
+
templateUrl: './master-control.component.html',
|
|
137
|
+
styleUrls: ['./master-control.component.css']
|
|
138
|
+
})
|
|
139
|
+
export class MasterControlComponent {
|
|
140
|
+
field: any = input.required<any>();
|
|
141
|
+
@Input() formGroup: FormGroup = new FormGroup({});
|
|
142
|
+
constructor() {}
|
|
143
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { MasterControlService } from './master-control.service';
|
|
4
|
+
|
|
5
|
+
describe('MasterControlService', () => {
|
|
6
|
+
let service: MasterControlService;
|
|
7
|
+
|
|
8
|
+
beforeEach(() => {
|
|
9
|
+
TestBed.configureTestingModule({});
|
|
10
|
+
service = TestBed.inject(MasterControlService);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
it('should be created', () => {
|
|
14
|
+
expect(service).toBeTruthy();
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1,214 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,250 @@
|
|
|
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
|
+
>*</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
|
+
>*</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>
|