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.
- package/esm2022/lib/add-document/add-document.component.mjs +18 -0
- package/esm2022/lib/addition-button/addition-button.component.mjs +14 -0
- package/esm2022/lib/age-date/age-date.component.mjs +132 -0
- package/esm2022/lib/amount-textbox/amount-textbox.component.mjs +63 -0
- package/esm2022/lib/annuity-rate-logo/annuity-rate-logo.component.mjs +15 -0
- package/esm2022/lib/autocomplete/autocomplete.component.mjs +90 -0
- package/esm2022/lib/benefit-card/benefit-card.component.mjs +14 -0
- package/esm2022/lib/button/button.component.mjs +19 -0
- package/esm2022/lib/card/card.component.mjs +14 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +79 -0
- package/esm2022/lib/discount/discount.component.mjs +14 -0
- package/esm2022/lib/discount-v2/discount-v2.component.mjs +16 -0
- package/esm2022/lib/dob/dob.component.mjs +118 -0
- package/esm2022/lib/download-document/download-document.component.mjs +18 -0
- package/esm2022/lib/email-with-domain/email-with-domain.component.mjs +60 -0
- package/esm2022/lib/error-snackbar/error-snackbar.component.mjs +21 -0
- package/esm2022/lib/grey-label/grey-label.component.mjs +14 -0
- package/esm2022/lib/header/header.component.mjs +14 -0
- package/esm2022/lib/hr-line/hr-line.component.mjs +14 -0
- package/esm2022/lib/hyperlink/hyperlink.component.mjs +14 -0
- package/esm2022/lib/icon-button/icon-button.component.mjs +14 -0
- package/esm2022/lib/iframe/iframe.component.mjs +32 -0
- package/esm2022/lib/image/image.component.mjs +14 -0
- package/esm2022/lib/image-upload/image-upload.component.mjs +18 -0
- package/esm2022/lib/in-built-benefit/in-built-benefit.component.mjs +20 -0
- package/esm2022/lib/info/info.component.mjs +19 -0
- package/esm2022/lib/info-textbox/info-textbox.component.mjs +62 -0
- package/esm2022/lib/label/label.component.mjs +14 -0
- package/esm2022/lib/label-value-card/label-value-card.component.mjs +15 -0
- package/esm2022/lib/loader/loader.component.mjs +14 -0
- package/esm2022/lib/master-control.component.mjs +142 -0
- package/esm2022/lib/master-control.service.mjs +212 -0
- package/esm2022/lib/medial-questions/medial-questions.component.mjs +40283 -0
- package/esm2022/lib/mob-number/mob-number.component.mjs +65 -0
- package/esm2022/lib/multiple-select/multiple-select.component.mjs +119 -0
- package/esm2022/lib/neutral-snackbar/neutral-snackbar.component.mjs +21 -0
- package/esm2022/lib/other-benefits/other-benefits.component.mjs +14 -0
- package/esm2022/lib/otp-mob-number/otp-mob-number.component.mjs +63 -0
- package/esm2022/lib/otp-textbox/otp-textbox.component.mjs +68 -0
- package/esm2022/lib/page-nudge/page-nudge.component.mjs +14 -0
- package/esm2022/lib/pay-get-card/pay-get-card.component.mjs +29 -0
- package/esm2022/lib/radio/radio.component.mjs +58 -0
- package/esm2022/lib/search-multi-select/search-multi-select.component.mjs +127 -0
- package/esm2022/lib/select/select.component.mjs +99 -0
- package/esm2022/lib/select-textbox/select-textbox.component.mjs +83 -0
- package/esm2022/lib/stepper/stepper.component.mjs +25 -0
- package/esm2022/lib/sub-header/sub-header.component.mjs +14 -0
- package/esm2022/lib/subscript-textbox/subscript-textbox.component.mjs +62 -0
- package/esm2022/lib/success-snackbar/success-snackbar.component.mjs +21 -0
- package/esm2022/lib/suffix-textbox/suffix-textbox.component.mjs +65 -0
- package/esm2022/lib/tab/tab.component.mjs +32 -0
- package/esm2022/lib/table/table.component.mjs +82 -0
- package/esm2022/lib/tag-mob-number/tag-mob-number.component.mjs +66 -0
- package/esm2022/lib/textarea/textarea.component.mjs +20 -0
- package/esm2022/lib/textbox/textbox.component.mjs +67 -0
- package/esm2022/lib/textbox-with-image/textbox-with-image.component.mjs +57 -0
- package/esm2022/lib/textbox-with-text/textbox-with-text.component.mjs +58 -0
- package/esm2022/lib/textbox-with-underscore/textbox-with-underscore.component.mjs +71 -0
- package/esm2022/lib/toggle/toggle.component.mjs +20 -0
- package/esm2022/lib/toggle-button/toggle-button.component.mjs +16 -0
- package/esm2022/lib/underscore-mob-number/underscore-mob-number.component.mjs +74 -0
- package/esm2022/lib/upload/upload.component.mjs +24 -0
- package/esm2022/lib/warning-snackbar/warning-snackbar.component.mjs +21 -0
- package/esm2022/master-control.mjs +5 -0
- package/esm2022/public-api.mjs +60 -0
- package/fesm2022/master-control.mjs +42689 -0
- package/fesm2022/master-control.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/add-document/add-document.component.d.ts +6 -0
- package/lib/addition-button/addition-button.component.d.ts +6 -0
- package/lib/age-date/age-date.component.d.ts +20 -0
- package/lib/amount-textbox/amount-textbox.component.d.ts +17 -0
- package/lib/annuity-rate-logo/annuity-rate-logo.component.d.ts +7 -0
- package/lib/autocomplete/autocomplete.component.d.ts +25 -0
- package/lib/benefit-card/benefit-card.component.d.ts +6 -0
- package/lib/button/button.component.d.ts +9 -0
- package/lib/card/card.component.d.ts +6 -0
- package/lib/checkbox/checkbox.component.d.ts +20 -0
- package/lib/discount/discount.component.d.ts +6 -0
- package/lib/discount-v2/discount-v2.component.d.ts +6 -0
- package/lib/dob/dob.component.d.ts +32 -0
- package/lib/download-document/download-document.component.d.ts +6 -0
- package/lib/email-with-domain/email-with-domain.component.d.ts +19 -0
- package/lib/error-snackbar/error-snackbar.component.d.ts +10 -0
- package/lib/grey-label/grey-label.component.d.ts +6 -0
- package/lib/header/header.component.d.ts +6 -0
- package/lib/hr-line/hr-line.component.d.ts +6 -0
- package/lib/hyperlink/hyperlink.component.d.ts +6 -0
- package/lib/icon-button/icon-button.component.d.ts +6 -0
- package/lib/iframe/iframe.component.d.ts +13 -0
- package/lib/image/image.component.d.ts +6 -0
- package/lib/image-upload/image-upload.component.d.ts +6 -0
- package/lib/in-built-benefit/in-built-benefit.component.d.ts +8 -0
- package/lib/info/info.component.d.ts +9 -0
- package/lib/info-textbox/info-textbox.component.d.ts +16 -0
- package/lib/label/label.component.d.ts +6 -0
- package/lib/label-value-card/label-value-card.component.d.ts +7 -0
- package/lib/loader/loader.component.d.ts +6 -0
- package/lib/master-control.component.d.ts +9 -0
- package/lib/master-control.service.d.ts +11 -0
- package/lib/medial-questions/medial-questions.component.d.ts +63 -0
- package/lib/mob-number/mob-number.component.d.ts +21 -0
- package/lib/multiple-select/multiple-select.component.d.ts +27 -0
- package/lib/neutral-snackbar/neutral-snackbar.component.d.ts +10 -0
- package/lib/other-benefits/other-benefits.component.d.ts +6 -0
- package/lib/otp-mob-number/otp-mob-number.component.d.ts +17 -0
- package/lib/otp-textbox/otp-textbox.component.d.ts +17 -0
- package/lib/page-nudge/page-nudge.component.d.ts +6 -0
- package/lib/pay-get-card/pay-get-card.component.d.ts +11 -0
- package/lib/radio/radio.component.d.ts +18 -0
- package/lib/search-multi-select/search-multi-select.component.d.ts +27 -0
- package/lib/select/select.component.d.ts +22 -0
- package/lib/select-textbox/select-textbox.component.d.ts +17 -0
- package/lib/stepper/stepper.component.d.ts +11 -0
- package/lib/sub-header/sub-header.component.d.ts +6 -0
- package/lib/subscript-textbox/subscript-textbox.component.d.ts +16 -0
- package/lib/success-snackbar/success-snackbar.component.d.ts +10 -0
- package/lib/suffix-textbox/suffix-textbox.component.d.ts +16 -0
- package/lib/tab/tab.component.d.ts +14 -0
- package/lib/table/table.component.d.ts +23 -0
- package/lib/tag-mob-number/tag-mob-number.component.d.ts +17 -0
- package/lib/textarea/textarea.component.d.ts +9 -0
- package/lib/textbox/textbox.component.d.ts +20 -0
- package/lib/textbox-with-image/textbox-with-image.component.d.ts +16 -0
- package/lib/textbox-with-text/textbox-with-text.component.d.ts +16 -0
- package/lib/textbox-with-underscore/textbox-with-underscore.component.d.ts +18 -0
- package/lib/toggle/toggle.component.d.ts +9 -0
- package/lib/toggle-button/toggle-button.component.d.ts +6 -0
- package/lib/underscore-mob-number/underscore-mob-number.component.d.ts +19 -0
- package/lib/upload/upload.component.d.ts +9 -0
- package/lib/warning-snackbar/warning-snackbar.component.d.ts +10 -0
- package/master-control-0.2.15.tgz +0 -0
- package/package.json +25 -12
- package/{src/public-api.ts → public-api.d.ts} +56 -60
- package/ng-package.json +0 -7
- package/src/lib/add-document/add-document.component.css +0 -50
- package/src/lib/add-document/add-document.component.html +0 -31
- package/src/lib/add-document/add-document.component.ts +0 -17
- package/src/lib/addition-button/addition-button.component.css +0 -16
- package/src/lib/addition-button/addition-button.component.html +0 -20
- package/src/lib/addition-button/addition-button.component.ts +0 -13
- package/src/lib/age-date/age-date.component.css +0 -126
- package/src/lib/age-date/age-date.component.html +0 -82
- package/src/lib/age-date/age-date.component.ts +0 -104
- package/src/lib/amount-textbox/amount-textbox.component.css +0 -131
- package/src/lib/amount-textbox/amount-textbox.component.html +0 -69
- package/src/lib/amount-textbox/amount-textbox.component.ts +0 -53
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.css +0 -9
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.html +0 -6
- package/src/lib/annuity-rate-logo/annuity-rate-logo.component.ts +0 -13
- package/src/lib/autocomplete/autocomplete.component.css +0 -240
- package/src/lib/autocomplete/autocomplete.component.html +0 -61
- package/src/lib/autocomplete/autocomplete.component.ts +0 -85
- package/src/lib/benefit-card/benefit-card.component.css +0 -46
- package/src/lib/benefit-card/benefit-card.component.html +0 -25
- package/src/lib/benefit-card/benefit-card.component.ts +0 -13
- package/src/lib/button/button.component.css +0 -24
- package/src/lib/button/button.component.html +0 -22
- package/src/lib/button/button.component.ts +0 -16
- package/src/lib/card/card.component.css +0 -37
- package/src/lib/card/card.component.html +0 -24
- package/src/lib/card/card.component.ts +0 -13
- package/src/lib/checkbox/checkbox.component.css +0 -65
- package/src/lib/checkbox/checkbox.component.html +0 -23
- package/src/lib/checkbox/checkbox.component.ts +0 -70
- package/src/lib/discount/discount.component.css +0 -45
- package/src/lib/discount/discount.component.html +0 -51
- package/src/lib/discount/discount.component.ts +0 -14
- package/src/lib/discount-v2/discount-v2.component.css +0 -34
- package/src/lib/discount-v2/discount-v2.component.html +0 -20
- package/src/lib/discount-v2/discount-v2.component.ts +0 -14
- package/src/lib/dob/dob.component.css +0 -117
- package/src/lib/dob/dob.component.html +0 -88
- package/src/lib/dob/dob.component.ts +0 -107
- package/src/lib/download-document/download-document.component.css +0 -53
- package/src/lib/download-document/download-document.component.html +0 -38
- package/src/lib/download-document/download-document.component.ts +0 -17
- package/src/lib/email-with-domain/email-with-domain.component.css +0 -130
- package/src/lib/email-with-domain/email-with-domain.component.html +0 -73
- package/src/lib/email-with-domain/email-with-domain.component.ts +0 -51
- package/src/lib/error-snackbar/error-snackbar.component.css +0 -36
- package/src/lib/error-snackbar/error-snackbar.component.html +0 -21
- package/src/lib/error-snackbar/error-snackbar.component.ts +0 -19
- package/src/lib/grey-label/grey-label.component.css +0 -13
- package/src/lib/grey-label/grey-label.component.html +0 -7
- package/src/lib/grey-label/grey-label.component.ts +0 -13
- package/src/lib/header/header.component.css +0 -13
- package/src/lib/header/header.component.html +0 -9
- package/src/lib/header/header.component.ts +0 -14
- package/src/lib/hr-line/hr-line.component.css +0 -13
- package/src/lib/hr-line/hr-line.component.html +0 -7
- package/src/lib/hr-line/hr-line.component.ts +0 -13
- package/src/lib/hyperlink/hyperlink.component.css +0 -18
- package/src/lib/hyperlink/hyperlink.component.html +0 -8
- package/src/lib/hyperlink/hyperlink.component.ts +0 -13
- package/src/lib/icon-button/icon-button.component.css +0 -20
- package/src/lib/icon-button/icon-button.component.html +0 -17
- package/src/lib/icon-button/icon-button.component.ts +0 -13
- package/src/lib/iframe/iframe.component.css +0 -0
- package/src/lib/iframe/iframe.component.html +0 -7
- package/src/lib/iframe/iframe.component.ts +0 -32
- package/src/lib/image/image.component.css +0 -7
- package/src/lib/image/image.component.html +0 -3
- package/src/lib/image/image.component.ts +0 -13
- package/src/lib/image-upload/image-upload.component.css +0 -67
- package/src/lib/image-upload/image-upload.component.html +0 -61
- package/src/lib/image-upload/image-upload.component.ts +0 -17
- package/src/lib/in-built-benefit/in-built-benefit.component.css +0 -58
- package/src/lib/in-built-benefit/in-built-benefit.component.html +0 -30
- package/src/lib/in-built-benefit/in-built-benefit.component.ts +0 -16
- package/src/lib/info/info.component.css +0 -25
- package/src/lib/info/info.component.html +0 -21
- package/src/lib/info/info.component.ts +0 -15
- package/src/lib/info-textbox/info-textbox.component.css +0 -121
- package/src/lib/info-textbox/info-textbox.component.html +0 -83
- package/src/lib/info-textbox/info-textbox.component.ts +0 -52
- package/src/lib/label/label.component.css +0 -13
- package/src/lib/label/label.component.html +0 -7
- package/src/lib/label/label.component.ts +0 -14
- package/src/lib/label-value-card/label-value-card.component.css +0 -34
- package/src/lib/label-value-card/label-value-card.component.html +0 -12
- package/src/lib/label-value-card/label-value-card.component.ts +0 -15
- package/src/lib/loader/loader.component.css +0 -127
- package/src/lib/loader/loader.component.html +0 -37
- package/src/lib/loader/loader.component.spec.ts +0 -23
- package/src/lib/loader/loader.component.ts +0 -13
- package/src/lib/master-control.component.css +0 -0
- package/src/lib/master-control.component.html +0 -216
- package/src/lib/master-control.component.spec.ts +0 -23
- package/src/lib/master-control.component.ts +0 -143
- package/src/lib/master-control.service.spec.ts +0 -16
- package/src/lib/master-control.service.ts +0 -214
- package/src/lib/medial-questions/medial-questions.component.css +0 -52
- package/src/lib/medial-questions/medial-questions.component.html +0 -250
- package/src/lib/medial-questions/medial-questions.component.ts +0 -40371
- package/src/lib/medial-questions/questions.json +0 -39682
- package/src/lib/mob-number/mob-number.component.css +0 -141
- package/src/lib/mob-number/mob-number.component.html +0 -82
- package/src/lib/mob-number/mob-number.component.ts +0 -53
- package/src/lib/multiple-select/multiple-select.component.css +0 -331
- package/src/lib/multiple-select/multiple-select.component.html +0 -100
- package/src/lib/multiple-select/multiple-select.component.ts +0 -115
- package/src/lib/neutral-snackbar/neutral-snackbar.component.css +0 -31
- package/src/lib/neutral-snackbar/neutral-snackbar.component.html +0 -21
- package/src/lib/neutral-snackbar/neutral-snackbar.component.ts +0 -19
- package/src/lib/other-benefits/other-benefits.component.css +0 -78
- package/src/lib/other-benefits/other-benefits.component.html +0 -21
- package/src/lib/other-benefits/other-benefits.component.ts +0 -13
- package/src/lib/otp-mob-number/otp-mob-number.component.css +0 -171
- package/src/lib/otp-mob-number/otp-mob-number.component.html +0 -101
- package/src/lib/otp-mob-number/otp-mob-number.component.ts +0 -54
- package/src/lib/otp-textbox/otp-textbox.component.css +0 -168
- package/src/lib/otp-textbox/otp-textbox.component.html +0 -84
- package/src/lib/otp-textbox/otp-textbox.component.ts +0 -57
- package/src/lib/page-nudge/page-nudge.component.css +0 -35
- package/src/lib/page-nudge/page-nudge.component.html +0 -13
- package/src/lib/page-nudge/page-nudge.component.ts +0 -13
- package/src/lib/pay-get-card/pay-get-card.component.css +0 -36
- package/src/lib/pay-get-card/pay-get-card.component.html +0 -20
- package/src/lib/pay-get-card/pay-get-card.component.ts +0 -18
- package/src/lib/radio/radio.component.css +0 -57
- package/src/lib/radio/radio.component.html +0 -37
- package/src/lib/radio/radio.component.ts +0 -55
- package/src/lib/search-multi-select/search-multi-select.component.css +0 -325
- package/src/lib/search-multi-select/search-multi-select.component.html +0 -125
- package/src/lib/search-multi-select/search-multi-select.component.ts +0 -164
- package/src/lib/select/select.component.css +0 -246
- package/src/lib/select/select.component.html +0 -72
- package/src/lib/select/select.component.ts +0 -95
- package/src/lib/select-textbox/select-textbox.component.css +0 -262
- package/src/lib/select-textbox/select-textbox.component.html +0 -77
- package/src/lib/select-textbox/select-textbox.component.ts +0 -72
- package/src/lib/stepper/stepper.component.css +0 -25
- package/src/lib/stepper/stepper.component.html +0 -16
- package/src/lib/stepper/stepper.component.ts +0 -20
- package/src/lib/sub-header/sub-header.component.css +0 -13
- package/src/lib/sub-header/sub-header.component.html +0 -9
- package/src/lib/sub-header/sub-header.component.ts +0 -13
- package/src/lib/subscript-textbox/subscript-textbox.component.css +0 -139
- package/src/lib/subscript-textbox/subscript-textbox.component.html +0 -85
- package/src/lib/subscript-textbox/subscript-textbox.component.ts +0 -53
- package/src/lib/success-snackbar/success-snackbar.component.css +0 -32
- package/src/lib/success-snackbar/success-snackbar.component.html +0 -21
- package/src/lib/success-snackbar/success-snackbar.component.ts +0 -19
- package/src/lib/suffix-textbox/suffix-textbox.component.css +0 -157
- package/src/lib/suffix-textbox/suffix-textbox.component.html +0 -84
- package/src/lib/suffix-textbox/suffix-textbox.component.ts +0 -54
- package/src/lib/tab/tab.component.css +0 -19
- package/src/lib/tab/tab.component.html +0 -17
- package/src/lib/tab/tab.component.ts +0 -27
- package/src/lib/table/table.component.css +0 -121
- package/src/lib/table/table.component.html +0 -41
- package/src/lib/table/table.component.spec.ts +0 -23
- package/src/lib/table/table.component.ts +0 -84
- package/src/lib/tag-mob-number/tag-mob-number.component.css +0 -167
- package/src/lib/tag-mob-number/tag-mob-number.component.html +0 -95
- package/src/lib/tag-mob-number/tag-mob-number.component.ts +0 -55
- package/src/lib/textarea/textarea.component.css +0 -34
- package/src/lib/textarea/textarea.component.html +0 -23
- package/src/lib/textarea/textarea.component.ts +0 -16
- package/src/lib/textbox/textbox.component.css +0 -118
- package/src/lib/textbox/textbox.component.html +0 -80
- package/src/lib/textbox/textbox.component.ts +0 -55
- package/src/lib/textbox-with-image/textbox-with-image.component.css +0 -118
- package/src/lib/textbox-with-image/textbox-with-image.component.html +0 -82
- package/src/lib/textbox-with-image/textbox-with-image.component.ts +0 -47
- package/src/lib/textbox-with-text/textbox-with-text.component.css +0 -124
- package/src/lib/textbox-with-text/textbox-with-text.component.html +0 -84
- package/src/lib/textbox-with-text/textbox-with-text.component.ts +0 -53
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.css +0 -121
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.html +0 -79
- package/src/lib/textbox-with-underscore/textbox-with-underscore.component.ts +0 -62
- package/src/lib/toggle/toggle.component.css +0 -101
- package/src/lib/toggle/toggle.component.html +0 -39
- package/src/lib/toggle/toggle.component.ts +0 -16
- package/src/lib/toggle-button/toggle-button.component.css +0 -87
- package/src/lib/toggle-button/toggle-button.component.html +0 -34
- package/src/lib/toggle-button/toggle-button.component.ts +0 -14
- package/src/lib/underscore-mob-number/underscore-mob-number.component.css +0 -147
- package/src/lib/underscore-mob-number/underscore-mob-number.component.html +0 -87
- package/src/lib/underscore-mob-number/underscore-mob-number.component.ts +0 -65
- package/src/lib/upload/upload.component.css +0 -81
- package/src/lib/upload/upload.component.html +0 -62
- package/src/lib/upload/upload.component.ts +0 -20
- package/src/lib/warning-snackbar/warning-snackbar.component.css +0 -29
- package/src/lib/warning-snackbar/warning-snackbar.component.html +0 -21
- package/src/lib/warning-snackbar/warning-snackbar.component.ts +0 -19
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Injectable({
|
|
4
|
-
providedIn: 'root'
|
|
5
|
-
})
|
|
6
|
-
export class MasterControlService {
|
|
7
|
-
|
|
8
|
-
configData: any = {
|
|
9
|
-
"iframe": {
|
|
10
|
-
"URLForIframe": "N"
|
|
11
|
-
},
|
|
12
|
-
"loader": {
|
|
13
|
-
"imageURL": "",
|
|
14
|
-
"imageAltText": "",
|
|
15
|
-
"text": "",
|
|
16
|
-
"imageCSS": {
|
|
17
|
-
"width": "",
|
|
18
|
-
"height": "",
|
|
19
|
-
"borderRadius": "",
|
|
20
|
-
"boxShadow": ""
|
|
21
|
-
},
|
|
22
|
-
"cardCSS": {
|
|
23
|
-
"width": "100%",
|
|
24
|
-
"height": "100%",
|
|
25
|
-
"backgroundColor": "#ffffff",
|
|
26
|
-
"borderRadius": "0px",
|
|
27
|
-
"boxShadow": "0px 0px 0px 0px rgba(0, 0, 0, 0)",
|
|
28
|
-
"alignItems": "center"
|
|
29
|
-
},
|
|
30
|
-
"textCSS": {
|
|
31
|
-
"fontSize": "",
|
|
32
|
-
"color": "",
|
|
33
|
-
"textAlign": "",
|
|
34
|
-
"fontWeight": ""
|
|
35
|
-
},
|
|
36
|
-
"loaderCSS": {
|
|
37
|
-
"display": "flex",
|
|
38
|
-
"justifyContent": "center",
|
|
39
|
-
"alignItems": "center",
|
|
40
|
-
"height": "60px",
|
|
41
|
-
"gap": "8px",
|
|
42
|
-
"dot": {
|
|
43
|
-
"width": "16px",
|
|
44
|
-
"height": "16px",
|
|
45
|
-
"background": "#1976d2",
|
|
46
|
-
"borderRadius": "50%",
|
|
47
|
-
"display": "inline-block",
|
|
48
|
-
"animation": "bounce 0.6s infinite alternate"
|
|
49
|
-
},
|
|
50
|
-
"dot2": {
|
|
51
|
-
"animationDelay": "0.2s"
|
|
52
|
-
},
|
|
53
|
-
"dot3": {
|
|
54
|
-
"animationDelay": "0.4s"
|
|
55
|
-
},
|
|
56
|
-
"@keyframes bounce": {
|
|
57
|
-
"to": {
|
|
58
|
-
"opacity": 0.3,
|
|
59
|
-
"transform": "translateY(-16px)"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"table": {
|
|
65
|
-
"showCheckBox": true,
|
|
66
|
-
"tableHeaders": [],
|
|
67
|
-
"tdData": [],
|
|
68
|
-
"showActions": true,
|
|
69
|
-
"actionOptions": [
|
|
70
|
-
{
|
|
71
|
-
"matIconName": "edit",
|
|
72
|
-
"displayTitle": "Edit",
|
|
73
|
-
"toolTip": "Edit",
|
|
74
|
-
"isSelected":true
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"matIconName": "info",
|
|
78
|
-
"displayTitle": "Info",
|
|
79
|
-
"toolTip": "Information",
|
|
80
|
-
"isSelected":true
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"matIconName": "download",
|
|
84
|
-
"displayTitle": "Download Documents",
|
|
85
|
-
"toolTip": "Download Document",
|
|
86
|
-
"isSelected":true
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"matIconName": "notifications_active",
|
|
90
|
-
"displayTitle": "Send Reminder",
|
|
91
|
-
"toolTip": "Send Reminder",
|
|
92
|
-
"isSelected":true
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"matIconName": "link",
|
|
96
|
-
"displayTitle": "Send Payment Link",
|
|
97
|
-
"toolTip": "Payment Link",
|
|
98
|
-
"isSelected":true
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
],
|
|
102
|
-
"userSelectedOptions": {},
|
|
103
|
-
"showPagination": "Y",
|
|
104
|
-
"rowlength": 3,
|
|
105
|
-
"columnlength": 4,
|
|
106
|
-
},
|
|
107
|
-
"stepper":{
|
|
108
|
-
"stepperData":[
|
|
109
|
-
{
|
|
110
|
-
"defaultId":1,
|
|
111
|
-
"displayLabel":"stepper-1",
|
|
112
|
-
"imgIconUrl":'https://cdn.godigit.com/digitPlusAssets/retail-life-icon/svgicon/check_circle.svg'
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"defaultId":2,
|
|
116
|
-
"displayLabel":"stepper-2",
|
|
117
|
-
"imgIconUrl":'https://cdn.godigit.com/retail-life/check_circle_Endorsment.svg'
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"defaultId":3,
|
|
121
|
-
"displayLabel":"stepper-3",
|
|
122
|
-
"imgIconUrl":'https://cdn.godigit.com/retail-life/Endorsement_pending.svg'
|
|
123
|
-
}
|
|
124
|
-
]
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
snackbars: any = [
|
|
129
|
-
{
|
|
130
|
-
"type": "Error",
|
|
131
|
-
"imageURL": "https://cdn.godigit.com/retail-life/alert-icon-lib.svg",
|
|
132
|
-
"imageCSS": "toaster-img",
|
|
133
|
-
"isShowLabel": true,
|
|
134
|
-
"labelCSS": "toaster-label",
|
|
135
|
-
"messageCSS": "toaster-msg",
|
|
136
|
-
"horizontalPosition": "",
|
|
137
|
-
"verticalPosition": "",
|
|
138
|
-
"duration": 3000,
|
|
139
|
-
"closeIconImageURL": "https://cdn.godigit.com/digitPlusAssets/retail-life-icon/svgicon/cross.svg",
|
|
140
|
-
"closeIconCSS": "cross",
|
|
141
|
-
"labelText":"A error toast",
|
|
142
|
-
"messageText":"Error message here",
|
|
143
|
-
'toasterCSS':"error-snackbar-card"
|
|
144
|
-
},{
|
|
145
|
-
"type": "Warning",
|
|
146
|
-
"imageURL": "https://cdn.godigit.com/retail-life/nudge-icon-lib.svg",
|
|
147
|
-
"imageCSS": "toaster-img",
|
|
148
|
-
"isShowLabel": true,
|
|
149
|
-
"labelCSS": "toaster-label",
|
|
150
|
-
"messageCSS": "toaster-msg",
|
|
151
|
-
"horizontalPosition": "",
|
|
152
|
-
"verticalPosition": "",
|
|
153
|
-
"duration": 3000,
|
|
154
|
-
"closeIconImageURL": "https://cdn.godigit.com/digitPlusAssets/retail-life-icon/svgicon/cross.svg",
|
|
155
|
-
"closeIconCSS": "cross",
|
|
156
|
-
"labelText":"A warning toast",
|
|
157
|
-
"messageText":"Warning message here",
|
|
158
|
-
"toasterCSS":"warning-snackbar-card"
|
|
159
|
-
},{
|
|
160
|
-
"type": "Success",
|
|
161
|
-
"imageURL": "https://cdn.godigit.com/retail-life/success-info-lib.svg",
|
|
162
|
-
"imageCSS": "toaster-img",
|
|
163
|
-
"isShowLabel": true,
|
|
164
|
-
"labelCSS": "toaster-label",
|
|
165
|
-
"messageCSS": "toaster-msg",
|
|
166
|
-
"horizontalPosition": "",
|
|
167
|
-
"verticalPosition": "",
|
|
168
|
-
"duration": 3000,
|
|
169
|
-
"closeIconImageURL": "https://cdn.godigit.com/digitPlusAssets/retail-life-icon/svgicon/cross.svg",
|
|
170
|
-
"closeIconCSS": "cross",
|
|
171
|
-
"labelText":"A success toast",
|
|
172
|
-
"messageText":"Success message here",
|
|
173
|
-
"toasterCSS":"success-snackbar-card"
|
|
174
|
-
},{
|
|
175
|
-
"type": "Neutral",
|
|
176
|
-
"imageURL": "https://cdn.godigit.com/retail-life/neutral-star-lib-icon.svg",
|
|
177
|
-
"imageCSS": "neutral-image",
|
|
178
|
-
"isShowLabel": true,
|
|
179
|
-
"labelCSS": "neutral-toaster-label",
|
|
180
|
-
"messageCSS": "neutral-toaster-msg",
|
|
181
|
-
"horizontalPosition": "",
|
|
182
|
-
"verticalPosition": "",
|
|
183
|
-
"duration": 3000,
|
|
184
|
-
"closeIconImageURL": "https://cdn.godigit.com/retail-life/neutral-cross-lib-icon.svg",
|
|
185
|
-
"closeIconCSS": "cross",
|
|
186
|
-
"labelText":"A neutral toast",
|
|
187
|
-
"messageText":"Neutral message here",
|
|
188
|
-
"toasterCSS":"neutral-snackbar-card"
|
|
189
|
-
}
|
|
190
|
-
];
|
|
191
|
-
constructor() { }
|
|
192
|
-
|
|
193
|
-
checkIfValueIsEmpty(value: any) {
|
|
194
|
-
if (typeof value === 'string') {
|
|
195
|
-
value = value.trim();
|
|
196
|
-
}
|
|
197
|
-
return (
|
|
198
|
-
value === undefined ||
|
|
199
|
-
value === null ||
|
|
200
|
-
value === '' ||
|
|
201
|
-
(value instanceof Array && value.length === 0) ||
|
|
202
|
-
JSON.stringify(value) === '{}'
|
|
203
|
-
);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
saveTableFieldState(tableField: any, key: any = 'tableField') {
|
|
207
|
-
localStorage.setItem(key, JSON.stringify(tableField));
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
restoreTableFieldState(key: any = 'tableField'): any | null {
|
|
211
|
-
const data = localStorage.getItem(key);
|
|
212
|
-
return data ? JSON.parse(data) : null;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
.map-container {
|
|
2
|
-
width: 100% ;
|
|
3
|
-
position: relative;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.address-search-container {
|
|
7
|
-
position: relative;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.address-search-container input {
|
|
11
|
-
width: 100%;
|
|
12
|
-
padding: 10px;
|
|
13
|
-
border: 1px solid #ddd;
|
|
14
|
-
border-radius: 4px;
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.address-search-container input:focus {
|
|
19
|
-
outline: none;
|
|
20
|
-
border-color: #4285f4;
|
|
21
|
-
box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* Style for Google Places Autocomplete dropdown */
|
|
25
|
-
.pac-container {
|
|
26
|
-
z-index: 10000 !important;
|
|
27
|
-
border-radius: 4px;
|
|
28
|
-
border: 1px solid #ddd;
|
|
29
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.pac-item {
|
|
33
|
-
padding: 10px;
|
|
34
|
-
border-bottom: 1px solid #eee;
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.pac-item:hover {
|
|
39
|
-
background-color: #f5f5f5;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.selected-address {
|
|
43
|
-
padding: 8px;
|
|
44
|
-
background-color: #f8f9fa;
|
|
45
|
-
border-radius: 4px;
|
|
46
|
-
border-left: 3px solid #28a745;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.map-container ::ng-deep google-map > div {
|
|
50
|
-
height: 400px !important;
|
|
51
|
-
width: auto !important;
|
|
52
|
-
}
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<div *ngFor="let section of questionList">
|
|
3
|
-
<div
|
|
4
|
-
*ngIf="
|
|
5
|
-
!checkIfValueIsEmpty(section['questions']) &&
|
|
6
|
-
section['showSection']
|
|
7
|
-
"
|
|
8
|
-
class="card p-3 my-2"
|
|
9
|
-
id="personUwMedicalQuestions"
|
|
10
|
-
>
|
|
11
|
-
<h6 class="page-title">
|
|
12
|
-
{{ getTitleCase(section["sectionName"]) }}
|
|
13
|
-
</h6>
|
|
14
|
-
<div *ngFor="let questions of section['questions']">
|
|
15
|
-
<!-- <div *ngIf="questions['questionType'] === 'IMAGE TEXT'">
|
|
16
|
-
<img [src]="questions['sampleS3Link']" class="d-block mx-auto" [alt]="questions['title']">
|
|
17
|
-
<h3 [innerHTML]="questions['questionText']"></h3>
|
|
18
|
-
</div> -->
|
|
19
|
-
|
|
20
|
-
<div
|
|
21
|
-
class=""
|
|
22
|
-
*ngIf="
|
|
23
|
-
questions['questionType'] === 'FREE TEXT' &&
|
|
24
|
-
questions['cammundaQuestionCode'] !== 'QHT' &&
|
|
25
|
-
questions['isShowQuestionInUI']
|
|
26
|
-
"
|
|
27
|
-
>
|
|
28
|
-
<label class="card-topic d-block"
|
|
29
|
-
>{{ questions["questionText"] }}
|
|
30
|
-
<span
|
|
31
|
-
*ngIf="
|
|
32
|
-
questions.optionalQuestion === 'N'
|
|
33
|
-
"
|
|
34
|
-
style="color: #ee0000"
|
|
35
|
-
>*</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>
|